On Wed, 3 Sep 2003 11:28:13 -0400 Bryan Phinney <[EMAIL PROTECTED]> uttered:
> On Wednesday 03 September 2003 10:45 am, HaywireMac wrote: > > > > IIRC, Fetchmail can pass mail through Procmail like a filter, > > > > like so:? > > > > postconnect "procmail"? > > IIRC, I read this, but am not doing it myself. I would have to > research to find the exact command and syntax to make it do this. Well, I might just have enough now to do a test run, we'll see how it goes. I'm looking at Derek's tutorial right now, and it's called from Postfix, so maybe I'll do it that way. > > > after passing through, Procmail adds whatever is called for by the > > > recipes and then Fetchmail delivers mail back to the local MTA, > > > Postfix or Sendmail or whichever MTA you are running. Also, > > > Fetchmail can pass mail to Procmail which can act as an MDA and > > > puts mail directly into the maildir folders, if that is the way > > > that it is configured. > > > > Not to muddy the waters, but just out of curiosity, I could bypass > > Postfix completely? > > Yes. Specify a specific MDA, like Procmail and you will bypass > Postfix completely and write directly to /var/spool/mail/user or write > directly to maildir type folders as specified by the MDA. > > > I read in one "quickstart" guide that a .forward file is unnecessary > > if using fetchmail...is that correct? > > Most people only run one set of filters, not more than one since you > would be checking the same content twice which is twice as much work > as doing it all the first time. So, if you use fetchmail and send to > the MTA which is default behavior, you control delivery from the MTA, > the .forward file is unnecessary Excellent, the more steps I can skip while learning, the better...er... at least in my mind.... ;-) > No, you can send it wherever you like. For myself, I don't write > anything directly to a MAILDIR, I like to pull my mail down with the > client so that I can do a little client side filtering, such as > putting mail lists in folders, etc. So, I use procmail to Append to > file /var/spool/mail/user when I direct mail to specific places. > > Messages that come from known mailing lists or things that I don't > want to go through the SA or other filters gets appended to > /var/spool/mail/user, based on who is subscribed to the mail list, > directly, bypassing any additional filters in Procmail. How is that accomplished? That would be a procmail recipe, I assume, no? > Then, known crap is pushed off to /dev/null based on a pinhead list > that I maintain seperately. LOL! Hope I never end up on that one...I know I've come close a few times with others... ;-) > You can either append it directly using Procmail, or you can stick it > in MAILDIR directly, or you can let the piped mail go to Postfix where > it will match the local user specified by Fetchmail with the local > account and drop it in the right mbox. Cool. > > Thanks so much for your time and explanations, I *am* reading the > > docs at the same time, but as I always say, it is one thing to RTFM, > > it is another to UTFM! > > Some of the stuff you are wanting to do is stuff that I haven't done > yet, I actually like running my own mail server, even if I don't have > it open to the net to send mail from. Ya, that's my one problem is *sending*, as I cannot use my own domain (lots of people do reverse lookups, see my IP is a "consumer" block and reject it...) and must tell Postfix to relay mail through my ISP so as not to get RBL'd. Someday, though... -- HaywireMac Registered Linux user #282046 Homepage: nodex.sytes.net ++++++++++++++++++++++++++++++++++++++++++ Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org ++++++++++++++++++++++++++++++++++++++++++ Faith goes out through the window when beauty comes in at the door.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com