Noel Jones schrieb:
Robert Schetterer wrote:
You add the IP of the ORIGINATING server; where the original message
comes from that triggers the DSN. This should prevent the DSN from
being generated in the first place.
Hi Noel, cant do that its a dyn ip
Eh?? Mail _from_ a large multinational company arrives via a dyn ip?
no the orginal mail is comming from there ( bigcompany) and wishes a
notify being delivered after recieve, the mail is recieved via a postfix
server and downloaded via a pop3 service to customers internal exchange
servers, the delivered notice produced by outlook over exchange is
delivered out
by relay via another postix sasl by dynip
i know this is not a ideal setup *g
OK, here's how to strip DKIM on output. This will affect all mail going
to that domain, not just DSNs.
i was only speculate that it is caused by dkim, all other mails to that
domain work with dkim signed
I have no confidence this will fix the problem, good luck.
# main.cf
# (or use your existing transport_maps table)
transport_maps = hash:/etc/postfix/transport
# master.cf
#(this is a copy of the smtp...smtp line)
no-dkim unix - - n - - smtp
-o smtp_header_checks=regexp:/etc/postfix/strip-dkim
# transport
bigcompany.example.com no-dkim:
# strip-dkim
# remove DKIM and DomainKeys signatures so that
# badly broken clients don't choke.
/^DKIM-Signature: / IGNORE
/^DomainKey-Signature: / IGNORE
i will try , but perhaps i will use something
like that to simply reject that mails.
Seems more likely they are choking on the null sender address. You can
use the setup described above with smtp_generic_maps to replace the null
sender with something else. This breaks RFCs - DSNs MUST be sent with
the null sender.
-o smtp_generic_maps=regexp:/etc/postfix/replace-dsn
# replace-dsn
/^<>$/ [EMAIL PROTECTED]
# transport
[EMAIL PROTECTED] discard:
This solution sucks, but might allow the mail to be delivered.
maybe the best solution is to just throw the mail away...
# transport
<>@bigcompany.example.com discard:
nice idea *g
--
Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria