This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

System emails from Wordpress, Hubzilla, etc not sending
#1
System emails from Wordpress, Hubzilla, etc not sending
Hello!

Been trying for the past day or so to fix an issue happening on my server where system emails from things like Wordpress installs, Hubzilla, GNUsocial, etc are not sending. System emails like verification emails and password resets.

Since I use the email service provided by my domain registrar, I haven't actually gone to setup the mail servers specifically for our use (which I hope isn't the big derp of all this). I could certainly go set this up and switch over mail records on the registrar but the boxes are in use right now, and I wouldn't be able to do that until later in the evening when the mailboxes are not being used.

In the Sentora service status area, all the ports are green. 

Using http://mxtoolbox.com/ to test the mail server, it seems that SMTP is working to a point, in that it connects but it seems to time out after waiting over long for a response after it sends a mail.  Log from mxtoolbox:

Code:
Connecting to 66.85.75.164

220 supernerdland.com ESMTP [703 ms]
EHLO PWS3.mxtoolbox.com
250-supernerdland.com
250-PIPELINING
250-SIZE 20480000
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN [641 ms]
MAIL FROM:<supertool@mxtoolbox.com>

SendSMTPCommand: Timeout waiting for response after 15 seconds.

PWS3v2 24017ms /var/log/


Here are the latest things in the logs from /var/logs/mailogs:

