- "sieve_user_email = %u" creates a warning: "Warning: sieve: Invalid
address value for setting `sieve_user_email': Missing domain"
That warning is a glitch, ignore it. I mentioned it on the list before but has not been fixed in any of the updates.
What I am currently trying to figure out is, is there a way to tell postfix in case it is a vacation reply with no envelope to but a valid from header use that from header as a rule for choosing the right relay host.
I don't think postfix knows how or why an email was injected into its system. In respect to knowing if it's a vacation response or not. But if you ask Wietse on the postfix-users@postfix.org list he would know if there are any workarounds to do what you want.
Asked on the postfix-users list but there is no simple way to choose a relay host based on multiple headers but I found one workaround and thanks to Wietse another one "up my sleeves".
Most of the aliases use the same relay host - instead configuring it in sender_dependent_relayhost_maps I configured it as relayhost in postfix' main.cf. Now even with vaction replies with MAIL FROM being blank they get relayed correctly.
The other workoround "up my sleeves" in case I need the vacation module work for other aliases as well (which need another relay host) is to use a milter (which I already have in place) to check for a header the vacation plugin sets and an empty MAIL FROM address and add in that case another single header to let postfix filter for that (by header_checks FILTER) and choose the right relay host based on the information set in the new header - but currently I don't need that.
Thx everybody so far!
-- Cheers spi