The 03.06.06 at 14:45, John Pettigrew wrote:
So, IIUC, the YaST MTA section applies only to postfix, and will collect email from the specified ISP accounts and deliver the email into batch files within /var/mail/<user> ?
Right, postfix will put the email in mbox format there.
Which local user should I pick to receive the unfiltered email? I see that
I would use either one of the final recipients (the one acting as "boss"), or a new one. Just make sure that email that doesn't fit any recipe is sent to somebody that can forward it and correct the procmail rule.
Then, once the email has arrived for this user, procmail is run on it - do I need a ~/.forward file using SuSE8.2 and postfix?
No, just tell yast that you will use procmail for local delivery, and yast will configure it for you. Remember to set an alias for root, because he will no longer receive mail (documented in postfix faq). Then create a /home/user/.procmailrc file with your recipes. There are examples in the manpages.
What I want is for the incoming email to be divided into two (or more) normal email batch files, one for each user (based on various filtering rules within procmail), ideally located in /var/mail/<user>, ready for collection using mutt or whatever. Is this sensible and/or feasible like this?
Procmail can be set to deliver to mailboxes files, or to forward to a user (local or remote), so that postfix will handle it again. As long as the user is a different one than the one that does the forward, there will be no loops. It is also possible to call procmail directly from fetchmail, but I have never done it. Some people on this list do it that way. Again, "man procmailex". -- Cheers, Carlos Robinson