Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fetchmail question



 On Mon, 12 Nov 2007 16:25:07 -0500 
"dan moylan" <[hidden email]> wrote: 

> 
> kristian writes: 
> > Ubuntu ships by default with no ports open.  Thus, make 
> > sure you have your server installed and listening... 
> 
> well in /etc/services i see: 
> 
>   smtp    25/tcp     mail 
> 
> seems reasonable to me.  what server? 
> 
> and jarod writes: 
> > No *remote* ports open. We're talking localhost port 25, 
> > which is generally always open, so that the system can 
> > deliver local mail, like logwatch reports, etc. Pretty 
> > sure that's how those 198 messages got there... :) 
> 
> ok, how do i open remote ports?  the 198 messages are there 
> because i haven't downloaded any mail since saturday morning. 
> fetchmail found them, but won't download them to my system 
> because it can't access 127.0.0.1/25. 
> 
> > I'm guessing the problem is actually that fetchmail 
> > doesn't usually fetch from port 25[*], since it operates 
> > more like a mail *client* than an MTA. It usually fetches 
> > from imap/imaps/pop3/pop3s. I typically have fetchmail 
> > pull (and delete) mail from another mail server via pop3s 
> > myself. Of course, now that I think about it, why on earth 
> > would you want to connect fetchmail to localhost?!? The 
> > mail is already on the system... 
> 
> for the past umpteen years, fetchmail has fetched mail 
> from my site moylan.info and downloaded it into 
> /var/spool/mail/moylan on my home machine.  i have never 
> given any particular instructions to fetchmail, other than 
> what is in my .fetchmailrc file, which looks like this: 
> 
>   
>   
> 
>     poll moylan.info protocol pop3 
>          user "moylan"           with pass "xxxxxx" is "moylan"  here 
>          user "jdm+moylan.info"  with pass "xxxxxx" is "moylan"  here 
>     smtp localhost 
> 
> kristian writes further: 
> > Now you can see why we all were confused :-) 
> 
> actually, i can't, though i still am. 
> 
> matt writes: 
> 
> > Check out your fetchmail conf file.  The man pages are 
> > pretty good on this. 
> 
> hmmm.  what conf file? .fetchmailrc?  man fetchmail says: 
> 
>   As each message is retrieved, fetchmail normally delivers 
>   it  via  SMTP to  port 25 on the machine it is running on 
>   (localhost), just as though it were being passed in over a 
>   normal TCP/IP link. 
> 
> ok, that looks like what fetchmail is trying to do, but can't 
> for some reason, i.e.: 
> 
>   fetchmail: connection to localhost:smtp [127.0.0.1/25] 
>                               failed: Connection refused 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org