Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian Linux

2004-04-27 Thread Andrei Boyanov
Qsin wrote:
- Original Message - 
From: Andrei Boyanov 
To: [EMAIL PROTECTED]
Sent: Monday, April 26, 2004 6:40 PM
Subject: Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian
Linux

 

   ?   ,  Connectin refused  
   ?
  ,   iptables.   
firewall-   .
   .

   


 ,   amavis .
amavis1030  0.0  4.0 12212 10240 ?   S19:15   0:00
/usr/bin/perl -T /usr/sbin/amavisd
root  1036  0.0  0.6  3736 1696 pts/3R19:20   0:00 ps auxwww
[EMAIL PROTECTED]:~# telnet 127.0.0.1 10024
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
 

  
#lsof -i | grep amavis
   (   ) .


[EMAIL PROTECTED]:~#
 

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html

 


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian Linux

2004-04-27 Thread Nickola Kolev
,

   ,   ?

On Mon, 26 Apr 2004 17:18:57 +0300
Qsin [EMAIL PROTECTED] wrote:

[  ]
 : 
 : 221 Bye
 : Connection closed by foreign host.
 : =
 :,  , iptables. 
 :  ,
 :   :

-,. :)
iptables, .,
  amavisd  debug? .

 : Apr 26 16:22:47 router postfix/smtp[866]: connect to 127.0.0.1[127.0.0.1]:
 : Connection refused (port 10024)
 : Apr 26 16:22:47 router postfix/bounce[867]: warning: dict_open_dlinfo:
 : wildcard dynamic map entry no longer supported.

:

http://archives.neohapsis.com/archives/postfix/2003-05/0003.html

 : Apr 26 16:22:47 router postfix/smtp[866]: 8748ED3A:
 : to=[EMAIL PROTECTED], relay=none, delay=1940, status=deferred (connect
 : to 127.0.0.1[127.0.0.1]: Connection refused)
 : 
 : .
 : 
 :  /var/lib/iptables/active  :
 : 
 : [0:0] -A INPUT -d 127.0.0.0/255.0.0.0 -j LREJECT
 : 
 :,.  
 : .
 : 
 :  


To err is human, but to screw up totally requires me!

Cheers,
Nickola Kolev

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian Linux

2004-04-27 Thread Qsin

- Original Message - 
From: Andrei Boyanov 
To: [EMAIL PROTECTED]
Sent: Tuesday, April 27, 2004 9:46 AM
Subject: Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian
Linux


   

 #lsof -i | grep amavis

(   
 ) .

 

.
 .

amavis   
 .
  ,  :

Apr 27 10:48:45 router postfix/cleanup[15366]: warning: BF14A911: skipping
further client input
Apr 27 10:48:45 router postfix/smtpd[15371]: disconnect from
localhost[127.0.0.1]
Apr 27 10:48:45 router amavis[15375]: (15375-05) mail_via_smtp: 554 5.6.0
Failed, id=15375-05, from MTA: 554 Error: too many hops
Apr 27 10:48:45 router amavis[15375]: (15375-05) Not-Delivered,
[EMAIL PROTECTED] - [EMAIL PROTECTED], Message-ID:
[EMAIL PROTECTED], Hits: -
Apr 27 10:48:45 router postfix/bounce[15381]: warning: dict_open_dlinfo:
wildcard dynamic map entry no longer supported.
Apr 27 10:48:45 router postfix/smtp[15368]: 8DDA6983:
to=[EMAIL PROTECTED], relay=127.0.0.1[127.0.0.1], delay=0,
status=bounced (host 127.0.0.1[127.0.0.1] said: 554 5.6.0 Failed,
id=15375-05, from MTA: 554 Error: too many hops (in reply to end of DATA
command))

   20.
 , 
  master.cf
   content_filter.

 maildrop:

Apr 27 11:13:13 router postfix/local[15612]: 6044FA80:
to=[EMAIL PROTECTED], relay=local, delay=0, status=deferred (temporary
failure. Command output: /etc/courier/maildroprc(6): Missing ) )

:
[EMAIL PROTECTED]:/etc/courier# ls -lat
total 72
drwxr-xr-x   77 root root 4096 Apr 27 09:57 ..
drwxr-xr-x2 root root 4096 Apr 26 14:06 .
-rw-r--r--1 root root  195 Apr 26 14:06 maildroprc
-rw---1 root root 2125 Apr 26 11:43 imapd.pem
-rw-r--r--1 root root  333 Apr 26 11:42 imapd.cnf
-rw-r--r--1 root root   49 Apr 26 10:58 maildroprc.ori
-rw---1 root root 2133 Apr 26 08:30 imapd.pem.bak
-rw-r--r--1 root root 2692 Apr  6 15:41 authdaemonrc
-rw-r--r--1 root root12489 Apr  6 15:41 imapd
-rw-r--r--1 root root 5993 Apr  6 15:41 imapd-ssl
-rw-r--r--1 root root 3673 Apr  6 15:41 pop3d
-rw-r--r--1 root root   18 Apr  6 15:41 maildrop
-rw-r--r--1 root root  336 Apr  6 15:41 imapd.cnf.bak
-rw-r--r--1 root root   11 Apr  6 15:40 authmodulelist

