New answers tagged sendmail
You can change it when using php mail() function, by passing an additional parameter: <?php mail('email@example.com', 'Subject', 'Message', null, '-firstname.lastname@example.org'); ?> Or make it default by changing sendmail_path option in php.ini: sendmail_path = /usr/sbin/sendmail -t -i -email@example.com'
dnl marks rest of the line as m4 comment Sendmail by default masquerades only header sender addresses. Use FEATURE(masquerade_envelope) to masquerade envelope sender and FEATURE(allmasquerade) to masquerade header recipients. (SENDMAIL) MASQUERADING AND RELAYING
Your permissions issue is not a file permissions issue but SELinux disallowing the sendmail executable from accessing files on the filesystem in a specific location. Your best friend for dealing with these is to use the SELinux troubleshooter GUI. $ sealert -b You'll then want to follow the advice to add the necessary contexts to your ...
There are several TLS related settings you can use in the access map: try_tls is used when sendmail is a client (i.e. sending email) tls_srv applies to servers, when sendmail is a client (i.e. sending email) tls_clt applies to clients, when sendmail is a server (i.e. accepting email) srv_features is used when sendmail is a server (i.e. accepting email), ...
I would double check the output of make when you built it for warnings or errors. If there is no binary of sendmail present then it didn't build properly. Also look for sendmail using find within the source tree. Often times binaries are put into a different directory. $ find . -type f | grep sendmail$ Compilation issues Based on your newest edit these 2 ...
You may change "this host email name" (used in Received headers) defining confDOMAIN_NAME. https://www.sendmail.com/sm/open_source/docs/m4/whoami.html By default sendmail's masquerading changes only header sender (e.g. From: header). It may be configured to change envelope sender (MAIL FROM: in SMTP session) and/or header recipients (e.g. To: and Cc: ...
Top 50 recent answers are included