Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php and mail problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Tue Jun 24, 2003 4:21 pm    Post subject: php and mail problem Reply with quote

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 :)


Last edited by Detraw on Tue Jun 24, 2003 4:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
barran
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2003
Posts: 142
Location: Århus, DK

PostPosted: Tue Jun 24, 2003 4:23 pm    Post subject: Reply with quote

Try to compare the mail headers between the mail sent via php and the mail sent from mutt
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Tue Jun 24, 2003 4:32 pm    Post subject: Reply with quote

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 :)
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Tue Jun 24, 2003 4:56 pm    Post subject: Reply with quote

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 :P
Back to top
View user's profile Send private message
Detraw
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2003
Posts: 84
Location: Sweden

PostPosted: Tue Jun 24, 2003 5:06 pm    Post subject: Reply with quote

I changed my header and now it works, thx anyway :)
_________________
damn this Linux world is big :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum