force php mail function to use auth

2 posts / 0 new
Last post
#1 Sat, 04/07/2012 - 14:35
janezek

force php mail function to use auth

Hi,

how can i force php mail function to not put mail directly in postfix but have to auth itself before sending an email?

Best Regards, Kristijan Lecnik

Mon, 04/09/2012 - 10:33
andreychek

Howdy,

Well, you couldn't force PHP Mail specifically to have to authenticate -- what you would have to do is force all locally generated emails to have to authenticate.

And that causes a problem, because a lot of legitimate apps (such as Cron) frequently generate emails.

So there isn't actually a good way to do that, unfortunately.

-Eric

Topic locked