Hello, (this is the second time that I sent this message, perhaps!)
I've configured fetchmail to retrieve all message from a single
account out of the organization and to redistribuite the email
to the local accounts. It's seem to work fine but when arrived
a mail to unknown local user, sendmail end with status code not 0
end fetchmail cannot continue to delete the erroeus message.
Where i failed?
thanks Carlo
this is /root/.fetchmailrc
---------------------------------------
set syslog
set postmaster "LocalPostMaster"
set bouncemail
set no spambounce
set properties ""
poll MailExt via MailExt.domain.it
with proto POP3
localdomains domain.it
user 'MyUserName'
password 'MyPassWord' is 'root' '*' here
mda '/usr/sbin/sendmail -oem -f %F %T'
this is log file (maillog):
---------------------------------------
Sep 9 12:53:04 fwvgm fetchmail[21748]:
reading message 1 of 1 (1346 octets)
Sep 9 12:53:07 fwvgm sendmail[21750]:
g89Ar5F21750: to=carlo(_at_)vegam(_dot_)it, delay=00:00:02,
mailer=local, pri=0, dsn=5.1.1, stat=User unknown
Sep 9 12:53:07 fwvgm sendmail[21750]:
g89Ar5F21750: from=cluchetti(_at_)toplan(_dot_)it, size=1431,
class=0, nrcpts=1,
msgid=<000601c257ef$1594d1b0$0264a8c0(_at_)toplan(_dot_)it>,
relay=root(_at_)localhost
Sep 9 12:53:07 fwvgm sendmail[21750]:
g89Ar5F21750: g89Ar5G21750: DSN: User unknown
Sep 9 12:53:09 fwvgm sendmail[21750]:
g89Ar5G21750: to=cluchetti(_at_)toplan(_dot_)it,delay=00:00:02,
xdelay=00:00:02, mailer=esmtp, pri=31531,
relay=mbox.adacto.it.[217.58.184.220],
dsn=2.0.0, stat=Sent (Ok, message saved)
Sep 9 12:53:09 fwvgm fetchmail[21748]:
MDA returned nonzero status 17152
Sep 9 12:53:09 fwvgm fetchmail[21748]:
not flushed