Re: [exim] save message from our internal users into Maildir…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Magnus Holmgren
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] save message from our internal users into Maildir/.Sent
On Sunday 03 December 2006 09:18, De Leeuw Guy wrote:
> I create a transport :
>
> save_send_transport:
> driver = appendfile
> user = $local_part
> group = $local_part
> [...]
> directory = MAILDIR_HOME_MAILDIR_LOCATION/.Sent
> [...]
>
> and a router :
> save_send_router:
> driver = accept
> domains = ! +local_domains
> transport = save_send_transport
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
> unseen
>
> But I'm not sure about the user, group and driver=accept.


It looks like you're trying to save a copy of an outgoing message in the
sender's mailbox. If so, you have to use ${local_part:$sender_address}
instead of $local_part, and set home accordingly.

ignore_target_hosts doesn't make sense on an accept router.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans