procmail
[Top] [All Lists]

Re: Procmailrc Configuration

2001-01-18 16:49:36
hi

On Thu, 18 Jan 2001, Professional Software Engineering wrote:

If you're using fetchmail, then you're not _forwarding_ the messages, 
you're _retrieving_ them, since fetchmail would be running on your 
workstation.

you can run procmail as LDA right from the fetchmail and then you can
forward, filter and do any other things with your messages.
Then you don't have to login to your ISP's POP server (many won't allow you
to do this at all) or ask them to forward your mail to your host (what if
you have dynamic IP ?).

1. shell into your isp "gateway" server.

3. type:
         echo address(_at_)yourworkstationhost(_dot_)tld > ~/.forward

3. type:
         chmod 644 ~/.forward

this won't work with many ISP's and corporate setups.

here is how to run procmail from fetchmail:

.fetchmailrc:
poll <your_pop_server> protocol <APOP|POP3|whatever>:
  no rewrite mda "/usr/local/bin/formail -s /usr/local/bin/procmail -Yf -";

then usual .procmailrc file applies.

--
rgds,
serge

_______________________________________________
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>