• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Received Mail NOT Forwarding

Abhi C

New Pleskian
Hi, the mails are being sent & recieved but the forwarding does NOT work. I have tried this fix as well, but it did not work.

I am on Ubuntu 14.04, Postfix, Plesk 12.5.30
 
Hi Abhi C,

please include some depending errors from your logs ( maillog / mail.log located at: "/var/log/" ), so that your problem might be investigated and possible work-arounds to solve your issue(s) could be done.
 
Mar 26 06:32:10 vps247360 postfix/master[1219]: message repeated 4 times: [ warning: master_wakeup_timer_event: service pickup(public/pickup): Connection refused]
Mar 26 06:33:08 vps247360 postfix/master[1219]: warning: master_wakeup_timer_event: service qmgr(public/qmgr): Connection refused
Mar 26 06:33:10 vps247360 postfix/master[1219]: warning: master_wakeup_timer_event: service pickup(public/pickup): Connection refused
Mar 26 06:36:09 vps247360 postfix/anvil[18419]: statistics: max connection rate 1/60s for (smtp:177.19.130.251) at Mar 26 06:32:48
Mar 26 06:36:09 vps247360 postfix/anvil[18419]: statistics: max connection count 1 for (smtp:177.19.130.251) at Mar 26 06:32:48
Mar 26 06:36:09 vps247360 postfix/anvil[18419]: statistics: max cache size 1 at Mar 26 06:32:48
Mar 26 06:37:09 vps247360 postfix/smtpd[18474]: warning: hostname 177.19.130.251.static.gvt.net.br does not resolve to address 177.19.130.251: Name or service not known
Mar 26 06:37:09 vps247360 postfix/smtpd[18474]: connect from unknown[177.19.130.251]
Mar 26 06:37:10 vps247360 postfix/smtpd[18474]: disconnect from unknown[177.19.130.251]
Mar 26 06:38:08 vps247360 postfix/qmgr[1229]: 35A3C2020E: from=<>, size=2571, nrcpt=1 (queue active)
Mar 26 06:37:10 vps247360 postfix/master[1219]: message repeated 4 times: [ warning: master_wakeup_timer_event: service pickup(public/pickup): Connection refused]
Mar 26 06:38:08 vps247360 postfix/master[1219]: warning: master_wakeup_timer_event: service qmgr(public/qmgr): Connection refused
Mar 26 06:38:08 vps247360 postfix-local[18507]: postfix-local: from=, to=, dirname=/var/qmail/mailnames
Mar 26 06:38:08 vps247360 plesk sendmail[18509]: handlers_stderr: SKIP
Mar 26 06:38:08 vps247360 plesk sendmail[18509]: SKIP during call 'check-quota' handler
Mar 26 06:38:08 vps247360 plesk sendmail[18512]: sendmail unsuccessfully finished with exitcode 127
Mar 26 06:38:08 vps247360 postfix-local[18507]: Unable to forward original message. sendmail status: 127
Mar 26 06:38:08 vps247360 postfix-local[18507]: Unable to send mail for:
Mar 26 06:38:08 vps247360 postfix/pipe[18506]: 35A3C2020E: to=<>, relay=plesk_virtual, delay=67607, delays=67607/0.01/0/0.03, dsn=4.3.0, status=defer$
Mar 26 06:38:10 vps247360 postfix/master[1219]: warning: master_wakeup_timer_event: service pickup(public/pickup): Connection refused
Mar 26 06:40:30 vps247360 postfix/anvil[18476]: statistics: max connection rate 1/60s for (smtp:177.19.130.251) at Mar 26 06:37:09
Mar 26 06:40:30 vps247360 postfix/anvil[18476]: statistics: max connection count 1 for (smtp:177.19.130.251) at Mar 26 06:37:09
Mar 26 06:40:30 vps247360 postfix/anvil[18476]: statistics: max cache size 1 at Mar 26 06:37:09
Mar 26 06:41:27 vps247360 postfix/smtpd[18569]: warning: hostname 177.19.130.251.static.gvt.net.br does not resolve to address 177.19.130.251: Name or service not known
 
Hi Abhi C,

you are actually directly pointed to your issue/problem in your log - file:
warning: master_wakeup_timer_event: service pickup(public/pickup): Connection refused
Mar 26 06:38:08 vps247360 plesk sendmail[18512]: sendmail unsuccessfully finished with exitcode 127
Mar 26 06:38:08 vps247360 postfix-local[18507]: Unable to forward original message. sendmail status: 127
Mar 26 06:38:08 vps247360 postfix-local[18507]: Unable to send mail for:

