On 3/10/2012 11:20 AM, Antony wrote:
> Noel,
> 
> Thank you. It confirms the theory that postfix is not aware of the
> settings for smtpd_milters
> ~$ sudo postconf -n

> relayhost = email-smtp.us-east-1.amazonaws.com

Typically (but not always) the relayhost should be enclosed in
brackets "[...]" to disable MX lookups.

> 
> But I still don't know why it doesn't read the setting. I am going
> to try to re-arrange the config order..maybe something overrides the
> setting :/
> 
> Antony

The order doesn't matter unless you've added a parameter twice (not
the case this time since it would still show up).

Probably a typo in main.cf, possibly unprintable characters in the
parameter name.  Make sure to use a plain-text only editor such as
vi, or edit main.cf automatically with postconf using a command like

postconf -e 'smtpd_milters=inet:inet:127.0.0.1:1234'

man postconf for details.

  -- Noel Jones

Reply via email to