• 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.

* 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