SMTP Banner on Exim sending from account IP
Hello,
I like to setup the Exim smtp banner to match with reverse IP hostname because i am sending with accounts IP addresses.
i have already setup all IPs reverse on my provider.
also i am looking on this guide : ( https://support.cpanel.net/hc/en-us/articles/1500000922762-Reverse-DNS-does-not-match-SMTP-Banner )
i have a question .
if i change smtp_banner to :
"${smtp_active_hostname} ESMTP Exim ${version_number} \#${compile_number} ${tod_full} \nWe do not authorize the use of this system to transport unsolicited, \nand/or bulk e-mail."
i think it uses the account reverse IP on banner ...
i could not not understand the reason of edit manual /etc/custom_smtp_banner ......
if i leave empty ?
thanks for info
-
Hello Marie,
i want to put this in smtp_banner:
"${smtp_active_hostname} ESMTP Exim ${version_number} \#${compile_number} ${tod_full} \nWe do not authorize the use of this system to transport unsolicited, \nand/or bulk e-mail."
this is not empty.
this variable ${smtp_active_hostname} i think is the hostname in use...
i not understand the purpose of custom file ( /etc/custom_smtp_banner )
thanks0 -
Pietro Leone - what you said you want to put should be the default on the server. Are you seeing a problem with the current SMTP banner on the machine?
0 -
thanks,
actually i have:
"${primary_hostname} ESMTP Exim ${version_number} \#${compile_number} ${tod_full} \n We do not authorize the use of this system to transport unsolicited, \n and/or bulk e-mail."
and i want to change it with:
"${smtp_active_hostname} ESMTP Exim ${version_number} \#${compile_number} ${tod_full} \nWe do not authorize the use of this system to transport unsolicited, \nand/or bulk e-mail."
i want Reverse DNS match with SMTP Banner:
[root@myserver user]# dig -x 51.89.XXX.XXX
;; ANSWER SECTION:
XXX.XXX.89.51.in-addr.arpa. 21600 IN PTR ipXXX.ip-51-89-XXX.eu.but now.:
Connecting to 51.89.XXX.XXX
220-[HERE ACTUALLY I HAVE PRIMARY SERVER HOSTNAME] ESMTP Exim 4.98 #2 Wed, 29 Jan 2025 10:01:30 +0100
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail. [193 ms]
EHLO keeper-us-east-1d.xxxxxxx.com
250-[HERE ACTUALLY I HAVE PRIMARY SERVER HOSTNAME] Hello keeper-us-east-1d.xxxxxxx.com [18.209.XXX.XXX]0 -
Thanks for the details - and you have confirmed the reverse DNS is set properly at your hosting provider?
0 -
yes,
if you read the first message that is the initial premise otherwise it would all be useless, even without the correct rDNS I would have had big problems with email but everything works fine.
What I want to do is to modify the smtp_banner so that even if I send with the account IPs my server respects the rule of having the hostname equal to the reverse hostname in the smtp banner
is it clear ?
thanks a lot
0 -
Sure, that all makes sense. You only need the custom_smtp_banner file if you want certain IP addresses to have certain PTR records. If you're making this change globally on the server you wouldn't need to perform those steps.
0
Please sign in to leave a comment.
Comments
6 comments