Code:
Feb  3 12:05:58 panel postfix/pickup[8356]: AF88520F05: uid=48 from=<root>
Feb  3 12:05:58 panel postfix/cleanup[8364]: AF88520F05: message-id=<20160203170558.AF88520F05@supernerdland.com>
Feb  3 12:05:58 panel postfix/cleanup[8364]: warning: AF88520F05: virtual_alias_maps map lookup problem for apache@supernerdland.com
Feb  3 12:05:59 panel postfix/pickup[8356]: warning: B02A420F05: message has been queued for 4 days
Feb  3 12:05:59 panel postfix/pickup[8356]: B02A420F05: uid=0 from=<root>
Feb  3 12:05:59 panel postfix/cleanup[8364]: B02A420F05: message-id=<20160203170559.B02A420F05@supernerdland.com>
Feb  3 12:05:59 panel postfix/cleanup[8364]: warning: B02A420F05: virtual_alias_maps map lookup problem for root@supernerdland.com
Feb  3 12:06:00 panel postfix/pickup[8356]: warning: B0CE420F05: message has been queued for 1 days
Feb  3 12:06:00 panel postfix/pickup[8356]: B0CE420F05: uid=48 from=<root>
Feb  3 12:06:00 panel postfix/cleanup[8364]: B0CE420F05: message-id=<20160203170600.B0CE420F05@supernerdland.com>
Feb  3 12:06:00 panel postfix/cleanup[8364]: warning: B0CE420F05: virtual_alias_maps map lookup problem for apache@supernerdland.com
Feb  3 12:06:01 panel sendmail[8368]: u13H5u3q008368: from=apache, size=756, class=0, nrcpts=1, msgid=<994e4b60d88013d9093075a878114a5e@supernerdland.com>, relay=apache@localhost
Feb  3 12:06:01 panel postfix/pickup[8356]: warning: B185A20F05: message has been queued for 3 days
Feb  3 12:06:01 panel postfix/pickup[8356]: B185A20F05: uid=48 from=<root>
Feb  3 12:06:01 panel postfix/cleanup[8364]: B185A20F05: message-id=<20160203170601.B185A20F05@supernerdland.com>
Feb  3 12:06:01 panel postfix/cleanup[8364]: warning: B185A20F05: virtual_alias_maps map lookup problem for apache@supernerdland.com
Feb  3 12:06:01 panel postfix/smtpd[8385]: connect from localhost.localdomain[127.0.0.1]
Feb  3 12:06:01 panel postfix/trivial-rewrite[8363]: fatal: proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Feb  3 12:06:02 panel postfix/pickup[8356]: warning: B221520F05: message has been queued for 1 days
Feb  3 12:06:02 panel postfix/pickup[8356]: B221520F05: uid=48 from=<root>
Feb  3 12:06:02 panel postfix/master[8354]: warning: process /usr/libexec/postfix/trivial-rewrite pid 8363 exit status 1
Feb  3 12:06:02 panel postfix/cleanup[8364]: warning: problem talking to service rewrite: Connection reset by peer
Feb  3 12:06:03 panel postfix/trivial-rewrite[8388]: fatal: proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Feb  3 12:06:04 panel postfix/cleanup[8364]: warning: problem talking to service rewrite: Connection reset by peer
Feb  3 12:06:04 panel postfix/smtpd[8385]: warning: problem talking to service rewrite: Success
Feb  3 12:06:04 panel postfix/master[8354]: warning: process /usr/libexec/postfix/trivial-rewrite pid 8388 exit status 1
Feb  3 12:06:05 panel postfix/cleanup[8364]: B221520F05: message-id=<20160203170602.B221520F05@supernerdland.com>
Feb  3 12:06:05 panel postfix/trivial-rewrite[8390]: fatal: proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Feb  3 12:06:05 panel postfix/cleanup[8364]: warning: B221520F05: virtual_alias_maps map lookup problem for apache@supernerdland.com
Feb  3 12:06:06 panel postfix/pickup[8356]: warning: C7F2C20F05: message has been queued for 4 days
Feb  3 12:06:06 panel postfix/pickup[8356]: C7F2C20F05: uid=48 from=<root>
Feb  3 12:06:06 panel postfix/smtpd[8385]: warning: problem talking to service rewrite: Success
Feb  3 12:06:06 panel postfix/cleanup[8364]: warning: problem talking to service rewrite: Connection reset by peer
Feb  3 12:06:06 panel postfix/master[8354]: warning: process /usr/libexec/postfix/trivial-rewrite pid 8390 exit status 1
Feb  3 12:06:07 panel postfix/trivial-rewrite[8392]: fatal: proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Feb  3 12:06:08 panel postfix/smtpd[8385]: warning: problem talking to service rewrite: Success
Feb  3 12:06:08 panel postfix/cleanup[8364]: warning: problem talking to service rewrite: Connection reset by peer
Feb  3 12:06:08 panel postfix/master[8354]: warning: process /usr/libexec/postfix/trivial-rewrite pid 8392 exit status 1
Feb  3 12:06:08 panel postfix/master[8354]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Feb  3 12:07:08 panel postfix/proxymap[8358]: warning: connect to mysql server localhost: Access denied for user 'postfix'@'localhost' (using password: YES)
Feb  3 12:07:08 panel postfix/trivial-rewrite[8420]: fatal: proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Feb  3 12:07:09 panel postfix/smtpd[8385]: warning: problem talking to service rewrite: Success
Feb  3 12:07:09 panel postfix/cleanup[8364]: warning: problem talking to service rewrite: Connection reset by peer
Feb  3 12:07:09 panel postfix/master[8354]: warning: process /usr/libexec/postfix/trivial-rewrite pid 8420 exit status 1
Feb  3 12:07:09 panel postfix/master[8354]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Feb  3 12:08:09 panel postfix/proxymap[8358]: warning: connect to mysql server localhost: Access denied for user 'postfix'@'localhost' (using password: YES)
Feb  3 12:08:09 panel postfix/trivial-rewrite[8444]: fatal: proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Feb  3 12:08:10 panel postfix/cleanup[8364]: warning: problem talking to service rewrite: Connection reset by peer
Feb  3 12:08:10 panel postfix/master[8354]: warning: process /usr/libexec/postfix/trivial-rewrite pid 8444 exit status 1
Feb  3 12:08:10 panel postfix/master[8354]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Feb  3 12:08:10 panel postfix/smtpd[8385]: warning: problem talking to service rewrite: Success
Feb  3 12:09:11 panel postfix/proxymap[8358]: warning: connect to mysql server localhost: Access denied for user 'postfix'@'localhost' (using password: YES)
Feb  3 12:09:11 panel postfix/trivial-rewrite[8470]: fatal: proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Feb  3 12:09:12 panel postfix/master[8354]: warning: process /usr/libexec/postfix/trivial-rewrite pid 8470 exit status 1
Feb  3 12:09:12 panel postfix/cleanup[8364]: warning: problem talking to service rewrite: Connection reset by peer
Feb  3 12:09:12 panel postfix/smtpd[8385]: warning: problem talking to service rewrite: Success
Feb  3 12:09:13 panel postfix/trivial-rewrite[8472]: fatal: proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Feb  3 12:09:13 panel postfix/cleanup[8364]: C7F2C20F05: message-id=<20160203170606.C7F2C20F05@supernerdland.com>
Feb  3 12:09:13 panel postfix/cleanup[8364]: warning: C7F2C20F05: virtual_alias_maps map lookup problem for apache@supernerdland.com
Feb  3 12:09:14 panel postfix/smtpd[8385]: warning: problem talking to service rewrite: Success
Feb  3 12:09:14 panel postfix/master[8354]: warning: process /usr/libexec/postfix/trivial-rewrite pid 8472 exit status 1
Feb  3 12:09:14 panel postfix/pickup[8356]: 2902720F05: uid=0 from=<root>
Feb  3 12:09:14 panel postfix/cleanup[8364]: 2902720F05: message-id=<20160203170914.2902720F05@supernerdland.com>
Feb  3 12:09:14 panel postfix/cleanup[8364]: warning: 2902720F05: virtual_alias_maps map lookup problem for root@supernerdland.com
Feb  3 12:09:15 panel postfix/trivial-rewrite[8473]: fatal: proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Feb  3 12:09:15 panel postfix/pickup[8356]: warning: 3104820F05: message has been queued for 5 days
Feb  3 12:09:15 panel postfix/pickup[8356]: 3104820F05: uid=48 from=<apache>
Feb  3 12:09:16 panel postfix/cleanup[8364]: warning: problem talking to service rewrite: Connection reset by peer
Feb  3 12:09:16 panel postfix/master[8354]: warning: process /usr/libexec/postfix/trivial-rewrite pid 8473 exit status 1
Feb  3 12:09:16 panel postfix/smtpd[8385]: warning: problem talking to service rewrite: Success
Feb  3 12:09:17 panel postfix/trivial-rewrite[8474]: fatal: proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Feb  3 12:09:18 panel postfix/smtpd[8385]: warning: problem talking to service rewrite: Success
Feb  3 12:09:18 panel postfix/cleanup[8364]: warning: problem talking to service rewrite: Connection reset by peer
Feb  3 12:09:18 panel postfix/master[8354]: warning: process /usr/libexec/postfix/trivial-rewrite pid 8474 exit status 1
Feb  3 12:09:19 panel postfix/trivial-rewrite[8475]: fatal: proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Feb  3 12:09:20 panel postfix/cleanup[8364]: warning: problem talking to service rewrite: Connection reset by peer
Feb  3 12:09:20 panel postfix/smtpd[8385]: warning: problem talking to service rewrite: Success
Feb  3 12:09:20 panel postfix/master[8354]: warning: process /usr/libexec/postfix/trivial-rewrite pid 8475 exit status 1
Feb  3 12:09:20 panel postfix/master[8354]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling

I've been trying to research, fix, tweak what I could based on some of the errors here, but I normally just end up with different errors and still no mail sending from the sites.

I'm going to keep banging on this from my end, but while I was I figured I would reach out for some insight. Thanks in advance for anyone who can offers some help!
Reply
Thanks given by:
#2
RE: System emails from Wordpress, Hubzilla, etc not sending
Welp! Time to mark as resolved, because I fixed it!

TL;DR There was some outdated stuff, including users, in sentora_postfix DB. Sorted it out by getting the proper postfix user in with the right password set by Sentora via the install.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Why can i not send emails from my site phabeon8 3 6 ,445 04-20-2021, 06:29 AM
Last Post: sparkrack
Cannot receive emails from external domain davidlambda 3 8 ,883 10-18-2018, 01:15 AM
Last Post: fearworks
Cannot send emails vania902 2 6 ,283 03-25-2018, 07:20 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)