Mailing thru cronjob php script

dhutten

Verified User
Joined
Mar 1, 2007
Messages
9
Hi

We have a customer who is using his mail feature a lot. Thru a PHP script he sends e-mail to several hundred e-mail addresses for PR purposes. That's no problem.

But the sender of each email is not [email protected] but it's [email protected] (our server domain)

The problem is that there are no SPF records and we don't want to expose that name for e-mail. Because of SPAM etc.

Is there a fix to change this in [email protected]

thanks
 
Let's see if Jeff is listening first. Jeff is there a way to have the main exim.conf file read rewrites from user files?

One drawback I see is that you can only define one address for each username@hostname address. I can't see any easy to make exim know to use certain addresses for some scripts and other addresses for other scripts all under the same username.
 
I haven't studied it, so I don't know.

My understanding is that you can easily use php to set the sender, but you have to make his username trusted first. That may have been already discussed; search these forums.

Creating trusted users would be a lot easier to do.

Either way, if the commands can't directly read from files there'd have to be a way to rewrite the entire exim.conf file.

That could become complex.

I'm willing to work with DA staff to make it work, but if it requires coding to rewrite exim.conf as often as users are added/deleted, this could become fairly complex and open to a lot of points of failure. If so it would have to be done through the DA dataskq.

Jeff
 
Back
Top