would do what you want. Since mailLocalAddress is not a single-value in
LDAP, you can send as many "aliases" as you want to the
mailRoutingAddress. It works fine for my installation with Cyrus IMAP
and Virtual Domains.

OK.  Thanks for the info.  I'll do more research into it and see if I can get it to work.

As far as sending the full address (with the @domain), you will find a
line in the cyrus mailer in sendmail.cf that reads:
S=3DEnvFromSMTP/HdrFromSMTP, R=3DEnvToSMTP/HdrToSMTP, E=3D\r\n,
simply changing it to:
S=3DEnvFromSMTP/HdrFromSMTP, R=3DEnvToSMTP, E=3D\r\n,
should take care of that. There are instructions in the archives for
this also.

Hmm.  Well I have the following mailer definition in my sendmail.mc...

MAILER_DEFINITIONS
Mcyrusv2,       P=[IPC], F=lsDFMnqA5@/:|SmXz, E=\r\n,
                S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, T=DNS/RFC822/X-Unix,
                A=FILE /usr/local/cyrus/var/lib/imap/socket/lmtp

...and it does not appear to supply the [EMAIL PROTECTED] address to lmtpd.  Or at least when I was trying to run with confLOCAL_MAILER set to cyrusv2 lmptd was complaining about not finding the mailbox user.user1 when mail was sent to [EMAIL PROTECTED]  Which suggested to me that it was dropping the @fqdn.com part.

Regards
--
Oliver Jones » Director » [EMAIL PROTECTED] » +64 (21) 41 2238
Deeper Design Limited » +64 (7) 377 3328 » www.deeperdesign.com

Reply via email to