ok so I added localhost to /usr/local/exim/configure and now fetchmail outputs the following:
$ fetchmail --all --keep
1 message for toby at 4mationnet.com (2771 octets).
reading message 1 of 1 (2771 octets) .fetchmail: can't even send to matjc!
. not flushed
and a fetchmail -v --all --keep partly outputs:
fetchmail: SMTP< 250 OK
fetchmail: SMTP> RCPT TO:<matjc@localhost>
fetchmail: SMTP< 550 unknown user
fetchmail: SMTP listener doesn't like recipient address `matjc@localhost'
fetchmail: SMTP> RCPT TO:<matjc@localhost>
fetchmail: SMTP< 550 unknown user
fetchmail: can't even send to matjc!
Thanks
Toby.
On Sun, Nov 17, 2002 at 02:47:46PM +0800, Greg Matheson wrote:
> On Sat, 16 Nov 2002, Toby Coleridge wrote:
>
> > plan in: 4mationnet.com (remote) > fetchmail > exim > procmail >
> > mailboxes (local)
>
> > when the fetchmail is run with -v above sometimes I see:
> > fetchmail: SMTP listener doesn't like recipient address `matjc@localhost' but not for every message.
>
> > /etc/hosts contains:
> > 127.0.0.1 localhost.localdomain localhost
>
> > /var/log/exim/mainlog:
> > 2002-11-17 03:55:26 18DGVF-0000vt-01 ** toby@???: Unrouteable address
> > 2002-11-17 03:55:26 18DGWs-0000x7-00 <= <> R=18DGVF-0000vt-01 U=mail P=local S=2
> > 251
> > 2002-11-17 03:55:26 18DGVF-0000vt-01 Completed
> > 2002-11-17 03:55:27 18DGWs-0000x7-00 => ice@??? R=dnslookup T=remote_smtp
> > H=mail.extreme.hu [212.108.197.2]
> > 2002-11-17 03:55:27 18DGWs-0000x7-00 Completed
>
> This was Tamas being sent the bounce of your unrouteable
> addressed mail.
>
> I don't know about the later problems in your log, but I think
> the unrouteable mail being received from fetchmail is due to
> there being no localhost in the local_domains list.
>
> > domainlist local_domains = @:4mationnet.com
>
> I think it needs to be @:4mationnet.com:localhost
>
> because fetchmail is deliverying to toby@localhost
> This bit me too. How could localhost not be a local_domain, I
> thought.
>
> --
> Greg Matheson More Pricks than Kicks
> Chinmin College --Samuel Beckett
> Taiwan Penpals Archive <URL: http://penpals.chinmin.edu.tw/>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##