Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quarantine management with amavisd-new 1

Status
Not open for further replies.

fugtruck

MIS
Jul 1, 2009
62
US
I am in the process of building an outbound SMTP gateway to filter messages generated from web forms. The setup I am using is Postfix + Amavisd-new + SpamAssassin. I currently have a Postfix + SpamAssassin setup in production but I find that releasing messages marked as spam is not practical with this setup. Thus, I am redoing with Amavisd-new.

So my question is, any advice as to how to configure Amavisd quarantine such that support staff will be able to locate messages and optionally release them? Any tools you recommend for viewing/searching the contents of the quarantine? In my environment, no end users will be managing their quarantine, nor will we have any user specific settings (that is, no sender or recipient based white/black lists).

I've gone through the list of contributed software on the site but the ones that looked like it closely matched what I was looking for were either really out of date or didn't work (for example, I tried PostVis Admin but it seems to require PHP 4 and I would rather not have to downgrade my PHP).

Any and all advice is welcome.
 
So my question is, any advice as to how to configure Amavisd quarantine such that support staff will be able to locate messages and optionally release them?

I think that there are three parameters you will want to set: 1 - make sure you have a quarantine directory configured, 2 - set the spam destiny to D_DISCARD, 3 - configure your spam_admin as the email address you would like the spam notification to go to.

This will cause 'spam' messages to be placed into a quarantine directory and a notification will be sent to the admin email address that contains a content preview, full header information, and a "code" that can be used to release the message if desired. To release a message from quarantine, you can use the amavisd-release command from a terminal prompt with the "code".

The discard disposition causes the message to be quarantined rather than passed on to the recipient, which is a better approach than trying to bounce it.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top