LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-08-2003, 06:04 PM   #1
mazzo
Member
 
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat 7.3 & 9 Ubuntu, Puppy Linux, Ubuntu and CentOS
Posts: 135

Rep: Reputation: 15
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 ?
 
Old 06-08-2003, 08:02 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,264
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
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.
 
Old 06-09-2003, 01:50 AM   #3
mazzo
Member
 
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat 7.3 & 9 Ubuntu, Puppy Linux, Ubuntu and CentOS
Posts: 135

Original Poster
Rep: Reputation: 15
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
 
Old 06-09-2003, 07:52 AM   #4
rsingh
Member
 
Registered: May 2003
Posts: 44

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo - x86_64 software fallback netcrusher88 Linux - Distributions 2 11-05-2005 08:25 PM
grub fallback configuration monkeypop Red Hat 2 06-17-2005 04:00 PM
glapi fallback with ATI drivers Barx Slackware 0 02-11-2005 11:37 AM
internet failure and auto fallback shashi_lq Linux - Networking 0 06-25-2004 06:31 AM
wired to wireless fallback blackrose Linux - Wireless Networking 0 07-08-2003 10:01 AM


All times are GMT -5. The time now is 09:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration