[Exim] Re: i have a problem

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Suresh Ramasubramanian
Date:  
À: exim-users
Sujet: [Exim] Re: i have a problem
+++ TheAgo@??? [exim-users] <21/02/02 08:13 +0100>:
> my setup is as following:
> debian 3.0
> fetchmail -a -k -v for polling all external POP3/IMAP accounts
> exim for sending smtp mail over the ISP smarthost to the right account and
> for managing local mail


Should work

> everything works great, except, if local mail is sent to another local user,
> copies to the ISP mailbox should be sent. is there any way i can accomplish
> this? i already tried headers_add "Cc: <{$local_part}@???" and it
> inserted the header but didn´t try to send the cc. what am i doing wrong?


Cc: is not parsed by exim at all - it tells the mail client to send an
additional RCPT TO: to exim.

What you have to do instead is to configure your client to bcc user@localhost
whenever the user sends out mail to himself. Or configure exim to send an
additional copy to $local_part@localhost when mail goes out that way.

    -srs