I switched from mail hoster. The from address from a cron job is created by
postfix. This was something like: [email protected]. My old provider
accepted this, but the new one does not. He says that the RFC says that you
should not accept emails with a non existing from address. Is this true?
I added in main.cf:
myorigin = $mydomain
Now the above becomes [email protected].
But to make it work I would need to a mailbox for every user: root, www,
ftp, … With some cron versions you could use MAILFROM, but sadly this does
not work on Debian. Is there a smart way to rewrite the from address for
emails that send the output of a cron job?
--
Cecil Westerhof