Plesk 12.x / Linux :: Script Can't Send Email Via Smtp
Dec 25, 2014
I use postfix/smtp plesk12 centos7, I create mailbox add password. For example my domain is a.com from roundcube all work no problem.
My script isn't working look like this:
SMTP CONFIGURATION (LEAVE DEFAULT IF YOU USE mail() )
SMTP HOST smtp.a.com
SMTP PORT 587
SMTP Secure tls
SMTP Auth true
SMTP USERNAME test@a.com
SMTP PASSWORD my password
And the script dont send emails to user, say that Mailer Error: SMTP connect() failed. In dns settings I don't have smtpa.com host only have mail.a.com why from scripts don't send email to users?
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.
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?
Since updating from Plesk V11, Plesk is sending out an e-mail with date.time information to all my customers. I have not changed anything to my settings.
My Plesk Panel stopped to send notifications a while ago, I don't receive mails when the backup are done, the clients can't receive their passwords if they need to reset...
The mails are not being forwarded when they configure it in the panel (I receive a mail in mail1@mydomain.com and I want it forwarded automatically to mail2@gmail.com or wherever).
I don't see nothing about the plesk panel mail in the postfix log and I don't know what else to check.
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 (info@example.com) 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: info@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[9836]: /var/qmail/bin/relaylock: mail from 187.5.81.179:51251 (187-5-81-179.bsaco701.dsl.brasiltelecom.net.br) Feb 23 14:49:37 nsxxxxxx qmail-queue-handlers[9838]: Handlers Filter before-queue for qmail started ... Feb 23 14:49:37 nsxxxxxx qmail-queue-handlers[9838]: from=Frederick59c@brasiltelecom.net.br Feb 23 14:49:37 nsxxxxxx qmail-queue-handlers[9838]: to=info@xxxxxxxxxx.be Feb 23 14:49:37 nsxxxxxx qmail-queue-handlers[9838]: 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.
I try to past pci compliance,but now this is not importand. If there have some repair postfix command? Default configuration? Or how can i send emain from outlook.
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[22737]: 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.
I have two sites that register a high amount to SMTP traffic. Both sited have only forwarding email addresses.
Do forwarding addresses accumulate SMTP traffic on the log?
Also, if a forwarding email is created without a mailbox is it necessary to add a password so that "others" cannot use the blank SMTP server to send email out?
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.
Logfile:
Code: /usr/local/psa/var/log/maillog
Error logs:
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.
A second problem, also qmail is that I can't send to the server using TLS on the submission port, only if I do plain text. But the first problem is bigger because we can't send at all.
This is a new plesk installation and it has never worked.
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:
'x@xxx.com' on 16/07/2014 15:13 Server error: '554 5.7.1 <x@xxx.com>: 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 have Plesk 12 on CentOS 7. I have only MSMTP installed not Postfix or Qmail. No matter what settings I use in the external SMTP settings the mail is never sent and I cannot find any error logs.
I have tried gmail smtp, sendgrid smtp and another smtp server that I own.
This is not a firewall issue as far as I can tell since if I install postfix it just works. Also any Wordpress or Joomla installs that use SMTP settings with gmail or sendgrid work just fine.
Screenshot for information only. I used accurate usernames, passwords, etc.
↑
Quick update. I tried the recommended CentOS 7 with the same result. Can installing Plesk 12 without a mail server and using the msmtp relay option actually works?Click to expand...
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?
We are trying to use a configure settings for an external SMTP server within Plesk (Windows 2008 R2 Plesk 12) but are receiving the following error message:
Error: Unable to encode IDN email address 'username': email address is invalid
We are trying to use a username for SMTP authentication as we do not have the option of using an email address with our current SMTP relay provider.
Is there any way around this so that we can use a username rather than an email address?
when am sending emails its cannot be delevired .. and its show me this error
"There was an error sending your message: Failed to send data [SMTP: Invalid response code received from server (code: 451, response: Temporary local problem - please try later)]"
i think its from the CFS i installed it
when i go to Cpanel my site the email " manager / creat " there is a red line content
Fatal! Write Failure: /etc/valiases/box.site.com . Ignore any messages of success this can only result in failure!
Started after last update 12.0.18 Update #44 (on CloudLinux): I can send mail wia created mailboxes, but sites can not send mail, contact forms say "Failed to send your message." maillog file also do not indicate sending any messages from domains. Wordpress restore password claims:
"The e-mail could not be sent. Possible reason: your host may have disabled the mail() function." php.ini is default: safe_mode = Off disable_functions = is empty
The issue about not sending mail from domains was - old versions of LVE anf CageFS are incompatible with latest plesk update, updating them caused all sites in Cagefs to throw error 500 with log string: "SecureLVE jail error Invalid regexps: no match for path to base home directory". It was fixed by changing cagefs.base.home.dirs regexp to the real sites folder location. Enabling cagefs back removed one of the files it shouldn't:
"Removed file /var/cagefs/81/xxx/etc/php.d/soap.ini" So be carefull to place necesssary files back. For now everything works. Click to expand... Click for original message
i have one Mailbox on my server, which i cannot sending mails. I tested it with Outlook and Horde.
For Example, i see this error at the Maillog:
Code:
Jul 14 22:12:13 gaius postfix/cleanup[12194]: 2F653402A6: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 5.7.0 The message could not be sent. You are not allowed to use sendmail utility.; from=<user@server1.local> to=<user2@server.local> proto=ESMTP helo=<gaius.stefanshome.com>
I delete this Mailbox, but after a time, i have the same problem again. On the Plesk Webinterface there is no problem logging with the outgoing spam protection.
I just moved from DirectAdmin to Parallels Plesk and already love the interface. Much better than DA in my opinion.
Let's get to the problem:
When I make a new email account I can login to this account on webmail.domain.com (roundcube) and receive and send emails. Now when I want to use this account on Apple Mail i'm not sure which ports I need to use.
For the incoming mail server I use: 143 For the outgoing mail server I use: 587
Now when I look at my mailbox it gives me a warning sign. The outgoing mail server gives a green dot, but the incoming mail server gives me a red dot.
- So sending mails works. - And receiving mails don't work.
I am using IMAP and have enabled the SSL box. I don't know if i need to check this, because i'm not running on an SSL certificate.
Are the ports that i'm using right? And should I enable the SSL checkbox?
i've a problem with my SMTP settings.The strange thing is that my drupal site, which is located on the server can send mails. But when i try to send from Gmail it does not work.
SMTP-Settings on Gmail Server: IP-Adress/ or Domainname Port: 25 User: E-Mail adress and password
I've also tryed several combinations, it still does nothing.Gmail is showing that it has send the Mail but after a few hours it arrives an email that says:
Action: failed Status: 4.3.0 Diagnostic-Code: X-Postfix; local data error while talking to smtp.mailchannels.net[54.214. 243.124]
I have a problem with file upload. I changed php.ini files in /etc/php5/cgi and user and php.ini to work with big files. I changed accordingly max_filesize, post_max_size, memory_limit.Also changed suhosin memory_limit and some other stuffs. I cant get files bigger than ~100MB to be sent through forms with post! Below is ok.Is there any method to do this with plesk 11.5?? I saw docs on this particular topics with plesk 10 on internet but nothing for plesk 11.