Ralf Hildebrandt:
> Tryied to "whitelist" a SUN ILOM interface sending non-compliant mails
> like this:
> 
> May 18 18:19:24 root1 postfix/smtpd[9998]: connect from mail1[80.XXX.XXX.XXX]
> May 18 18:19:25 root1 postfix/smtpd[9998]: warning: Illegal address syntax 
> from mail1[80.XXX.XXX.XXX] in MAIL command: <ilom-alert@192.168.250.110>
> May 18 18:19:25 root1 postfix/smtpd[9998]: disconnect from 
> mail1[80.XXX.XXX.XXX]
> 
> Clearly, the [] around the IP are missing.
> 
> So I added resolve_numeric_domain=yes to a specific smtpd listening on
> port 10026 - since I don'T want to allo the []-less form globally:

Alas, this feature is implemented in trivial-rewrite.

Instead, you could use smtpd_command_filter:

/<ilom-alert@192.168.250.110>/ ilom-alert@something-else

Requires Postfix 2.8 or later.

        Wietse

Reply via email to