Forum Moderators: phranque

Message Too Old, No Replies

Apache E-mail & "on behalf of"

problems with appache e-mail and it sending out e-mails with on behalf of..

         

reaxion

7:34 pm on Jan 26, 2006 (gmt 0)

10+ Year Member



I'm having a problem with Apache and I was wondering if anyone knew of a work around or any configuration that I may have missed.

Basically I just had an application build and part of what it does is send out confirmation to users who subscribe to the service. For some reason when appache send e-mail in the sender line it an e-mail before the main e-mail which shows as though is't being send on behalf of someone.

For example:

admin@oursite.com on behalf of support@oursite.com

is what the sender line would look like when the e-mail is opened in outlook.

Ideally I'd like it to look like this:

support@oursite.com

only to display the sender...

Anyone have any ideas?

jd01

8:16 pm on Jan 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi reaxion,

Welcome to WebmasterWorld.

This is not my forte, but my guess is the application you had built is the problem, not Apache.

I often send e-mail via php in response to successful sign-ups and have not had this issue on any server. I would start by contacting the app builder and ask them if it is due to their script.

Hope this helps.

Justin

reaxion

8:23 pm on Jan 26, 2006 (gmt 0)

10+ Year Member



Hi Justin,

Na it's definitely something to do with Apache and the way it deals with mail headers. In any php application you can explicitly state what you want the sender address to be. Apparantly the "on behalf of" is just part of how Apache works it's sendmail. I'm just looking for a workaround...

Thanks.

jdMorgan

9:50 pm on Jan 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Apache doesn't send mail at all, though -- It's an HTTP server, not an SMTP or POP server.

Somewhere, you have a mail script. That's where the problem lies.

Jim

StupidScript

9:50 pm on Jan 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Apache has nothing to do with mail. The writing of the mail headers also has nothing to do with Apache. Apache is a web server, not a mail server.

Additionally, Sendmail isn't messing with anything. It is an MTA (Mail Transport Agent), and doesn't add any weird headers like 'on behalf of' to anything.

Your issue is absolutely with how the application is written.