[COLUG] fetchmail configuration

David McGlone d.mcglone at att.net
Sun Oct 28 20:57:05 EST 2007


On Friday 26 October 2007 10:22:03 am Rob Funk wrote:
> David McGlone wrote:
> > I have been trying for 3 days to set up a mail server using fetchmail
> > and postfix.
>
> I suppose I should pay attention then....
>
> > My problem is, so far I seem to have fetchmail working, it doesn't give
> > me any errors and states that it downloaded the mail, but I have no
> > idea where the mail is going where it is downloaded to (if for a fact
> > it is downloaded)
>
> Check your mail logs, e.g. /var/log/mail.log or similar.
>
> Try test-running fetchmail with a -v or three, possibly
> with --nosyslog --nodetach, so you can see everything it's doing.
> And make sure you understand everything in your fetchmailrc, and where
> fetchmail is configured to send your mail.  And understand your postfix
> main.cf too.
>
> Also make sure you're running the latest fetchmail (currently 6.3.8).
>
> > I am trying to set up my desktop computer to act as a server just for
> > my little LAN here at the house. I have set up fetchmail to fetch my
> > mail from my ISP AT&T (POP3) and then have it delivered to each user,
>
> Uh oh, multidrop..... that gets tricky and depends on proper ISP support.

5 days worth of trickery. I finally got it to work this morning using postfix 
and procmail.

I only have 1 problem, the server that I am using, I can't figure out how to 
set up postfix to send mail straight to other computers on my network, it 
always tries sending through the internet.

For example, at the moment I only have 2 computers, 1 is a laptop hostname: 
lappy and 1 is a desktop acting as a desktop computer and a server. hostname: 
buddy.

I can send mail from lappy to buddy easily, but I cannot send to lappy from 
buddy because buddy keeps sending the mail to my ISP's relay and it bounces 
back with an error that it cannot find lappy at localhost

I have lappy's ip in my /etc/hosts, but that doesn't seem to matter, even when 
I turn off smtp and use local delivery, lappy never receives any mail.

I have made sure both computers know about each other in my hosts file, so I'm 
sort of at a loss here.

any ideas?

I wonder if there's a way to specify to procmail a list of ip's to send to 
internally instead of through the net.


-- 
David M.


More information about the colug432 mailing list