procmail
[Top] [All Lists]

Re: basic procmail config questions

2002-09-23 08:49:14

email account only for debugging purposes ... will consider using it system
wide if / when it proves to be reliable (ie it doesn't require constant
tinkering.)

Procmail, like any other wildly flexible piece of software, is as
reliable as the person configuring it.  ;)

Can anyone advise what is involved in getting a POP3 client configured to
find it after procmail has finished messing with it ?? In default FreeBSD /
sendmail setup, incoming mail appears to end up in   /var/mail/<username> .
Presumably thats where the POP3 clients go looking for it. However if the
procmail filtered mail goes someplace else (like /home/<username>/Mail), how
does one configure a POP3 client to look in a different place from where it
normally expects to find mail ??

Fact check: the POP3 client doesn't read your mailbox, and doesn't know
where to find your mailbox, and this isn't a procmail issue.  A POP3
client simply talks to the POP3 server.  The location and format of the
mailbox it reads depends on a number of things.  If you're using one of
the mbox-compatible POP3 servers from the FreeBSD ports collection, then
your POP3 server knows to look for mailboxes in /var/mail/.  If you tell
procmail to deliver mail to a non-standard folder, it'll try to put mail
in your $MAILDIR.  Otherwise it'll go to $DEFAULT.  For explanations of
these variables, RTFMP (man pages).  If you want to *use* alternate
folders, then don't use POP3.  Use IMAP.

Secondly, when procmail is invoked from a /home/<username>/.forward file, as
far as I can tell, only a copy of the incoming email is filtered & the
original still gets delivered. If this is the situation then whats the point
of filtering ?

This is most likely an issue with the way you've set up your .forward
file, though it could also be an error in your .procmailrc.  Make sure
that your .forward file isn't delivering locally *as well* as piping
through procmail.

-- 
  Paul Chvostek                                             
<paul(_at_)it(_dot_)ca>
  Operations / Abuse / Whatever                          +1 416 598-0000
  it.canada - hosting and development                  http://www.it.ca/

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>