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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is this possible

Status
Not open for further replies.

jonny2495

Technical User
Aug 3, 2006
16
GB
Hi Guys,

I am running a postfix server that collects mail via fetchmail. The mail comming in is already spam checked and is flagged as such in the header and subject.

My question is:

Is it possible for any mail for a user that is flagged as spam to be moved to a users spam folder and if so how?

As the mail is flagged on arrival I dont want re invent the wheel by running something like spamassassin.

Cheers

Jon

Jon - CCNA to be :)
UK
 
If you have a mailbox-delivery script (identified by a mailbox_command entry in main.cf), you can examine the headers and send the mail wherever you want. This applies to custom scripts and probably also to procmail (which I don't use, but is very popular).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top