• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

psa-pc-remote issue

Anton1

New Pleskian
Hi,

I've tried to search forums for some information, but all I found don't match my issue.

postfix main.cf:
smtpd_milters = inet:127.0.0.1:12768
non_smtpd_milters = inet:127.0.0.1:12768

In the log we have tons of messages like that:

[root@server ~]# tail -f /usr/local/psa/var/log/maillog|grep pc-remote
Jul 10 11:59:41 server /usr/lib64/plesk-9.0/psa-pc-remote[28074]: Message aborted.
Jul 10 11:59:41 server /usr/lib64/plesk-9.0/psa-pc-remote[28074]: Message aborted.
Jul 10 11:59:42 server /usr/lib64/plesk-9.0/psa-pc-remote[28074]: Message aborted.
Jul 10 11:59:42 server /usr/lib64/plesk-9.0/psa-pc-remote[28074]: Message aborted.
Jul 10 11:59:43 server /usr/lib64/plesk-9.0/psa-pc-remote[28074]: Message aborted.
Jul 10 11:59:43 server /usr/lib64/plesk-9.0/psa-pc-remote[28074]: Message aborted.
Jul 10 11:59:43 server /usr/lib64/plesk-9.0/psa-pc-remote[28074]: Message aborted.
Jul 10 11:59:43 server /usr/lib64/plesk-9.0/psa-pc-remote[28074]: Message aborted.
Jul 10 11:59:44 server /usr/lib64/plesk-9.0/psa-pc-remote[28074]: Message aborted.
Jul 10 11:59:44 server /usr/lib64/plesk-9.0/psa-pc-remote[28074]: Message aborted.
Jul 10 11:59:44 server /usr/lib64/plesk-9.0/psa-pc-remote[28074]: Message aborted.

[root@server ~]# tail -f /usr/local/psa/var/log/maillog|grep DATA
Jul 10 12:02:16 server postfix/smtpd[13991]: too many errors after DATA from unknown[192.168.0.81]
Jul 10 12:02:19 server postfix/smtpd[14329]: 19DB91607BE: milter-reject: DATA from unknown[93.119.107.222]: 451 4.7.1 Service unavailable - try again later; from=<...> to=<...> proto=ESMTP helo=<...>

Thus we have lots of messages rejected by psa-pc-remote. I've tried to get some more info on the matter, but failed.

Could you please advice? How can I enable debug logging for psa-pc-remote to get more verbose messages?

Plesk 11.5.
 
Have you tried to use this solution http://kb.odin.com/en/120330 ?

Finally I found this in the log, didn't find it earlier? because we have had tons of emails from one customer and rsyslog lost these messages:

Jul 15 06:49:25 server postfix/smtpd[19145]: 2C9731637A6: client=unknown[192.168.0.75]
Jul 15 06:49:25 server greylisting filter[21708]: Starting greylisting filter...
Jul 15 06:49:25 server /usr/lib64/plesk-9.0/psa-pc-remote[21271]: handlers_stderr: DEFER
Jul 15 06:49:25 server /usr/lib64/plesk-9.0/psa-pc-remote[21271]: DEFER during call 'grey' handler
Jul 15 06:49:25 server /usr/lib64/plesk-9.0/psa-pc-remote[21271]: Message aborted.

Let me explain it in more detail:

Our postfix is working as a relay. So client is trying to send email to user@domain.tld from root@example.com and pc-remote process aborts the message writing the messages above to the log.

I've checked our grey listing configuration:

[root@server ~]# /usr/local/psa/bin/grey_listing --info-server
Grey listing configuration.

Grey listing checking enabled
Grey interval 5 minutes
Expire interval 51840 minutes
Penalty interval 2 minutes
Penalty disabled
Personal grey listing
configuration allowed

Server-wide black list:

Server-wide white list:

White domains patterns list:

Black domains patterns list:

SUCCESS: Gathering of server wide information complete.
[root@server ~]# /usr/local/psa/bin/grey_listing --info-mailname root@example.com
mail does not exist: root@example.com
[root@server ~]# /usr/local/psa/bin/grey_listing --info-domain example.com
Grey listing for domain is enabled
SUCCESS: Gathering information for 'example.com' complete.
[root@server ~]#

So, my question is how to view all grey-listed domains or mail addresses or hosts?
 
So, my question is how to view all grey-listed domains?

For example:

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/grey_listing --info-domain $i; done
 
For example:

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/grey_listing --info-domain $i; done

Thank you for your help. We managed to fix the issue disabling greylisting for the domain.
 
Back
Top