View Single Post

  #3 (permalink)  
Old 01-18-2008, 12:58 AM
get.the.MaX get.the.MaX is offline
Junior Member
User
 
Join Date: Jan 2008
My distro: Ubuntu
Posts: 2
Rep Power: 0
get.the.MaX is on a distinguished road
Default

Code:
echo 'Subject: test' | /home/webroot/usr/sbin/mini_sendmail -t -i -fadmin@tld.de -v technik@tld.de
<<<< 220 mail.tld.de ESMTP
>>>> HELO gutsy32
<<<< 250 mail.tld.de
>>>> MAIL FROM:<admin@tld.de>
<<<< 250 ok
>>>> RCPT TO:<technik@tld.de>
<<<< 250 ok
>>>> DATA
<<<< 354 go ahead
<<<< 250 ok 1200597509 qp 23144
>>>> QUIT
<<<< 221 mail.tld.de
From the console there is no problem, but when i try to send a mail with php the -f options seems to be ignored.

Here is the php testscript

Code:
<?php 
mail("admin@tld.de", "PHP Test mail", "Hope this works!" , "technik@tld.de"); ?>
Here you can see what happen.

Code:
echo 'Subject: test' | /home/webroot/usr/sbin/mini_sendmail -t -i -v technik@tld.de
<<<< 220 mail.tld.de ESMTP
>>>> HELO gutsy32
<<<< 250 mail.tld.de
>>>> MAIL FROM:<root@gutsy32>
<<<< 550 5.1.8 sorry, can't find a valid MX for sender domain (chkuser)
/home/webroot/usr/sbin/mini_sendmail: unexpected response 550 to MAIL FROM command
Reply With Quote