Situation, example:
mail account: joxi@domain.com with enabled autoresponder
mail forwarding: joximu@domain.com forward to joxi@domain.com
If I send a mail to joxi@domain.com it's ok, I get a auto reply.
If I send a mail to joximu@domain.com then I don't get a reply.
The problem:
The autoreply script does not see the account which has the autoeply message.
The script gets the header of the message and sees "to: joximu@domain.com" - but there's no autoreply message on this mail address.
One way to possibly solve: find the right mail account by following the database -> forward... - BUT this is boring and not usefull (forwarded from external?).
IMHO a better solution would be, in master.cf:
# ISPCP autoresponder
ispcp-arpl unix - n n - - pipe
flags=O user=vmail argv=/var/www/ispcp/engine/messager/ispcp-arpl-msgr
${mailbox} ${nexthop} ${recipient}
and get the right mail account directly from the parameters...
other opinions?