Koozali.org: home of the SME Server

maillog - excluding a user ...

Offline magwm

  • *
  • 159
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
maillog - excluding a user ...
« on: August 25, 2009, 10:09:33 AM »
Hello fine folks! I have one of thos impossible questions.

I use the maillog account to make copies of all incoming and outgoing mail. Now we happen to also send some mailings, with some 3-4000 mails (no, not spam) per mailing. needless to say they clog up the mail backup system.

the question: is it possible to exclude one (or more) users from the maillog feature?

thanks for your considerations, have a nice day.
Michel
MagWm

Offline paradigm

  • *
  • 96
  • +0/-0
Re: maillog - excluding a user ...
« Reply #1 on: August 25, 2009, 07:47:07 PM »
You could use MailArchiva which has settings that control what to do with every mail .

http://wiki.contribs.org/MailArchiva


Offline mmccarn

  • *
  • 2,652
  • +10/-0
Re: maillog - excluding a user ...
« Reply #2 on: August 26, 2009, 03:08:50 PM »
You could write a script to delete the messages you don't want to archive before you run your backups

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: maillog - excluding a user ...
« Reply #3 on: August 26, 2009, 03:57:29 PM »
You could write a script to delete the messages you don't want to archive before you run your backups

You could also write a custom template for the .qmail file of the maillog user.

Offline magwm

  • *
  • 159
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: maillog - excluding a user ...
« Reply #4 on: August 27, 2009, 12:30:34 PM »
Wow folks thanks for the input.
I will look at Mailarchiva, which looks nice. BUT we have similar functionality right into our CRM so it will probably be redundant.
Now about the scripting. I am not very good at this, but.
How would I make a custom template for qmail, telling it to drop all COPIES to maillog of outgoing messagges of the user marketing ?   

Or should I say a template for qmail telling to drop messagges to maillog coming from marketing?

I am not so much confused as at loss.. 

ciao from a very hot and sweaty Italy,
Michel
MagWm