Plesk 12.x / Linux :: Return Path In Mail Header When Sending Email With PHP Script
Feb 18, 2015
When a PHP script is sending a mail, there is added an return path in mail header. How to change that mail address in return path?
We are using Postfix and CentOS 6.5
Plesk is setting the mail address of the owner of the hosting account. When changing the owners mail address in Plesk, the return path is still the same and is not updated...
View 3 Replies
ADVERTISEMENT
Feb 23, 2015
I'm trying to send email from a domain using code like this:
$email = "me@domain.com";
$from = "From: $email
";
mail($receiver, $subject, $message, $from);
But i see in the mail logs that from address is being overwritten using the default user for the domain. Is there anyway to configure plesk or postfix to respect those headers?
View 5 Replies
View Related
Sep 11, 2007
I've read everything I can find in google and tried it all but I just can't get Return-Path / Envelope-From to change when using centos+cpanel+exim+php4 it insists on sending as nobody@server.VPShostname.com which several very picky email services will promptly bounce
I've tried the following:
1. inserted the "magical" fifth parameter into mail() on php making it -fuser@example.com
2. double checked php.ini to make sure php is using exim - it is:
sendmail_path/usr/sbin/sendmail -t -i
3. used cpanel's own advanced exim editor to add at the top of the exim conf
trusted_users = nobody
(which i don't like but at this point I'll accept any technique that works)
4. restarted all services, exim, php, apache
5. I even found an obscure reference to /etc/email-addresses which can contain a whitelist so I added the email address there
View 2 Replies
View Related
Feb 23, 2015
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
[code]....
View 12 Replies
View Related
Jun 21, 2014
I need to sending health notification emails to another email.
I change admin : /usr/local/psa/bin/init_conf --update -email xxx@xxx.xx
Admin change, but health notification email not change.
View 5 Replies
View Related
Apr 8, 2015
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...
View 12 Replies
View Related
Jul 11, 2014
Upon checking the mail logs, I find this
Code:
Jul 12 07:39:35 ns2 postfix/smtp[31739]: certificate verification failed for gmail-smtp-in.l.google.com[173.194.68.26]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
Jul 12 07:39:36 ns2 postfix/smtp[31739]: 2AC1222A0003: to=<aarontd207@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.68.26]:25, delay=2, delays=0.1/0/1.3/0.64, dsn=2.0.0, status=sent (250 2.0.0 OK 1405143576 q6si6606624qan.104 - gsmtp)
View 1 Replies
View Related
Feb 25, 2015
I'm now with a bit of a problem on my server. I tryied to add a new domain and I haven't counted how many domains I had on my server because I was thinking that plesk would warn me if I was reaching my limitation of domains, so I added a new one...
My license was for 10 domains, and now I have 11 domains so I'm getting an error when I enter my plesk panel. The error basically says that I exceeded the number of domains of my license so I have to buy a new one.
The problem is that when I want to click on the cancel operation button on the bottom of the page I'm constantly being logged out and I cannot cancel the operation, so I'm in a loop right now: "Log in -> get error -> Cancel -> Automatic log out -> Log in"
What can I do to delete one domain completely from my server?
View 5 Replies
View Related
Jul 30, 2014
a Backup from Plesk 11.0.9 last MU installed to Plesk 12.0.18 last MU installed brings a lot of:
Database:
<message code="FailedDatabaseUserDeployment" severity="warning" id="160ffa07-4a78-400b-88f9-8a4292b78c30">
<description>Failed deployment of database user phpbb of database usr_web2_3</description>
<message code="ExecCmd::ExFailed" severity="warning" id="f5e9a089-a046-4937-8fe0-bbaee9e61b7b">
[Code]....
View 7 Replies
View Related
Nov 22, 2008
I know how to do this by analysing the headers, but we have a customers who doesn't believe what we are telling them.
Is there some kind of 3rd party service or script that we can point them to? So they can send an email to the service (or paste headers, or whatever) and it tells them who is the sending mail server hostname/ip?
(The problem is that this customer doesn't understand that all email sent from the server uses the same SMTP server hostname/ip. They are convinced that if they connect to "mail.their domain.com" then this is what is reported as the sending mail server/IP.)
View 4 Replies
View Related
Jun 25, 2015
I get "502 Bad Gateway" errors in browser and found this in logs:
- upstream prematurely closed connection while reading response header from upstream
- failed (111: Connection refused) while connecting to upstream
restarting Apache solves the problem temporarily.I tried tweaking both nginx and php-fpm config files without success.
View 9 Replies
View Related
Jul 8, 2015
I can receive email from all accounts and all domains.
The problem is that when sending an email to an external email (gmail., hotmail, outlook.com .... etc) this is sent to mail queue and do not leave that place.
View 10 Replies
View Related
Sep 24, 2014
Where can I define the $PATH in chroot permanent ?
If i use "export PATH=$PATH:/usr/libexec" in the shell - its ok for this session, but in a new Session the modified $PATH-Variable ist reset to:
"echo $PATH"
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
View 1 Replies
View Related
May 26, 2014
Since 12.0.18, when I go to Tools & Settings > Mail Server, I get this error message on the page:
"Error: The limits on outgoing mail will not work for the subscriptions that have IP addresses from the white list. To make the limits work, remove IP addresses from the mail server's white list".
However, the whitelist page just contains 127.0.0.0/8 and ::1/128, and all my subscriptions have an external IP address which is clearly not in the whitelist.
View 7 Replies
View Related
Oct 7, 2014
Plesk delivering email locally to a not existing mailbox instead of sending it to an external party. First I was using a local mailbox, but my client wanted to control the email using their own server. So I've changed the MX records to this new server. Deleted the inbox in Plesk and turned off Mail support for this domain.
New situation: DNS server for domain.com is hosted on a different location and points to my Plesk server for the website and the MX records point to the clients server for the mail.
Email send from email addresses like gmail are send correctly to the clients server. Email addresses from my PLesk server and forms from the website are send locally.
View 2 Replies
View Related
Mar 3, 2014
I registered a domain name and setup a Linux server on GoDaddy, choosing Plesk panel with Power Pack. Inside the panel I created an email address, which I can access from the webmail interface without problems. I decided to setup my clients as well, using the IMAP configuration, as I'm using multiple devices.
I followed the instructions for Outlook express and I was able to setup the account on my virtual machine, with Windows 7 and Windows Live Mail.Though, speaking of the host machine, a MacBook Pro, I normally use Apple Mail that comes with MacOS. Instructions for setting up Mail are updated back to Snow Leopard at least and they do not work properly. I tried various configurations, but I was only able to receive mail on the account, while sending won't work at all.
I'd like Parallels to update the guide or, at least, to open a KB page with the solution(s) to this issue: I googled it and found out that it is a common issue.
View 3 Replies
View Related
Jun 17, 2014
The Outgoing Mail Control feature is working fine. One missing option with this feature is to view the contents of blocked messages. Unfortunately, sometimes a site gets hacked and is sending spam. which are over the message sending limit, to try to find out where the message came from.
The current problem is that the email message contents of the limitation warning with subject "Attempts to exceed outgoing limits for domains, mail boxes and subscriptions." is not correct. Somehow it only contains the text: date.timezone = "Europe/Amsterdam" (which is a PHP setting) instead of a descriptive message. I hoped it would contain the blocked message contents or some useful text. Can I change the contents of this message to the what is should be? And what should it be?
It looks like a problem I had ones before where the custom PHP settings at the hosting packages level and at the domains level where replaced with some other kind of settings string. But solved by just changing the custom PHP settings
View 4 Replies
View Related
May 4, 2015
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?
View 6 Replies
View Related
Nov 5, 2014
I have installed the Wordpress application. The wordpress url is "server.com/wordpress", but I want to change it to something like "server.com/myblog".
In Plesk, the installation path cannot be changed (at least, it is not under "Change Settings").
Changing the Wordpress installation itself is not that difficult (renaming the folder in httpdocs and changing the siteurl and home parameter in the database), however, in Plesk still the old installation path is shown, and the Plesk interface to Wordpress obviously does not work any more.
How can I change the Wordpress installation path in Plesk?
Version Parallels Plesk v12.0.18_build1200140606.15 os_Ubuntu 12.04
OS Ubuntu 12.04.5 LTS
View 1 Replies
View Related
Jul 17, 2014
On server are many Wordpress installations after scan all these were added however about 90% have this tool-tip message "A WordPress installation was previously detected at this path, but it is not operating properly now." How to correct and manage these installations
View 4 Replies
View Related