setting up an alt SMTP port

started at 10 Oct 2008 by Michael
  • Michael
    10 Oct 2008

    I'd like to configure postfix to allow me to send via an alternate port. It looks like this is done via master.cf, but I can't quite figure it out.

    I added this to the table at the top of master.cf:
    2525 inet n - n - - smtpd
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject

    The system.log has this in it:
    Oct 10 17:30:19 mail postfix/smtpd[1462]: warning: SASL authentication failure: realm changed: authentication aborted
    Oct 10 17:30:19 mail postfix/smtpd[1462]: warning: dhcp-216-12-248-120.aus0.tx.us.corp.wayport.net[216.12.248.120]: SASL DIGEST-MD5 authentication failed: authentication failure
    Oct 10 17:30:19 mail postfix/smtpd[1462]: warning: SASL authentication failure: Could not open db
    Oct 10 17:30:19: --- last message repeated 1 time ---
    Oct 10 17:30:19 mail postfix/smtpd[1462]: warning: dhcp-216-12-248-120.aus0.tx.us.corp.wayport.net[216.12.248.120]: SASL LOGIN authentication failed: authentication failure

  • Richard
    12 Oct 2008

    Micheal,

    It's not quit clear to me what you are trying to achieve, is your ISP blocking port 25 ?

    You only need to add the line 2525 inet n - n - - smtpd to the master.cf to receive on an extra port.

    The warnings are from a different error and have nothing to do with the port change.

  • Michael
    12 Oct 2008

    Actually, my employer blocks port 25 traffic outside our network, but allows SMTP on "nonstandard" ports, as a way of blocking viruses. I need to set up an additional SMTP port.

    What's the other error and how do I fix it?

  • Richard
    12 Oct 2008

    Micheal, does you employer block incoming or outgoing traffic from your corporate network ? I guess your server is not in the corporate network. The workaround will be different for both cases.

    The error has to do with courier auth and it can not connect to the MySQL database. Check the file ‘authmysqlrc‘ in the directory ‘/usr/local/etc/authlib‘ for the corect settings.

Reply

You must log in to post.