• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved SMTP Service not working but says active

  • Thread starter Deleted member 174786
  • Start date
D

Deleted member 174786

Guest
Ubuntu 14.04 LTS
Plesk Onyx Version 17.5.3 Update #19, last updated on Aug 21, 2017 06:26 AM
Hosted on Hyper-V

I tailed the maillog and then tried to connect. I am getting smtpd service unavailable. I'm not sure what to do to get it running.

tg:~$ tail -f /usr/local/psa/var/log/maillog
Aug 21 14:30:48 hitech postfix/smtpd[3016]: NOQUEUE: milter-reject: CONNECT from unknown[89.251.75.181]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Aug 21 14:30:48 hitech postfix/smtpd[3016]: NOQUEUE: milter-reject: EHLO from unknown[89.251.75.181]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<serv.loc.domen>
Aug 21 14:30:49 hitech postfix/smtpd[3016]: NOQUEUE: milter-reject: MAIL from unknown[89.251.75.181]: 451 4.7.1 Service unavailable - try again later; from=<[email protected]> proto=ESMTP helo=<serv.loc.domen>
Aug 21 14:30:49 hitech postfix/smtpd[3016]: disconnect from unknown[89.251.75.181]
Aug 21 14:31:28 hitech postfix/smtpd[3016]: connect from email.universalorlando.com[192.86.51.46]
Aug 21 14:31:28 hitech postfix/smtpd[3016]: warning: connect to Milter service inet:127.0.0.1:12768: Connection refused
Aug 21 14:31:28 hitech postfix/smtpd[3016]: NOQUEUE: milter-reject: CONNECT from email.universalorlando.com[192.86.51.46]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Aug 21 14:31:28 hitech postfix/smtpd[3016]: NOQUEUE: milter-reject: EHLO from email.universalorlando.com[192.86.51.46]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<email.universalorlando.com>
Aug 21 14:31:28 hitech postfix/smtpd[3016]: NOQUEUE: milter-reject: MAIL from email.universalorlando.com[192.86.51.46]: 451 4.7.1 Service unavailable - try again later; from=<[email protected]> proto=ESMTP helo=<email.universalorlando.com>
Aug 21 14:31:28 hitech postfix/smtpd[3016]: disconnect from email.universalorlando.com[192.86.51.46]
Aug 21 14:32:35 hitech postfix/smtpd[3016]: connect from mail-qt0-f176.google.com[209.85.216.176]
Aug 21 14:32:35 hitech postfix/smtpd[3016]: warning: connect to Milter service inet:127.0.0.1:12768: Connection refused
Aug 21 14:32:35 hitech postfix/smtpd[3016]: NOQUEUE: milter-reject: CONNECT from mail-qt0-f176.google.com[209.85.216.176]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Aug 21 14:32:35 hitech postfix/smtpd[3016]: NOQUEUE: milter-reject: EHLO from mail-qt0-f176.google.com[209.85.216.176]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<mail-qt0-f176.google.com>
Aug 21 14:32:35 hitech postfix/smtpd[3016]: lost connection after STARTTLS from mail-qt0-f176.google.com[209.85.216.176]
Aug 21 14:32:35 hitech postfix/smtpd[3016]: disconnect from mail-qt0-f176.google.com[209.85.216.176]

I checked the /var/log/syslog and it shows this:

