I'm playing with BATV on my test system and am coming across a problem with
DSN messages generated by the local MTA.
I have a Sendmail MTA with the BATV filter between my mail server and the
Internet. When I send a message outbound from the mail server, the BATV
filter signs it properly then hands control back to the MTA. However, if
the MTA is unable to deliver the message onwards, then it sends a DSN
back to the mail server but to the signed email address - the mail
server rejects that message.
Apr 23 12:11:39 tonic sendmail[2259]: [ID 801593 mail.info] n3NCBIEU002259: from=<spamtrap@fiddaman.net>, size=5, class=0, nrcpts=1, msgid=<200904231211.n3NCBIEU002259@xxxx>, proto=SMTP, daemon=MTA, relay=imapserver.internal. [1.2.3.4]
Apr 23 12:11:39 tonic sendmail[2272]: [ID 801593 mail.info] n3NCBIEU002259: to=<test@fflflflnosuch.com>, delay=00:00:03, xdelay=00:00:00, mailer=esmtp, pri=120005, relay=fflflflnosuch.com, dsn=5.1.2, ntries=1, stat=Host unknown (Name server: fflflflnosuch.com: host not found)
Apr 23 12:11:39 tonic sendmail[2272]: [ID 801593 mail.info] n3NCBIEU002259: n3NCBdEU002272: DSN: Host unknown (Name server: fflflflnosuch.com: host not found)
Apr 23 12:11:39 tonic sendmail[2272]: [ID 801593 mail.info] n3NCBdEU002272: SMTP outgoing connect on tonic.xxx
Apr 23 12:11:39 tonic sendmail[2272]: [ID 801593 mail.info] n3NCBdEU002272: to=prvs=0364D97684=spamtrap@fiddaman.net, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30000, relay=imapserver.internal. [1.2.3.4], dsn=5.1.1, ntries=1, stat=User unknown
Is there a way around this problem? (I did wonder if the experimental -x option is heading towards addressing this since my internal mail server would ignore the + addressed part if no matching folder was found...)
Thanks,
Andy