RE: [exim] SMTP forwards with EXIM

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Rob Stead
Dátum:  
Címzett: exim-users
Tárgy: RE: [exim] SMTP forwards with EXIM

Andy,

/usr/sbin/exim looks good. Try testing it using:

    /usr/sbin/exim -bV


It should confirm the version number.

I'm sure 192.168.0.1 will work fine; I just copied my example conf file.

You do need to restart Exim for the config changes to work and to do this
try:

    Create a file called /usr/local/bin/hupexim
    Add this to the above file:
        #!/usr/local/bin/bash
        kill -HUP $(cat /path/to/exim-daemon.pid)
    Then chmod a+x /usr/local/bin/hupexim


Now you only need to type hupexim to restart Exim.

I think you change the SMTP port by editing /etc/services (but I haven't
done this myself).

Hope the above helps.

Rob

---------------------------------------------------------------
Rob Stead


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

I don't know which exim is the correct exim, i do a find and it comes up
with about 10. I did the /usr/sbin/exim one, looked like the best candidate.

I replaced this in my exim.conf file:

host_accept_relay = 127.0.0.1 : ::::1

with

host_accept_relay = 192.168.0.1/16.

Why the 16?
My windows box is 192.168.0.1

After the conf change do I need to restart anything?

Appears it didn't change anything. Where do I specify the port number and
such? I changed STMP from 25 to another port for security.

Thanks for the responce.


> On Sun, 6 Feb 2005 21:02:06 -0000, Rob Stead <admin@???> wrote:
> >
> > 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/ ##
> >
> > --
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users
> > Exim details at http://www.exim.org/ ##
> >
>
> --
> Andy Osborn
> 920-319-6032
>



--
Andy Osborn
920-319-6032

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