BCC all messages to an account for testing

Discussion in 'Server Operation' started by toastmaster, Mar 2, 2006.

  1. toastmaster

    toastmaster New Member

    Hello,

    I have completed the server outlined in the howto "Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV)".

    I am currently testing this server with 5 of my 'spammiest' customers email accounts being forwarded from another server to the test server. I am Currently, I only mark the spam but let everything through. I would like to be able to bcc all of the emails on the server to my test account so I can look at the headers and see where my spam mark/bounce/drop levels should be.

    I have found the informations for the postfix parameter "always_bcc" and have tried to add that to the master.cf file but it is not working. Has anyone else had any luck with this sort of thing? Would this be the correct way to accomplish the goal of getting all of the spam scores from the email header.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You must put this into /etc/postfix/main.cf, not /etc/postfix/master.cf! Restart Postfix afterwards.
     

Share This Page