New answers tagged sendmail
Take a look at Sendmail FAQ 3.29 - "How can I add a header specifying the actual recipient when having multiple users in a virtual domain go to a single mailbox?" IMHO it may be easily adapted to deliver what you want - it provides all needed hooks. BTW you may use "@domain.tld" virtusertable entry to selected error mailer. It will allow you to reject ...
Create alias for bob on shostakovich. /etc/mail/aliases file entry required: bob: email@example.com P.S. aliases file requires recompilation using newaliases command.
First, ensure something is listening on port 26: $ sudo netstat -tunlp | grep 26 Then, if there is, from another host on your network, try and connect via telnet: $ telnet <IP_address> 26 If sendmail answers, you're good. BUT Why do you want to do this? The email transport system is fairly rigid with regards to what ports SMTP happens on, and ...
You can try to telnet to the box, using port 26. telnet localhost 26 Then, issue some SMTP commands to test.
Why would you want to do that this way? It's not going to work. At least GMail rewrites all mail it receives via an authenticated connection to the mail address connected with this account, so a mail from firstname.lastname@example.org would be rewritten to come from email@example.com. Try to explain to your users why all mail they send to GMail appears to come from ...
I wrote a bash script that puts the activation link into a text file (instead of trying to send it via email) for the first user. I deactivated all the mail stuff in the submin source (password request mails, post-commit hooks, etc.). The drawback: in case of a forgotten password, one hast to contact the admin, which is ok for now.
The issue was resoved after we discovered that the EDGE Cisco ASA did some packet inspection on the SMTP steam, and removing the STARTTLS completely
You are misunderstanding how sendmail works if you think it can "masquerade" as a different server for each email it sends. You have set the From: address correctly, and that shows as aaa.com, as it should. The server still has one single fully-qualified domain name by which it knows itself, which in your case seems to be bbb.com, and it will use that for ...
Sendmail can use the same SSL certificates as Apache, so no problem there as long as both are addressed by the same hostname. Simply configure SSL in the sendmail.mc and regerate the sendmail.cf. For remote usage you may want to configure sendmail to listen to listen to either ports 587 (mail submission) or 465 (smtps) as in many networks outgoing traffic ...
It seems that your sendmail must issue STARTTLS (convert connection into encrypted connection) before issuing AUTH. AFAIR sendmail tries to use STARTTLS by default. Have you installed openssl package/rpm on your host?
I have been unable to fix sendmail, so I wrote an app-layer queue to hold emails before they go to sendmail, which negates this problem for me. The emails are queued on disk by the web request threads, and then a single background thread (per web server) passes the emails to sendmail from that queue. I have added extra logging, and sendmail is still ...
Top 50 recent answers are included