Artyum: > Hi > > I noticed that in my postfix configuration there is a problem with > ${original_recipient} which is not set or is overwritten by ${recipient} > My master.cf is below. The problem is that in the autoresponder -r > ${original_recipient} is equal to ${recipient}. > Because of that, if user address belongs to a group (aliases) then if sender > sends message to this group then the autoresponder responds from uses > address. I want autoresponder only replay if the mail was sent directly to > the user (not throught alias). > I'd like to know the ${original_recipient} to check if the mail was sent > directly to user or to alias group. > > > > Here is some logs: > Message was sent from a...@go2.pl (don't bother srs) to t...@company.pl > which is alias group containing recipi...@company.pl. The mail was finally > succesfuly delivered to recipient@ but the autoresponder relay didn't know > that the original_recipient was test@
Please follow instructions in the mailing list welcome message. This includes 1) actual logfile records (anonymized). 2) actual "postconf -n" output. No-one will help you based on narrative text only. Begin welcome message: +----------------- |TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail | |TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html | |Thank you for using Postfix. +----------------- End welcome message. Wietse