On Thu, Jun 26, 2003 at 12:49:58PM +0200, RABLAT Guillaume wrote:
> hi,
> 
> Is there a way to rewrite envelope (the (Envelop-)To/Cc/Bcc header(s)) with
> Courier-SMTP?
> I received mail from @xxx.yy.com and I can just deliver for @xxx.com. How to
> delete "yy" ?

well, with virtual domains this no problem: accept mail for @xxx.yy.com and
@xxx.com (man makesmtpaccess) and list both in /etc/courier/hosteddomains:
xxx.com
xxx.yy.com<TAB>xxx.com

Take a look at the man page for makehosteddomains. If you only have local
users, it should be sufficient to put both domains into /etc/courier/locals, as
the domain part will be discarded for entries in the above file and
/etc/courier/me (man 8 courier).

Regards
Mirko


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to