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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AlexmouAuthor Commented:
I took a while and it is also now a solution in the Plesk KB.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.