ISPConfig 3 Ubuntu 16.04 only 1 IP address

Discussion in 'Installation/Configuration' started by DantePasquale, Sep 7, 2017.

  1. DantePasquale

    DantePasquale Member HowtoForge Supporter

    Hi,

    Try as I might I can only get 1 external IP to work on my AT&T Business DSL. I had to go with them after they shutdown my old ISP :(

    So, my question is, I have 2 websites/domains -- can I configure ISPConfig to only use 1 IP address for both websites and emails????

    Yes, this sounds like an idiotic question but AT&T has been NO help for over 6 months. They have no clue why it doesn't work correctly.

    Thanks, Dante
     
  2. florian030

    florian030 Well-Known Member HowtoForge Supporter

    This is no problem. You can run multiple (web)domains on one ip.
     
  3. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Agreed. I have been running several personal sites on ISPC with dynamic ip (obviously one at a time) for like 3 / 4 years now and they are all working fine.

    Just check whether relevant ports are open for your server. If you are behind a router, make sure the same ports are open in it too and properly port forwarded to your server.
     
  4. DantePasquale

    DantePasquale Member HowtoForge Supporter

    So far, I have 1 IP that is accessible from the outside. I've just tested email and it's getting a 'no user' type message for both domains that are hosted.
    Any ideas?
    PS. This worked fine when mail2 was .51 and I had multiple IPs accessible from the outside world

    PPS: websites are half-a$$ed working! I think since it's been offline for 11 months! I have to fix some permissions, re-writes etc.

    Thanks, Dante

    canonical address: <[email protected]>

    MX records
    preference exchange IP address (if included)
    0 mail2.cocoanet.us [99.78.112.49]

    SMTP session

    [Contacting mail2.cocoanet.us [99.78.112.49]...]
    [Connected]
    220 inferno.cocoanet.us ESMTP Postfix (Ubuntu)
    EHLO test.network-tools.com
    250-inferno.cocoanet.us
    250-PIPELINING
    250-SIZE
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    VRFY dantepasquale
    550 5.1.1 <dantepasquale>: Recipient address rejected: User unknown in local recipient table
    RSET
    250 2.0.0 Ok
    EXPN dantepasquale
    502 5.5.2 Error: command not recognized
    RSET
    250 2.0.0 Ok
    MAIL FROM:<[email protected]>
    250 2.1.0 Ok
    RCPT TO:<[email protected]>
    554 5.7.1 <[email protected]>: Relay access denied
    [Address has been rejected]

    RSET
    250 2.0.0 Ok
    QUIT
    221 2.0.0 Bye
    [Connection closed]


    Here's the mail log:

    Mar 31 14:08:06 inferno postfix/smtpd[11611]: connect from unknown[67.219.149.250]
    Mar 31 14:08:06 inferno postfix/smtpd[11611]: NOQUEUE: reject: VRFY from unknown[67.219.149.250]: 550 5.1.1 <info>: Recipient address rejected: User unknown in local recipient table; to=<info> proto=ESMTP helo=<test.network-tools.com>
    Mar 31 14:08:07 inferno postfix/smtpd[11611]: NOQUEUE: filter: RCPT from unknown[67.219.149.250]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<test.network-tools.com>
    Mar 31 14:08:07 inferno postfix/smtpd[11611]: NOQUEUE: filter: RCPT from unknown[67.219.149.250]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10024; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<test.network-tools.com>
    Mar 31 14:08:07 inferno postfix/smtpd[11611]: NOQUEUE: reject: RCPT from unknown[67.219.149.250]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<test.network-tools.com>
    Mar 31 14:08:07 inferno postfix/smtpd[11611]: disconnect from unknown[67.219.149.250] ehlo=1 mail=1 rcpt=0/1 rset=3 vrfy=0/1 quit=1 unknown=0/1 commands=6/9
    Mar 31 14:08:24 inferno postfix/smtpd[11611]: connect from unknown[67.219.149.250]
    Mar 31 14:08:24 inferno postfix/smtpd[11611]: NOQUEUE: reject: VRFY from unknown[67.219.149.250]: 550 5.1.1 <dantepasquale>: Recipient address rejected: User unknown in local recipient table; to=<dantepasquale> proto=ESMTP helo=<test.network-tools.com>
    Mar 31 14:08:25 inferno postfix/smtpd[11611]: NOQUEUE: filter: RCPT from unknown[67.219.149.250]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<test.network-tools.com>
    Mar 31 14:08:25 inferno postfix/smtpd[11611]: NOQUEUE: filter: RCPT from unknown[67.219.149.250]: <[email protected]>: Sender address triggers FILTER amavis:[127.0.0.1]:10024; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<test.network-tools.com>
    Mar 31 14:08:25 inferno postfix/smtpd[11611]: NOQUEUE: reject: RCPT from unknown[67.219.149.250]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<test.network-tools.com>
    Mar 31 14:08:25 inferno postfix/smtpd[11611]: disconnect from unknown[67.219.149.250] ehlo=1 mail=1 rcpt=0/1 rset=3 vrfy=0/1 quit=1 unknown=0/1 commands=6/9
     
    Last edited: Mar 31, 2018
  5. DantePasquale

    DantePasquale Member HowtoForge Supporter

    Actually, things seem to be working! But I'm having problems with imapsync on both the old and new servers Any ideas?

    /usr/bin/imapsync --host1 mail.cocoanet.us --user1 [email protected] --password1 'PASSWOrD --ssl1 --port1 993 --authmech1 PLAIN --host2 mail2.cocoanet.us --user2 dantepasquale --password2 ./pwfile2 --tls2 --debug

    Temp directory is /tmp ( to change it use --tmpdir dirpath )
    PID file is /tmp/imapsync.pid ( to change it use --pidfile filepath ; to avoid it use --pidfile "" )
    Writing my PID 23418 in /tmp/imapsync.pid
    Modules version list:
    Authen::NTLM 1.09
    Compress::Zlib 2.069
    Crypt::OpenSSL::RSA 0.28
    Data::Uniqid 0.12
    Digest::HMAC_MD5 1.01
    Digest::HMAC_SHA1 1.03
    Digest::MD5 2.54
    File::Copy::Recursive 0.38
    File::Spec 3.56
    Getopt::Long 2.45
    HTML::Entities 3.69
    IO::Socket 1.38
    IO::Socket::INET 1.35
    IO::Socket::INET6 2.72
    IO::Socket::SSL 2.024
    IO::Tee 0.64
    JSON 2.90
    JSON::WebToken 0.10
    LWP 6.15
    Mail::IMAPClient 3.38
    Net::ping 2.43
    Net::SSLeay 1.72
    Term::ReadKey 2.33
    Test::MockObject 1.20161202
    Time::HiRes 1.9726
    URI::Escape 3.31
    Unicode::String 2.10
    ( use --no-modulesversion to turn off printing this Perl modules list )
    IMAPClient 3.38
    sslcheck
    SSL debug mode level is --debugssl 1 (can be set from 0 meaning no debug to 4 meaning max debug)
    Host1: SSL default mode is like --sslargs1 SSL_verify_mode=0 meaning SSL_VERIFY_NONE on host1 (do not check the certificate server)
    Host1: Use --sslargs1 SSL_verify_mode=1 for SSL_VERIFY_PEER on host1
    Info: turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
    Host1: will try to use PLAIN authentication on host1
    Host2: will try to use LOGIN authentication on host2
    Host1: imap connexion timeout is 120 seconds
    Host2: imap connexion timeout is 120 seconds
    Host1: IMAP server [mail.cocoanet.us] port [993] user [[email protected]]
    Host2: IMAP server [mail2.cocoanet.us] port [143] user [dantepasquale]
    Host1: connecting and login on host1 [mail.cocoanet.us] port [993] with user [[email protected]]
    Host1 IP address: 45.33.38.152
    Host1 banner: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready.
    Host1 capability before authentication: IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN
    Host1: mail.cocoanet.us says it has CAPABILITY for AUTHENTICATE PLAIN
    Host1 failure: Error login on [mail.cocoanet.us] with user [[email protected]] auth : 2 NO [AUTHENTICATIONFAILED] Authentication failed.
     
  6. lnxgs

    lnxgs Member

    Do you have ' (single quote) on your password? Can you change it? Put only letters and numbers.
     
  7. DantePasquale

    DantePasquale Member HowtoForge Supporter

    No, that was a typo in my example. I changed the password to a real simple one but ran into the same issue. Maybe I should open a new thread on this since the one I opened this thread on is fixed
     

Share This Page