Michael Jakscht wrote:
>>Isn't this clear enough?
>>None of your routers can send out the mail (all the conditions fail and
>>the router declines). Show us your routers-section please.
>
>
> Hm, ok, this is clear I think.
> But - the domain ml.niedersachsen.de exists... ????
> I put my exim.conf to http://www.vit.de/exim.conf so now everyone can
> read it - instead of mailing it to the whole list...
<pasting from the configfile>
outgoing_router_rzv:
condition = "${if eq {$sender_address_domain}{vit.de}{yes}{no}}"
driver = lookuphost
# transport = remote_smtp
transport = transport_nach_extern_smtp_rzv
headers_add = "X-Filtered-by: $primary_hostname at $tod_log, passed
filter: domain, from, subject, body, receiver, sender\n\
X-Delivered-To: $local_part@$domain"
headers_remove =
Return-path:X-MimeOLE:X-Mailer:X-MSMail-Priority:X-Priority:Disposition-Notification-To:Return-Receipt-To:X-Lotus-FromDomain
IIRC you never should remove Return-Path.
outgoing_router_nlb:
condition = "${if eq {$sender_address_domain}{nlb.de}{yes}{no}}"
....
Ok, in both routers you check for the sender_address_domain, and i
guess, your spooled mails have another sender_address_domain than vit.de
or nlb.de (maybe they are empty, because they are bounces?), thats why
the routers decline.
#lookuphost:
# driver = lookuphost
# headers_add = X-INFO: processed by a ROUTER (lookuphost)
# transport = remote_smtp
# ignore_target_hosts = 127.0.0.0/8
Normaly this router should catch everything else
>
>>Do you have a general purpose router after all, that just takes the mail
>>and send it out (IIRC it's named dnslookup in the default config)?
Ok, it's named lookuphost ;)
>
> No, I don't think so.
> What would be the sense of this router?
> We have to domains on our mailhub here, so I think it should be enough to
> differ if a mail comes from vit.de or nlb.de and send it out then...
> ???
Can you be sure that noone uses another mail-addresses from the inside
network? And, your solutions makes it impossible to deliver bounces,
because bounces will be send with a empty sender_address_domain.
ciao