LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   procmail fallback (http://www.linuxquestions.org/questions/linux-newbie-8/procmail-fallback-64422/)

mazzo 06-08-2003 06:04 PM

procmail fallback
 
I tried to set up a way of eliminating spam from my email.

I use a pop box of the type user@isp.com, sometimes with another prefix like user1@user.isp.com

I thought I had written rules to deal with this in fetchmail, however it didn't successfully invoke sendmail and fell back on procmail.

The mail was collected - some dumped into the right user accounts, but the rest has vanished.

It said using procmail -d %T

What will have happened to the missing email and can I retrieve it ?

unSpawn 06-08-2003 08:02 PM

If your .fetchmailrc said "procmail -d %T" then you explicitly didn't invole sendmail. Read "man fetchmail" for that. Using procmail as local delivery agent will work as good as sendmail if you don't fsck up the recipes.

If you can't find out from the fetchmail, procmail, sendmail, maillog or messages logfiles what's going on, it would be helpfull to post your fetchmail config here, just make sure you first scrub it for passwords.

mazzo 06-09-2003 01:50 AM

Thanks for your reply.

I did specify sendmail - but the daemon failed, which is why procmail kicked in.

I have tracked down the lost email. It bundled them in one of the spool files - but not the one I set for sendmail to use (obviously I guess).

I have managed to sort out both problems and am up and running again.

Thanks once again

rsingh 06-09-2003 07:52 AM

mails can be managed very easily using procmail.read procmail man page . make a .forward file and execute procmail command on your mails . then make the required recipes in the .procmailrc file. ofcourse
you'll have to make a .procmailrc file first.


All times are GMT -5. The time now is 06:49 PM.