[exim] Router for exim's own bounces

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Joan
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Router for exim's own bounces
Good morning,
I am using exim as the mx for our organization, it should never send
outgoing mail, and it's purpose it's basically to filter the incoming
mail.
There are some cases when it's necessary to send bounces to the outer
world (basically a few cases when valid mail exceed some rules about
size, etc ...)
I created a router but it doesn't seem to work, I'd be glad if someone
could have a look.

#Router so MX can send outgoing bounces
router_bounces:
  debug_print = "R: router_bounces"
  driver = dnslookup
  senders = Mailer-Daemon@??? :
Mailer-Daemon@??? : Debian-exim
  #domains = +local_domains
  transport = remote_smtp
  # ignore private rfc1918 and APIPA addresses
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\
                        172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :\
                       255.255.255.255


The problem is that it doesn't work and also I cannot test it as usual
with -d -bh ip_address, because it's not a normal smtp connection.

Thank you.