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 -> Use Xmail with phpmail()

Closed TopicStart new topicStart Poll

> Use Xmail with phpmail(), A howto for Linux users (here SUSE 8.2)
hschneider
Posted: Dec 13 2003, 04:10 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



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




--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Documentation and Knowledge Base | Next Newest »

Closed TopicStart new topicStart Poll