Discussion:
[SA-exim] Customizing reject messages using variables?
Mark Zbikowski
2006-11-30 16:44:32 UTC
Permalink
I'd like to customize the reject message (SAmsgpermrej) in sa-exim.conf
to include the message "please contact ***@mydomain.com".

My email gateway handles multiple domains, and I'd like the
"mydomain.com" portion to reflect the domain name of the intended
recipient.

Is this possible?

I'm running exim 4.63 and sa-exim 4.2 in Debian.

Thanks for your help!

Mark
Marc MERLIN
2006-11-30 17:06:36 UTC
Permalink
Post by Mark Zbikowski
I'd like to customize the reject message (SAmsgpermrej) in sa-exim.conf
My email gateway handles multiple domains, and I'd like the
"mydomain.com" portion to reflect the domain name of the intended
recipient.
Is this possible?
I'm afraid not, the string is static and doesn't get any variable
substitution.
Of course, you could hack that in sa-exim.c in about 10-15mn, but making
this a real option with all the configuration variables and substitutions
that people could think of, would take a while :)

Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
Loading...