• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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 [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