[COLUG] fetchmail configuration

David McGlone d.mcglone at att.net
Fri Oct 26 13:49:16 EDT 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....

Actually it's been a few months that I've been at it, just move vigorously in 
the past 3 or 4 days.
>
> > 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).

Ok I just solved the fetchmail problem. Hopefully my choices will not affect 
me with future configurations.

here's my fetchmailrc:

defaults
proto pop3
port 995
ssl

mda "/usr/bin/procmail -f %F -d %T
fetchall

poll pop.att.yahoo.com
      auth password
      user "d.mcglone at att.net"
      pass "xxxxxxxxxxx" (Like I'm gonna show it) ;-)
      keep
>
> > 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.

Now that I can fetch mail, all that is basically left to do is configure, like 
you mentioned, multidrop.

And last configure either postfix or sendmail to deliver mail. I am not 
looking to use my own SMTP, since I can use AT&T's but I do need to configure 
local sending too, so for instance I can send messages to david at lappy or 
dmcglone at buddy, etc, etc

So for this I'll probably set up 2 sending accounts 1 SMTP to send messages 
over the net using AT&T and one sendmail account to send messages to other 
users on the LAN locally.

Maybe there's an easier way. What do you think?

But anyway my main goal is to use my server(buddy) to get the mail from AT&T 
and pass it on to the correct user.

-- 
David M.


More information about the colug432 mailing list