Mailinglist Archive: opensuse-es (1895 mails)
| < Previous | Next > |
ayuda con mailscanner + clamav.
- From: "Bayardo Rivas" <bayardo.rivas@xxxxxxxxxxxxx>
- Date: Thu, 3 Jun 2004 17:40:44 -0600
- Message-id: <005601c449c4$3339cc20$0300a8c0@BAR>
Hola amigos, tengo problema con antivirus, recien instale en mi maquina
ClamAV y el Mailscanner, pensando en que resolveria problemas de virus
pero ya llevo un dia dandole a esto y no logro resolver, poste mi
problema en la lista de Mailscanner en inglés (con lo poco que se de
english), y aqui esta lo que he recibido, si alguien tiene alguna
sugerencia.. ahi va una copia de lo que puse.... si se entiende lo que
quise decir "genial", sino ... les aclaro con gusto, con tal de recibir
alguna ayuda......
buuuaaa... y yo que luego esperaba montar tambien el spamassasin... y ya
estoy sufriendo con lo primero., pero bueno.. asi es esto.
Les agradezco desde ya sus aportes
Gracias ..
Bayardo
ULTIMO CORREO QUE RECIBI
#############################3
Bayardo Rivas wrote:
> You asked me about the quantity of sendmail.cf files i am using, I
> supposed to be using only one sendmail.cf
>
>
> And the results for netstat -lnp | grep 25 when Mailscanner is on:
>
> # netstat -lnp | grep 25
>
> tcp 0 0 127.0.0.1:25 0.0.0.0:*
> LISTEN 1555/sendmail: acce
> And the results for netstat -lnp | grep 25 when ONLY SENDMAIL is on:
>
> # netstat -lnp | grep 25
> tcp 0 0 0.0.0.0:25 0.0.0.0:*
> LISTEN 1846/sendmail: acce
There is obviously a problem with your config. When running with
MailScanner, sendmail only listens on your loopback address 127.0.0.1,
while it listens to all interfaces when started as standalone.
I don't know exactly where to look, but your sendmail gets an option at
MailScanner startup that is different from what you've got as
standalone. Maybe examine /etc/init.d/MailScanner and search for
"OAddr="
I never worked on suse, so this is really the best I can do.
Hope this helps.
ULTIMO CORREO ENVIADO POR MI
#################################################
You asked me about the quantity of sendmail.cf files i am using, I
supposed to be using only one sendmail.cf
And the results for netstat -lnp | grep 25 when Mailscanner is on:
# netstat -lnp | grep 25
tcp 0 0 192.168.0.1:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 200.85.166.76:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1555/sendmail: acce
udp 0 0 0.0.0.0:3072 0.0.0.0:* 25610/named
udp 0 0 192.168.0.1:53 0.0.0.0:* 25610/named
udp 0 0 200.85.166.76:53 0.0.0.0:* 25610/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 25610/named
udp 0 0 :::3073 :::* 25610/named
unix 2 [ ACC ] STREAM LISTENING 2588605 1555/sendmail: acce
/var/run/sendmail/control
#
And the results for netstat -lnp | grep 25 when ONLY SENDMAIL is on:
# netstat -lnp | grep 25
tcp 0 0 192.168.0.1:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 200.85.166.76:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1846/sendmail: acce
udp 0 0 0.0.0.0:3072 0.0.0.0:* 25610/named
udp 0 0 192.168.0.1:53 0.0.0.0:* 25610/named
udp 0 0 200.85.166.76:53 0.0.0.0:* 25610/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 25610/named
udp 0 0 :::3073 :::* 25610/named
#
Thanks for your help.
Bayardo Rivas.
-----Mensaje original-----
De: MailScanner mailing list [mailto:MAILSCANNER@xxxxxxxxxxxxxx] En
nombre de Ugo Bellavance Enviado el: Jueves, 03 de Junio de 2004 12:08
p.m.
Para: MAILSCANNER@xxxxxxxxxxxxxx
Asunto: Re: telnet to smtp port is refused
Bayardo Rivas wrote:
> What I saw is that when I start Mailscannner (and Sendmail) the smtp
> port is closed. And when I sart only sendmail smtp port is listening.
What is the output of
# netstat -lnp | grep 25
When MailScanner is on?
Are you using two sendmail.cf files?
seGUNDO CORREO
#####################################################################
What I saw is that when I start Mailscannner (and Sendmail) the smtp
port is closed. And when I sart only sendmail smtp port is listening.
Check this logs...
This is when Sendmail is started alone:
============================================
mailserver:~ # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 puntos.org.ni ESMTP Sendmail 8.12.6/8.12.6/SuSE Linux 0.6; Thu, 3
Jun 2004 11:49:38 +0600 ^]
telnet>
quit
221 2.0.0 puntos.org.ni closing connection
Connection closed by foreign host.
mailserver:~ # telnet mailserver.puntos.org.ni 25
Trying 200.85.166.76...
Connected to mailserver.puntos.org.ni.
Escape character is '^]'.
220 puntos.org.ni ESMTP Sendmail 8.12.6/8.12.6/SuSE Linux 0.6; Thu, 3
Jun 2004 11:49:56 +0600 ^]
telnet>
quit
221 2.0.0 puntos.org.ni closing connection
Connection closed by foreign host.
As you can see... Everything is Ok. But when I start Mailsecanner:
========================================================================
mailserver:~ # rcMailScanner start
Initializing incoming sendmail
done
Initializing outgoing sendmail
done
Initializing MailScanner
mailserver:~ # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 puntos.org.ni ESMTP Sendmail 8.12.6/8.12.6/SuSE Linux 0.6; Thu, 3
Jun 2004 1 1:50:26 +0600 ^]
telnet>
quit
221 2.0.0 puntos.org.ni closing connection
Connection closed by foreign host.
mailserver:~ # telnet mailserver.puntos.org.ni 25
Trying 200.85.166.76...
telnet: connect to address 200.85.166.76: Connection refused Trying
192.168.0.1...
telnet: connect to address 192.168.0.1: Connection refused
========================================
Thanks for any help.
Bayardo
PRIMER CORREO
##########################################################3
Hello,
I have just installed Mailscanner and ClamAV. I use Suse 8.1 as
mailserver. When I start the Mailscanner daemon it starts Sendmail
without problems, but when I try to telnet to port 25/smtp i receive a
"conection refused" message. I note that when I start sendmail alone,
smtp port is open and working ok, but when sendmail start with
Mailscanner smtp port is like closed.
Thanks for your help.
ClamAV y el Mailscanner, pensando en que resolveria problemas de virus
pero ya llevo un dia dandole a esto y no logro resolver, poste mi
problema en la lista de Mailscanner en inglés (con lo poco que se de
english), y aqui esta lo que he recibido, si alguien tiene alguna
sugerencia.. ahi va una copia de lo que puse.... si se entiende lo que
quise decir "genial", sino ... les aclaro con gusto, con tal de recibir
alguna ayuda......
buuuaaa... y yo que luego esperaba montar tambien el spamassasin... y ya
estoy sufriendo con lo primero., pero bueno.. asi es esto.
Les agradezco desde ya sus aportes
Gracias ..
Bayardo
ULTIMO CORREO QUE RECIBI
#############################3
Bayardo Rivas wrote:
> You asked me about the quantity of sendmail.cf files i am using, I
> supposed to be using only one sendmail.cf
>
>
> And the results for netstat -lnp | grep 25 when Mailscanner is on:
>
> # netstat -lnp | grep 25
>
> tcp 0 0 127.0.0.1:25 0.0.0.0:*
> LISTEN 1555/sendmail: acce
> And the results for netstat -lnp | grep 25 when ONLY SENDMAIL is on:
>
> # netstat -lnp | grep 25
> tcp 0 0 0.0.0.0:25 0.0.0.0:*
> LISTEN 1846/sendmail: acce
There is obviously a problem with your config. When running with
MailScanner, sendmail only listens on your loopback address 127.0.0.1,
while it listens to all interfaces when started as standalone.
I don't know exactly where to look, but your sendmail gets an option at
MailScanner startup that is different from what you've got as
standalone. Maybe examine /etc/init.d/MailScanner and search for
"OAddr="
I never worked on suse, so this is really the best I can do.
Hope this helps.
ULTIMO CORREO ENVIADO POR MI
#################################################
You asked me about the quantity of sendmail.cf files i am using, I
supposed to be using only one sendmail.cf
And the results for netstat -lnp | grep 25 when Mailscanner is on:
# netstat -lnp | grep 25
tcp 0 0 192.168.0.1:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 200.85.166.76:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1555/sendmail: acce
udp 0 0 0.0.0.0:3072 0.0.0.0:* 25610/named
udp 0 0 192.168.0.1:53 0.0.0.0:* 25610/named
udp 0 0 200.85.166.76:53 0.0.0.0:* 25610/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 25610/named
udp 0 0 :::3073 :::* 25610/named
unix 2 [ ACC ] STREAM LISTENING 2588605 1555/sendmail: acce
/var/run/sendmail/control
#
And the results for netstat -lnp | grep 25 when ONLY SENDMAIL is on:
# netstat -lnp | grep 25
tcp 0 0 192.168.0.1:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 200.85.166.76:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 25610/named
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1846/sendmail: acce
udp 0 0 0.0.0.0:3072 0.0.0.0:* 25610/named
udp 0 0 192.168.0.1:53 0.0.0.0:* 25610/named
udp 0 0 200.85.166.76:53 0.0.0.0:* 25610/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 25610/named
udp 0 0 :::3073 :::* 25610/named
#
Thanks for your help.
Bayardo Rivas.
-----Mensaje original-----
De: MailScanner mailing list [mailto:MAILSCANNER@xxxxxxxxxxxxxx] En
nombre de Ugo Bellavance Enviado el: Jueves, 03 de Junio de 2004 12:08
p.m.
Para: MAILSCANNER@xxxxxxxxxxxxxx
Asunto: Re: telnet to smtp port is refused
Bayardo Rivas wrote:
> What I saw is that when I start Mailscannner (and Sendmail) the smtp
> port is closed. And when I sart only sendmail smtp port is listening.
What is the output of
# netstat -lnp | grep 25
When MailScanner is on?
Are you using two sendmail.cf files?
seGUNDO CORREO
#####################################################################
What I saw is that when I start Mailscannner (and Sendmail) the smtp
port is closed. And when I sart only sendmail smtp port is listening.
Check this logs...
This is when Sendmail is started alone:
============================================
mailserver:~ # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 puntos.org.ni ESMTP Sendmail 8.12.6/8.12.6/SuSE Linux 0.6; Thu, 3
Jun 2004 11:49:38 +0600 ^]
telnet>
quit
221 2.0.0 puntos.org.ni closing connection
Connection closed by foreign host.
mailserver:~ # telnet mailserver.puntos.org.ni 25
Trying 200.85.166.76...
Connected to mailserver.puntos.org.ni.
Escape character is '^]'.
220 puntos.org.ni ESMTP Sendmail 8.12.6/8.12.6/SuSE Linux 0.6; Thu, 3
Jun 2004 11:49:56 +0600 ^]
telnet>
quit
221 2.0.0 puntos.org.ni closing connection
Connection closed by foreign host.
As you can see... Everything is Ok. But when I start Mailsecanner:
========================================================================
mailserver:~ # rcMailScanner start
Initializing incoming sendmail
done
Initializing outgoing sendmail
done
Initializing MailScanner
mailserver:~ # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 puntos.org.ni ESMTP Sendmail 8.12.6/8.12.6/SuSE Linux 0.6; Thu, 3
Jun 2004 1 1:50:26 +0600 ^]
telnet>
quit
221 2.0.0 puntos.org.ni closing connection
Connection closed by foreign host.
mailserver:~ # telnet mailserver.puntos.org.ni 25
Trying 200.85.166.76...
telnet: connect to address 200.85.166.76: Connection refused Trying
192.168.0.1...
telnet: connect to address 192.168.0.1: Connection refused
========================================
Thanks for any help.
Bayardo
PRIMER CORREO
##########################################################3
Hello,
I have just installed Mailscanner and ClamAV. I use Suse 8.1 as
mailserver. When I start the Mailscanner daemon it starts Sendmail
without problems, but when I try to telnet to port 25/smtp i receive a
"conection refused" message. I note that when I start sendmail alone,
smtp port is open and working ok, but when sendmail start with
Mailscanner smtp port is like closed.
Thanks for your help.
| < Previous | Next > |