[EMAIL PROTECTED]:/etc/courier# more maildroprc
logfile /var/log/maildrop
VERBOSE=5
log 

if ( /^X-Spam-Flag: YES/ \ )
{
log - Spam
general. 
to Maildir/.Junkmail
}

 


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian Linux

2004-04-27 Thread Qsin

- Original Message - 
From: Nickola Kolev 
To: [EMAIL PROTECTED]
Sent: Tuesday, April 27, 2004 10:16 AM
Subject: Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian
Linux


 ,

,   ?


Debian testing.


 -,. :)
 iptables, .   
,
   amavisd  debug? .

,  
amavisd-new .   . 
 iptables.


 :

 http://archives.neohapsis.com/archives/postfix/2003-05/0003.html


 ,   
.,  ,   
 ,  .

 


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian Linux

2004-04-27 Thread Andrei Boyanov
Qsin wrote:
[..]
 maildrop:
Apr 27 11:13:13 router postfix/local[15612]: 6044FA80:
to=[EMAIL PROTECTED], relay=local, delay=0, status=deferred (temporary
failure. Command output: /etc/courier/maildroprc(6): Missing ) )
:
 

,,6-
')'. 6-   ,   , :

if ( /^X-Spam-Flag: YES/ \ )

   (   '\' )


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian Linux

2004-04-27 Thread Qsin

 ,,   
  6-   
 ')'. 6-   ,   , :

 if ( /^X-Spam-Flag: YES/ \ )



(  
  '\' )

 

:






A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian Linux

2004-04-26 Thread Qsin

   
Postfix, Amavis, ClamAV  Spamassassin :
http://www.fatofthelan.com/articles/articles.php?pid=22

  :

Start amavis and check for typos. To see any error messages and debugging
info, I suggest running Amavis for the first time interactively and keep it
attached to the terminal by issuing the following comands:
# su - vscan #(or whatever username you decided to use, e.g. amavis)
$ /usr/local/sbin/amavisd debug


From another window check that it is listening on a local SMTP port 10024
(default):

-- $ telnet 127.0.0.1 10024
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.

220 [127.0.0.1] ESMTP amavisd-new service ready

-- quit

221 Bye
Connection closed by foreign host.
=
   ,  , 
iptables. 
 ,
 
 :

Apr 26 16:22:47 router postfix/smtp[866]: connect to 127.0.0.1[127.0.0.1]:
Connection refused (port 10024)
Apr 26 16:22:47 router postfix/bounce[867]: warning: dict_open_dlinfo:
wildcard dynamic map entry no longer supported.
Apr 26 16:22:47 router postfix/smtp[866]: 8748ED3A:
to=[EMAIL PROTECTED], relay=none, delay=1940, status=deferred (connect
to 127.0.0.1[127.0.0.1]: Connection refused)


.

 /var/lib/iptables/active  :

[0:0] -A INPUT -d 127.0.0.0/255.0.0.0 -j LREJECT

   ,.  

.

 


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian Linux

2004-04-26 Thread Andrei Boyanov
Qsin wrote:
   
Postfix, Amavis, ClamAV  Spamassassin :
http://www.fatofthelan.com/articles/articles.php?pid=22
[..]

=
   ,  , iptables. 
 ,
  :
 

   ?   ,  Connectin refused   
   ?

  ,   iptables.
firewall-   .

   .


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian Linux

2004-04-26 Thread Qsin

- Original Message - 
From: Andrei Boyanov 
To: [EMAIL PROTECTED]
Sent: Monday, April 26, 2004 6:40 PM
Subject: Re: lug-bg: Postfix, Amavis, ClamAV, and Spamassassin on Debian
Linux

?   ,  Connectin 
 refused  
?

   ,   iptables.

 firewall-   .

 
.

 


 ,  
 amavis .

amavis1030  0.0  4.0 12212 10240 ?   S19:15   0:00
/usr/bin/perl -T /usr/sbin/amavisd
root  1036  0.0  0.6  3736 1696 pts/3R19:20   0:00 ps auxwww
[EMAIL PROTECTED]:~# telnet 127.0.0.1 10024
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
[EMAIL PROTECTED]:~#

 


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html