Postfix with authenticated relay

Discussion in 'Installation/Configuration' started by Buttons, Mar 11, 2009.

  1. Buttons

    Buttons New Member

    My host insists on all smtp being forwarded via a smarthost on the internal network which requires authentication.

    Could someone list the steps I need to take to get postfix working in this way?

    I have debian lenny with ISPConfig 3

    I've tried no end of tips from these and other fora but to no avail. Current settings include a sasl_password file referred to in /etc/postfix/main.cf and an attempt at transport settings in mysql mail_transport table.

    Is there a front end/gui to the transport table that I'm missing? It seems to be set up in that way but not sure how to structure entries in the mysql table.

    If someone is prepared to help, let me know what logs/conf files are needed.

    Current errors in mail.log are
    Code:
    Mar 11 09:05:01 server1 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
    Mar 11 09:05:01 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
    Mar 11 09:05:02 server1 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
    Mar 11 09:05:02 server1 postfix/smtpd[18238]: connect from localhost.localdomain[127.0.0.1]
    Mar 11 09:05:02 server1 postfix/smtpd[18238]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Mar 11 09:05:02 server1 postfix/smtpd[18238]: disconnect from localhost.localdomain[127.0.0.1]
    Mar 11 09:05:27 server1 postfix/scache[2539]: statistics: start interval Mar 11 08:57:07
    Mar 11 09:05:27 server1 postfix/scache[2539]: statistics: domain lookup hits=0 miss=2 success=0%
    Mar 11 09:10:01 server1 pop3d: Connection, ip=[::ffff:127.0.0.1]
    Mar 11 09:10:01 server1 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
    Mar 11 09:10:01 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
    Mar 11 09:10:01 server1 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
    Mar 11 09:10:01 server1 postfix/smtpd[18315]: connect from localhost.localdomain[127.0.0.1]
    Mar 11 09:10:01 server1 postfix/smtpd[18315]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Mar 11 09:10:01 server1 postfix/smtpd[18315]: disconnect from localhost.localdomain[127.0.0.1]
    

    Thanks in advance, Andy
     
  2. Antennipasi

    Antennipasi ISPConfig Developer ISPConfig Developer

    you can follow this:
    http://freelock.com/kb/Postfix_relayhost

    for Debian needed packages are libsasl2-2 and libsasl2-modules.
     

Share This Page