I really hope, that you didn't replace the "sendmail.postfix" - file from the mentioned RPM for CentOS on your Ubuntu system, as suggested in the KB - article 123672. Please never ever follow KB - articles, if the suggestions and work-arounds don't fit your operating system!!!


To start repairing your postfix installation, please use the standard Plesk repair tools:

plesk repair STRING_OPTIONS_FOR_POSSIBLE_REPAIR_COMMANDS

You are able to use "--help" with the "plesk repair" - command, which will point to all possible command strings, which are: all, mail, web, dns, ftp, db, mysql, fs, installation


After your repair procedure, please make sure, that you send and receive another test - eMail, to verify your working configuration. Please inspect possible issues/problems from your log - files!


An known issue/problem "warning: master_wakeup_timer_event: service pickup(public/pickup): Connection refused" points to a misconfiguration in your master.cf ( /etc/postfix/master.cf ):

Please look out for:

pickup unix n - - 60 1 pickup
and
qmgr unix n - n 300 1 qmgr


Both lines should be correctly configured for the fifo interface:
pickup fifo n - - 60 1 pickup
and
qmgr fifo n - n 1 1 qmgr
 
Thanks UFHH01. I did a plesk repair all. The lines in master.cf is exactly the same you recommended. But the mail forwarding is still not working. I can send and receive mails though. Would love your help to sort this one out. Thanks.

Here's the updated maillog.

Mar 26 17:37:56 vps247360 spamd[934]: logger: removing stderr method
Mar 26 17:37:57 vps247360 spamd[970]: zoom: able to use 360/360 'body_0' compil$
Mar 26 17:37:57 vps247360 spamd[970]: spamd: server started on IO::Socket::INET$
Mar 26 17:37:57 vps247360 spamd[970]: spamd: server pid: 970
Mar 26 17:37:57 vps247360 spamd[970]: spamd: server successfully spawned child $
Mar 26 17:37:57 vps247360 spamd[970]: spamd: server successfully spawned child $
Mar 26 17:37:57 vps247360 spamd[970]: prefork: child states: IS
Mar 26 17:37:57 vps247360 spamd[970]: prefork: child states: II
Mar 26 17:37:57 vps247360 dovecot: master: Dovecot v2.2.18 starting up for imap$
Mar 26 17:37:57 vps247360 postfix/master[1179]: daemon started -- version 2.11.$
Mar 26 17:37:57 vps247360 postfix/qmgr[1189]: 9D8AD20045: from=<thatabhishek@gm$
Mar 26 17:37:58 vps247360 postfix-local[1206]: postfix-local: from=thatabhishek$
Mar 26 17:37:58 vps247360 plesk sendmail[1223]: handlers_stderr: SKIP
Mar 26 17:37:58 vps247360 plesk sendmail[1223]: SKIP during call 'check-quota' $
Mar 26 17:37:58 vps247360 plesk sendmail[1234]: sendmail unsuccessfully finishe$
Mar 26 17:37:58 vps247360 postfix-local[1206]: Unable to forward original messa$
Mar 26 17:37:58 vps247360 postfix-local[1206]: Unable to send mail for: thatabh$
Mar 26 17:39:06 vps247360 postfix/smtpd[2304]: connect from mail-pa0-f66.google$
Mar 26 17:39:07 vps247360 postfix/smtpd[2304]: 782AC20C50: client=mail-pa0-f66.$
Mar 26 17:39:07 vps247360 postfix/cleanup[2308]: 782AC20C50: message-id=<56F6BB$
Mar 26 17:39:07 vps247360 /usr/lib/plesk-9.0/psa-pc-remote[1061]: handlers_stde$
Mar 26 17:39:07 vps247360 /usr/lib/plesk-9.0/psa-pc-remote[1061]: SKIP during c$
Mar 26 17:39:07 vps247360 postfix/qmgr[1189]: 782AC20C50: from=<thatabhishek@gm$
Mar 26 17:39:07 vps247360 postfix-local[2310]: postfix-local: from=thatabhishek$
Mar 26 17:39:07 vps247360 dovecot: service=lda, [email protected], ip=[].$
Mar 26 17:39:07 vps247360 plesk sendmail[2319]: handlers_stderr: SKIP
Mar 26 17:42:28 vps247360 postfix/anvil[2307]: statistics: max connection rate $
Mar 26 17:42:28 vps247360 postfix/anvil[2307]: statistics: max connection count$
Mar 26 17:42:28 vps247360 postfix/anvil[2307]: statistics: max cache size 1 at $
Mar 26 17:42:57 vps247360 postfix/qmgr[1189]: 4FA8B208E8: from=<thatabhishek@gm$
Mar 26 17:42:57 vps247360 postfix-local[2452]: postfix-local: from=thatabhishek$
Mar 26 17:42:57 vps247360 plesk sendmail[2454]: handlers_stderr: SKIP
Mar 26 17:42:57 vps247360 plesk sendmail[2454]: SKIP during call 'check-quota' $
Mar 26 17:42:57 vps247360 plesk sendmail[2457]: sendmail unsuccessfully finishe$
Mar 26 17:42:57 vps247360 postfix-local[2452]: Unable to forward original messa$
Mar 26 17:42:57 vps247360 postfix-local[2452]: Unable to send mail for: thatabh$
Mar 26 17:42:57 vps247360 postfix/pipe[2451]: 4FA8B208E8: to=<contact@abhishekc
 
