Re: block emails with Fetchmail...



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

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Tracking down mail server bottleneck...
    ... which is invoked by procmail on a per user basis. ... When I use "top" and watch the processes, I see spamassassin processes ... so I see no reason for local delivery to take so ...
    (comp.os.linux.questions)
  • Re: Evolution 2.0.2 Filter Problem
    ... I set Receiving Options to filter messages in the INBOX. ... > were filtered regardless of which folder was selected. ... I have set up my mail server to filter messages on the server using ... procmail (google for 'procmail filter setup' get you a lot of good ...
    (Fedora)
  • Re: the mail trail...sendmail
    ... > procmail) to handle local delivery. ... Sendmail runs the program it's ... > Don't get confused to think Procmail is a filter. ...
    (Fedora)
  • Re: block emails with Fetchmail...
    ... When you say fetchmail "delivers them locally", ... fetchmail passes the mail on to a local mda for ... Either can work with procmail, as long as your local smtp ... daemon is using procmail for local delivery, ...
    (Fedora)
  • Where FEATURE(`local_procmail) fits into the address matching
    ... require changing the local delivery agent). ... If I use FEATURE(`local_procmail') for local delivery, ... Sendmail features doesn't seem to be covered in the readme or in the ...
    (comp.mail.sendmail)