block emails with Fetchmail...

Kostas Sfakiotakis kostassf at cha.forthnet.gr
Tue Jun 20 12:04:34 UTC 2006


Greetings Paul ,

Paul Howarth wrote:
> On Mon, 2006-06-19 at 10:54 -0400, Phil top-posted:
>   
>> yes but I am accepting mail from the /var/spool/mail/user folder for a
>> ticketing system, so with procmail can I filter it before it gets put
>> into the folder? Not sure I understand how procmail works I thought it
>> was a mailing list manager...?
>>     
>
> No, it's a general-purpose mail filtering and delivery application.
>   
Well basically procmail is a Local Delivery Agent , which means that 
once configured correctly
it can deliver  mail to various folders per user command . Now if within 
a procmail recipe someone
calls for example spamc ( spamassassin ) then it can filter spam 
messages also .

> Sendmail uses it for local mail delivery by default on Fedora, and it
> can also be used to deliver mail by fetchmail if you like.
>   

Am not sure that i fully understand that . Fetchmail fetches email from 
the remote POP3 Server
then it alters the To address as to make it suitable for local delivery 
. Then it passes the email to
sendmail . Now sendmail tricked by the altered To address believes that 
the email is for local
delivery and for that reason it passes the email to the local mailer as 
defined in sendmail.cf /
sendmail.mc , which in Fedora installations is procmail .

> What does your fetchmail currently do with the mail you use it with?
>
> Paul.
>
>
>   

Kind Regards,
  Kostas




More information about the fedora-list mailing list