LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   enable message logging for courier(save sent emails) (https://www.linuxquestions.org/questions/linux-software-2/enable-message-logging-for-courier-save-sent-emails-648892/)

ncsuapex 06-12-2008 02:45 PM

enable message logging for courier(save sent emails)
 
I have searched far and wide and can't seem to find an answer. I need to be able to save SENT emails on the server but I can't figure it out. My only clue it to "enable message logging" but I have not been able to find that option in any of the courier conf files.

using Fedora Core 2
rpm -qa | grep courier
courier-webmail-0.58.0-1.2
courier-mlm-0.58.0-1.2
courier-authlib-0.60.2-1.fc2
courier-maildrop-0.58.0-1.2
courier-pop3d-0.58.0-1.2
courier-imapd-0.58.0-1.2
courier-0.58.0-1.2
courier-ldap-0.58.0-1.2



any suggestions?

thanks

farslayer 06-12-2008 03:44 PM

with Postfix you would use always_bcc in the config to save a copy of all emails relayed by the server.
http://www.postfix.org/postconf.5.html

Might want to look at your SMTP servers config instead of the POP / IMAP server (Courier)..

ncsuapex 06-13-2008 01:07 PM

in /etc/courier/courierd there is a line:

ARCHIVEDIR="/var/spool/courier/"

just had to uncomment it and add the directory you want to save the emails into.

per courierd

Also, ARCHIVEDIR *MUST* be on the same partition/volume as Courier's
mail queue directory.


restart courier


All times are GMT -5. The time now is 02:13 AM.