From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > From: Mike Jackson [mailto:[EMAIL PROTECTED] > >> > >> > I would like to use fetchmail to get mail from an external server > >> > and have it run through my servers filters and deliver it to my > >> > mailbox here on this server. How would I go about doing that? > >> > >> fetchmail typically injects mail into your local mail system, so if > >> you invoke SA somewhere in the delivery pipeline, it should be > >> applied to the fetchmail-delivered mail as well. You can also skip > >> the mail system and push the mail directly into a specified MDA, > >> like procmail. > > > > I do this on my home system. The fetchmailrc looks like this: > > > > poll mailserver.domain.net proto pop3 > > user myusername with pass "mypassword" is "localusername" here > > smtpaddress localdomain.com > > mda "/usr/lib/courier/bin/maildrop -d localusername" > > > > This gets run as root, so I need the '-d' to let maildrop know where > > to deliver. Maildrop does all of my spam checking and filtering. > > > > Bowie > > > > Well Im using qmail with vpopmail, does that make a difference? We > have accounts that are external to our server. Some people dont want > to give up their account and their external provider does not allow > forwarding. So I been looking for a way to fetch external mail and > just throw it into the qmail queue and let SA/maildrop script do the > rest and deliver to their account locally on our server.
In that case, you would probably want to pass the mail off to qmail rather than sending it to a delivery agent (such as maildrop). I used to do it that way, but I don't remember how to configure it offhand. You just need to replace that last line. Bowie