-------- Original Message -------- Subject: Re: [CentOS] Mail has quit working From: Nataraj incoming-centos@rjl.com Date: Mon, July 23, 2018 9:01 pm To: centos@centos.org
On 07/23/2018 03:39 PM, TE Dukes wrote:
Hello,
Mail has come to an abrupt stop. Running C7, postfix and dovecot. Using Roundcube as the client.
Mail stopped working Saturday and I cannot figure was has happened. I have not touched this server except to upgrade packages. I believe Roundcube was updated maybe a week ago but know I was getting mail since then.
Crond is no longer send mail. I checked /var/spool/mail as well as /Maildir in home directories. Zero byte files.
Checked all logs and the only thing I could find was in /var/log/maillog : warning hostname localhost does not resolve to address 127.0.0.1
I corrected that by changing inet_interfaces to localhost from all in postfix.cf
When I try to log in with Roundcube, it just times out.
I'm stuck!
TIA for any suggestions!!
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
More information would be helpful to troubleshoot this. Try sending output from:
postfix status
mailq
Try telnetting to your smtp server and sending a message like this from the local system: substitute a valid user/domain on the mail from line and a valid email address in your domain on the rcpt to line. Do this, logged onto the mailserver.
telnet localhost 25 helo mydomain.com (substitute a valid domain here) mail from: someuser@validdomain.com rcpt to: youremailaddress@yourdomain.com data From: someuser@validdomain.com to: youremailaddress@yourdomain.com subject: test
This is a test mesage .
note: blank line between mail headers and body
end data with line containing only '.'.
Then check your maillog and send the output to the list.
Nataraj
postfix status:
postfix/postfix-script: the Postfix mail system is running: PID 5936
mailq: Mail queue is empty
Did the telnet localhost 25, it answered but not sure I understood you what I needed to do.
Thanks!!
Did the telnet localhost 25, it answered but not sure I understood you what I needed to do.
type all this in once connected, substituting as necessary & ignoring the comments in ()
helo mydomain.com (substitute a valid domain here) mail from: someuser@validdomain.com rcpt to: youremailaddress@yourdomain.com data From: someuser@validdomain.com to: youremailaddress@yourdomain.com subject: test (note blank line here) This is a test message .
-----Original Message----- From: CentOS [mailto:centos-bounces@centos.org] On Behalf Of tdukes@palmettoshopper.com Sent: Monday, July 23, 2018 9:28 PM To: CentOS mailing list Subject: Re: [CentOS] Mail has quit working
-------- Original Message -------- Subject: Re: [CentOS] Mail has quit working From: Nataraj incoming-centos@rjl.com Date: Mon, July 23, 2018 9:01 pm To: centos@centos.org
On 07/23/2018 03:39 PM, TE Dukes wrote:
Hello,
Mail has come to an abrupt stop. Running C7, postfix and dovecot. Using Roundcube as the client.
Mail stopped working Saturday and I cannot figure was has happened. I
have
not touched this server except to upgrade packages. I believe Roundcube
was
updated maybe a week ago but know I was getting mail since then.
Crond is no longer send mail. I checked /var/spool/mail as well as
/Maildir
in home directories. Zero byte files.
Checked all logs and the only thing I could find was in /var/log/maillog
:
warning hostname localhost does not resolve to address 127.0.0.1
I corrected that by changing inet_interfaces to localhost from all in postfix.cf
When I try to log in with Roundcube, it just times out.
I'm stuck!
TIA for any suggestions!!
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
More information would be helpful to troubleshoot this. Try sending output from:
postfix status
mailq
Try telnetting to your smtp server and sending a message like this from the local system: substitute a valid user/domain on the mail from line and a valid email address in your domain on the rcpt to line. Do this, logged onto the mailserver.
telnet localhost 25 helo mydomain.com (substitute a valid domain here) mail from: someuser@validdomain.com rcpt to: youremailaddress@yourdomain.com data From: someuser@validdomain.com to: youremailaddress@yourdomain.com subject: test
This is a test mesage .
note: blank line between mail headers and body
end data with line containing only '.'.
Then check your maillog and send the output to the list.
Nataraj
postfix status:
postfix/postfix-script: the Postfix mail system is running: PID 5936
mailq: Mail queue is empty
Did the telnet localhost 25, it answered but not sure I understood you what I needed to do.
Thanks!!
Tried following your instructions and got 227 2.7.0 Error: I can break rules, too. Goodbye. Connection closed by foreign host.
On 07/23/2018 06:46 PM, TE Dukes wrote:
-----Original Message----- From: CentOS [mailto:centos-bounces@centos.org] On Behalf Of tdukes@palmettoshopper.com Sent: Monday, July 23, 2018 9:28 PM To: CentOS mailing list Subject: Re: [CentOS] Mail has quit working
-------- Original Message -------- Subject: Re: [CentOS] Mail has quit working From: Nataraj incoming-centos@rjl.com Date: Mon, July 23, 2018 9:01 pm To: centos@centos.org
On 07/23/2018 03:39 PM, TE Dukes wrote:
Hello,
Mail has come to an abrupt stop. Running C7, postfix and dovecot. Using Roundcube as the client.
Mail stopped working Saturday and I cannot figure was has happened. I
have
not touched this server except to upgrade packages. I believe Roundcube
was
updated maybe a week ago but know I was getting mail since then.
Crond is no longer send mail. I checked /var/spool/mail as well as
/Maildir
in home directories. Zero byte files.
Checked all logs and the only thing I could find was in /var/log/maillog
:
warning hostname localhost does not resolve to address 127.0.0.1
I corrected that by changing inet_interfaces to localhost from all in postfix.cf
When I try to log in with Roundcube, it just times out.
I'm stuck!
TIA for any suggestions!!
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
More information would be helpful to troubleshoot this. Try sending output from:
postfix status
mailq
Try telnetting to your smtp server and sending a message like this from the local system: substitute a valid user/domain on the mail from line and a valid email address in your domain on the rcpt to line. Do this, logged onto the mailserver.
telnet localhost 25 helo mydomain.com (substitute a valid domain here) mail from: someuser@validdomain.com rcpt to: youremailaddress@yourdomain.com data From: someuser@validdomain.com to: youremailaddress@yourdomain.com subject: test
This is a test mesage .
note: blank line between mail headers and body
end data with line containing only '.'.
Then check your maillog and send the output to the list.
Nataraj
postfix status:
postfix/postfix-script: the Postfix mail system is running: PID 5936
mailq: Mail queue is empty
Did the telnet localhost 25, it answered but not sure I understood you what I needed to do.
Thanks!!
Tried following your instructions and got 227 2.7.0 Error: I can break rules, too. Goodbye. Connection closed by foreign host.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
If your grabbing text and stuffing it with the mouse, you need to send only 1 line at a time and wait for a reply for each line, except for the data section where you can send multiple lines. If you get errors, run script before running telnet and post a log of the session or else tell us which line caused the error.
Nataraj
On 07/23/2018 06:28 PM, tdukes@palmettoshopper.com wrote:
-------- Original Message -------- Subject: Re: [CentOS] Mail has quit working From: Nataraj incoming-centos@rjl.com Date: Mon, July 23, 2018 9:01 pm To: centos@centos.org
On 07/23/2018 03:39 PM, TE Dukes wrote:
Hello,
Mail has come to an abrupt stop. Running C7, postfix and dovecot. Using Roundcube as the client.
Mail stopped working Saturday and I cannot figure was has happened. I have not touched this server except to upgrade packages. I believe Roundcube was updated maybe a week ago but know I was getting mail since then.
Crond is no longer send mail. I checked /var/spool/mail as well as /Maildir in home directories. Zero byte files.
Checked all logs and the only thing I could find was in /var/log/maillog : warning hostname localhost does not resolve to address 127.0.0.1
I corrected that by changing inet_interfaces to localhost from all in postfix.cf
When I try to log in with Roundcube, it just times out.
I'm stuck!
TIA for any suggestions!!
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
More information would be helpful to troubleshoot this. Try sending output from:
postfix status
mailq
Try telnetting to your smtp server and sending a message like this from the local system: substitute a valid user/domain on the mail from line and a valid email address in your domain on the rcpt to line. Do this, logged onto the mailserver.
telnet localhost 25 helo mydomain.com (substitute a valid domain here) mail from: someuser@validdomain.com rcpt to: youremailaddress@yourdomain.com data From: someuser@validdomain.com to: youremailaddress@yourdomain.com subject: test
This is a test mesage .
note: blank line between mail headers and body
end data with line containing only '.'.
Then check your maillog and send the output to the list.
Nataraj
postfix status:
postfix/postfix-script: the Postfix mail system is running: PID 5936
mailq: Mail queue is empty
Did the telnet localhost 25, it answered but not sure I understood you what I needed to do.
Simply telnet to mailserver on port 25 and type what I've shown, substituting valid email addresses and valid addresses in your domain as indicated. You can use your own domain for the hello command, i.e. "helo mydomain.com". Everything between the data command and the '.' is input to the data command. After you type the '.' the message will be sent and should be delivered to the user on the "rcpt to" line. You should see logging of successful delivery or errors in the maillog.
Nataraj
-----Original Message----- From: CentOS [mailto:centos-bounces@centos.org] On Behalf Of Nataraj Sent: Monday, July 23, 2018 9:47 PM To: centos@centos.org Subject: Re: [CentOS] Mail has quit working
On 07/23/2018 06:28 PM, tdukes@palmettoshopper.com wrote:
-------- Original Message -------- Subject: Re: [CentOS] Mail has quit working From: Nataraj incoming-centos@rjl.com Date: Mon, July 23, 2018 9:01 pm To: centos@centos.org
On 07/23/2018 03:39 PM, TE Dukes wrote:
Hello,
Mail has come to an abrupt stop. Running C7, postfix and dovecot. Using Roundcube as the client.
Mail stopped working Saturday and I cannot figure was has happened. I
have
not touched this server except to upgrade packages. I believe Roundcube
was
updated maybe a week ago but know I was getting mail since then.
Crond is no longer send mail. I checked /var/spool/mail as well as /Maildir in home directories. Zero byte files.
Checked all logs and the only thing I could find was in /var/log/maillog : warning hostname localhost does not resolve to address 127.0.0.1
I corrected that by changing inet_interfaces to localhost from all in postfix.cf
When I try to log in with Roundcube, it just times out.
I'm stuck!
TIA for any suggestions!!
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
More information would be helpful to troubleshoot this. Try sending output from:
postfix status
mailq
Try telnetting to your smtp server and sending a message like this from the local system: substitute a valid user/domain on the mail from line and a valid email address in your domain on the rcpt to line. Do this, logged onto the mailserver.
telnet localhost 25 helo mydomain.com (substitute a valid domain here) mail from: someuser@validdomain.com rcpt to: youremailaddress@yourdomain.com data From: someuser@validdomain.com to: youremailaddress@yourdomain.com subject: test
This is a test mesage .
note: blank line between mail headers and body
end data with line containing only '.'.
Then check your maillog and send the output to the list.
Nataraj
postfix status:
postfix/postfix-script: the Postfix mail system is running: PID 5936
mailq: Mail queue is empty
Did the telnet localhost 25, it answered but not sure I understood you what I needed to do.
Simply telnet to mailserver on port 25 and type what I've shown, substituting valid email addresses and valid addresses in your domain as indicated. You can use your own domain for the hello command, i.e. "helo mydomain.com". Everything between the data command and the '.' is input to the data command. After you type the '.' the message will be sent and should be delivered to the user on the "rcpt to" line. You should see logging of successful delivery or errors in the maillog.
Nataraj
I can't get past From: someuser@validdomain.com I also tried 'from', lower case.
Then get 221 2.7.0 Error: I can break rules, too. Goodbye. Connection closed by foreign host.
Maybe I took too long? IDK
On 24/07/18 13:46, Nataraj wrote:
Simply telnet to mailserver on port 25 and type what I've shown,
This is pointless because he's complaining about cron and system emails which use the sendmail command are submitted through the pickup service, not port 25/smtp (in fact, if you're submitting any mail via port 25 you're doing it wrong but that's another discussion).
TE Dukes:
Please do the following (lines that start with # should be run as root, lines that start with $ should be run as a local user):
Install the mail command which is an easy interface to the sendmail command and thus the pickup service.
# yum install mailx # tail -n0 -f /var/log/maillog
...then in another window (replace someuser@example.com with your own email address):
$ mail -s 'Test Email' someuser@example.com <<< "This is a test"
... wait a minute for postfix to have a chance to process and send the message, then break out of the tail command and copy/paste the output into your reply.
Then also copy and paste the output of the following:
$ postconf -nf; postconf -Mf
If I need any more info after that I'll let you know.
Peter
OK, not sure what happened, my response was rejected by Centos:
Reason: There was an error while attempting to deliver your message with [Subject: "RE: [CentOS] Mail has quit working"] to centos@centos.org. MTA p3plwbeout03-06.prod.phx3.secureserver.net received this response from the destination host IP - 208.100.23.70 - 554 , 554 5.7.1 Service unavailable; Client host [72.167.218.218] blocked using ix.dnsbl.manitu.net; Your e-mail service was detected by mail.ixlab.de (NiX Spam) as spamming at Tue, 24 Jul 2018 11:45:20 +0200. Your admin should visit http://www.dnsbl.manitu.net/lookup.php?value=72.167.218.218 ..
So, I'm trying a third time:
On 24/07/18 13:46, Nataraj wrote:
Simply telnet to mailserver on port 25 and type what I've shown,
This is pointless because he's complaining about cron and system emails which use the sendmail command are submitted through the pickup service, not port 25/smtp (in fact, if you're submitting any mail via port 25 you're doing it wrong but that's another discussion).
TE Dukes:
Please do the following (lines that start with # should be run as root, lines that start with $ should be run as a local user):
Install the mail command which is an easy interface to the sendmail command and thus the pickup service.
# yum install mailx # tail -n0 -f /var/log/maillog
....then in another window (replace someuser@example.com with your own email address):
$ mail -s 'Test Email' someuser@example.com <<< "This is a test"
.... wait a minute for postfix to have a chance to process and send the message, then break out of the tail command and copy/paste the output into your reply.
Then also copy and paste the output of the following:
$ postconf -nf; postconf -Mf
If I need any more info after that I'll let you know.
Peter _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Here's the output from tail:
Jul 24 07:00:21 ts130 postfix/pickup[4017]: 338CA811240E: uid=0 from=<root> Jul 24 07:00:21 ts130 postfix/cleanup[7047]: 338CA811240E: message-id=20180724110021.338CA811240E@ts130.palmettodomains.com Jul 24 07:00:21 ts130 postfix/qmgr[8283]: 338CA811240E: from=root@ts130.palmettodomains.com, size=461, nrcpt=1 (queue active) Jul 24 07:00:22 ts130 postfix/smtpd[7112]: connect from localhost[127.0.0.1] Jul 24 07:00:22 ts130 postfix/smtpd[7112]: 468E581DAB6C: client=localhost[127.0.0.1] Jul 24 07:00:22 ts130 postfix/cleanup[7047]: 468E581DAB6C: message-id=20180724110021.338CA811240E@ts130.palmettodomains.com Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C: from=root@ts130.palmettodomains.com, size=946, nrcpt=1 (queue active) Jul 24 07:00:22 ts130 postfix/smtpd[7112]: disconnect from localhost[127.0.0.1] Jul 24 07:00:22 ts130 amavis[423]: (00423-02) Passed CLEAN {RelayedInbound}, [127.0.0.1] root@ts130.palmettodomains.com -> tdukes@palmettodomains.com, Message-ID: 20180724110021.338CA811240E@ts130.palmettodomains.com, mail_id: 8sW4ZXrbEdBD, Hits: 1.766, size: 461, queued_as: 468E581DAB6C, 1094 ms Jul 24 07:00:22 ts130 postfix/smtp[7049]: 338CA811240E: to=tdukes@palmettodomains.com, relay=127.0.0.1[127.0.0.1]:10024, delay=1.1, delays=0.04/0/0/1.1, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 468E581DAB6C) Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 338CA811240E: removed Jul 24 07:00:22 ts130 dovecot: lda(tdukes): msgid=20180724110021.338CA811240E@ts130.palmettodomains.com: saved mail to INBOX Jul 24 07:00:22 ts130 postfix/local[7113]: 468E581DAB6C: to=tdukes@palmettodomains.com, relay=local, delay=0.11, delays=0.03/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to command: /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT") Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C: removed Jul 24 07:04:04 ts130 postfix/smtpd[7053]: timeout after END-OF-MESSAGE from localhost[127.0.0.1] Jul 24 07:04:04 ts130 postfix/smtpd[7053]: disconnect from localhost[127.0.0.1] Jul 24 07:05:59 ts130 postfix/qmgr[8283]: C33128410546: from=root@ts130.palmettodomains.com, size=949, nrcpt=1 (queue active)
Here's the output from postconf:
smtp inet n - n - - smtpd -o content_filter=spamassassin pickup unix n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr unix n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp relay unix - - n - - smtp showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache spamassassin unix - n n - - pipe flags=R user=spamd argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} smtp-amavis unix - - n - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes 127.0.0.1:10025 inet n - n - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000
Thanks
Your IP address is flagged as spam in Real Time Block Lists. Are you using a dynamic IP address? You may have a mis-configured server that is allowing spammers to relay through your server. Another possibility is your system is compromised with a spambot.
Mike
On 07/24/2018 07:31 AM, TE Dukes wrote:
OK, not sure what happened, my response was rejected by Centos:
Reason: There was an error while attempting to deliver your message with [Subject: "RE: [CentOS] Mail has quit working"] to centos@centos.org. MTA p3plwbeout03-06.prod.phx3.secureserver.net received this response from the destination host IP - 208.100.23.70 - 554 , 554 5.7.1 Service unavailable; Client host [72.167.218.218] blocked using ix.dnsbl.manitu.net; Your e-mail service was detected by mail.ixlab.de (NiX Spam) as spamming at Tue, 24 Jul 2018 11:45:20 +0200. Your admin should visit http://www.dnsbl.manitu.net/lookup.php?value=72.167.218.218 ..
So, I'm trying a third time:
On 24/07/18 13:46, Nataraj wrote:
Simply telnet to mailserver on port 25 and type what I've shown,
This is pointless because he's complaining about cron and system emails which use the sendmail command are submitted through the pickup service, not port 25/smtp (in fact, if you're submitting any mail via port 25 you're doing it wrong but that's another discussion).
TE Dukes:
Please do the following (lines that start with # should be run as root, lines that start with $ should be run as a local user):
Install the mail command which is an easy interface to the sendmail command and thus the pickup service.
# yum install mailx # tail -n0 -f /var/log/maillog
....then in another window (replace someuser@example.com with your own email address):
$ mail -s 'Test Email' someuser@example.com <<< "This is a test"
.... wait a minute for postfix to have a chance to process and send the message, then break out of the tail command and copy/paste the output into your reply.
Then also copy and paste the output of the following:
$ postconf -nf; postconf -Mf
If I need any more info after that I'll let you know.
Peter _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Here's the output from tail:
Jul 24 07:00:21 ts130 postfix/pickup[4017]: 338CA811240E: uid=0 from=<root> Jul 24 07:00:21 ts130 postfix/cleanup[7047]: 338CA811240E: message-id=20180724110021.338CA811240E@ts130.palmettodomains.com Jul 24 07:00:21 ts130 postfix/qmgr[8283]: 338CA811240E: from=root@ts130.palmettodomains.com, size=461, nrcpt=1 (queue active) Jul 24 07:00:22 ts130 postfix/smtpd[7112]: connect from localhost[127.0.0.1] Jul 24 07:00:22 ts130 postfix/smtpd[7112]: 468E581DAB6C: client=localhost[127.0.0.1] Jul 24 07:00:22 ts130 postfix/cleanup[7047]: 468E581DAB6C: message-id=20180724110021.338CA811240E@ts130.palmettodomains.com Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C: from=root@ts130.palmettodomains.com, size=946, nrcpt=1 (queue active) Jul 24 07:00:22 ts130 postfix/smtpd[7112]: disconnect from localhost[127.0.0.1] Jul 24 07:00:22 ts130 amavis[423]: (00423-02) Passed CLEAN {RelayedInbound}, [127.0.0.1] root@ts130.palmettodomains.com -> tdukes@palmettodomains.com, Message-ID: 20180724110021.338CA811240E@ts130.palmettodomains.com, mail_id: 8sW4ZXrbEdBD, Hits: 1.766, size: 461, queued_as: 468E581DAB6C, 1094 ms Jul 24 07:00:22 ts130 postfix/smtp[7049]: 338CA811240E: to=tdukes@palmettodomains.com, relay=127.0.0.1[127.0.0.1]:10024, delay=1.1, delays=0.04/0/0/1.1, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 468E581DAB6C) Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 338CA811240E: removed Jul 24 07:00:22 ts130 dovecot: lda(tdukes): msgid=20180724110021.338CA811240E@ts130.palmettodomains.com: saved mail to INBOX Jul 24 07:00:22 ts130 postfix/local[7113]: 468E581DAB6C: to=tdukes@palmettodomains.com, relay=local, delay=0.11, delays=0.03/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to command: /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT") Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C: removed Jul 24 07:04:04 ts130 postfix/smtpd[7053]: timeout after END-OF-MESSAGE from localhost[127.0.0.1] Jul 24 07:04:04 ts130 postfix/smtpd[7053]: disconnect from localhost[127.0.0.1] Jul 24 07:05:59 ts130 postfix/qmgr[8283]: C33128410546: from=root@ts130.palmettodomains.com, size=949, nrcpt=1 (queue active)
Here's the output from postconf:
smtp inet n - n - - smtpd -o content_filter=spamassassin pickup unix n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr unix n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp relay unix - - n - - smtp showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache spamassassin unix - n n - - pipe flags=R user=spamd argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} smtp-amavis unix - - n - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes 127.0.0.1:10025 inet n - n - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000
Thanks
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Mike McCarthy, W1NR wrote:
Your IP address is flagged as spam in Real Time Block Lists. Are you using a dynamic IP address? You may have a mis-configured server that is allowing spammers to relay through your server. Another possibility is your system is compromised with a spambot.
Why are you top-posting?
And another reason it may be blocked is the same reason *I* get blocked a few times a year: those spam blockers that block mailhosts. 20 years ago, sure. But when you have a domain hosted, as I do, at Hostmonster, and since I'm not paying for a business account, there are literally tens or hundreds of thousands of domains whose email is going through them, I don't care how many admins you have, you can't keep up with the scum... and so EVERY SINGLE BLOODY DOMAIN'S EMAIL in all those is blocked.
They don't seem to look for "spam from many domains from the same mailserver", just "is a lot of spam coming from that mailhost".
I first ran into that in the early oghts, when one of them blocked ALL EMAIL from Chicago roadrunner.. which was most of the folks online in the entire city of Chicago.
mark
On 07/24/2018 07:31 AM, TE Dukes wrote:
OK, not sure what happened, my response was rejected by Centos:
Reason: There was an error while attempting to deliver your message with [Subject: "RE: [CentOS] Mail has quit working"] to centos@centos.org. MTA p3plwbeout03-06.prod.phx3.secureserver.net received this response from the destination host IP - 208.100.23.70 - 554 , 554 5.7.1 Service unavailable; Client host [72.167.218.218] blocked using ix.dnsbl.manitu.net; Your e-mail service was detected by mail.ixlab.de (NiX Spam) as spamming at Tue, 24 Jul 2018 11:45:20 +0200. Your admin should visit http://www.dnsbl.manitu.net/lookup.php?value=72.167.218.218 ..
So, I'm trying a third time:
On 24/07/18 13:46, Nataraj wrote:
Simply telnet to mailserver on port 25 and type what I've shown,
This is pointless because he's complaining about cron and system emails which use the sendmail command are submitted through the pickup service, not port 25/smtp (in fact, if you're submitting any mail via port 25 you're doing it wrong but that's another discussion).
TE Dukes:
Please do the following (lines that start with # should be run as root, lines that start with $ should be run as a local user):
Install the mail command which is an easy interface to the sendmail command and thus the pickup service.
# yum install mailx # tail -n0 -f /var/log/maillog
....then in another window (replace someuser@example.com with your own email address):
$ mail -s 'Test Email' someuser@example.com <<< "This is a test"
.... wait a minute for postfix to have a chance to process and send the message, then break out of the tail command and copy/paste the output into your reply.
Then also copy and paste the output of the following:
$ postconf -nf; postconf -Mf
If I need any more info after that I'll let you know.
Peter _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Here's the output from tail:
Jul 24 07:00:21 ts130 postfix/pickup[4017]: 338CA811240E: uid=0 from=<root> Jul 24 07:00:21 ts130 postfix/cleanup[7047]: 338CA811240E: message-id=20180724110021.338CA811240E@ts130.palmettodomains.com Jul 24 07:00:21 ts130 postfix/qmgr[8283]: 338CA811240E: from=root@ts130.palmettodomains.com, size=461, nrcpt=1 (queue active) Jul 24 07:00:22 ts130 postfix/smtpd[7112]: connect from localhost[127.0.0.1] Jul 24 07:00:22 ts130 postfix/smtpd[7112]: 468E581DAB6C: client=localhost[127.0.0.1] Jul 24 07:00:22 ts130 postfix/cleanup[7047]: 468E581DAB6C: message-id=20180724110021.338CA811240E@ts130.palmettodomains.com Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C: from=root@ts130.palmettodomains.com, size=946, nrcpt=1 (queue active) Jul 24 07:00:22 ts130 postfix/smtpd[7112]: disconnect from localhost[127.0.0.1] Jul 24 07:00:22 ts130 amavis[423]: (00423-02) Passed CLEAN {RelayedInbound}, [127.0.0.1] root@ts130.palmettodomains.com -> tdukes@palmettodomains.com, Message-ID: 20180724110021.338CA811240E@ts130.palmettodomains.com, mail_id: 8sW4ZXrbEdBD, Hits: 1.766, size: 461, queued_as: 468E581DAB6C, 1094 ms Jul 24 07:00:22 ts130 postfix/smtp[7049]: 338CA811240E: to=tdukes@palmettodomains.com, relay=127.0.0.1[127.0.0.1]:10024, delay=1.1, delays=0.04/0/0/1.1, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 468E581DAB6C) Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 338CA811240E: removed Jul 24 07:00:22 ts130 dovecot: lda(tdukes): msgid=20180724110021.338CA811240E@ts130.palmettodomains.com: saved mail to INBOX Jul 24 07:00:22 ts130 postfix/local[7113]: 468E581DAB6C: to=tdukes@palmettodomains.com, relay=local, delay=0.11, delays=0.03/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to command: /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT") Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C: removed Jul 24 07:04:04 ts130 postfix/smtpd[7053]: timeout after END-OF-MESSAGE from localhost[127.0.0.1] Jul 24 07:04:04 ts130 postfix/smtpd[7053]: disconnect from localhost[127.0.0.1] Jul 24 07:05:59 ts130 postfix/qmgr[8283]: C33128410546: from=root@ts130.palmettodomains.com, size=949, nrcpt=1 (queue active)
Here's the output from postconf:
smtp inet n - n - - smtpd -o content_filter=spamassassin pickup unix n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr unix n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp relay unix - - n - - smtp showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n
- discard
local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n
- lmtp
anvil unix - - n - 1 anvil scache unix - - n - 1 scache spamassassin unix
- n n - - pipe
flags=R user=spamd argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} smtp-amavis unix - - n - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes 127.0.0.1:10025 inet n - n - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000
Thanks
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 07/24/18 08:21, mark wrote:
Mike McCarthy, W1NR wrote:
Your IP address is flagged as spam in Real Time Block Lists. Are you using a dynamic IP address? You may have a mis-configured server that is allowing spammers to relay through your server. Another possibility is your system is compromised with a spambot.
Why are you top-posting?
And another reason it may be blocked is the same reason *I* get blocked a few times a year: those spam blockers that block mailhosts. 20 years ago, sure. But when you have a domain hosted, as I do, at Hostmonster, and since I'm not paying for a business account, there are literally tens or hundreds of thousands of domains whose email is going through them, I don't care how many admins you have, you can't keep up with the scum... and so EVERY SINGLE BLOODY DOMAIN'S EMAIL in all those is blocked.
They don't seem to look for "spam from many domains from the same mailserver", just "is a lot of spam coming from that mailhost".
There is one brain dead commercial spam blocker that analyzes percentage of spam vs ham comping from particular IP. On the basis of what all or any of their customers get from that IP. Barracuda. Many have heard "we have been barracuded".
We were barracuded once. Someone got his address into many spammers databases. When he moved to different institution, we set his mail forwarded there. Our spam filter back then worked this way: we analyze, and label what is spam, and upon delivery it is sorted away into spam box. (But all is delivered to recipient, that's the user's right to see all coming to one's address). That other place used barracuda.com. And our Dept mail server was "barracuded". On the day of deadline of email based grant submission to their institution. I got in touch with their admins and they "un-barracuded" us. But ever since I do not forward email of people who left Department for that particular institution.
The only other exemption we have: I don't forward mail of people who left the Department to that one very popular mail provider. You will easily guess it once I describe the incident which it is based on. When email is being delivered to us after RCPT TO: <****> SMTP command we know if we have to forward that message, before we continue this session we open new session with destination, and once we know from them it is deliverable, we accept messages, and immediately pass it over to next server. And that one provider always accepts messages even addressed to existent addresses on their side, but for addresses that do not exist they come back later with undeliverable. And that last puts my mail server in a position of the source of backscatter. By this point in the story my sysadmins friends whom I described the incident we had guessed the provider: gmail.com. Some of them laughed: of course, they first collect information, then do actual mail service job ;-) Anyway, people who are here do set forwarding wherever they want, people who left the department can forward wherever but two exemptions.
As always, on can have a lot of fun troubleshooting email service.
Valeri
I first ran into that in the early oghts, when one of them blocked ALL EMAIL from Chicago roadrunner.. which was most of the folks online in the entire city of Chicago.
mark
On 07/24/2018 07:31 AM, TE Dukes wrote:
OK, not sure what happened, my response was rejected by Centos:
Reason: There was an error while attempting to deliver your message with [Subject: "RE: [CentOS] Mail has quit working"] to centos@centos.org. MTA p3plwbeout03-06.prod.phx3.secureserver.net received this response from the destination host IP - 208.100.23.70 - 554 , 554 5.7.1 Service unavailable; Client host [72.167.218.218] blocked using ix.dnsbl.manitu.net; Your e-mail service was detected by mail.ixlab.de (NiX Spam) as spamming at Tue, 24 Jul 2018 11:45:20 +0200. Your admin should visit http://www.dnsbl.manitu.net/lookup.php?value=72.167.218.218 ..
So, I'm trying a third time:
On 24/07/18 13:46, Nataraj wrote:
Simply telnet to mailserver on port 25 and type what I've shown,
This is pointless because he's complaining about cron and system emails which use the sendmail command are submitted through the pickup service, not port 25/smtp (in fact, if you're submitting any mail via port 25 you're doing it wrong but that's another discussion).
TE Dukes:
Please do the following (lines that start with # should be run as root, lines that start with $ should be run as a local user):
Install the mail command which is an easy interface to the sendmail command and thus the pickup service.
# yum install mailx # tail -n0 -f /var/log/maillog
....then in another window (replace someuser@example.com with your own email address):
$ mail -s 'Test Email' someuser@example.com <<< "This is a test"
.... wait a minute for postfix to have a chance to process and send the message, then break out of the tail command and copy/paste the output into your reply.
Then also copy and paste the output of the following:
$ postconf -nf; postconf -Mf
If I need any more info after that I'll let you know.
Peter _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Here's the output from tail:
Jul 24 07:00:21 ts130 postfix/pickup[4017]: 338CA811240E: uid=0 from=<root> Jul 24 07:00:21 ts130 postfix/cleanup[7047]: 338CA811240E: message-id=20180724110021.338CA811240E@ts130.palmettodomains.com Jul 24 07:00:21 ts130 postfix/qmgr[8283]: 338CA811240E: from=root@ts130.palmettodomains.com, size=461, nrcpt=1 (queue active) Jul 24 07:00:22 ts130 postfix/smtpd[7112]: connect from localhost[127.0.0.1] Jul 24 07:00:22 ts130 postfix/smtpd[7112]: 468E581DAB6C: client=localhost[127.0.0.1] Jul 24 07:00:22 ts130 postfix/cleanup[7047]: 468E581DAB6C: message-id=20180724110021.338CA811240E@ts130.palmettodomains.com Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C: from=root@ts130.palmettodomains.com, size=946, nrcpt=1 (queue active) Jul 24 07:00:22 ts130 postfix/smtpd[7112]: disconnect from localhost[127.0.0.1] Jul 24 07:00:22 ts130 amavis[423]: (00423-02) Passed CLEAN {RelayedInbound}, [127.0.0.1] root@ts130.palmettodomains.com -> tdukes@palmettodomains.com, Message-ID: 20180724110021.338CA811240E@ts130.palmettodomains.com, mail_id: 8sW4ZXrbEdBD, Hits: 1.766, size: 461, queued_as: 468E581DAB6C, 1094 ms Jul 24 07:00:22 ts130 postfix/smtp[7049]: 338CA811240E: to=tdukes@palmettodomains.com, relay=127.0.0.1[127.0.0.1]:10024, delay=1.1, delays=0.04/0/0/1.1, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 468E581DAB6C) Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 338CA811240E: removed Jul 24 07:00:22 ts130 dovecot: lda(tdukes): msgid=20180724110021.338CA811240E@ts130.palmettodomains.com: saved mail to INBOX Jul 24 07:00:22 ts130 postfix/local[7113]: 468E581DAB6C: to=tdukes@palmettodomains.com, relay=local, delay=0.11, delays=0.03/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to command: /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT") Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C: removed Jul 24 07:04:04 ts130 postfix/smtpd[7053]: timeout after END-OF-MESSAGE from localhost[127.0.0.1] Jul 24 07:04:04 ts130 postfix/smtpd[7053]: disconnect from localhost[127.0.0.1] Jul 24 07:05:59 ts130 postfix/qmgr[8283]: C33128410546: from=root@ts130.palmettodomains.com, size=949, nrcpt=1 (queue active)
Here's the output from postconf:
smtp inet n - n - - smtpd -o content_filter=spamassassin pickup unix n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr unix n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp relay unix - - n - - smtp showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n
- discard
local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n
- lmtp
anvil unix - - n - 1 anvil scache unix - - n - 1 scache spamassassin unix
- n n - - pipe
flags=R user=spamd argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} smtp-amavis unix - - n - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes 127.0.0.1:10025 inet n - n - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000
Thanks
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 07/24/2018 05:36 AM, Mike McCarthy, W1NR wrote:
Your IP address is flagged as spam in Real Time Block Lists. Are you using a dynamic IP address? You may have a mis-configured server that is allowing spammers to relay through your server. Another possibility is your system is compromised with a spambot.
Mike
Happens frequently to me and I'm no open relay.
CentOS uses spamhaus and spamhaus blocks entire subnets if someone on the subnet spams.
So unless you can afford your own subnet or pay to be on a whitelist, blacklists are a common thing for the little guy.
So much for net neutrality.
-----Original Message----- From: CentOS [mailto:centos-bounces@centos.org] On Behalf Of Alice Wonder Sent: Tuesday, July 24, 2018 1:19 PM To: centos@centos.org Subject: Re: [CentOS] Mail has quit working
On 07/24/2018 05:36 AM, Mike McCarthy, W1NR wrote:
Your IP address is flagged as spam in Real Time Block Lists. Are you using a dynamic IP address? You may have a mis-configured server that is allowing spammers to relay through your server. Another possibility is your system is compromised with a spambot.
Mike
Happens frequently to me and I'm no open relay.
CentOS uses spamhaus and spamhaus blocks entire subnets if someone on the subnet spams.
So unless you can afford your own subnet or pay to be on a whitelist, blacklists are a common thing for the little guy.
So much for net neutrality.
[Thomas E Dukes]
Apparently I can send mail to the list via Outlook but not from webmail. Go figure?
On 24/07/18 23:31, TE Dukes wrote:
Here's the output from tail:
Jul 24 07:00:21 ts130 postfix/pickup[4017]: 338CA811240E: uid=0 from=<root> Jul 24 07:00:21 ts130 postfix/cleanup[7047]: 338CA811240E: message-id=20180724110021.338CA811240E@ts130.palmettodomains.com Jul 24 07:00:21 ts130 postfix/qmgr[8283]: 338CA811240E: from=root@ts130.palmettodomains.com, size=461, nrcpt=1 (queue active) Jul 24 07:00:22 ts130 postfix/smtpd[7112]: connect from localhost[127.0.0.1] Jul 24 07:00:22 ts130 postfix/smtpd[7112]: 468E581DAB6C: client=localhost[127.0.0.1] Jul 24 07:00:22 ts130 postfix/cleanup[7047]: 468E581DAB6C: message-id=20180724110021.338CA811240E@ts130.palmettodomains.com Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C: from=root@ts130.palmettodomains.com, size=946, nrcpt=1 (queue active) Jul 24 07:00:22 ts130 postfix/smtpd[7112]: disconnect from localhost[127.0.0.1] Jul 24 07:00:22 ts130 amavis[423]: (00423-02) Passed CLEAN {RelayedInbound}, [127.0.0.1] root@ts130.palmettodomains.com -> tdukes@palmettodomains.com, Message-ID: 20180724110021.338CA811240E@ts130.palmettodomains.com, mail_id: 8sW4ZXrbEdBD, Hits: 1.766, size: 461, queued_as: 468E581DAB6C, 1094 ms Jul 24 07:00:22 ts130 postfix/smtp[7049]: 338CA811240E: to=tdukes@palmettodomains.com, relay=127.0.0.1[127.0.0.1]:10024, delay=1.1, delays=0.04/0/0/1.1, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 468E581DAB6C) Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 338CA811240E: removed Jul 24 07:00:22 ts130 dovecot: lda(tdukes): msgid=20180724110021.338CA811240E@ts130.palmettodomains.com: saved mail to INBOX Jul 24 07:00:22 ts130 postfix/local[7113]: 468E581DAB6C: to=tdukes@palmettodomains.com, relay=local, delay=0.11, delays=0.03/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to command: /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT") Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C: removed Jul 24 07:04:04 ts130 postfix/smtpd[7053]: timeout after END-OF-MESSAGE from localhost[127.0.0.1] Jul 24 07:04:04 ts130 postfix/smtpd[7053]: disconnect from localhost[127.0.0.1] Jul 24 07:05:59 ts130 postfix/qmgr[8283]: C33128410546: from=root@ts130.palmettodomains.com, size=949, nrcpt=1 (queue active)
Based on that I can see pickup receives the message from the sendmail command (which in turn receives it from the mail command). The message is then passed off to amavisd-new which scans it, passes the scan and re-injects it back into postfix. Postfix then passes the message off to dovecot-lda for delivery. There is no indication in the logs of what dovecot is doing with the message at this stage. So it appears that postfix and amavisd-new are working correctly and if there's a problem it's in dovecot.
For whatever reason dovecot is not logging to maillog (it may be logging somewhere else). You need to find your dovecot logs and trace the message through there to see what happens next. I am not so much of a dovecot expert myself (I use it but I don't know it in as much detail as I know postfix, for example). I would suggest posting to the dovecot mailing list, or you can join the freenode IRC network and ask in the #dovecot channel where you should get some relevant help.
Good Luck,
Peter