OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: port 587

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Fri Jul 01 2005 - 23:08:06 CDT


On Fri, Jul 01, 2005 at 08:12:26PM -0500, Chris wrote:

> I'm trying to get postfix to send on port 587.

Important point of grammar, it is either:

        - make connections (send) TO port 587
OR
        - accept connections (listen) ON port 587

> I've made some changes in my
> master.cf from reading in the archives, however, from what I see shown in
> active connections on my firewall its still sending on port 25.

The first two columns in the master.cf file specify the (listen)
endpoints at which you accept connections. This has nothing to
do with outgoing delivery.

> Jul ?1 17:49:19 cpollock postfix/smtp[24248]: BF8184341F2: conversation with
> smtpauth.earthlink.net[207.69.189.208] timed out while receiving the initial
> SMTP greeting

This is an outbound delivery.

> I'm running postfix 2.1.4
>
> # 587 inet n - y - - smtpd

This is an incoming service port.

> Any assistance would be appreciated.
>

    http://www.postfix.org/ADDRESS_REWRITING_README.html#delivering
    http://www.postfix.org/ADDRESS_REWRITING_README.html#resolve
    http://www.postfix.org/ADDRESS_REWRITING_README.html#transport
    http://www.postfix.org/SASL_README.html#client_sasl

Most likely you want:

    main.cf:
        relayhost = smtp:[smtpauth.earthlink.net]:587
        smtp_sasl_password_maps = hash:/etc/postfix/smtp_passwd

    smtp_passwd:
            [smtpauth.earthlink.net]:587 yourusername:yourpassword

But, why run Postfix at all in this case, if your smarthost is an ISP MSA,
you should be using your MUA to send mail directly to the ISP. Forcing
an MTA to use an MSA service as a relay is needless pain and suffering.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>