• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

* Report this post * Reply with quote issue sending mail from server postf

R

robert.blake

Guest
Hi,

I am having problem sending mails from the server. Incoming mails are working , only problem with sending mails to server (remote or local addresses ). My server is having new plesk 9 + post fix as mail server. I have checked the maillogs and could see below entries

I am trying to send mail from [email protected] to [email protected]

##
Feb 12 02:57:47 server1 qmail-queue-handlers[16398]: Handlers Filter before-queue for qmail started ...
Feb 12 02:57:47 server1 qmail-queue-handlers[16398]: [email protected]
Feb 12 02:57:47 server1 qmail-queue-handlers[16398]: [email protected]
Feb 12 02:57:47 server1 qmail-queue-handlers[16398]: hook_dir = '/usr/local/psa/handlers/before-queue'
Feb 12 02:57:47 server1 qmail-queue-handlers[16398]: recipient[3] = '[email protected]'
Feb 12 02:57:47 server1 qmail-queue-handlers[16398]: handlers dir = '/usr/local/psa/handlers/before-queue/recipient/[email protected]'
Feb 12 02:57:47 server1 qmail-queue-handlers[16398]: starter: submitter[16399] exited normally
Feb 12 02:57:47 server1 imapd: Connection, ip=[127.0.0.1]
Feb 12 02:57:47 server1 imapd: IMAP connect from @ [127.0.0.1]INFO: LOGIN, [email protected], ip=[127.0.0.1], protocol=IMAP
Feb 12 02:57:47 server1 imapd: 1234407467.419776 LOGOUT, [email protected], ip=[127.0.0.1], headers=0, body=0, rcvd=34, sent=110, maildir=/var/qmail/mailnames/localdomain.com/local-user/Maildir
Feb 12 02:57:49 server1 imapd: Connection, ip=[127.0.0.1]
Feb 12 02:57:49 server1 imapd: IMAP connect from @ [127.0.0.1]INFO: LOGIN, [email protected], ip=[127.0.0.1], protocol=IMAP
Feb 12 02:57:49 server1 imapd: 1234407469.52902 LOGOUT, [email protected], ip=[127.0.0.1], headers=0, body=0, rcvd=119, sent=900, maildir=/var/qmail/mailnames/localdomain.com/local-user/Maildir
##

Please assist as email is our main concern and need to be working before customers came to know about this.

Regards,
Robert Blake
 
check your sendmail binary

[root@server /]# ll /usr/sbin/sendmail
lrwxrwxrwx 1 root root 21 Dec 17 13:54 /usr/sbin/sendmail -> /etc/alternatives/mta
[root@server /]# ll /etc/alternatives/mta
lrwxrwxrwx 1 root root 23 Feb 5 15:31 /etc/alternatives/mta -> /var/qmail/bin/sendmail

Since you are having postfix, it should be pointing to the postfix sendmail binary.

usually the path will be /usr/sbin/sendmail.postfix

so, here is the solution

[root@server /]#mv /usr/sbin/sendmai /usr/sbin/sendmai.bk
[root@server /]#ln -s /usr/sbin/sendmail.postfix /usr/sbin/sendmail

Try sending mails now

~Lea
http://esupports.net
 
Back
Top