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.
AlexmouAsked:
Who is Participating?
 
AlexmouAuthor Commented:
A late reply but the solution was to set php to put the mails in the sendmail directory. Then sendmail was set to a corret host.
0
 
savoneCommented:
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.
0
 
AlexmouAuthor Commented:
I took a while and it is also now a solution in the Plesk KB.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.