"Robert P. Thille" <[EMAIL PROTECTED]> writes:
Since the qmail virtualdomains file can list different [EMAIL PROTECTED] entries which route to different addresses, when checking the virtualdomains file for a 'match' for the original envelope domain you need to check that the 'prepend' coupled with the user part of the virtualdomain matches the 'ousername'.
Can you provide a working example from your /var/qmail/control/virtualdomains file?
From virtualdomains: (edited to protect the guilty :-) ------------------------------- # John Smith's stuff: [EMAIL PROTECTED]:jsmith [EMAIL PROTECTED]:jsmith
# user 'rthille' owns these domains, except the above # specified users. example.org:rthille-example .example.org:rthille-example nospam.example.org:rthille-spam -------------------------------
/var/qmail/control/locals: -------------------------- example.com localhost hostname.example.com
So what happens without my patch is that when mail to [EMAIL PROTECTED] comes in, the code matches against the '[EMAIL PROTECTED]' entry, picks 'jsmith' for the prepend to remove from the envelope sender, but the envelope sender is really '[EMAIL PROTECTED]' (after qmail has munged it) so the prepend removal doesn't happen.
Robert
_________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
