Last active
December 26, 2015 13:09
-
-
Save colemanjp/7156834 to your computer and use it in GitHub Desktop.
Add custom james mailer to pps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Current pps mailers: | |
Msmtp, P=[IPC], F=mDFMuX, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=0, | |
T=DNS/RFC822/SMTP, | |
A=TCP $h | |
Mesmtp, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=0, | |
T=DNS/RFC822/SMTP, | |
A=TCP $h | |
Msmtp8, P=[IPC], F=mDFMuX8, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=0, | |
T=DNS/RFC822/SMTP, | |
A=TCP $h | |
Mdsmtp, P=[IPC], F=mDFMuXa%, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\r\n, L=0, | |
T=DNS/RFC822/SMTP, | |
A=TCP $h | |
Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP, E=\r\n, L=0, | |
T=DNS/RFC822/SMTP, | |
A=TCP $h |
SMTP_MAILER_FLAGS [undefined] Flags added to SMTP mailer. Default
flags are mDFMuX' for all SMTP-based mailers; the "esmtp" mailer adds
a'; "smtp8" adds 8'; and "dsmtp" adds
%'.
k flag is only needed if you are connecting to the localhost to deliver
http://www.harker.com/sendmail/portredirect.html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why is the k flag set on james?
k
Normally when sendmail connects to a host via SMTP, it checks to make sure that this isn't accidently the same host name as might happen if sendmail is misconfigured or if a long-haul network interface is set in loopback mode. This flag disables the loopback check. It should only be used under very unusual circumstances.