Click to See Complete Forum and Search --> : Postifx : Collecting mail from another Pop3 server


leonpmu
06-28-2004, 01:58 AM
Overview:

Just moved a client from Windows NT4 using Mdaemon Mail server (actually a good product) to SuSe 9.1 Professinal using Postfix and qpopper. This server is also an SMB file server.

There are two e-mail system setups : internal , ie local.mail and also their domain, which is hosted elswhere, ie theircompany.com

What I need postfix to do is collect the mail from the external server and deliver it to the local mailboxes.

ANy ideas.

Thanks

Leon

OK, there is a twist in the tail, I actually managed to collect ALL the mail on the remote server and dump them into one mailbox. The problem is, is that this one mailbox has got EVERYBODY's Mail. How can I rather create a fictitious mail and have it "filter the the correct addresses???

IE all the mail comes into box A, box a automagically filters the mail and resends it to the relevent boxes in the mail system??

Tks

leonpmu
06-28-2004, 04:43 AM
I have just discovered fetchmail,

now , how do I configure user X to be able to pass on the relevant e-mails to the other users.

Sorry, recap : The client has domain X, all the mail from domain X is being sent to one e-mail address to the local ISP, this one e-mail address is then collected, and the relevant mail was sent on to the correct user mailbox.

Any help appreciated, really!!!

hard candy
06-28-2004, 08:11 AM
Look at "man fetchmail", I believe it has an example config file. For each user add a fetchmail config and add the line "poll mail.isp.cpm protocol "pop3/imap" username "leonpmu" password "xxx" ", for different mailboxes add a separate poll line.

But you may want to look at maildrop (http://www.flounder.net/~mrsam/maildrop/README.html)
and it has some Suse rpms available.
"maildrop is a replacement for your local mail delivery agent. maildrop reads a mail message from standard input, then delivers the message to your mailbox. maildrop knows how to deliver mail to mbox-style mailboxes, and maildirs. "maildir" is a mailbox format used by the Qmail MTA."