Avatar of Alexmou
Alexmou
 asked on

Postfix configuration - Relay

Right now I'm having issues with a Postfix configuration in Plesk that is not supported by Plesk and made by someone that is no longer available, I don't dare to change anything, even if I'm quite sure that it should work.

It is as follows.


I wanted to active PHP mail on our Plesk enviorement, after testing it I looked like i didn't work.
After debugging it showed that PHP generated the mail but it was not sending.

The logs showed that it was using Sendmail and trying to connect to a smart host that is no longer in service.  

So I looked in the Sendmail configuration file and found in the config.mf file and I should be able to change the smart relay.

But what would happen? Could it be that I works currently and this is just a PHP issue? We have a mail node in our Plesk enviorement that i want to use.

I'm open for any suggestions.
PHPEmail ServersLinux

Avatar of undefined
Last Comment
Alexmou

8/22/2022 - Mon
Steven Vona

You can try sending mail from the command line and see if it works.  If it does then it's a plesk / php issue.

You mentioned postfix, but then said you were using sendmail.  We need a lot more information in order to help.
ASKER CERTIFIED SOLUTION
Alexmou

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Alexmou

ASKER
I took a while and it is also now a solution in the Plesk KB.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes