[exim] append company registration details to all out going …

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Brent Clark
Date:  
À: exim-users
Sujet: [exim] append company registration details to all out going mail
Hey all

For the likes of me, i cant get my head around this.

Ive been requested to append our company registration details to all out
going mail (dont like it either, but have no choice - Not my co).

# Router
dnslookup_with_company_id:
debug_print = "R: dnslookup_with_company_id dnslookup for
$local_part@$domain"
driver = dnslookup
domains = ! +local_domains :

transport = add_company_details_remote_smtp
same_domain_copy_routing = yes
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
no_more


# Transport
add_company_details_remote_smtp:
debug_print = "T: add_company_details_remote_smtp for $local_part@$domain"
driver = smtp
transport_filter = /usr/bin/altermime --input=-
--disclaimer=/etc/exim4/disclaimer_addon.txt
size_addition = -1

For some domains i get this message:

R=dnslookup_with_company_id T=add_company_details_remote_smtp defer (-24):
transport filter process failed (-11)

I was playing and thinking it was the size_addition, but looks like it does
not make a difference.

If anyone can assist and has a nice working method, I would greatfully
appreciate it.

Thanks in advance.

Kind Regards
Brent Clark