How to change source SMTP IP address in sendmail:
if you want to change the source SMTP ip address in sendmail.
1. Edit sendmail.cf (/etc/mail/sendmail.cf) through vi, nano or pico
from:
#O ClientPortOptions=Family=inet, Address=0.0.0.0
to:
O ClientPortOptions=Family=inet, Address=< your IP here >
# /etc/init.d/sendmail restat
Comments
Post a Comment