OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Postfix and Fetchmail
From: Matthias Andree (madt.e-technik.uni-dortmund.de)
Date: Fri Feb 04 2000 - 05:34:36 CST


* glyn (glynmill29.fsnet.co.uk) [000204 09:40]:
> > What's in the logfile?
> This is more like it! Just a sample.......
> Feb 4 08:16:40 localhost postfix/smtp[1852]: 627EF9A828: to=<owner-expertlinux-mandrake.com>, relay=relay.pol.net.uk, delay=2, status=sent (250 OK id=12Gdps-0000ZO-00)
> Feb 4 08:16:41 localhost postfix/smtp[1851]: 4D3E89A826: to=<Glynlocalhost.localhost.localdomain>, relay=relay.pol.net.uk, delay=6, status=bounced (host relay.pol.net.uk said: 550 Cannot route to <Glynlocalhost.localhost.localdomain>)
> Feb 4 08:16:41 localhost postfix/cleanup[1849]: A6C6B9A827: message-id=<20000204081641.A6C6B9A827localhost.localdomain>
> Feb 4 08:16:41 localhost postfix/qmgr[1802]: A6C6B9A827: from=<>, size=4138 (queue active)
>
> Glynlocalhost.localhost.localdomain seems like one local host too
> many, btu where do I tweak main.cf (or anything else)
> mydestination = localhost, localhost.localdomain
> myorigin = localhost

These are most definitely wrong, you will need to prepend the variables
(localdomain is a variable, not a magic word) with a "$", plus you MUST
put the proper, i. e. fully-qualified host name, somewhere in your
main.cf, which is most probably not localhost.localdomain. If you leave
out the $ symbols, the names are taken literally.

Plus, if your entire system is to use procmail, you may (after you got
it to work) bypass Postfix by making fetchmail call procmail directly
(option --mda, check the docs). Resonably recent version of fetchmail
recommended.