Re: [clamsmtp-users] loop detected in transparent proxying
Brought to you by:
naten
|
From: Voy U. <vu...@gm...> - 2011-01-21 11:28:05
|
On the newer lenny box, I tried with 2 other versions of clamsmtp - downloaded 1.8-5 from debian etch archives. Everything works fine with this on debian lenny also. - downloaded 1.10-7 from lenny unstable "loop detected" error. Looks like this is a bug introduced between 1.8-5 & 1.8-6 & still exists in 1.10-7. Is there anyone else who is using clamsmtp in a similiar way & isn't facing this issue? > ----- Original Message ----- > From: Voy User > Sent: 01/21/11 03:40 PM > To: cla...@li... > Subject: [clamsmtp-users] loop detected in transparent proxying > > Hi, > I am running p3scan, clamav, clamsmtp, spamassasin on a gateway debian box (lenny). > The box itself doesn't run any mail server or smtp server. It just acts as a gateway > where virus check is done. > > My clamav version is 0.96.5 > My clamsmtp version is 1.8-6 > > I have the following iptables rule > -A PREROUTING -i ! lo -p tcp -m tcp --dport 25 -j REDIRECT --to-ports 10026 > > This is my clamsmtp.conf > ------------------------------------ > MaxConnections: 7 > Listen: 0.0.0.0:10026 > ClamAddress: /var/run/clamav/clamd.ctl > TempDirectory: /tmp/clamsmtp > PidFile: /var/run/clamsmtp/clamsmtpd.pid > Quarantine: off > TransparentProxy: on > User: clamav > ------------------------------------ > > Now when I try to send mail through SMTP from a windows box behind the gateway, > it fails & this is the stuff, I see in /var/log/mail.log > > ----------------------- > > Jan 21 15:27:42 localhost clamsmtpd: 100000: accepted connection from: <windows machine IP address> > Jan 21 15:27:42 localhost clamsmtpd: 100001: accepted connection from: <gateway box IP address> > Jan 21 15:27:42 localhost clamsmtpd: 100001: loop detected in transparent proxying > ----------------------- > > So looks like each connection from the windows client shows as 2 connections - one from the windows > box & one from the box where clamsmtp is running. > > I had a similiar setup running earlier with an older version of Debian (etch) & clamav (0.95.2) > & clamsmtp (1.8-5) & everything worked fine - there I could see only one connection in the /var/log/mail.log > > I have compared all possible settings between the two debian boxes but unable to figure out why this isn't > working. > > Can someone help? > > regards > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > clamsmtp-users mailing list > cla...@li... > https://lists.sourceforge.net/lists/listinfo/clamsmtp-users |