RE: [exim] SMTP forwards with EXIM

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Rob Stead
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: RE: [exim] SMTP forwards with EXIM

Hi Andy,

Try this:

mv /usr/sbin/sendmail /usr/sbin/sendmail.orginal
(moves sendmail just in case)

ln -s /path/to/exim /usr/sbin/sendmail
(creates a symbolic link to Exim)

Then assuming Exim is working all you need to do (I hope) is edit the Exim
config file (usually /etc/exim/configure) and change:

host_accept_relay = 192.168.0.0/16

where the IP is the IP of your Windows box.

Hope it works.

Rob


-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
Behalf Of Andrew Osborn
Sent: 06 February 2005 20:18
To: exim-users@???
Subject: [exim] SMTP forwards with EXIM

I need exim to have PHPNuke send out activation/registration e-mails.
I have SMTP installed on a Windows 2003 box, which acts as my
router/firewall as well. Was thinking I could use that to forward out the
emails, very small quantity. Maybe 1 or 2 a day. Or if the exim/debian box
can do it that'll work too.

I have debian woody installed as my webserver. Apache is of course the
webserver.

All I did was do apt-get install exim and it installed it. I did the base
configuration of saying I just want to send out e-mails. It only asked like
4 questions. It then seemed all good. I have some php scripts I use to test
it and it isn't working. They use the mail() function.

I heard about needing to make a symlink to sendmail...or was it just for
exim. But that was if I was doing the binaries, which I decided just to go
the apt-get route.

I didn' tdo any other configuring of exim or anything else. In my php.ini
file I have only the sendmail_path = /usr/sbin/sendmail.

What do I need to do with exim to get this to work? I am a linux noob as you
can tell. I don't even know if exim is started or working.



-
Andy Osborn
920-319-6032

--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##