[plug] fetchmail and postfix

Christian christian at amnet.net.au
Mon Aug 14 11:52:09 WST 2000


On Mon, Aug 14, 2000 at 11:05:31AM +0800, russ wrote:
> Hi,
> 
> I'm trying to use fetchmail and postfix to handle mail. I have an account which I get the mail from
> using fetchmail. This seems to work. Meaning fetchmail picks up the mail but I don't know where it
> is ending up?
> Then I would like the mail received to be sent to the various users on the local network. I thought
> this could be done using postfix and I read the tutorial on their web and tried to set up my config.
> This doesn't seem to work. :(
> Any thoughts, suggestions, pointers to good documents?

The good documentation IS the postfix website!  I don't think you could
get better documentation than that (*maybe* if you paid $80 for a good
book).  

First question: what is fetchmail doing with the mail?  It should be
delivering it to the postfix mail server on the host from which it was
run.  Check that it is doing this by looking in the logs.  Now you say
that you want the mail to go to the "various users on the local
network".  What does this mean?  Most of the time you want the email to
just be delivered to the mail server and the users pick up their mail
from this server via IMAP or POP.  Therefore the machine running postfix
and fetchmail should be the mail server (and should also be running POP3
and/or IMAP4 daemons).  If this isn't the way you want to do things then
you will have to configure postfix to deliver the mail for each user
specifically to their machine (assuming they're all running mail
servers).  This is a bit more complex but postfix can definitely do it,
take a look at the documentation.

If you're doing it he first way then the problem is most likely with
fetchmail.  Make sure that you have configured fetchmail to know where
to deliver mail to on the local machine (i.e. which user is which).
This usually isn't too hard but the fetchmail configuration files and
documentation tend to make the process as confusing as possible (IMHO).

If you're still having problems then you'll probably need to provide
more detail on what's going wrong.

Regards,

Christian.



More information about the plug mailing list