Score:0

Making Postfix accept mail with illegal address syntax

sl flag

On IBM SystemX servers, there is a thing called an IBM Management Module (IMM), which is basicly a mini-OS on a seperate Network-Interface, accessible via a Web-UI. This is very handy, because you can monitor & troubleshoot the server, independet of the status of the server-OS.

The IMM on my server has just one nasty problem: sending email notifications is poorly implemented. Apart from the inability to send it encrypted, which is why I installed a postfix on the network to relay those messages to our ISPs mailserver, it also sends mail with a FROM address built with the content of the mailserver-field as the domain name.

So in my case, the postfix runs on 192.168.1.7 and ideally, I would like to put this IP address in the mailserver field, so the connection is DNS-independent. Because our internal DNS sits on a virtual windows machine, which is far more likely to have problems, than the small and hyper-stable virtual debian machine running the postfix.

The problem is, that the stupid IMM then sends it's emails as [email protected] which causes the postfix to complain:

warning: Illegal address syntax from unknown[192.168.1.250] in MAIL command: [email protected]

Alternatively I can put in the DNS server in the IMM configuration and as the mailserver I put in the local FQDN of the debian server (debi.domain.local) and everything works, because my postfix is configured to rewrite the [email protected] address to something our ISP-mailserver accepts.

BUT

I would prefer to have the mail-transport between IMM and postfix independent of our internal DNS server. So the question is:

Can postfix be configured, to accept incoming mail from xyz@IP-ADDRESS ?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.