Talk:Sendmail
SSL and auth
I must comment this article is not complete: it is missing ssl and auth support! Those are really important for real life use! I'm just waiting the sendmail maintainer add support for them.
In the meantime, if somebody wants to use ssl right away, here is:
- add this lines to the PKGBUILD, just before the "./Build || return 1" line:
chmod +w devtools/OS/Linux echo -e "define(\`confSTDIO_TYPE', \`portable')\nAPPENDDEF(\`conf_sendmail_ENVDEF', \`-DSTARTTLS')\nAPPENDDEF(\`conf_sendmail_LIBS', \`-lssl -lcrypto')\n">>devtools/OS/Linux echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DSASL=2')" >>devtools/OS/Linux echo "APPENDDEF(\`conf_sendmail_LIBS', \`-lsasl2')" >>devtools/OS/Linux
- Install cyrus-sasl.
- do
# saslpasswd2 -d your-email-user
- Then add this lines to the sendmail.mc
define(`confAUTH_OPTIONS', `A p y')dnl TRUST_AUTH_MECH(`LOGIN PLAIN')dnl define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl define(`confCACERT_PATH',`/etc/ssl/certs') define(`confCACERT',`/etc/ssl/certs/ca.pem') define(`confSERVER_CERT',`/etc/ssl/certs/server.crt') define(`confSERVER_KEY',`/etc/ssl/private/server.key')
- do the rest of the steps normally
I will remove from here this lines once I officialy add them to the wiki.
Chrisl (talk) 17:11, 31 August 2012 (UTC)
MDA compatibility
Hello,
I opened this thread to comment on the accuracy flag within Sendmail#Installation section.
The installation section should cover only the install of sendmail, integration should be put in a separate subsection instead of the main installation section.
PolarianDev (talk) 11:46, 7 March 2023 (UTC)