BillFinkNC
asked on
FreeBSD Sendmail Procmail Spamassassin
I am responsible for maintaining a couple of small business' email server.
I currently use FreeBSD, Sendmail, Procmail, and Spamassassin. (Apache as the web-server along with Squirrelmail.)
While writing a procmail recipe is easy for me, the average end-user is never going to be able to ssh into the mail-server and edit their own procmail.rc file.
I would like to add a feature that adds to the bottom of their emails some sort of 'footer' that will be appended to their messages for them to click on a link and perhaps say; "Add This Sender To Whitelist" or "Block This Sender" - and then update their procmail recipe.
Any suggestions on how to accomplish this?
I currently use FreeBSD, Sendmail, Procmail, and Spamassassin. (Apache as the web-server along with Squirrelmail.)
While writing a procmail recipe is easy for me, the average end-user is never going to be able to ssh into the mail-server and edit their own procmail.rc file.
I would like to add a feature that adds to the bottom of their emails some sort of 'footer' that will be appended to their messages for them to click on a link and perhaps say; "Add This Sender To Whitelist" or "Block This Sender" - and then update their procmail recipe.
Any suggestions on how to accomplish this?
ASKER
Great! Thanks for that input. SInce I posted that question did I discover that Procmail will probably do what I'd like it do, and much, much more.
I have a single mailserver serving up perhaps 5 or 6 virtual domains - Squirrelmail is configured to use IMAP.
So a varialbe of '$permit_list' is all I need to configure in the .procmail.rc file? That would be/is a great solution. I could write the CGI script on a web-page to invoke that; (adding an address to their 'flat-file."
Am I on the right track from your solution? Perfect answer if it is!
I have a single mailserver serving up perhaps 5 or 6 virtual domains - Squirrelmail is configured to use IMAP.
So a varialbe of '$permit_list' is all I need to configure in the .procmail.rc file? That would be/is a great solution. I could write the CGI script on a web-page to invoke that; (adding an address to their 'flat-file."
Am I on the right track from your solution? Perfect answer if it is!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks so much for your input.
Regards,
Bill
Regards,
Bill
$permit_list="email1|email
Rather than having a recipe for each email address.
Is there a single mail server or do you have multiple mail servers with the mailbox storage on NFS mounts?
Squirelmail configuration is using pop or does it run with SUID as the user that logs in and accesses the mail directly (Maildir format of messages)?