On Wednesday, August 6, 2003, at 09:46 AM, Joe D'Andrea wrote:

Having a bit of brain freeze here....

Client wants to route all mail for a given domain to a single e-mail address. I'm not getting the syntax correct. Can someone help?

[EMAIL PROTECTED] -> [EMAIL PROTECTED]

"otherdomain" is not on the same server as "domain1"

A few possible ways:


Using proper syntax for above:
<[EMAIL PROTECTED]> = [EMAIL PROTECTED]

(Note that "->" is never valid router syntax. Also, specific addresses, including ones with wildcards, as opposed to just domains, must be enclosed with "<>" when they appear on the left side.)

For catch-all domains delivered to a local account, I use:

domain1.com = domain1.com%UW1
UW1 = <local>somelocalaccount

This will add a header to the email of the form:
X-Real-To: [EMAIL PROTECTED]

This can be helpful, so you know the actual address to which the email was sent, even if it was a BCC. The second line then redirects all email from the fake "UW1" domain to the recipient email address. Honestly, I don't recall why I do this in two lines, rather than one: "domain1.com = <local>somelocalaccount". I just know I did it based on an old suggestion on this list. I think it gives better information in the headers, but I'm not 100%.

I'm also not sure what the best way is to redirect the latter to an outside account, as I believe that "<local>" will cause the router to stop processing. Possibly setting up "somelocalaccount" as a mirror account which discards email. Maybe a router command _will_ work, but someone else will have to address that, or feel free to experiment.

HTH,
Tim


############################################################# This message is sent to you because you are subscribed to the mailing list <[EMAIL PROTECTED]>. To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>



Reply via email to