Re: [exim] How to copy every accepted message to one mailbox…

Pàgina inicial
Delete this message
Reply to this message
Autor: Magnus Holmgren
Data:  
A: exim-users
Assumpte: Re: [exim] How to copy every accepted message to one mailbox (system-wide)?
On Tuesday 13 March 2007 16:03, Marek Zawadzki wrote:
> OK, it now works almost as I wanted (thanks).
> One detail though - Exim keeps saving messages to '/var/mail/system-filter'
> instead of the mailboxes I've configured in my filter:
>
>     # cat /etc/mail/filters/exim.filter
>     unseen save /var/spool/mail/spam
>     unseen save /var/spool/mail/notspam

>
>     # grep system_filter /var/lib/exim4/config.autogenerated
>     system_filter = /etc/mail/filters/exim.filter
>     system_filter_file_transport = mail_spool
>     system_filter_user = Debian-exim
>     system_filter_group = mail

>
>     # ls -l /var/spool/mail/spam /var/spool/mail/notspam \
>     /var/mail/system-filter
>     -rw-rw----  1 Debian-exim mail 12043928 Mar 13 16:02
>     /var/mail/system-filter
>     -rw-rw----  1 notspam     mail        0 Mar 13 14:23
>     /var/spool/mail/notspam
>     -rw-rw----  1 spam        mail        0 Mar 13 09:03
>     /var/spool/mail/spam


That's a bit weird. I take it there is no occurrence of "system-filter" in the
config? Exim uses "system-filter" as a bogus parent address to remember that
$recipients is allowed in pipe commands, but it certainly shouldn't deliver
anything to that address. Can you show the full contents of the system filter
as well as the mail_spool transport options?

-- 
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