This is a discussion on Minisendmail chroot within the Web servers forums, part of the Mastering Servers category; Hi i cant send an email with minisendmail, i always get this error: Code: /usr/sbin/sendmail: unexpected response 550 to MAIL ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hi
i cant send an email with minisendmail, i always get this error: Code:
/usr/sbin/sendmail: unexpected response 550 to MAIL FROM command Code:
@40000000478f3b2a0a1886ac CHKUSER rejected sender: from <root@gutsy32::> remote <gutsy32:unknown:127.0.0.1> rcpt <> : invalid sender MX domain Code:
sendmail_path = /usr/sbin/sendmail -t -i Code:
mail.force_extra_parameters = "-r tld.de" *** Edit From console this works Code:
echo 'Subject: test' | /home/webroot/sbin/sendmail -ftld.de -smail.tld.de -v tld.de Code:
sendmail_path = /usr/sbin/sendmail -t -i -ftld.de -smail.tld.de Last edited by get.the.MaX; 01-17-2008 at 06:44 PM. |
| Sponsored Links | ||
|
|
|
|||
|
Try calling mini_sendmail as /usr/sbin/sendmail -t
Can you trace call using strace in jail? It will provide you more info.
__________________
Raj Linux rulz. I have never turned back in my life ; I shall not do so today.. haha |
|
|||
|
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 Here is the php testscript Code:
<?php
mail("admin@tld.de", "PHP Test mail", "Hope this works!" , "technik@tld.de"); ?>
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 |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| lighty: mysql issue when chroot enabled | TECK | Web servers | 11 | 11-24-2007 11:06 AM |
| How t o configure vsftpd to chroot virtual users | rockdalinux | Getting started tutorials | 0 | 06-19-2007 05:47 PM |