Does this mean that fetchmail is incapable of doing this type of thing automatically? As far as I can see, fetchmail will connect to the server and forward the mail to your server on port 25. If this is the case, why can't it keep the original to:[EMAIL PROTECTED] and forward it user xxx. My server is a dial-up type and the domain name I gave the server matches the email address. Can fetchmail not forward the messages directly to your localhosts mailer eg. sendmail? many thanks Gary
-----Original Message----- From: Michael Merten <[EMAIL PROTECTED]> To: Debian User mailing lists <debian-user@lists.debian.org> Date: Wednesday, July 14, 1999 11:02 PM Subject: Re: Fetch mail problems >On Wed, Jul 14, 1999 at 08:04:11PM +0200, Gary van Blerk wrote: >> Hi there, >> >> I've been using Debian now for about 2 years and still I am learning new things about it every day. I need some help with using fetchmail. I have a Debian server running sendmail. I have a domain registered for mail only. >> [EMAIL PROTECTED] >> >> I can fetch all the mail quite well from the server using fetchmail but the problem is that the mail is stored in the wrong mailbox. Whichever user executes fetchmail gets all the mail. How can I fix this so all the mail will be delivered to the seperate users? Can fetchmail recieve mail and deliver it to the users it was addressed to? >> If anyone has some info about fetchmail, maybe a HOWTO or something I would appreciate it. >> >> many thanks >> Gary > >If I understand correctly, you're fetching mail from a multi-drop account, >and you want it sorted and delivered to the intended accounts on your local >server. > >There are probably easier ways to do this, but I'd set it up so that fetchmail >was run as a particular user (maybe set up a special account for this) from >a cron job (or ip-up.d script, if your system is on a dial-up) and set up >a procmail filter for that user to forward the mail to the correct account >based on the To: (or some other appropriate) header. > >HTH, >Mike > >-- >Michael Merten ([EMAIL PROTECTED]) > ---> NRA Life Member (http://www.nra.org) > ---> Debian GNU/Linux Fan (http://www.debian.org) > ---> CenLA-LUG Founder (http://www.angelfire.com/la2/cenlalug) >-- >"The holy passion of Friendship is of so sweet and steady and loyal >and enduring a nature that it will last through a whole lifetime, if >not asked to lend money." > --Mark Twain