Hi Abhi C,

please read and follow KB - article 126528:

Error in maillog after switching to Postfix: /usr/sbin/sendmail.postfix-bin: No such file or directory ( Plesk online Knowledge-Base )
( Due to the fact, that you use Ubuntu, please use the suggestions "for dpkg-based operating systems" )


Please report possible issues/errors/problems/failures from your logs, without to shorten them... there might be missing strings, which can be very important for investigations and further suggestions/work-arounds to solve your issues/errors/problems/failures.
Please use the possible forum features to insert quotes or code ( the button "Insert..." Plesk-Forum_Insert-Button.png has several possible options ).


If you experience further issues/errors/problems/failures, please include as well the COMPLETE *.cf - files as attachments ( add the ending *.txt to have the possibilty to upload them to the forum! )
 
Hi UFHH01. I followed the KB article. Still the same issue.

I am attaching the mail log
 

Attachments

  • mail.txt
    306.2 KB · Views: 2
Hi Abhi C,

I'm a bit surprised, because you seem to follow the above KB - article by ignoring your current operating system and installed postfix version.

Mar 27 09:46:34 vpsXXXXXX postfix/pipe[8821]: 9D8AD20045: to=<contact@YOUR_DOMAIN.com>, relay=plesk_virtual, delay=55006, delays=55005/0.01/0/1, dsn=4.3.0, status=deferred (temporary failure. Command output: sendmail: warning: Postfix library version mis-match: wanted 2.9.1, found 2.11.0 sendmail: warning: the Postfix sendmail command has set-uid root file permissions sendmail: warning: or the command is run from a set-uid root process sendmail: warning: the Postfix sendmail command must be installed without set-uid root file permissions sendmail: fatal: execvp /usr/sbin/postdrop: Permission denied sendmail: warning: command "/usr/sbin/postdrop -r" exited with status 1 sendmail: fatal: YOUR_GMAIL.COM_ACCOUNT(30): unable to execute /usr/sbin/postdrop -r: Success 4.2.1 Message can not be delivered at this time )

A quick fix could be, removing postfix and switching to qmail, continued by switching back to postfix again:

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component qmail

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component postfix

To be sure that everything is correctly configured, please use the command:

/usr/local/psa/admin/sbin/mchk --with-spam

Postfix should be restarted automatically, so you might continue with another eMail - test afterwards. Please report possible issues with another up-to-date mail.log AND with the current postfix - configuration - files.
 
Still the same issue. I am attaching the updated mail.log
 

Attachments

  • new-maillog.txt
    45.4 KB · Views: 1
Hi Abhi C,

I really would like to help you, but without any current errors to your initial problem, I can only guess ( which I don't do, when investigating issues/errors/problems ). Please check the latest log - file for yourself and you will see, that your initial errors are not at all existent in the latest log - file.

In addition, I asked for configuration files, which may point to issues as well, which you as well didn't add to your latest post.
 
Hi UFHH01. I did a reboot and the issue is now resolved. A million thanks to you :D

Have a great day ahead.

Cheers :)
 
Back
Top