Thank you Davide!
I add 'export' to MAIL_ROOT=... and set suid root to sendmail.
Now all works fine.

--
Ruslan

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Davide Libenzi
> Sent: Wednesday, September 22, 2004 7:01 PM
> To: [EMAIL PROTECTED]
> Subject: [xmail] Re: sendmail & cron problems
> 
> 
> On Wed, 22 Sep 2004, [koi8-r] =EF=C8=C9=D4=C9=CE 
> =F2=D5=D3=CC=C1=CE wrote:
> 
> > Hello!
> >=20
> > I nave a cron script that uses xmail's sendmail to
> >  send me some info.
> >=20
> > When I start this script from shell all works fine=20
> > but when it started by cron - it sends nothing.
> >=20
> > Setting MAIL_ROOT=3D/path/to/xmail/root in script don't help.
> 
> You need an:
> 
> export MAIL_ROOT=3D/path/to/xmail/root
> 
> inside your script, since a simple:
> 
> MAIL_ROOT=3D/path/to/xmail/root
> 
> won't work. It can also be a permission problem. Is XMail's 
> sendmail suid= =20 root?
> 
> 
> 
> - Davide
> 
> -
> 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]

Reply via email to