-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21-Jun-2002/12:30 -0000, [EMAIL PROTECTED] wrote: >Sorry to disturbe you all with this fetchmail problems again, but I'm new >at fetchmail. The situation now is that fetchmail connects to our pop3 >server at our isp and retrieves all our mail and delivers all the mail in >the admin inbox. How can I forward all the other mails to the correct >persons?? Many thanx in advance,
If the mail at the ISP is in multiple mailboxes/accounts, then it's easy. If it is all in one account, then you will need procmail to help. If the mail is in multiple mailboxes, you can create a line in ~./fetchmailrc for each user: defaults protocol POP3 fetchall nokeep poll mail.isp.com user MyUser1 pass MyPass1 is user1 here poll mail.isp.com user MyUser2 pass MyPass2 is user2 here poll mail.isp.com user MyUser3 pass MyPass3 is user3 here If you want the users to POP the mail off the Linux box, then they need local accounts. You'll need a POP3 or IMAP server (both are in imapd-<version>.rpm) and yuou'll need to run sendmail so your users will be able to send outgoing mail. You'll probably want sendmail to use your ISP's SMTP server as its smarthost. If you want to forward the mail to some other local server for final delivery, then you can create aliases in /etc/aliases that map the username to the final delivery address. Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux: the choice of a GNU Generation. <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]> iD8DBQE9EyzYpCpg3WyUI50RAkxMAJ0RaA9ExzmANr4W34lP8dUY6NDFQACg0DAT J9+yvSfF/Wo5gcA6StiU3v0= =6Vtw -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list