• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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