bluegroper
Technical User
I'm trying to setup a simple (Linux RH7.3) mailserver using postfix (for local mail and outgoing mail), and fetchmail to collect mail from my isp. I have multiple pop3 mailboxes with my isp, and each one "belongs" to a unique local user, if that makes sense.
The outgoing mail from users through postfix and on to the isp's mailserver seems to work just fine. Also the delivery of local mail is good too.
Only hard part is the collecting of mail from the isp's pop3 mailboxes. I've setup each mail user as a linux user, so that they can each have their own linux mailbox and .fetchmailrc file. They then use either the fetchmail daemon, or cron to schedule mail collection. In (my) theory, each users' .fetchmailrc should just drop their mail into their respective local mailbox. They get at it across the LAN using Outlook, Eudora, Netcape, whatever.
Postfix has been configured with "mydomain = domain.name.com" to ensure proper delivery of locally addressed mail.
The only "gotcha" that I've struck with this is the way fetchmail collects mail and then hands it on to Postfix. Fetchmail collects the mail and addresses it to "username@localhost". Postfix translates this to be "username@localhost.domain.name.com". Then Postfix cannot deliver the mail so everything ends up being dumped on root, with a very rude "500 Host Unknown" error message.
I'm hoping some guru can point me in the right direction for this last piece of the puzzle, because everything else looks very nice.
TIA's
The outgoing mail from users through postfix and on to the isp's mailserver seems to work just fine. Also the delivery of local mail is good too.
Only hard part is the collecting of mail from the isp's pop3 mailboxes. I've setup each mail user as a linux user, so that they can each have their own linux mailbox and .fetchmailrc file. They then use either the fetchmail daemon, or cron to schedule mail collection. In (my) theory, each users' .fetchmailrc should just drop their mail into their respective local mailbox. They get at it across the LAN using Outlook, Eudora, Netcape, whatever.
Postfix has been configured with "mydomain = domain.name.com" to ensure proper delivery of locally addressed mail.
The only "gotcha" that I've struck with this is the way fetchmail collects mail and then hands it on to Postfix. Fetchmail collects the mail and addresses it to "username@localhost". Postfix translates this to be "username@localhost.domain.name.com". Then Postfix cannot deliver the mail so everything ends up being dumped on root, with a very rude "500 Host Unknown" error message.
I'm hoping some guru can point me in the right direction for this last piece of the puzzle, because everything else looks very nice.
TIA's