Re: [vchkpw] 451 mail server temporarily rejected message (#4.3.0)

2004-12-09 Thread Agust?n Ciciliani
Hi,

As I said, I'm just telling how my installation of simscan goes...

I installed simscan with ripmime and now everything is working.
Does anybody know why it fails when you configure it with --disable-ripmime?

Now the permissions problem. Everything that is created in the "working 
directory" is
owned by qmaild:nogroup, so as said in the docs the only way to make clam scan 
those files
is running it as root.

Now the second question: I've test that if you run clam as qmaid it can scan 
the files in
the working directory, but I don't know if I'm just making a security hole in 
my box for
doing so...
Is it secure to run clam as qmaild?

Well Kareem I hope all this help with your installation.

Regards,

Agust?n



- Original Message - 
From: "Agust?n Ciciliani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 2004 2:52 PM
Subject: Re: [vchkpw] 451 mail server temporarily rejected message (#4.3.0)


> Dear Alastair,
>
> Thank you very much for your help!
>
> I tried SIMSCAN_DEBUG=2 in my qmail init script and the logs said the lines 
> I'm sending
> below.
> When I installed simscan I used --disable-ripmime because clamav can scan 
> mail messages,
> but It seems that I must install ripmime anyway???
> I'll test simscan with ripmime and after that I'll post another message 
> telling how
> everything goes.
>
> Best regards,
>
> Agust?n
>
> Dec  8 13:08:14 maria qmail: 1102522094.00 simscan: pelookup: called with
> [EMAIL PROTECTED]
> Dec  8 13:08:14 maria qmail: 1102522094.088906 simscan: pelookup: domain is
> maderonet.net.ar
> Dec  8 13:08:14 maria qmail: 1102522094.088919 simscan: cdb looking up 
> maderonet.net.ar
> Dec  8 13:08:14 maria qmail: 1102522094.088931 simscan: pelookup: local part 
> is agustin
> Dec  8 13:08:14 maria qmail: 1102522094.088944 simscan: cdb looking up
> [EMAIL PROTECTED]
> Dec  8 13:08:14 maria qmail: 1102522094.088957 simscan: pelookup: called with
> [EMAIL PROTECTED]
> Dec  8 13:08:14 maria qmail: 1102522094.088969 simscan: pelookup: domain is
> maderonet.net.ar
> Dec  8 13:08:14 maria qmail: 1102522094.088982 simscan: cdb looking up 
> maderonet.net.ar
> Dec  8 13:08:14 maria qmail: 1102522094.088994 simscan: pelookup: local part 
> is agustin
> Dec  8 13:08:14 maria qmail: 1102522094.089007 simscan: cdb looking up
> [EMAIL PROTECTED]
> Dec  8 13:08:14 maria qmail: 1102522094.089676 simscan: ripmime error
> Dec  8 13:08:14 maria qmail: 1102522094.089699 simscan: exit error code: 71
> Dec  8 13:08:14 maria qmail: 1102522094.089838 1036 > 451 mail server 
> temporarily
rejected
> message (#4.3.0)?
>
>
>
> - Original Message - 
> From: "Alastair Battrick" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 08, 2004 11:46 AM
> Subject: Re: [vchkpw] 451 mail server temporarily rejected message (#4.3.0)
>
>
> > Agust?n Ciciliani wrote:
> > > I think it isn't the spamassassin because I've tried simscan without it 
> > > (as it
> recommends
> > > in http://qmailwiki.inter7.com/index.php?title=Simscan/Guide for the 
> > > first try) but
I
> got
> > > the same error...
> >
> > Agustn
> >
> > Did you try using SIMSCAN_DEBUG=2 ?
> >
> > Make your SMTPd startup file to be something like this:
> > ---
> > #!/bin/sh
> >
> > SIMSCAN_DEBUG=2
> > export SIMSCAN_DEBUG
> >
> > QMAILQUEUE="/var/qmail/bin/simscan"
> > export QMAILQUEUE
> >
> > QMAILDUID=`id -u vpopmail`
> > NOFILESGID=`id -g vpopmail`
> > MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> > LOCAL=`head -1 /var/qmail/control/me`
> >
> > exec /usr/local/bin/softlimit -m 20971520 \
> >  /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
> > /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> >  -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
> > /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/tru
> > e 2>&1
> > ---
> >
> > Then restart qmail-smtpd and look in the qmail-smtpd log, or maybe the
> > maillog, one or the other
> > -- 
> > Cheers
> > Alastair Battrick
> > www.battrick.org
> >
> >
>
>
>



Re: [vchkpw] 451 mail server temporarily rejected message (#4.3.0)

2004-12-08 Thread Agust?n Ciciliani
Dear Alastair,

Thank you very much for your help!

I tried SIMSCAN_DEBUG=2 in my qmail init script and the logs said the lines I'm 
sending
below.
When I installed simscan I used --disable-ripmime because clamav can scan mail 
messages,
but It seems that I must install ripmime anyway???
I'll test simscan with ripmime and after that I'll post another message telling 
how
everything goes.

Best regards,

Agust?n

Dec  8 13:08:14 maria qmail: 1102522094.00 simscan: pelookup: called with
[EMAIL PROTECTED]
Dec  8 13:08:14 maria qmail: 1102522094.088906 simscan: pelookup: domain is
maderonet.net.ar
Dec  8 13:08:14 maria qmail: 1102522094.088919 simscan: cdb looking up 
maderonet.net.ar
Dec  8 13:08:14 maria qmail: 1102522094.088931 simscan: pelookup: local part is 
agustin
Dec  8 13:08:14 maria qmail: 1102522094.088944 simscan: cdb looking up
[EMAIL PROTECTED]
Dec  8 13:08:14 maria qmail: 1102522094.088957 simscan: pelookup: called with
[EMAIL PROTECTED]
Dec  8 13:08:14 maria qmail: 1102522094.088969 simscan: pelookup: domain is
maderonet.net.ar
Dec  8 13:08:14 maria qmail: 1102522094.088982 simscan: cdb looking up 
maderonet.net.ar
Dec  8 13:08:14 maria qmail: 1102522094.088994 simscan: pelookup: local part is 
agustin
Dec  8 13:08:14 maria qmail: 1102522094.089007 simscan: cdb looking up
[EMAIL PROTECTED]
Dec  8 13:08:14 maria qmail: 1102522094.089676 simscan: ripmime error
Dec  8 13:08:14 maria qmail: 1102522094.089699 simscan: exit error code: 71
Dec  8 13:08:14 maria qmail: 1102522094.089838 1036 > 451 mail server 
temporarily rejected
message (#4.3.0)?



- Original Message - 
From: "Alastair Battrick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 2004 11:46 AM
Subject: Re: [vchkpw] 451 mail server temporarily rejected message (#4.3.0)


> Agust?n Ciciliani wrote:
> > I think it isn't the spamassassin because I've tried simscan without it (as 
> > it
recommends
> > in http://qmailwiki.inter7.com/index.php?title=Simscan/Guide for the first 
> > try) but I
got
> > the same error...
>
> Agustn
>
> Did you try using SIMSCAN_DEBUG=2 ?
>
> Make your SMTPd startup file to be something like this:
> ---
> #!/bin/sh
>
> SIMSCAN_DEBUG=2
> export SIMSCAN_DEBUG
>
> QMAILQUEUE="/var/qmail/bin/simscan"
> export QMAILQUEUE
>
> QMAILDUID=`id -u vpopmail`
> NOFILESGID=`id -g vpopmail`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> LOCAL=`head -1 /var/qmail/control/me`
>
> exec /usr/local/bin/softlimit -m 20971520 \
>  /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
> /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
>  -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
> /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/tru
> e 2>&1
> ---
>
> Then restart qmail-smtpd and look in the qmail-smtpd log, or maybe the
> maillog, one or the other
> -- 
> Cheers
> Alastair Battrick
> www.battrick.org
>
>



Re: [vchkpw] 451 mail server temporarily rejected message (#4.3.0)

2004-12-08 Thread Alastair Battrick
Agust?n Ciciliani wrote:
I think it isn't the spamassassin because I've tried simscan without it (as it 
recommends
in http://qmailwiki.inter7.com/index.php?title=Simscan/Guide for the first try) 
but I got
the same error...
Agustn
Did you try using SIMSCAN_DEBUG=2 ?
Make your SMTPd startup file to be something like this:
---
#!/bin/sh
SIMSCAN_DEBUG=2
export SIMSCAN_DEBUG
QMAILQUEUE="/var/qmail/bin/simscan"
export QMAILQUEUE
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
exec /usr/local/bin/softlimit -m 20971520 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x 
/home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp 
/var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/tru
e 2>&1
---

Then restart qmail-smtpd and look in the qmail-smtpd log, or maybe the 
maillog, one or the other
--
Cheers
Alastair Battrick
www.battrick.org


Re: [vchkpw] 451 mail server temporarily rejected message (#4.3.0)

2004-12-08 Thread Agust?n Ciciliani
Dear Kareem,

Thanks for your answer!

I think it isn't the spamassassin because I've tried simscan without it (as it 
recommends
in http://qmailwiki.inter7.com/index.php?title=Simscan/Guide for the first try) 
but I got
the same error...

If I find the solution, I'll gladly tell you about it...

Agust?n


- Original Message - 
From: "Kareem Mahgoub" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 2004 10:44 AM
Subject: Re: [vchkpw] 451 mail server temporarily rejected message (#4.3.0)


> Hi there,
> According to the author ( I have read somewhere), that this error due to
> unexpected exit code of Spamassassin which is not understood by simscan.
> I am not sure though.
> If you were able to find a solution please tell me about it.
> Best Regards,
> Kareem Mahgoub
> - Original Message - 
> From: "Agustيn Ciciliani" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 08, 2004 2:21 PM
> Subject: [vchkpw] 451 mail server temporarily rejected message (#4.3.0)
>
>
> > Hi,
> >
> > First of all I apologise for posting a question that has been already
> discussed, but I
> > can't find any clues there to solve the problem.
> > As I could see it is a permissions issue...???
> > http://www.mail-archive.com/vchkpw@inter7.com/msg19534.html
> > http://www.mail-archive.com/vchkpw@inter7.com/msg19681.html
> >
> > I've installed simscan following step by step the README in
> > http://www.inter7.com/simscan/README
> >
> > Everything looks to be alright, but when anybody tries to send an e-mail
> to my box it
> > anwers:
> > 451 mail server temporarily rejected message (#4.3.0). As an example:
> >
> > mail from: [EMAIL PROTECTED]
> > 250 ok
> > rcpt to: [EMAIL PROTECTED]
> > 250 ok
> > data
> > 354 go ahead
> > test
> > .
> > 451 mail server temporarily rejected message (#4.3.0)
> >
> >
> > If I erase the ,QMAILQUEUE="/var/qmail/bin/simscan" in my tcp.smtp
> everything works fine
> > (just to discard a qmail problem).
> >
> > I'll appreciate any comment. Thanks in advance. Sincerely,
> >
> > Agustيn
> >
> >
>
>
>



Re: [vchkpw] 451 mail server temporarily rejected message (#4.3.0)

2004-12-08 Thread Kareem Mahgoub
Hi there,
According to the author ( I have read somewhere), that this error due to
unexpected exit code of Spamassassin which is not understood by simscan.
I am not sure though.
If you were able to find a solution please tell me about it.
Best Regards,
Kareem Mahgoub
- Original Message - 
From: "Agustيn Ciciliani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 2004 2:21 PM
Subject: [vchkpw] 451 mail server temporarily rejected message (#4.3.0)


> Hi,
>
> First of all I apologise for posting a question that has been already
discussed, but I
> can't find any clues there to solve the problem.
> As I could see it is a permissions issue...???
> http://www.mail-archive.com/vchkpw@inter7.com/msg19534.html
> http://www.mail-archive.com/vchkpw@inter7.com/msg19681.html
>
> I've installed simscan following step by step the README in
> http://www.inter7.com/simscan/README
>
> Everything looks to be alright, but when anybody tries to send an e-mail
to my box it
> anwers:
> 451 mail server temporarily rejected message (#4.3.0). As an example:
>
> mail from: [EMAIL PROTECTED]
> 250 ok
> rcpt to: [EMAIL PROTECTED]
> 250 ok
> data
> 354 go ahead
> test
> .
> 451 mail server temporarily rejected message (#4.3.0)
>
>
> If I erase the ,QMAILQUEUE="/var/qmail/bin/simscan" in my tcp.smtp
everything works fine
> (just to discard a qmail problem).
>
> I'll appreciate any comment. Thanks in advance. Sincerely,
>
> Agustيn
>
>



[vchkpw] 451 mail server temporarily rejected message (#4.3.0)

2004-12-08 Thread Agustín Ciciliani
Hi,

First of all I apologise for posting a question that has been already 
discussed, but I
can't find any clues there to solve the problem.
As I could see it is a permissions issue...???
http://www.mail-archive.com/vchkpw@inter7.com/msg19534.html
http://www.mail-archive.com/vchkpw@inter7.com/msg19681.html

I've installed simscan following step by step the README in
http://www.inter7.com/simscan/README

Everything looks to be alright, but when anybody tries to send an e-mail to my 
box it
anwers:
451 mail server temporarily rejected message (#4.3.0). As an example:

mail from: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
250 ok
data
354 go ahead
test
.
451 mail server temporarily rejected message (#4.3.0)


If I erase the ,QMAILQUEUE="/var/qmail/bin/simscan" in my tcp.smtp everything 
works fine
(just to discard a qmail problem).

I'll appreciate any comment. Thanks in advance. Sincerely,

Agustín