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

Top Page
Delete this message
Reply to this message
Author: Marek Zawadzki
Date:  
To: exim-users
Subject: Re: [exim] How to copy every accepted message to one mailbox (system-wide)?
On Tue, Mar 13, 2007 at 04:51:24PM +0100, Magnus Holmgren wrote:
[...]
> >     # 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


> That's a bit weird. I take it there is no occurrence of "system-filter" in the
> config?


No, nothing like that in there.

> Can you show the full contents of the system filter


Well, all I have is above.

> as well as the mail_spool transport options?


There you go:

    ### transport/30_exim4-config_mail_spool


    # This transport is used for local delivery to user mailboxes in
    # traditional
    # BSD mailbox format.
    #
    mail_spool:
      debug_print = "T: appendfile for $local_part@$domain"
      driver = appendfile
      file = /var/mail/$local_part
      delivery_date_add
      envelope_to_add
      return_path_add
      group = mail
      mode = 0660
      mode_fail_narrower = false
      # (I don't want to use homedirs):
      home_directory = /var/mail


-marek

--
Windows isn't CrippleWare -- it's "Functionally Challenged".