problem mail server in virtual multiserver configuration

Discussion in 'Installation/Configuration' started by smanettone, Jul 10, 2013.

  1. smanettone

    smanettone New Member

    sorry for my English...

    i have completed this tutorial virtual multiserver:

    (but i use proxmox)


    Physical Server
    ip address: public address
    ip address:
    Mail Server
    ip address:
    ip address:
    ip address:

    i have configure nat forwarding in physical server
    port 80, 8080, 21 in web server
    port 110, 25 in mail server
    port 53 in ns server

    all work great but the mail server not send mail
    what's the problem?!?!:confused::confused::confused:

    thankyou for reply
  2. MaddinXx

    MaddinXx Member

    Try opening these ports on mail server:


    You may want to check which port is for what (and if you really need it) - but I guess you should at least open port 587 too.

    Are there any errors in /var/log/mail.err or /var/log/mail.log?
  3. smanettone

    smanettone New Member

    Tnx MaddinXx, i have try your instructions but the mail server no work
    when i configure the mail-client (outlook, thundebird, ecc...), pop test ok bust smtp test fail.:mad::mad::mad:

    i have install roundcube on web server and the login work correctly
    i can send (i use php send) but i don't receive

    i can post log or configuration file if you want

    pls help me!!!
  4. MaddinXx

    MaddinXx Member

    Can you post output of

    netstat --listening | grep smtp


    netstat --listening | grep submission

    to check if Postfix is running and

    cat /var/log/mail.log | grep err

    as well to see if there are any errors in the log?
  5. smanettone

    smanettone New Member

    this is output of netstat --listening | grep smtp:

    [email protected]:~# netstat --listening | grep smtp
    tcp 0 0 *:* LISTEN
    tcp 0 0 localhost.localdo:ssmtp *:* LISTEN
    tcp 0 0 *:* LISTEN
    tcp 0 0 localhost.localdom:smtp *:* LISTEN
    tcp6 0 0 localhost:ssmtp [::]:* LISTEN
    tcp6 0 0 localhost:smtp [::]:* LISTEN
    unix 2 [ ACC ] STREAM LISTENING 1246918 private/smtp
    unix 2 [ ACC ] STREAM LISTENING 1246974 private/bsmtp

    this is output netstat --listening | grep submission

    [email protected]:~# netstat --listening | grep submission
    tcp 0 0 *:* LISTEN
    tcp 0 0 localhost.lo:submission *:* LISTEN
    tcp6 0 0 localhost:submission [::]:* LISTEN

    output of cat /var/log/mail.log | grep err:

    Jul 6 17:32:40 mail spamd[1212]: logger: removing stderr method
    Jul 6 17:55:11 mail spamd[1193]: logger: removing stderr method
    Jul 6 18:42:44 mail spamd[1217]: logger: removing stderr method
    Jul 7 07:17:05 mail spamd[1219]: logger: removing stderr method
    Jul 7 07:30:41 mail spamd[1221]: logger: removing stderr method
    Jul 7 07:48:48 mail spamd[487]: logger: removing stderr method
    Jul 7 07:52:47 mail spamd[746]: logger: removing stderr method
    Jul 7 07:58:00 mail spamd[739]: logger: removing stderr method
    Jul 8 18:16:17 mail spamd[740]: logger: removing stderr method
    Jul 9 22:13:32 mail spamd[751]: logger: removing stderr method

    Tnx for Reply
    Last edited: Jul 10, 2013
  6. MaddinXx

    MaddinXx Member

    Doesn't this tcp 0 0 *:* LISTEN mean it's listening on localhost (or only?

    In /etc/postfix/ have you:

    myorigin = /etc/mailname
    myhostname = <your FQDN>
    myorigin = /etc/mailname
    mydestination = <your FQDN>, localhost, localhost.localdomain
    Postfix needs to be restarted afterwards. Not sure if this is correct, but I highly guess there's somewhere a problem with where Postfix is listening...
  7. smanettone

    smanettone New Member

    In /etc/postfix/
    i have only

    myhostname =
    mydestination = /etc/postfix/local-host-names

    i haven't myorigin = /etc/mailname
  8. smanettone

    smanettone New Member

    i have problem with server mail...
    another solution???

Share This Page