View previous topic :: View next topic |
Author |
Message |
orick n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 08 May 2003 Posts: 46 Location: Chile
|
Posted: Wed Aug 11, 2004 5:32 pm Post subject: Backup or logging of all mail messages |
|
|
Hi to all,
I want to setup a mail server with the main caracteristic that all incoming and outgoing messages, including attachments of whatever size will be logged completely and periodically backed up. This has to be independent of what type of MUA the user employs (pop, webmail etc).
In the documentation of qmail, there is a compile time option (setting QUEUE_EXTRA to "Tlog\0" and QUEUE_EXTRALEN to 5 in conf-unusual.h) that seems to provide this ingoing and outgoing logging facility, but I did not find something equivalent for postfix.
So, I would be grateful if somebody could answer to the following questions:
1. In the qmail ebuild, are that compile time options set, or do I have to set them by myself before emerging the ebuild?
2. For postfix, how could such a complete logging of all incoming and outgoing messages be acomplished?
Thank you very much in advance _________________ Olivier |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adaptr Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/17218567054377b9b6104ea.jpg)
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Wed Aug 11, 2004 6:31 pm Post subject: |
|
|
Then you did not read the manual !
Adding this to main.cf:
Code: | always_bcc = address@domain.tld |
will send a copy of every message in or out of the system to that address.
One gotcha: this will, by definition, be the largest mailbox, so you'd better disable the internal quota for Postfix, since it will stop delivering to that mailbox when it has reached the maximum size.
You can implement normal filesystem quotas instead.
Or go for broke, and create a neat cron job to offload the mailbox to backup space every night ![Wink ;-)](images/smiles/icon_wink.gif) _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
davidblewett Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/222714518404f80b262763.jpg)
Joined: 15 Feb 2004 Posts: 274 Location: Indiana
|
Posted: Wed Aug 11, 2004 9:55 pm Post subject: |
|
|
Courier has an option in it's ESMTP server config to keep a copy of every message that goes through it. _________________ No guilt in life, no fear in death
this is the power of Christ in me
From lifes first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|