XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Documentation and Knowledge Base > Use Xmail with phpmail()


Posted by: hschneider Dec 13 2003, 04:10 PM
QUOTE

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 me@example.com
Test
2
3
4
..
and take a look if it works...

- achim



Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)