Hi all. Thank you very much. Everything works correctly. To comment that in the last line of the file sendmail.sh > /usr/bin/sendmail.xmail $* I wrote this way it: > /usr/sbin/sendmail.xmail $* since the whole work was carried out in /usr/sbin. A question. Why that of the file sendmail.sh it is not suitable in the manual? I repeat again, thank you very much.
Un saludo, Roberto ----- Original Message ----- From: "Davide Libenzi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 02, 2002 12:22 AM Subject: [xmail] Re: XMail + PHP > > On Fri, 31 May 2002, Peter Lindeman wrote: > > > > > On Fri, 31 May 2002 18:52:12 +0200, Roberto Sand=FAa wrote: > > > > >I have make the symbolic link and I have modified php.ini. > > >Anything, continues without working. > > >Also, I have proven to send mail with > > >#sendmail -f <email> > > >and it returns me the following message: > > >cannot find variable environment: MAIL_ROOT > > >I believe that this variable has been created with the beginning script= > > .. No? > > >I am lost. > > > > I guess you don't have the file sendmail.sh With this file you can run > > the sendmail of XMail and when the MAIL_ROOT environment setting isn't > > set it does that for you. You can find the sendmail.sh in the > > distribution of XMail. You have to make the symlink to sendmail.sh and > > not to sendmail > > my suggestion is : > > 1) edit sendmail.sh to ( if your MAIL_ROOT is different, edit the file ) : > > ---------------------------------------------------- > #!/bin/sh > > > if [ -z $MAIL_ROOT ]; then > export MAIL_ROOT=/var/MailRoot > fi > > > /usr/bin/sendmail.xmail $* > > ---------------------------------------------------- > > 2) copy : > > # mv /usr/sbin/sendmail /usr/sbin/sendmail.orig > # cp sendmail.sh /usr/sbin/sendmail > # cp sendmail /usr/sbin/sendmail.xmail > # chmod +s /usr/sbin/sendmail.xmail > > > > - 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]