Aug 21 14:53:23 hitech postfix/smtpd[3728]: disconnect from mta209-126-96-167.companycapitalsource.com[209.126.96.167]
Aug 21 14:54:01 hitech CRON[3736]: (root) CMD (/opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/dropbox-backup/scripts/plesk-task-manager.php')
Aug 21 14:54:01 hitech CRON[3737]: (techguy) CMD (/usr/bin/php5 -f '/var/www/vhosts/techguy.ws/crm.techguy.ws/cron.php' -- '>' '/dev/null' '2>&1')
Aug 21 14:55:01 hitech CRON[3747]: (techguy) CMD (/usr/bin/php5 -f '/var/www/vhosts/techguy.ws/crm.techguy.ws/cron.php' -- '>' '/dev/null' '2>&1')
Aug 21 14:55:01 hitech CRON[3749]: (root) CMD (/opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/dropbox-backup/scripts/plesk-task-manager.php')
Aug 21 14:55:34 hitech postfix/qmgr[2186]: BF42F170053A: from=<[email protected]>, size=1092, nrcpt=1 (queue active)
Aug 21 14:55:34 hitech postfix/qmgr[2186]: 710B41700366: from=<>, size=2926, nrcpt=1 (queue active)
Aug 21 14:55:34 hitech postfix-local[3760]: postfix-local: [email protected], [email protected], dirname=/var/qmail/mailnames
Aug 21 14:55:34 hitech postfix-local[3761]: postfix-local: from=MAILER-DAEMON, [email protected], dirname=/var/qmail/mailnames
Aug 21 14:55:34 hitech spamassassin[3762]: Starting the spamassassin filter...
Aug 21 14:55:34 hitech postfix-local[3761]: Unable to get sender domain by sender mailname
Aug 21 14:55:34 hitech spamassassin[3764]: cannot get sender domain
Aug 21 14:55:34 hitech spamassassin[3764]: Unable to intialize spamassassin mail handler
Aug 21 14:55:34 hitech postfix-local[3761]: Error during 'spam' handler
Aug 21 14:55:34 hitech dk_check[3765]: cannot get sender domain
Aug 21 14:55:34 hitech dk_check[3765]: Unable to intialize dk_check mail handler
Aug 21 14:55:34 hitech postfix-local[3761]: Error during 'dd52-domainkeys' handler
Aug 21 14:55:34 hitech spamd[2812]: spamd: connection from ::1 [::1]:54753 to port 783, fd 6
Aug 21 14:55:34 hitech spamd[2812]: spamd: using default config for [email protected]: /var/qmail/mailnames/techguy.ws/eric/.spamassassin/user_prefs
Aug 21 14:55:34 hitech spamd[2812]: spamd: processing message <[email protected]> for [email protected]:30
Aug 21 14:55:34 hitech dovecot: service=lda, [email protected], ip=[]. Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: No such file or directory
Aug 21 14:55:34 hitech dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
Aug 21 14:55:34 hitech postfix/pipe[3759]: 710B41700366: to=<[email protected]>, orig_to=<[email protected]>, relay=plesk_virtual, delay=202251, delays=202251/0.09/0/0.02, dsn=4.2.1, status=deferred (Message can not be delivered at this time )
Aug 21 14:55:35 hitech spamd[2812]: spamd: clean message (-1.9/5.0) for [email protected]:30 in 0.4 seconds, 1159 bytes.
Aug 21 14:55:35 hitech spamd[2812]: spamd: result: . -1 - BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,NO_RELAYS,URIBL_BLOCKED,WEIRD_PORT scantime=0.4,size=1159,[email protected],uid=30,required_score=5.0,rhost=::1,raddr=::1,rport=54753,mid=<[email protected]>,bayes=0.000000,autolearn=unavailable autolearn_force=no
Aug 21 14:55:35 hitech dk_check[3769]: Starting the dk_check filter...
Aug 21 14:55:35 hitech dk_check[3769]: DKIM verify result: Message is not signed
Aug 21 14:55:35 hitech dovecot: service=lda, [email protected], ip=[]. Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: No such file or directory
Aug 21 14:55:35 hitech dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
Aug 21 14:55:35 hitech postfix/pipe[3758]: BF42F170053A: to=<[email protected]>, relay=plesk_virtual, delay=311361, delays=311361/0.13/0/0.4, dsn=4.2.1, status=deferred (Message can not be delivered at this time )
Aug 21 14:55:35 hitech spamd[2811]: prefork: child states: II
Aug 21 14:56:01 hitech CRON[3783]: (root) CMD (/opt/psa/bin/sw-engine-pleskrun /opt/psa/admin/plib/DailyMaintainance/task-script.php StoreOutgoingMessagesStatistics >/dev/null 2>&1)
Aug 21 14:56:01 hitech CRON[3785]: (techguy) CMD (/usr/bin/php5 -f '/var/www/vhosts/techguy.ws/crm.techguy.ws/cron.php' -- '>' '/dev/null' '2>&1')
Aug 21 14:56:01 hitech CRON[3786]: (root) CMD (/opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/dropbox-backup/scripts/plesk-task-manager.php')
Aug 21 14:56:29 hitech postfix/smtpd[3802]: connect from mta01v23.online.costco.com[173.226.200.39]
Aug 21 14:56:29 hitech postfix/smtpd[3802]: warning: connect to Milter service inet:127.0.0.1:12768: Connection refused
Aug 21 14:56:29 hitech postfix/smtpd[3802]: NOQUEUE: milter-reject: CONNECT from mta01v23.online.costco.com[173.226.200.39]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Aug 21 14:56:29 hitech postfix/smtpd[3802]: NOQUEUE: milter-reject: EHLO from mta01v23.online.costco.com[173.226.200.39]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<mta01v23.online.costco.com>
Aug 21 14:56:29 hitech postfix/smtpd[3802]: NOQUEUE: milter-reject: MAIL from mta01v23.online.costco.com[173.226.200.39]: 451 4.7.1 Service unavailable - try again later; from=<CostcoB2C_8807DDEEBF1A2584EA6B5A528DC500724BAD797B5EF9BCDE@online.costco.com> proto=ESMTP helo=<mta01v23.online.costco.com>
Aug 21 14:56:29 hitech postfix/smtpd[3802]: disconnect from mta01v23.online.costco.com[173.226.200.39]

Any suggestions on where I look now?

Thanks,
TG
 
Last edited by a moderator:
Hi techguyal,

pls. restart the depending service with for example:

Code:
service psa-pc-remote restart

service postfix restart

service dovecot restart

If you use as well "Premium Outgoing Antispam", pls. don't forget to restart it with for example:
Code:
/etc/init.d/ctasd_initd start
/etc/init.d/ctmilter_initd start


Pls. check, that no firewall or ( possible ) Fail2Ban - entries block the connections and make sure, that IF you use Fail2Ban, that localhost ( 127.0.0.1/8 ) and each of your server IPs are whitelisted.


If you still experience issues/errors/problems, pls. don't hesitate to use the Plesk Repair Utility with for example:
Code:
plesk repair mail -y -v

=> Plesk Repair Utility
 
Back
Top