Am Sam, 2003-12-13 um 14.07 schrieb Jesko Maegle:
> Hi.
> Can anyone tell me, how I can make xmail work with php(.ini) I (think) I've
> installed everything correctly (on a suse 8.2 machine). Xmail works just fine. But
> if I want to mail via php it don't work.
>
> I just don't know what to do ...
>
at my suse8.2 box i did no modification at php.ini - just take a look to
your /usr/sbin/sendmail
i suggest, if you start from default susi8.2:
cp /usr/sbin/sendmail /usr/sbin/sendmail.postfix
cp /var/MailRoot/bin/sendmail /usr/sbin/sendmail.xmail
rm /usr/sbin/sendmail
vi /usr/sbin/sendmail.sh
-----------------------------------------
#!/bin/sh
if [ -z $MAIL_ROOT ]; then
export MAIL_ROOT=/var/MailRoot
export DEFAULT_DOMAIN=maegle.de
fi
/usr/sbin/sendmail.xmail $*
------------------------------------------
ln -s /usr/sbin/sendmail.sh /usr/sbin/sendmail
chmod a+s /usr/sbin/sendmail.xmail
and for beeing sure postfix wont come back after a reboot:
chmod 400 /etc/init.d/postfix
that should have been all - for testing you could do this:
su wwwrun
mail [EMAIL PROTECTED]
Test
2
3
4
..
and take a look if it works...
- achim
-
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]