PDA

View Full Version : PHP Mail Headers


sinner
6-20-04, 02:02 PM
I intend use the php mail function to send out a newsletter to everyone on my domain. However, I have noticed that the Return-Path: header points to another users account on the webserver i am currently located on.

Two questions:
First, why is it not using the main account in the Return-Path header?
In theory, it SHOULD be this, Return-Path: sinner@www01.powweb.com.
It is not however, and I believe it is using the account name that I added last.

Secondly, how can I change it so that it the return path is set to the main mail account, or better yet, disable it entirely?

Thanks,
sinner

Edit: P.S. IMHO, greylisting it sucks. I have lost at least 100 emails because of it. :mad:

stevel
6-20-04, 02:06 PM
It does use the account you added last - there seems to be no control over this. PowWeb wants this to be something they can track, though it would appear that the headers also include the account number which should be adequate. The Return-Path is rarely a valid e-mail address.

As far as I can tell, Greylisting is working fine for me.

sinner
6-20-04, 02:17 PM
Thanks for the reply.

I'll simply add another account after I've finished. The address is nonexistant, but it's a persons real name and she would rather not have it sent to 30 or so people.

As far as the greylisting, I haven't had an email in two days, not to mention the things I've used my email address for today. Regardless, I've emailed James requesting that it be removed from my domain.

I've managed to weed out what little spam I had been getting anyway.. as for the rest, it can be quite humourous; some of the most idiotic things find its way to my mailbox.

Cheers,
Sinner

B&T
6-20-04, 04:32 PM
It does use the account you added last.
On my server it uses the master account - the FIRST one that was set up. So maybe it is roulette mail :)

B&T
6-22-04, 03:33 PM
Solve the problem here:

http://forum.powweb.com/showthread.php?t=38269