• 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!
  • 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.

Sendmail Returnpath

LloydD

Basic Pleskian
Hi guys,
I'm running Plesk 10.4.4 on Ubuntu 8.04 and would like to know the best way to set the sendmail return path per domain?
It will be used via php, and I read I can add it in the virtualhost directive ..

There are things involved in getting it to work outside of vBulletin. Perhaps this would be of some help.

To change the default sender on unix you must add -f to sendmail_path. For example in a <VirtualHost> directive:
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f webmaster@example.com"

would set the default return-path for mail from that virtual host.

https://www.vbulletin.com/forum/showthread.php/87768-How-to-change-Return-Path-email-from-Nobody

Or should I set this in the domains /etc/php.ini file?
Thanks in advance for your help
Kind regards

Lloyd
 
Note that sendmail is not used in Plesk as MTA. Only Postix or Qmail.
 
Oh, ok.
The reason I ask is because we are using CRELoaded shop software and when I use the servers pop3 mail (same as i use in vBulletin) it fails to send. So I have to select sendmail to send the mail for the shop which i don't like.
So vBulletin I can send mail via qmail, but I can't with CRELoaded which seems strange.
If you have any idea why that might be, they are on the same domain just using different email accounts ie forum@domain.com and sales@domain.com.
I posted about this at CRELoaded forum but no one replied.
Thanks in advance for your help

Lloyd
 
Right, I didn't see it before but there are some qmail references in the header.

Message-ID: <20120115763487723.67323.qmail@mail.my-domain.com>

Return-Path: anonymous@mail.my-domain.com

Obviously the return path needs to be the same as the email address it is sent from ..

sales@my-domain.com

The emails are being sent via the php mailer, so what would be the best way to do this?
Thanks in advance for your help
Kind regards

Lloyd
 
Back
Top