Plesk 12.x / Linux :: Do Not Send Email Via SMTP POSTFIX By Php Scripts?
Mar 7, 2015
The problem is, can not send mail via SMTP using popular scripts Opencart, SMF, Osclass. The problem was lapping Plesk 11.5 via 587 port. That was timeout connection or authorization error with the correct settings. Mail may be sent, sometimes not. No longer working than working. At the same time when working with e-mail clients(example, The Bat) work fine. In Plesk 12 same problem. Port 465 - e-mail clients(example, The Bat) work fine. But can not send mail via SMTP using popular scripts Opencart, SMF, Osclass. When using Cpanel with Exim - all work perfect. But the Plesk e-mail with Postfix - constant problems.
My environment: Parallels Plesk v12.0.18_build1200140606.15 os_Debian 7.0 64bits - postfix
In documentation about Server-wide-mail settings
In Plesk for Linux with the Postfix mail server, you can change the IP address used for sending mail. Also, if your server sends mail from domain IP addresses, you can specify which name will be used as a host name in SMTP greetings.
Choose from the three options:
◦Send from domain IP addresses. By default, mail from each domain is sent using the domain's IP address. The host name used in SMTP greeting is defined by the configuration of the mail server.
◦Send from domain IP addresses and use domain names in SMTP greeting. If selected, Plesk changes the mail server configuration so that the SMTP greeting will contain the name of the domain from which an email message is sent.
This option prevent the sender's IP address from being put into public black lists, such as the Spamhaus or OpenBL lists. This might happen if the mail server host name is used in SMTP greeting for the messages sent from domain IP addresses. Some recipient servers consider such messages as spam.
We recommend that you use this option if you host less than 100 domains. In case of a large number of domains, using this option significantly increases the load on the server.
◦Send from the specified IP address. You might want to use certain IPv4 and IPv6 addresses for all outgoing mail.
Sending all mail from the specified address might be useful, for example, if the IP address of the mail server was put into public black lists, such as the Spamhaus or OpenBL lists. If you select None, outgoing mail will not be sent.Click to expand...
I have followed the instructions here to send Plesk notifications through External SMTP (overuse, new domain creation, etc): URL....Here is the error I see in the panel.log: ERR [panel] Unable to send mail.
Is there another log that I'm missing with a more detailed error? Sending through an external SMTP works fine on sites hosted on the same server (Wordpress, Joomla).
I'm having difficulty sending an email to another email address (with a different domain) which is on the same VPS.The trouble is, on the other domain's VPS control panel, within the DNS settings, the MX records have been pointed externally (to an exchange server). Their email is turned off. But bizarrely, their mailbox is full.
It seems as though Plesk is ignoring the MX records, and sending MY email internally to the OTHER domain's mailbox on the same VPS.How do I get Plesk to send my mail to the correct EXTERNAL MX records?
I've been trying to get this to work for almost 2 weeks now. Is there a tutorial around for Plesk 12, Postfix and WHMCS that works? WHMCS does not support Plesk, only Direct Admin and cPanel.I'm getting this in maillog:
ct 4 23:12:48 xxx postfix/smtpd: connect from mail-la0-f44.google.com[220.127.116.11] Oct 4 23:12:49 xxx postfix/smtpd: E83E57C9C: client=mail-la0-f44.google.com[18.104.22.168] Oct 4 23:12:50 xxx postfix/cleanup: E83E57C9C: message-id=<CAC9_f0rbT-Lb-v1NKhAr7+HAkg@mail.gmail.com> Oct 4 23:12:50 xxx /usr/lib/plesk-9.0/psa-pc-remote: handlers_stderr: SKIP Oct 4 23:12:50 xxx /usr/lib/plesk-9.0/psa-pc-remote: SKIP during call 'check-quota' handler Oct 4 23:12:50 xxx postfix/qmgr: E83E57C9C: from=<firstname.lastname@example.org>, size=1859, nrcpt=1 (queue active) Oct 4 23:12:50 xxx postfix-local: postfix-local: email@example.com, firstname.lastname@example.org, dirname=/var/qmail/mailnames Oct 4 23:12:50 xxx postfix/pipe: E83E57C9C: to=<email@example.com>, relay=plesk_virtual, delay=1, delays=0.89/0.01/0/0.16, dsn=2.0.0, status=sent (delivered via plesk_virtual service) Oct 4 23:12:50 xxx postfix/qmgr: E83E57C9C: removed
I have tried editing .qmail and I have also tried this tutorial -[URL] ..... but nothing is working for me at the moment.
I am having trouble with setting up an email account to set up the email I go to Mail > Create Email Address > and enter email address (firstname.lastname@example.org) and check the "access to control panel" and create a password and also check "mailbox" .
But in the email client, when I go to use SMTP and I enter the following info:
- SMTP Server: example.com - username: email@example.com - password: password I created above - port 25 - user TLS
I get this error: Your other email provider is responding too slowly. Please try again later, or contact the administrator of your other domain for further information.
actually i want to know is this sending this email by my smtp server?
Feb 23 14:49:36 nsxxxxxx /var/qmail/bin/relaylock: /var/qmail/bin/relaylock: mail from 22.214.171.124:51251 (187-5-81-179.bsaco701.dsl.brasiltelecom.net.br) Feb 23 14:49:37 nsxxxxxx qmail-queue-handlers: Handlers Filter before-queue for qmail started ... Feb 23 14:49:37 nsxxxxxx qmail-queue-handlers: from=Frederick59c@brasiltelecom.net.br Feb 23 14:49:37 nsxxxxxx qmail-queue-handlers: firstname.lastname@example.org Feb 23 14:49:37 nsxxxxxx qmail-queue-handlers: handlers_stderr: SKIP
Whenever trying to send an email using roundcube it just seems to fail... No error code is given - see attached image:
I've tried following the article here: [URL] ....
But it didn't seem to work and incidentally the main.inc.php file didn't even exist only a main.inc.php.rpmnew was there. I tried copying it to main.inc.php but it made no difference. Normal SMTP usage via thunderbird works, and everything works when trying to use horde.... it's just a problem with roundcube after the upgrade from 11.5 to 12.
we regularly get this message in boxmail of adress used to send email from server.This is the mail system at host DOMAIN.fr. You can delete your own text from the attached returned message.The mail system
<1@SERVERNAME.HOSTER.com> (expanded from <1>): User unknown in virtual alias table
If i look in maillog i see that :
May 18 16:48:52 SERVERNAME postfix/error: F22521B4E45: to=<1@SERVERNAME.HOSTER.com>, orig_to=<1>, relay=none, delay=0.07, delays=0.04/0.01/0/0.02, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
The problem is in error message (at top) the message attached is the one sent to EMAIL@DOMAIN.com. So we can think the message is not sent to EMAIL@DOMAIN.com. SERVERNAME, HOSTER and EMAIL@DOMAIN are here to mask real data.
My issue started ince a couple of months seemed to increase with update to Plesk 12.0 (though I can't guarantee it).I am using Centos 6.5, all updated. What happens is that postfix usage starts to increase without any apparent reason (during week-ends for example). Then postfix is not responding anymore.
Upgrading to 12.0.8 and found this that looks like a bug. Email messages cannot be send through Roundcube Webmail. Outbound Email Limits are active.
Code: REDACTED py_limit_out: ERROR Rejecting message: system user uid='10039' is not allowed to send mail REDACTED plesk sendmail: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent. The user roundcube_sysuser is not allowed to send email.#012REJECT
Apart from Domains, Emails and Subscriptions there is no way to allow roundcube_sysuser through Mail server settings.
I have just install on a new server plesk 12.0.18 Update #7 on centos 6.5 final.Added new hosting for the domain on a dedicated IP. All works fine (website, incoming mails etc) apart from outgoing mails.Both webmail (roundcube) and other mail software (outlook 2010, 2013 , android phone etc) outgoing mail i can't get to work.
I have attached screen from webmail with SMTP error (250) : Authentication failed..With Outlook it will allow me to set up account, test account setting... it say all all complete if i don't set secure connection (SSL)/requires authentication. But when you try sending mails you get the error: Your message did not reach some or all of the intended recipients.
Subject:test Sent:16/07/2014 15:13
The following recipient(s) cannot be reached:
'email@example.com' on 16/07/2014 15:13 Server error: '554 5.7.1 <firstname.lastname@example.org>: Relay access denied'
When you set the outgoing requires authentication/ advance SSL you get:Send test e-mail message: None of the authentication methods supported by this client are supported by your server.I have tried changing to some outgoing ports to no avail.
I keep having certain domains being hijacked and mass emails being sent from them somehow. I've disabled mail within domain control panel for each domain and issue keeps occurring. I've limited # of emails as well to 2-5 per hour but now so many are trying to be sent from my server it is clogging up mail queue and I have to log into server via ssh and run postsuper -d ALL every day or two. It is very frustrating. The only way I can stop it is to disable domain in plesk panel but that is not an option.
What can I do to find the cause of this issue and stop it?
I have been trying to determine if I should use Postfix or Exim for our new SMTP gateway. My biggest obstacle is in trying to determine if Postfix can handle the processing as efficiently as Exim.
Basically we have hundreds of domains that will have email going through the gateway. I need to know if Postfix can be configured to perform different actions based on the recipient domain (i.e. block receipt of message or add a header and deliver). It looks like this functionality is handled by using a 3rd party tool like "amavisd".
The problem is that it looks like I have to wait for the DATA to be received before I can send the mail to the filtering tool rather than just waiting until the last RCPT command. It is also unclear as to whether the message will be denied during delivery with a 550 error being returned or whether the message is accepted and a postmaster message is sent. Obviously I would prefer the 550 error.