• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

* 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 local-user@localdomain.com to remote-user@remotedomain.com

##
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]: from=local-user@localdomain.com
Feb 12 02:57:47 server1 qmail-queue-handlers[16398]: to=remote-user@remotedomain.com
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] = 'remote-user@remotedomain.com'
Feb 12 02:57:47 server1 qmail-queue-handlers[16398]: handlers dir = '/usr/local/psa/handlers/before-queue/recipient/remote-user@remotedomain.com'
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, user=local-user@localdomain.com, ip=[127.0.0.1], protocol=IMAP
Feb 12 02:57:47 server1 imapd: 1234407467.419776 LOGOUT, user=local-user@localdomain.com, 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, user=local-user@localdomain.com, ip=[127.0.0.1], protocol=IMAP
Feb 12 02:57:49 server1 imapd: 1234407469.52902 LOGOUT, user=local-user@localdomain.com, 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