[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sendmsil Q
- To: Alon Barzilai <alon(at-nospam)skyline.co.il>
- Subject: Re: sendmsil Q
- From: "Nadav Har'El" <nyh(at-nospam)math.technion.ac.il>
- Date: Thu, 5 Jul 2001 15:58:36 +0300
- Cc: "linux-il(at-nospam)cs.huji.ac.il" <linux-il(at-nospam)cs.huji.ac.il>
- Hebrew-Date: 14 Tammuz 5761
- In-Reply-To: <3B446F8C.C0EA87FF@skyline.co.il>; from alon@skyline.co.il on Thu, Jul 05, 2001 at 03:45:48PM +0200
- References: <3B446F8C.C0EA87FF@skyline.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.2i
On Thu, Jul 05, 2001, Alon Barzilai wrote about "sendmsil Q":
>
> is there a method to configure sendmail in a way,
> that on one address/port it will have one set of relaying rules,
> and on another address/port it will have another ?
>..
> how can I configure sendmail to do that ?
> or alternatively, is there a way to run 2 sendmails on the same machine
> ?
> I have sendmail 8.11.2 on RH 7.1.
I don't know how to get one sendmail to exhibit two different behaviors
at the same time (may somebody else knows), but to get sendmail to listen
only to one IP address (so that another sendmail process running can listen
to the other IP address - of course, you'll need them to read seperate
config files, and most likely different queue directories... this might
get complicated...), put in
/etc/mail/sendmail.mc
A line like
DAEMON_OPTIONS(`Port=smtp,Addr=1.2.3.4, Name=MTA')
(1.2.3.4 is the address you want to listen on). If such line already appeared
there, remove it first.
Then run m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
and restart sendmail.
--
Nadav Har'El | Thursday, Jul 5 2001, 14 Tammuz 5761
nyh@math.technion.ac.il |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |The two most common elements in the
http://nadav.harel.org.il |universe are hydrogen and stupidity.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il