Joe Thomas wrote:
Running FreeBSD (4.7R) with Sendmail 8.12.9 and Cyrus 2.2.2 BETA...

I have two domains on this box with a user that exists in both domains.
I want email for [EMAIL PROTECTED] to be delivered via sendmail:local as if
cyrus weren't around (which it does) and email for [EMAIL PROTECTED] to be
delivered via cyrus to be picked up imap/pop. Currently, email to
[EMAIL PROTECTED] gets delivered via sendmail:local because the rules have
stripped off the domain.

My sendmail rule writing is pretty rusty and I didn't find anything quite
like
what I want to do in searching the more recent (~last 6 months) of archives.
Has anyone written the rules to forward the virtual domain 'domain2' to
cyrus?

BTW: If the user only exists on the domain2 side, or if I define cyrus to be
the local mailer, then I can get the mail via imap/pop so I know everything
works. It's just a matter of making the correct decision of which delivery
app to use.

Try modified advices from the following URL: http://anfi.freeshell.org/sendmail/localNalias.html Cyrus Aliases (sendmail)

1) In *.mc file add

LOCAL_CONFIG
CPLOCAL

2) Deliver messages to [EMAIL PROTECTED] using cyrus mailer [requires FEATURE(`mailertable')].

mailertable:

LOCAL local:

3) Do not accept messages to [EMAIL PROTECTED] via SMTP [requires FEATURE(`access_db') and FEATURE(`blacklist_recipients')]

access:

to:LOCAL REJECT


-- Andrzej [pl>en: Andrew] Adam Filip http://anfi.freeshell.org/ [EMAIL PROTECTED] [EMAIL PROTECTED]



Reply via email to