Re, yes i have:
#!/bin/sh if [ -z $MAIL_ROOT ]; then export MAIL_ROOT=/var/MailRoot export DEFAULT_DOMAIN=testdomint.com fi /usr/sbin/sendmail.xmail $* And its sending wil empty From: :( So i dont know how to resolve it, but i need to send From: bcuz some email server doesnt allow null from :( thks again ----- Original Message ----- From: "Sönke Ruempler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2003 1:40 PM Subject: [xmail] Re: Local Users and cron probs - Pls help > > > and i send email using mail command in lunux and its sending without from > :( > > There is no From: but there should be Return-Path: in the mail header. that > is the real MAIL_FROM and only about that the MTAs care. > > did you add the export line to your sendmail script like i wrote? > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]