-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2005-10-25 at 18:25 +0800, Peter Sutter wrote:
I tried different settings of qvirtual "Delivered-To:", "Delivered-To: ", "Delivered-To", and envelope setting; none of it makes a difference, fetchmail ignores the qvirtual keyword and seems to interpret the "To:" header only. This goes that far that it tries to deliver mail locally that are for a different domain, i.e. if the To: line contains sutterp@sopac.com.au and other@otherdomain, it tries to deliver mail to other@localhost.
Does the email contain an "X-Envelope-To" header? If that's so, I think you don't need anything else. I would remove the qvirtual and envelope entries in your config, at least for the moment (I guess you are running tests, you are not "in production mode" yet): -E <line> | --envelope <line> (Keyword: envelope) This option changes the header fetchmail assumes will carry a copy of the mail's envelope address. Normally this is `X-Envelope-To' but as this header is not standard, practice varies. See the discussion of multidrop address handling below. As a special case, `envelope "Received"' enables parsing of sendmail-style Received lines. This is the default, and it should not be necessary unless you have globally disabled Received parsing with `no envelope' in the .fetchmailrc file. So you do not need to specify it. If that does not work, I think this paragraph in the man applies: By using the option `envelope Delivered- To:' you can make fetchmail reliably identify the original envelope recipient, but you have to strip the `mbox-userstr-' prefix to deliver to the correct user. This is what this option is for. I can't be more specific, sorry: I'm getting outside of my direct experience by this moment ;-) -- I know fairly well how fetchmail works, but I don't have multidrop boxes, so no direct experience there. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDYB8ZtTMYHG2NR9URAkUmAJ0QiwPwD9kuxGj/cWQc3N56Xm/B4ACfSstR foN1JlZmJiaxJOLfjweJncE= =O4f2 -----END PGP SIGNATURE-----