My server doesn't send any email
#1
My server doesn't send any email
Hello again

My new server with CentOS 7 and Sentora doesn't want to send any email: neither when somebody comments to posts, nor after cron jobs.
The mail command doesn't work.

My postfix status:
Code:
systemctl status postfix * postfix.service - Postfix Mail Transport Agent   Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)   Active: active (running) since Fri 2016-12-30 20:35:14 EET; 21h ago Main PID: 807 (master)   CGroup: /system.slice/postfix.service           |-  807 /usr/libexec/postfix/master -w           |-  816 qmgr -l -t fifo -u           |-23416 pickup -l -t fifo -u -o content_filter= -o receive_override_options=no_header_body_check...           |-25878 smtpd -n smtp -t inet -u -o stress= -s 2           |-25879 proxymap -t unix -u           `-25880 anvil -l -t unix -u Dec 31 17:53:45 s1 postfix/smtpd[25698]: lost connection after AUTH from unknown[91.200.12.139] Dec 31 17:53:45 s1 postfix/smtpd[25698]: disconnect from unknown[91.200.12.139] Dec 31 17:57:05 s1 postfix/anvil[25700]: statistics: max connection rate 1/60s for (smtp:2a05:91c0:505:...3:40 Dec 31 17:57:05 s1 postfix/anvil[25700]: statistics: max connection count 1 for (smtp:2a05:91c0:505::4e...3:40 Dec 31 17:57:05 s1 postfix/anvil[25700]: statistics: max cache size 2 at Dec 31 17:53:42 Dec 31 17:59:47 s1 postfix/smtpd[25878]: error: open database /etc/aliases.db: No such file or directory Dec 31 17:59:47 s1 postfix/smtpd[25878]: connect from unknown[155.133.82.145] Dec 31 17:59:50 s1 postfix/smtpd[25878]: warning: unknown[155.133.82.145]: SASL LOGIN authentication fa...cmQ6 Dec 31 17:59:50 s1 postfix/smtpd[25878]: lost connection after AUTH from unknown[155.133.82.145] Dec 31 17:59:50 s1 postfix/smtpd[25878]: disconnect from unknown[155.133.82.145] Hint: Some lines were ellipsized, use -l to show in full.


My dovecot status:
Code:
systemctl status dovecot * dovecot.service - Dovecot IMAP/POP3 email server   Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled)   Active: active (running) since Fri 2016-12-30 20:35:17 EET; 21h ago Main PID: 1125 (dovecot)   CGroup: /system.slice/dovecot.service           |- 1125 /usr/sbin/dovecot -F           |- 1127 dovecot/anvil           |- 1128 dovecot/log           |-25881 dovecot/auth           |-25958 dovecot/auth -w           `-25959 dovecot/config Dec 30 20:35:17 s1 systemd[1]: Starting Dovecot IMAP/POP3 email server... Dec 30 20:35:17 s1 systemd[1]: Started Dovecot IMAP/POP3 email server.

Also, in error_log I found:


Code:
sendmail: Cannot open mail:25 sendmail: RCPT TO:<*****@gmail.com> (454 4.7.1 <*****@gmail.com>: Relay access denied)


But the port 25 is open:

Code:
firewall-cmd --permanent --list-all public   target: default   icmp-block-inversion: no   interfaces:    sources:    services: dhcpv6-client dns ftp http https imap mysql ntp pop3 pop3s smtp smtps ssh   ports: 25/tcp   protocols:    masquerade: no   forward-ports:    sourceports:    icmp-blocks:    rich rules: 

I really need help, but after the New Year's party. Smile

I wish to all Sentora community a Happy New Year!
Reply
#2
RE: My server doesn't send any email
I am not an email guru, but this might help: http://serverfault.com/questions/42519/h...ess-denied

If not: [google]centos sendmail: Cannot open mail:25  sendmail: RCPT TO:<*****@gmail.com> (454 4.7.1 <*****@gmail.com>: Relay access denied)[/google]
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#3
RE: My server doesn't send any email
Thanks, I'll check them.
Reply
#4
RE: My server doesn't send any email
Your ip is blacklisted:

http://mxtoolbox.com/SuperTool.aspx?acti...n=toolpage

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#5
RE: My server doesn't send any email
I'll check that with my ISP. Thanks.

Edit: Well, I discussed with my ISP and they told me than there is nothing left to do - my IP is dynamic allocated. Sad


On topic: I switched back to Ubuntu and everything works great. I suppose I can mark this topic solved, right?
I like CentOS and I must learn it, but I'll do this in virtual machines, not on live server...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
change username from email umarzuki@gmail.com 0 2 ,334 11-25-2022, 05:46 PM
Last Post: umarzuki@gmail.com
Email has stopped coming through rsthomas 3 6 ,862 06-21-2022, 12:05 PM
Last Post: fearworks
Server Crash rsthomas 3 10 ,557 05-18-2022, 09:26 AM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)