• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

* 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