Re: Fetchmail Problems
On Mon, Apr 16, 2007 at 04:55:24PM -0700, Jeff D wrote:
> On Mon, 16 Apr 2007, Michael Pobega wrote:
>
> >On Mon, Apr 16, 2007 at 04:39:30PM -0700, Jeff D wrote:
> >>On Mon, 16 Apr 2007, Michael Pobega wrote:
> >>
> >>>On Mon, Apr 16, 2007 at 03:44:25PM -0700, Andrew Sackville-West wrote:
> >>>>On Mon, Apr 16, 2007 at 06:26:28PM -0400, Michael Pobega wrote:
> >>>>>I'm having trouble fetching my mail with fetchmail. All it does it say:
> >>>>>
> >>>>>==================================================================
> >>>>>
> >>>>>9 messages for pobega@gmail.com at pop.gmail.com (36283 octets).
> >>>>>reading message pobega@gmail.com@gmail-pop.l.google.com:1 of 9 (2984
> >>>>>octets)..
> >>>>>fetchmail: connection to localhost:smtp [127.0.0.1/25] failed:
> >>>>
> >>>>fetchmail grabs the mail from POP and passes it to your MTA on
> >>>>localhost using the loopback device (i think that's how it works) and
> >>>>your MTA isn't answering on port 25.
> >>>>
> >>>>>Connection timed out.
> >>>>>fetchmail: SMTP connect to localhost failed
> >>>>>fetchmail: SMTP transaction error while fetching from
> >>>>>pobega@gmail.com@pop.gmail.com and delivering to SMTP host localhost
> >>>>>fetchmail: Query status=10 (SMTP)
> >>>>>Press any key to continue...
> >>>>>
> >>>>>==================================================================
> >>>>>
> >>>>>I have no idea what could be wrong. As you can tell SMTP is working
> >>>>>fine
> >>>>>(Under SSMTP), so I have no idea why fetchmail isn't working.
> >>>>
> >>>>? I'm not sure what you mean here, but it looks to me like smtp is NOT
> >>>>working on lo interface. Can you telnet port 25 and ge tit to respond?
> >>>>
> >>>>A
> >>>>
> >>>
> >>>Nope, even after setting lo (I had it commented out) it doesn't seem to
> >>>want to respond. I'm using getmail for now, but I can't figure out how
> >>>to get it to play nicely with procmail (I'm guessing this is another lo
> >>>problem?)
> >>>
> >>
> >>I've got getmail/procmail running, here is what I have in my getmailrc
> >>file that deals with procmail:
> >>
> >>[destination]
> >>type = MDA_external
> >>path = /usr/bin/procmail
> >>arguments = ("-f", "%(sender)", "-m", "/home/jeffd/.procmailrc")
> >>user = jeffd
> >>
> >>works like a charm
> >>
> >
> >The only problem for me is that my loopback device doesn't seem to be
> >working at all. My /etc/network/interfaces is:
> >
> >auto lo
> >iface lo inet loopback
> >
> >auto eth1
> >mapping eth1
> > script /etc/network/autofind
> > map 1UC68 home
> >
> >iface home inet dhcp
> > wireless-essid 1UC68
> > wireless-mode Open
> > wireless-key 0FB3D18E79
> >
> >
> >I don't see anything wrong with it, but it doesn't seem to be working.
> >Apache2 is responding when I direct my browser to http://localhost
> >though...Doesn't Apache2 use loopback as well?
> >
>
> That all looks right. I'm guessing that if you can browse on localhost,
> then your loopback is working. /sbin/ifconfig lo return anything?
> /etc/hosts have:
> 127.0.0.1 localhost.localdomain localhost
> ?
>
> not that the getmail/procmail needs the loopback though .. should work
> with out it .. getmail just passes the mail off to procmail and then it
> processees your mail, then it just depends on what you have in your
> .procmailrc
>
>
ackbar:/home/pobega# ifconfig lo
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3327 (3.2 KiB) TX bytes:3327 (3.2 KiB)
ackbar:/home/pobega# cat /etc/hosts | grep local
127.0.0.1 localhost
::1 ip6-localhost ipw6-loopback
fe00::0 ip6-localnet
Looks normal to me.
Reply to: