Hot answers tagged

2

As you can see, once you group those log entries by internal message ID, those are email messages that stay within your server: u3OHZ16M030895: from=root ... u3OHZ16M030895: to=root ... (u3OHZ1UJ030896 Message accepted for delivery) and u3OHZ1UJ030896: from=<root@ip-1xx-xx-xx-1xx.secureserver.net> ... u3OHZ1UJ030896: ...


2

Hbruijn response seems to be correct, bsically, whenever any user in the machine (root or other) has a cript running in brtch mode without a window where toi address standard output messages, such a messages are addressed to @ address and, even, addressed to root, meanng "Warning: you have some process writing message you cannot red, so take care of email".


1

Name server:example.com: host not found Is not necessarily a sendmail specific problem but most likely a generic DNS issue. The hostname (or MX record) for example.com can't be resolved. Check if dig any example.com also gives an error => DNS problem that needs to be resolved as even when configured with a Smart Host by default sendmail still does a ...


1

Have you set PostmasterCopy in your sendmail.cf? grep PostmasterCopy /etc/mail/sendmail.cf YES => You may turn it off confCOPY_ERRORS_TO PostmasterCopy


1

You may use formail program to feed "one by one" messages in mailbox-file to program/script of your choice. Below please find elaborate example of using formail -s ... to process user system mailboxfile. It is provided in man procmail and makes procmail process every message in the system mailbox. #!/bin/sh ORGMAIL=/var/mail/$LOGNAME if cd $HOME ...


1

I think that procmail acts as a local mailer which is run after the email is accepted. Basically, it is a next step in the delivery. So it can't affect the connection which is accepting the email to the sendmail process. Think about a different example when you send the email locally to another local user. It is first accepted to the sendmail process and if ...


1

Have you considered using milter (e.g. MIMEDefang.org milter)? MIMEDefang behaviour is controlled by customizable perl scrip. It should be possible to get rejects in smtp session based on message content. It will also make the solution portable to other MTAs e.g. postfix. Classic MIMEDefang examples include rejecting messages with high SpamAssassin ...


1

According to this thread, the fallback feature tls_failures was implemented in this patch. Apparently this will use plain text automatically after a certain number of TLS handshake failures. Note: this patch is integrated in 8.16 (at least available as snapshot) As of this post, 8.16 is not yet released, so for now you will have to use ...


1

You should use Amazon SES. Maintaining an SMTP server on EC2 is expensive and not worth the effort. However, do keep in mind that Amazon encourages proper email behaviour so you should keep track of your bounces and remove such invalid email addresses. You might get your sending quota reduced ot even blocked if there are bounces. They have SES best ...



Only top voted, non community-wiki answers of a minimum length are eligible