UPDATE: Perl scripts using Sendmail
This applies to:
Perl scripts using the sendmail daemon on Linux servers
Description
A tightening of security on our SMTP servers will affect the syntax of commands used to initialise the sendmail program.
A sendmail script in which the -f paramater is NOT specified in the initialisation, will fail. Without this paramater, the smtp
server will treat the email as sent from domainxxxxx@localhost. You should also include the -t paramater as well.
If the script has (for example):
$mailprog = "/usr/sbin/sendmail";
This would need to be replaced with:
$mailprog = "/usr/sbin/sendmail -t -fyouremail\@your-domain-name.com";
Note: Remember to replace youremail\@your-domain-name.com with a valid email address on your domain.
If your form submits an email to your domain with the sender marked as the customer, you will need to use the
following:
$mailprog = "/usr/sbin/sendmail -t -f$email";
Where $email is the variable which holds the customer's email address.
Additionally, an email from an external email address which is Cc'd to another external address, will fail.
The Cc'd email is, in essence from a non Web Hosting Plus address to a non Web Hosting Plus address. This causes the
email to fail.
Related Articles
There are no related articles
No viewers have posted comments
|
|