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: <[email protected]> > 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: /<[email protected]>/ ilom-alert@something-else Requires Postfix 2.8 or later. Wietse
