View previous topic :: View next topic |
Author |
Message |
Detraw Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Tue Jun 24, 2003 4:21 pm Post subject: php and mail problem |
|
|
Hi, I have setup a mail server using the guide on gentoo page, and on this forum, and it works great when I send with: mutt <mail@address.com> but if I send it with php and the function called: mail, it sends the mail, but hotmail marks it as junkmail.. I read something about hotmail doing that, but I can't come up with a solution, does anyone have any idé?
EDIT: I'm using postfix.
-Detraw _________________ damn this Linux world is big ![Smile :)](images/smiles/icon_smile.gif)
Last edited by Detraw on Tue Jun 24, 2003 4:25 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
barran Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 14 Jan 2003 Posts: 142 Location: Århus, DK
|
Posted: Tue Jun 24, 2003 4:23 pm Post subject: |
|
|
Try to compare the mail headers between the mail sent via php and the mail sent from mutt |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Detraw Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Tue Jun 24, 2003 4:32 pm Post subject: |
|
|
the mail that was marked as junkmail: "envelope-from apache@server.detraw.myip.org"
the mail that was good: envelope-from detraw@server.detraw.myip.org
do you think that the user: apache has a wrong setting for sending mail or something, I'm using most of the default settings on apache
EDIT: I compared the headers that were shown in hotmail, I now saw that hotmail doesn't show all the headers, is there a way to get all of the headers?
-Detraw _________________ damn this Linux world is big ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
darktux Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/d5e4bdd03dfd1b80db613.jpg)
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Tue Jun 24, 2003 4:56 pm Post subject: |
|
|
Detraw wrote: | the mail that was marked as junkmail: "envelope-from apache@server.detraw.myip.org"
the mail that was good: envelope-from detraw@server.detraw.myip.org
do you think that the user: apache has a wrong setting for sending mail or something, I'm using most of the default settings on apache
EDIT: I compared the headers that were shown in hotmail, I now saw that hotmail doesn't show all the headers, is there a way to get all of the headers?
-Detraw |
How are you using the mail() function? You're probably not using it correctly, post it here, or go to www.php.net and check out the manual reference on that function. _________________ Lego my ego, and I'll lego your knowledge
www.tuxslare.org - My reborn website ![Razz :P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Detraw Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 May 2003 Posts: 84 Location: Sweden
|
Posted: Tue Jun 24, 2003 5:06 pm Post subject: |
|
|
I changed my header and now it works, thx anyway ![Smile :)](images/smiles/icon_smile.gif) _________________ damn this Linux world is big ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|