On 10/27/2010 12:57 PM, Hiisi wrote:
ke, 2010-10-27 kello 08:44 +0800, Ed Greshko kirjoitti:
> On 10/27/2010 08:37 AM, Tim wrote:
>> Will that machine be accessible from outside your LAN? If so, you need
>> to take anti-spam steps.
> Since the OP mentioned the IP address to be 192.168.3.30 I didn't see
> the need to bring all that up.
>
>
Thank you, guys! I understand now where's the problem. I tried the
following changes in /etc/mail/sendmail.mc:
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.3.30, Name=MTA')dnl
and
DAEMON_OPTIONS(`Port=smtp,Name=MTA')dnl
And restarted sendmail after that. Neither of it seems to be working.
Now there's no Addr in sendmail.mc and I've got from netstat command:
tcp 0 0 127.0.0.1:25 0.0.0.0:*
LISTEN 7151/sendmail: acce
So, how can I force it to listen to something like 192.168.3.30:25?
By the way, as this machine is sitting behind the router is it possible
at all to access it by e-mail from the outside world?
Do you have the sendmail-cf package installed? It isn't installed by
default and it is necessary to have it installed in order to remake the
sendmail.cf. That detail is covered in the sendmail.mc file at the top....
--
Fine day for friends. So-so day for you. 葛斯克 愛德華 / 台北市八德路四段