Re: [qmailtoaster] Qq soft reject issue

2021-09-13 Thread Remo
Let me ask it’s pretty annoying crazy sh??? Thanks 

> Il giorno 13 set 2021, alle ore 16:35, Eric Broch  
> ha scritto:
> 
> Hi Remo,
> 
> I've been looking at the email you sent and it seems dspam is choking on the 
> attachments which are not broken into multiple lines but are one very long 
> line each.
> 
> I'd be interested to know which email client the sender used to create his 
> email with attachments.
> 
> Eric
> 
>> On 9/6/2021 4:13 PM, Remo Mattei wrote:
>> Hello guys, I tried to add a domain on the whitelist but still gets trapped, 
>> any suggestions?
>> 
>> rg:u...@domain.com
>> @4000613691b30502054 simscan:[824782]: prepare for rspamc: 
>> spam.msg.1630966182.722175.824783
>> @4000613691b305020544 simscan:[824782]: check_rspam will now read 
>> spam.msg.1630966182.722175.824783 and write to 
>> rspam.msg.1630966182.722175.824783
>> @4000613691b305024b94 simscan:[824782]: calling rspamc
>> @4000613691b305024f7c simscan:[824782]: calling /usr/bin/rspamc rspamc, 
>> --mime,
>> @4000613691b326044eb4 simscan:[824782]: rspam: SpamHits: 0.89 / 
>> 15.00 required
>> @4000613691b329efbd9c  simscan:[824782]: rspamc done
>> @4000613691b329efc184 simscan:[824782]: cdb looking up version rspam
>> @4000613691b329efc184 simscan:[824782]:CLEAN (0.89/15.00):2.9814s: 
>> Invitation-Please join for Day of 
>> Service:216.49.179.111:nore...@senderdommain.org:u...@domain.com
>> @4000613691b329efc56c simscan:[824782]: RSPAM reported message 
>> rspam.msg.1630966182.722175.824783 as being HAM
>> @4000613691b329efc954 simscan:[824782]: prepare for dspam 
>> rspam.msg.1630966182.722175.824783
>> @4000613691b329f007d4 simscan:[824782]: check_dspam will now read 
>> rspam.msg.1630966182.722175.824783 and write to 
>> dspam.msg.1630966182.722175.824783
>> @4000613691b329f007d4 simscan:[824782]: calling dspam
>> @4000613691b329f00bbc simscan:[824782]: calling /usr/bin/dspamc  
>> /usr/bin/dspamc —user u...@domain.com --deliver=innocent,spam,stdout
>> @4000613691b4025f894c simscan:[824782]: dspam (check_dspam) reading 
>> header line: 0, check dspam.conf perms
>> @4000613691b4025f911c simscan:[824782]: Dspam finished
>> @4000613691b4025f911c simscan:[824782]: Dspam child did not die on signal
>> @4000613691b4025f9504 simscan:[824782]: dspam got no data from dspam
>> @4000613691b4025f9504 simscan:[824782]: check_dspam had an error ret: -1
>> @4000613691b402dc27a4 simscan:[824782]: exit error code: 71
>> @4000613691b403058194 qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)): MAILFROM: 
>> RCPTTO:u...@domain.com
>> @4000613691ba29e011e4 tcpserver: end 824776 status 0
>> @4000613691ba29e015cc tcpserver: status: 0/100
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
> 
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Qq soft reject issue

2021-09-13 Thread Eric Broch

Hi Remo,

I've been looking at the email you sent and it seems dspam is choking on 
the attachments which are not broken into multiple lines but are one 
very long line each.


I'd be interested to know which email client the sender used to create 
his email with attachments.


Eric

On 9/6/2021 4:13 PM, Remo Mattei wrote:

Hello guys, I tried to add a domain on the whitelist but still gets trapped, 
any suggestions?

rg:u...@domain.com
@4000613691b30502054 simscan:[824782]: prepare for rspamc: 
spam.msg.1630966182.722175.824783
@4000613691b305020544 simscan:[824782]: check_rspam will now read 
spam.msg.1630966182.722175.824783 and write to 
rspam.msg.1630966182.722175.824783
@4000613691b305024b94 simscan:[824782]: calling rspamc
@4000613691b305024f7c simscan:[824782]: calling /usr/bin/rspamc rspamc, 
--mime,
@4000613691b326044eb4 simscan:[824782]: rspam: SpamHits: 0.89 / 
15.00 required
@4000613691b329efbd9c  simscan:[824782]: rspamc done
@4000613691b329efc184 simscan:[824782]: cdb looking up version rspam
@4000613691b329efc184 simscan:[824782]:CLEAN (0.89/15.00):2.9814s: 
Invitation-Please join for Day of 
Service:216.49.179.111:nore...@senderdommain.org:u...@domain.com
@4000613691b329efc56c simscan:[824782]: RSPAM reported message 
rspam.msg.1630966182.722175.824783 as being HAM
@4000613691b329efc954 simscan:[824782]: prepare for dspam 
rspam.msg.1630966182.722175.824783
@4000613691b329f007d4 simscan:[824782]: check_dspam will now read 
rspam.msg.1630966182.722175.824783 and write to 
dspam.msg.1630966182.722175.824783
@4000613691b329f007d4 simscan:[824782]: calling dspam
@4000613691b329f00bbc simscan:[824782]: calling /usr/bin/dspamc  
/usr/bin/dspamc —user u...@domain.com --deliver=innocent,spam,stdout
@4000613691b4025f894c simscan:[824782]: dspam (check_dspam) reading header 
line: 0, check dspam.conf perms
@4000613691b4025f911c simscan:[824782]: Dspam finished
@4000613691b4025f911c simscan:[824782]: Dspam child did not die on signal
@4000613691b4025f9504 simscan:[824782]: dspam got no data from dspam
@4000613691b4025f9504 simscan:[824782]: check_dspam had an error ret: -1
@4000613691b402dc27a4 simscan:[824782]: exit error code: 71
@4000613691b403058194 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM: 
RCPTTO:u...@domain.com
@4000613691ba29e011e4 tcpserver: end 824776 status 0
@4000613691ba29e015cc tcpserver: status: 0/100
-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Qq soft reject issue

2021-09-07 Thread Eric Broch

my softlimit in /var/qmail/supervise/smtp/run

exec /usr/bin/softlimit -m 51200 \

...

On 9/6/2021 9:40 PM, Eric Broch wrote:

Try softlimit
On Sep 6, 2021, at 9:16 PM, Remo Mattei > wrote:


It’s on rocky Linux so latest deployment version.

Il giorno 6 set 2021, alle ore 20:15, Eric Broch
 ha scritto: Try soft limit
increase. What version of dspam?

On 9/6/2021 4:13 PM, Remo Mattei wrote: Hello guys, I
tried to add a domain on the whitelist but still gets
trapped, any suggestions? rg:u...@domain.com
@4000613691b30502054 simscan:[824782]: prepare for
rspamc: spam.msg.1630966182.722175.824783
@4000613691b305020544 simscan:[824782]: check_rspam
will now read spam.msg.1630966182.722175.824783 and write
to rspam.msg.1630966182.722175.824783
@4000613691b305024b94 simscan:[824782]: calling rspamc
@4000613691b305024f7c simscan:[824782]: calling
/usr/bin/rspamc rspamc, --mime, @4000613691b326044eb4
simscan:[824782]: rspam: SpamHits: 0.89 / 15.00
required @4000613691b329efbd9c simscan:[824782]:
rspamc done @4000613691b329efc184 simscan:[824782]:
cdb looking up version rspam @4000613691b329efc184
simscan:[824782]:CLEAN (0.89/15.00):2.9814s:
Invitation-Please join for Day of Service:216.49.179.111
:nore...@senderdommain.org:u...@domain.com
@4000613691b329efc56c simscan:[824782]: RSPAM reported
message rspam.msg.1630966182.722175.824783 as being HAM
@4000613691b329efc954 simscan:[824782]: prepare for
dspam rspam.msg.1630966182.722175.824783
@4000613691b329f007d4 simscan:[824782]: check_dspam
will now read rspam.msg.1630966182.722175.824783 and write
to dspam.msg.1630966182.722175.824783
@4000613691b329f007d4 simscan:[824782]: calling dspam
@4000613691b329f00bbc simscan:[824782]: calling
/usr/bin/dspamc /usr/bin/dspamc —user u...@domain.com
--deliver=innocent,spam,stdout @4000613691b4025f894c
simscan:[824782]: dspam (check_dspam) reading header line:
0, check dspam.conf perms @4000613691b4025f911c
simscan:[824782]: Dspam finished @4000613691b4025f911c
simscan:[824782]: Dspam child did not die on signal
@4000613691b4025f9504 simscan:[824782]: dspam got no
data from dspam @4000613691b4025f9504
simscan:[824782]: check_dspam had an error ret: -1
@4000613691b402dc27a4 simscan:[824782]: exit error
code: 71 @4000613691b403058194 qmail-smtpd: qq soft
reject (mail server temporarily rejected message
(#4.3.0)): MAILFROM:
RCPTTO:u...@domain.com @4000613691ba29e011e4
tcpserver: end 824776 status 0 @4000613691ba29e015cc
tcpserver: status: 0/100


To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com For
additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com 



To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com For additional
commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 






To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Qq soft reject issue

2021-09-06 Thread Eric Broch
Try softlimit

On Sep 6, 2021, 9:16 PM, at 9:16 PM, Remo Mattei  wrote:
>It’s on rocky Linux so latest deployment version.
>
>> Il giorno 6 set 2021, alle ore 20:15, Eric Broch
> ha scritto:
>>
>> Try soft limit increase.
>>
>> What version of dspam?
>>
>>
>>> On 9/6/2021 4:13 PM, Remo Mattei wrote:
>>> Hello guys, I tried to add a domain on the whitelist but still gets
>trapped, any suggestions?
>>>
>>> rg:u...@domain.com
>>> @4000613691b30502054 simscan:[824782]: prepare for rspamc:
>spam.msg.1630966182.722175.824783
>>> @4000613691b305020544 simscan:[824782]: check_rspam will now
>read spam.msg.1630966182.722175.824783 and write to
>rspam.msg.1630966182.722175.824783
>>> @4000613691b305024b94 simscan:[824782]: calling rspamc
>>> @4000613691b305024f7c simscan:[824782]: calling /usr/bin/rspamc
>rspamc, --mime,
>>> @4000613691b326044eb4 simscan:[824782]: rspam: SpamHits:
>0.89 / 15.00 required
>>> @4000613691b329efbd9c  simscan:[824782]: rspamc done
>>> @4000613691b329efc184 simscan:[824782]: cdb looking up version
>rspam
>>> @4000613691b329efc184 simscan:[824782]:CLEAN
>(0.89/15.00):2.9814s: Invitation-Please join for Day of
>Service:216.49.179.111:nore...@senderdommain.org:u...@domain.com
>>> @4000613691b329efc56c simscan:[824782]: RSPAM reported message
>rspam.msg.1630966182.722175.824783 as being HAM
>>> @4000613691b329efc954 simscan:[824782]: prepare for dspam
>rspam.msg.1630966182.722175.824783
>>> @4000613691b329f007d4 simscan:[824782]: check_dspam will now
>read rspam.msg.1630966182.722175.824783 and write to
>dspam.msg.1630966182.722175.824783
>>> @4000613691b329f007d4 simscan:[824782]: calling dspam
>>> @4000613691b329f00bbc simscan:[824782]: calling /usr/bin/dspamc
>/usr/bin/dspamc —user u...@domain.com --deliver=innocent,spam,stdout
>>> @4000613691b4025f894c simscan:[824782]: dspam (check_dspam)
>reading header line: 0, check dspam.conf perms
>>> @4000613691b4025f911c simscan:[824782]: Dspam finished
>>> @4000613691b4025f911c simscan:[824782]: Dspam child did not die
>on signal
>>> @4000613691b4025f9504 simscan:[824782]: dspam got no data from
>dspam
>>> @4000613691b4025f9504 simscan:[824782]: check_dspam had an error
>ret: -1
>>> @4000613691b402dc27a4 simscan:[824782]: exit error code: 71
>>> @4000613691b403058194 qmail-smtpd: qq soft reject (mail server
>temporarily rejected message (#4.3.0)):
>MAILFROM: RCPTTO:u...@domain.com
>>> @4000613691ba29e011e4 tcpserver: end 824776 status 0
>>> @4000613691ba29e015cc tcpserver: status: 0/100
>>>
>-
>>> To unsubscribe, e-mail:
>qmailtoaster-list-unsubscr...@qmailtoaster.com
>>> For additional commands, e-mail:
>qmailtoaster-list-h...@qmailtoaster.com
>>>
>>
>> -
>> To unsubscribe, e-mail:
>qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail:
>qmailtoaster-list-h...@qmailtoaster.com
>>
>
>
>-
>To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>For additional commands, e-mail:
>qmailtoaster-list-h...@qmailtoaster.com


Re: [qmailtoaster] Qq soft reject issue

2021-09-06 Thread Remo Mattei
It’s on rocky Linux so latest deployment version. 

> Il giorno 6 set 2021, alle ore 20:15, Eric Broch  ha 
> scritto:
> 
> Try soft limit increase.
> 
> What version of dspam?
> 
> 
>> On 9/6/2021 4:13 PM, Remo Mattei wrote:
>> Hello guys, I tried to add a domain on the whitelist but still gets trapped, 
>> any suggestions?
>> 
>> rg:u...@domain.com
>> @4000613691b30502054 simscan:[824782]: prepare for rspamc: 
>> spam.msg.1630966182.722175.824783
>> @4000613691b305020544 simscan:[824782]: check_rspam will now read 
>> spam.msg.1630966182.722175.824783 and write to 
>> rspam.msg.1630966182.722175.824783
>> @4000613691b305024b94 simscan:[824782]: calling rspamc
>> @4000613691b305024f7c simscan:[824782]: calling /usr/bin/rspamc rspamc, 
>> --mime,
>> @4000613691b326044eb4 simscan:[824782]: rspam: SpamHits: 0.89 / 
>> 15.00 required
>> @4000613691b329efbd9c  simscan:[824782]: rspamc done
>> @4000613691b329efc184 simscan:[824782]: cdb looking up version rspam
>> @4000613691b329efc184 simscan:[824782]:CLEAN (0.89/15.00):2.9814s: 
>> Invitation-Please join for Day of 
>> Service:216.49.179.111:nore...@senderdommain.org:u...@domain.com
>> @4000613691b329efc56c simscan:[824782]: RSPAM reported message 
>> rspam.msg.1630966182.722175.824783 as being HAM
>> @4000613691b329efc954 simscan:[824782]: prepare for dspam 
>> rspam.msg.1630966182.722175.824783
>> @4000613691b329f007d4 simscan:[824782]: check_dspam will now read 
>> rspam.msg.1630966182.722175.824783 and write to 
>> dspam.msg.1630966182.722175.824783
>> @4000613691b329f007d4 simscan:[824782]: calling dspam
>> @4000613691b329f00bbc simscan:[824782]: calling /usr/bin/dspamc  
>> /usr/bin/dspamc —user u...@domain.com --deliver=innocent,spam,stdout
>> @4000613691b4025f894c simscan:[824782]: dspam (check_dspam) reading 
>> header line: 0, check dspam.conf perms
>> @4000613691b4025f911c simscan:[824782]: Dspam finished
>> @4000613691b4025f911c simscan:[824782]: Dspam child did not die on signal
>> @4000613691b4025f9504 simscan:[824782]: dspam got no data from dspam
>> @4000613691b4025f9504 simscan:[824782]: check_dspam had an error ret: -1
>> @4000613691b402dc27a4 simscan:[824782]: exit error code: 71
>> @4000613691b403058194 qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)): MAILFROM: 
>> RCPTTO:u...@domain.com
>> @4000613691ba29e011e4 tcpserver: end 824776 status 0
>> @4000613691ba29e015cc tcpserver: status: 0/100
>> -
>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
> 
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
> 


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Qq soft reject issue

2021-09-06 Thread Eric Broch

Try soft limit increase.

What version of dspam?


On 9/6/2021 4:13 PM, Remo Mattei wrote:

Hello guys, I tried to add a domain on the whitelist but still gets trapped, 
any suggestions?

rg:u...@domain.com
@4000613691b30502054 simscan:[824782]: prepare for rspamc: 
spam.msg.1630966182.722175.824783
@4000613691b305020544 simscan:[824782]: check_rspam will now read 
spam.msg.1630966182.722175.824783 and write to 
rspam.msg.1630966182.722175.824783
@4000613691b305024b94 simscan:[824782]: calling rspamc
@4000613691b305024f7c simscan:[824782]: calling /usr/bin/rspamc rspamc, 
--mime,
@4000613691b326044eb4 simscan:[824782]: rspam: SpamHits: 0.89 / 
15.00 required
@4000613691b329efbd9c  simscan:[824782]: rspamc done
@4000613691b329efc184 simscan:[824782]: cdb looking up version rspam
@4000613691b329efc184 simscan:[824782]:CLEAN (0.89/15.00):2.9814s: 
Invitation-Please join for Day of 
Service:216.49.179.111:nore...@senderdommain.org:u...@domain.com
@4000613691b329efc56c simscan:[824782]: RSPAM reported message 
rspam.msg.1630966182.722175.824783 as being HAM
@4000613691b329efc954 simscan:[824782]: prepare for dspam 
rspam.msg.1630966182.722175.824783
@4000613691b329f007d4 simscan:[824782]: check_dspam will now read 
rspam.msg.1630966182.722175.824783 and write to 
dspam.msg.1630966182.722175.824783
@4000613691b329f007d4 simscan:[824782]: calling dspam
@4000613691b329f00bbc simscan:[824782]: calling /usr/bin/dspamc  
/usr/bin/dspamc —user u...@domain.com --deliver=innocent,spam,stdout
@4000613691b4025f894c simscan:[824782]: dspam (check_dspam) reading header 
line: 0, check dspam.conf perms
@4000613691b4025f911c simscan:[824782]: Dspam finished
@4000613691b4025f911c simscan:[824782]: Dspam child did not die on signal
@4000613691b4025f9504 simscan:[824782]: dspam got no data from dspam
@4000613691b4025f9504 simscan:[824782]: check_dspam had an error ret: -1
@4000613691b402dc27a4 simscan:[824782]: exit error code: 71
@4000613691b403058194 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM: 
RCPTTO:u...@domain.com
@4000613691ba29e011e4 tcpserver: end 824776 status 0
@4000613691ba29e015cc tcpserver: status: 0/100
-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] Qq soft reject issue

2021-09-06 Thread Remo Mattei
Hello guys, I tried to add a domain on the whitelist but still gets trapped, 
any suggestions?

rg:u...@domain.com
@4000613691b30502054 simscan:[824782]: prepare for rspamc: 
spam.msg.1630966182.722175.824783
@4000613691b305020544 simscan:[824782]: check_rspam will now read 
spam.msg.1630966182.722175.824783 and write to 
rspam.msg.1630966182.722175.824783
@4000613691b305024b94 simscan:[824782]: calling rspamc
@4000613691b305024f7c simscan:[824782]: calling /usr/bin/rspamc rspamc, 
--mime,
@4000613691b326044eb4 simscan:[824782]: rspam: SpamHits: 0.89 / 
15.00 required
@4000613691b329efbd9c  simscan:[824782]: rspamc done
@4000613691b329efc184 simscan:[824782]: cdb looking up version rspam
@4000613691b329efc184 simscan:[824782]:CLEAN (0.89/15.00):2.9814s: 
Invitation-Please join for Day of 
Service:216.49.179.111:nore...@senderdommain.org:u...@domain.com
@4000613691b329efc56c simscan:[824782]: RSPAM reported message 
rspam.msg.1630966182.722175.824783 as being HAM
@4000613691b329efc954 simscan:[824782]: prepare for dspam 
rspam.msg.1630966182.722175.824783
@4000613691b329f007d4 simscan:[824782]: check_dspam will now read 
rspam.msg.1630966182.722175.824783 and write to 
dspam.msg.1630966182.722175.824783
@4000613691b329f007d4 simscan:[824782]: calling dspam
@4000613691b329f00bbc simscan:[824782]: calling /usr/bin/dspamc  
/usr/bin/dspamc —user u...@domain.com --deliver=innocent,spam,stdout
@4000613691b4025f894c simscan:[824782]: dspam (check_dspam) reading header 
line: 0, check dspam.conf perms
@4000613691b4025f911c simscan:[824782]: Dspam finished
@4000613691b4025f911c simscan:[824782]: Dspam child did not die on signal
@4000613691b4025f9504 simscan:[824782]: dspam got no data from dspam
@4000613691b4025f9504 simscan:[824782]: check_dspam had an error ret: -1
@4000613691b402dc27a4 simscan:[824782]: exit error code: 71
@4000613691b403058194 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM: 
RCPTTO:u...@domain.com
@4000613691ba29e011e4 tcpserver: end 824776 status 0
@4000613691ba29e015cc tcpserver: status: 0/100
-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] qq soft reject after updating packages end of March 2021

2021-05-13 Thread Remo Mattei
This is what’s running on my machine, sorry sent before the paste

[ 15:22:24 ] ❯ systemctl status clam
clamav-clamonacc.service  clamav-freshclam.service  clamd@scan.service
clamonacc.service

> On May 13, 2021, at 13:41, Benjamin Baez  wrote:
> 
> I had to manually install and enable clamd-0.103.2-1.el7.x86_64
> 
> [root@mta01 ~]# systemctl status clamd@scan.service
> ● clamd@scan.service - clamd scanner (scan) daemon
>Loaded: loaded (/usr/lib/systemd/system/clamd@.service; disabled; vendor 
> preset: disabled)
>Active: failed (Result: start-limit) since Mon 2021-05-10 14:36:50 PDT; 2 
> days ago
>  Docs: man:clamd(8)
>man:clamd.conf(5)
>https://www.clamav.net/documents/ 
> 
>   Process: 15611 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/%i.conf 
> (code=exited, status=1/FAILURE)
> 
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: clamd@scan.service: control process exited, code=exited status=1
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: Failed to start clamd scanner (scan) daemon.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: Unit clamd@scan.service entered failed state.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: clamd@scan.service failed.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: clamd@scan.service holdoff time over, scheduling restart.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: Stopped clamd scanner (scan) daemon.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: start request repeated too quickly for clamd@scan.service
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: Failed to start clamd scanner (scan) daemon.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: Unit clamd@scan.service entered failed state.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: clamd@scan.service failed.
> 
> /var/log/messages has a dependency error below:
> 
>   clamav-daemon.socket  
> 
> May 13 13:35:28 mta01 systemd: Cannot add dependency job for unit 
> clamav-daemon.socket, ignoring: Unit not found.
> May 13 13:35:28 mta01 systemd: Starting clamd scanner (scan) daemon...
> May 13 13:35:28 mta01 clamd[14248]: Received 0 file descriptor(s) from 
> systemd.
> May 13 13:35:28 mta01 clamd[14248]: Please define server type (local and/or 
> TCP).
> May 13 13:35:28 mta01 clamd: ERROR: Please define server type (local and/or 
> TCP).
> May 13 13:35:28 mta01 systemd: clamd@scan.service: control process exited, 
> code=exited status=1
> May 13 13:35:28 mta01 systemd: Failed to start clamd scanner (scan) daemon.
> May 13 13:35:28 mta01 systemd: Unit clamd@scan.service entered failed state.
> May 13 13:35:28 mta01 systemd: clamd@scan.service failed.
> May 13 13:35:28 mta01 systemd: clamd@scan.service holdoff time over, 
> scheduling restart.
> May 13 13:35:28 mta01 systemd: Cannot add dependency job for unit 
> clamav-daemon.socket, ignoring: Unit not found.
> May 13 13:35:28 mta01 systemd: Stopped clamd scanner (scan) daemon.
> May 13 13:35:28 mta01 systemd: Starting clamd scanner (scan) daemon...
> May 13 13:35:28 mta01 clamd[14253]: Received 0 file descriptor(s) from 
> systemd.
> May 13 13:35:28 mta01 clamd: ERROR: Please define server type (local and/or 
> TCP).
> May 13 13:35:28 mta01 clamd[14253]: Please define server type (local and/or 
> TCP).
> May 13 13:35:28 mta01 systemd: clamd@scan.service: control process exited, 
> code=exited status=1
> May 13 13:35:28 mta01 systemd: Failed to start clamd scanner (scan) daemon.
> May 13 13:35:28 mta01 systemd: Unit clamd@scan.service entered failed state.
> May 13 13:35:28 mta01 systemd: clamd@scan.service failed.
> May 13 13:35:29 mta01 systemd: clamd@scan.service holdoff time over, 
> scheduling restart.
> May 13 13:35:29 mta01 systemd: Cannot add dependency job for unit 
> clamav-daemon.socket, ignoring: Unit not found.
> May 13 13:35:29 mta01 systemd: Stopped clamd scanner (scan) daemon.
> May 13 13:35:29 mta01 systemd: Starting clamd scanner (scan) daemon...
> May 13 13:35:29 mta01 clamd[14257]: Received 0 file descriptor(s) from 
> systemd.
> May 13 13:35:29 mta01 clamd[14257]: Please define server type (local and/or 
> TCP).
> May 13 13:35:29 mta01 clamd: ERROR: Please define server type (local and/or 
> TCP).
> May 13 13:35:29 mta01 systemd: clamd@scan.service: control process exited, 
> code=exited status=1
> May 13 13:35:29 mta01 systemd: Failed to start clamd scanner (scan) daemon.
> May 13 13:35:29 mta01 systemd: Unit clamd@scan.service entered failed state.
> May 13 13:35:29 mta01 systemd: clamd@scan.service failed.
> May 13 13:35:29 mta01 systemd: clamd@scan.service holdoff time over, 
> scheduling restart.
> May 

Re: [qmailtoaster] qq soft reject after updating packages end of March 2021

2021-05-13 Thread Remo Mattei
This is what’s running on my machine


> On May 13, 2021, at 13:41, Benjamin Baez  wrote:
> 
> I had to manually install and enable clamd-0.103.2-1.el7.x86_64
> 
> [root@mta01 ~]# systemctl status clamd@scan.service
> ● clamd@scan.service - clamd scanner (scan) daemon
>Loaded: loaded (/usr/lib/systemd/system/clamd@.service; disabled; vendor 
> preset: disabled)
>Active: failed (Result: start-limit) since Mon 2021-05-10 14:36:50 PDT; 2 
> days ago
>  Docs: man:clamd(8)
>man:clamd.conf(5)
>https://www.clamav.net/documents/ 
> 
>   Process: 15611 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/%i.conf 
> (code=exited, status=1/FAILURE)
> 
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: clamd@scan.service: control process exited, code=exited status=1
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: Failed to start clamd scanner (scan) daemon.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: Unit clamd@scan.service entered failed state.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: clamd@scan.service failed.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: clamd@scan.service holdoff time over, scheduling restart.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: Stopped clamd scanner (scan) daemon.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: start request repeated too quickly for clamd@scan.service
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: Failed to start clamd scanner (scan) daemon.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: Unit clamd@scan.service entered failed state.
> May 10 14:36:50 mta01.biospectra.com  
> systemd[1]: clamd@scan.service failed.
> 
> /var/log/messages has a dependency error below:
> 
>   clamav-daemon.socket  
> 
> May 13 13:35:28 mta01 systemd: Cannot add dependency job for unit 
> clamav-daemon.socket, ignoring: Unit not found.
> May 13 13:35:28 mta01 systemd: Starting clamd scanner (scan) daemon...
> May 13 13:35:28 mta01 clamd[14248]: Received 0 file descriptor(s) from 
> systemd.
> May 13 13:35:28 mta01 clamd[14248]: Please define server type (local and/or 
> TCP).
> May 13 13:35:28 mta01 clamd: ERROR: Please define server type (local and/or 
> TCP).
> May 13 13:35:28 mta01 systemd: clamd@scan.service: control process exited, 
> code=exited status=1
> May 13 13:35:28 mta01 systemd: Failed to start clamd scanner (scan) daemon.
> May 13 13:35:28 mta01 systemd: Unit clamd@scan.service entered failed state.
> May 13 13:35:28 mta01 systemd: clamd@scan.service failed.
> May 13 13:35:28 mta01 systemd: clamd@scan.service holdoff time over, 
> scheduling restart.
> May 13 13:35:28 mta01 systemd: Cannot add dependency job for unit 
> clamav-daemon.socket, ignoring: Unit not found.
> May 13 13:35:28 mta01 systemd: Stopped clamd scanner (scan) daemon.
> May 13 13:35:28 mta01 systemd: Starting clamd scanner (scan) daemon...
> May 13 13:35:28 mta01 clamd[14253]: Received 0 file descriptor(s) from 
> systemd.
> May 13 13:35:28 mta01 clamd: ERROR: Please define server type (local and/or 
> TCP).
> May 13 13:35:28 mta01 clamd[14253]: Please define server type (local and/or 
> TCP).
> May 13 13:35:28 mta01 systemd: clamd@scan.service: control process exited, 
> code=exited status=1
> May 13 13:35:28 mta01 systemd: Failed to start clamd scanner (scan) daemon.
> May 13 13:35:28 mta01 systemd: Unit clamd@scan.service entered failed state.
> May 13 13:35:28 mta01 systemd: clamd@scan.service failed.
> May 13 13:35:29 mta01 systemd: clamd@scan.service holdoff time over, 
> scheduling restart.
> May 13 13:35:29 mta01 systemd: Cannot add dependency job for unit 
> clamav-daemon.socket, ignoring: Unit not found.
> May 13 13:35:29 mta01 systemd: Stopped clamd scanner (scan) daemon.
> May 13 13:35:29 mta01 systemd: Starting clamd scanner (scan) daemon...
> May 13 13:35:29 mta01 clamd[14257]: Received 0 file descriptor(s) from 
> systemd.
> May 13 13:35:29 mta01 clamd[14257]: Please define server type (local and/or 
> TCP).
> May 13 13:35:29 mta01 clamd: ERROR: Please define server type (local and/or 
> TCP).
> May 13 13:35:29 mta01 systemd: clamd@scan.service: control process exited, 
> code=exited status=1
> May 13 13:35:29 mta01 systemd: Failed to start clamd scanner (scan) daemon.
> May 13 13:35:29 mta01 systemd: Unit clamd@scan.service entered failed state.
> May 13 13:35:29 mta01 systemd: clamd@scan.service failed.
> May 13 13:35:29 mta01 systemd: clamd@scan.service holdoff time over, 
> scheduling restart.
> May 13 13:35:29 mta01 systemd: Cannot add dependency job for unit 
> clamav-daemon.socket, ignoring: Unit not found.
> May 13 13:35:29 mta01 systemd: Stopped clamd 

Re: [qmailtoaster] qq soft reject after updating packages end of March 2021

2021-05-13 Thread Benjamin Baez
I had to manually install and enable clamd-0.103.2-1.el7.x86_64

[root@mta01 ~]# systemctl status clamd@scan.service
● clamd@scan.service - clamd scanner (scan) daemon
   Loaded: loaded (/usr/lib/systemd/system/clamd@.service; disabled; vendor
preset: disabled)
   Active: failed (Result: start-limit) since Mon 2021-05-10 14:36:50 PDT;
2 days ago
 Docs: man:clamd(8)
   man:clamd.conf(5)
   https://www.clamav.net/documents/
  Process: 15611 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/%i.conf
(code=exited, status=1/FAILURE)

May 10 14:36:50 mta01.biospectra.com systemd[1]: clamd@scan.service:
control process exited, code=exited status=1
May 10 14:36:50 mta01.biospectra.com systemd[1]: Failed to start clamd
scanner (scan) daemon.
May 10 14:36:50 mta01.biospectra.com systemd[1]: Unit clamd@scan.service
entered failed state.
May 10 14:36:50 mta01.biospectra.com systemd[1]: clamd@scan.service failed.
May 10 14:36:50 mta01.biospectra.com systemd[1]: clamd@scan.service holdoff
time over, scheduling restart.
May 10 14:36:50 mta01.biospectra.com systemd[1]: Stopped clamd scanner
(scan) daemon.
May 10 14:36:50 mta01.biospectra.com systemd[1]: start request repeated too
quickly for clamd@scan.service
May 10 14:36:50 mta01.biospectra.com systemd[1]: Failed to start clamd
scanner (scan) daemon.
May 10 14:36:50 mta01.biospectra.com systemd[1]: Unit clamd@scan.service
entered failed state.
May 10 14:36:50 mta01.biospectra.com systemd[1]: clamd@scan.service failed.

/var/log/messages has a dependency error below:

  clamav-daemon.socket

May 13 13:35:28 mta01 systemd: Cannot add dependency job for unit
clamav-daemon.socket, ignoring: Unit not found.
May 13 13:35:28 mta01 systemd: Starting clamd scanner (scan) daemon...
May 13 13:35:28 mta01 clamd[14248]: Received 0 file descriptor(s) from
systemd.
May 13 13:35:28 mta01 clamd[14248]: Please define server type (local and/or
TCP).
May 13 13:35:28 mta01 clamd: ERROR: Please define server type (local and/or
TCP).
May 13 13:35:28 mta01 systemd: clamd@scan.service: control process exited,
code=exited status=1
May 13 13:35:28 mta01 systemd: Failed to start clamd scanner (scan) daemon.
May 13 13:35:28 mta01 systemd: Unit clamd@scan.service entered failed state.
May 13 13:35:28 mta01 systemd: clamd@scan.service failed.
May 13 13:35:28 mta01 systemd: clamd@scan.service holdoff time over,
scheduling restart.
May 13 13:35:28 mta01 systemd: Cannot add dependency job for unit
clamav-daemon.socket, ignoring: Unit not found.
May 13 13:35:28 mta01 systemd: Stopped clamd scanner (scan) daemon.
May 13 13:35:28 mta01 systemd: Starting clamd scanner (scan) daemon...
May 13 13:35:28 mta01 clamd[14253]: Received 0 file descriptor(s) from
systemd.
May 13 13:35:28 mta01 clamd: ERROR: Please define server type (local and/or
TCP).
May 13 13:35:28 mta01 clamd[14253]: Please define server type (local and/or
TCP).
May 13 13:35:28 mta01 systemd: clamd@scan.service: control process exited,
code=exited status=1
May 13 13:35:28 mta01 systemd: Failed to start clamd scanner (scan) daemon.
May 13 13:35:28 mta01 systemd: Unit clamd@scan.service entered failed state.
May 13 13:35:28 mta01 systemd: clamd@scan.service failed.
May 13 13:35:29 mta01 systemd: clamd@scan.service holdoff time over,
scheduling restart.
May 13 13:35:29 mta01 systemd: Cannot add dependency job for unit
clamav-daemon.socket, ignoring: Unit not found.
May 13 13:35:29 mta01 systemd: Stopped clamd scanner (scan) daemon.
May 13 13:35:29 mta01 systemd: Starting clamd scanner (scan) daemon...
May 13 13:35:29 mta01 clamd[14257]: Received 0 file descriptor(s) from
systemd.
May 13 13:35:29 mta01 clamd[14257]: Please define server type (local and/or
TCP).
May 13 13:35:29 mta01 clamd: ERROR: Please define server type (local and/or
TCP).
May 13 13:35:29 mta01 systemd: clamd@scan.service: control process exited,
code=exited status=1
May 13 13:35:29 mta01 systemd: Failed to start clamd scanner (scan) daemon.
May 13 13:35:29 mta01 systemd: Unit clamd@scan.service entered failed state.
May 13 13:35:29 mta01 systemd: clamd@scan.service failed.
May 13 13:35:29 mta01 systemd: clamd@scan.service holdoff time over,
scheduling restart.
May 13 13:35:29 mta01 systemd: Cannot add dependency job for unit
clamav-daemon.socket, ignoring: Unit not found.
May 13 13:35:29 mta01 systemd: Stopped clamd scanner (scan) daemon.
May 13 13:35:29 mta01 systemd: Starting clamd scanner (scan) daemon...
May 13 13:35:29 mta01 clamd[14261]: Received 0 file descriptor(s) from
systemd.
May 13 13:35:29 mta01 clamd[14261]: Please define server type (local and/or
TCP).
May 13 13:35:29 mta01 clamd: ERROR: Please define server type (local and/or
TCP).
May 13 13:35:29 mta01 systemd: clamd@scan.service: control process exited,
code=exited status=1
May 13 13:35:29 mta01 systemd: Failed to start clamd scanner (scan) daemon.
May 13 13:35:29 mta01 systemd: Unit clamd@scan.service entered failed state.
May 13 13:35:29 mta01 systemd: clamd@scan.service failed.
May 13 13:35:29 

Re: [qmailtoaster] qq soft reject after updating packages end of March 2021

2021-05-13 Thread Remo Mattei
Looks like it is clamd can you check the systemctl status ? 
systemctl status clamd@scan.service
● clamd@scan.service - clamd scanner (scan) daemon
   Loaded: loaded (/usr/lib/systemd/system/clamd@.service; enabled; vendor 
preset: disabled)
   Active: active (running) since Fri 2021-04-30 22:08:48 PDT; 1 weeks 5 days 
ago
 Docs: man:clamd(8)
   man:clamd.conf(5)
   https://www.clamav.net/documents/
 Main PID: 12158 (clamd)
   CGroup: /system.slice/system-clamd.slice/clamd@scan.service
   └─12158 /usr/sbin/clamd -c /etc/clamd.d/scan.con


> On May 13, 2021, at 13:16, Benjamin Baez  wrote:
> 
> I forgot to revisit that.  I noticed that clamd never came back up after the 
> update.  Is there a different log now?
> 
> [root@mta01 ~]# cat /var/log/clamd/clamd.log
> Sat Mar 27 11:23:30 2021 -> SelfCheck: Database status OK.
> Sat Mar 27 11:33:30 2021 -> SelfCheck: Database status OK.
> Sat Mar 27 11:43:30 2021 -> SelfCheck: Database status OK.
> Sat Mar 27 11:53:31 2021 -> SelfCheck: Database status OK.
> Sat Mar 27 11:56:20 2021 -> Waiting for all threads to finish
> Sat Mar 27 11:56:23 2021 -> Shutting down the main socket.
> Sat Mar 27 11:56:23 2021 -> ERROR: Can't unlink the pid file 
> /var/run/clamav/clamd.pid
> Sat Mar 27 11:56:23 2021 -> --- Stopped at Sat Mar 27 11:56:23 2021
> Sat Mar 27 11:56:23 2021 -> Closing the main socket.
> Sat Mar 27 11:56:23 2021 -> Socket file removed.
> 
> [root@mta01 ~]# toaststat
> 
> Status of toaster services
> send: up (pid 32338) 15907 seconds
> smtp: up (pid 32335) 15907 seconds
> submission: up (pid 32336) 15907 seconds
> send/log: up (pid 32340) 15907 seconds
> smtp/log: up (pid 32339) 15907 seconds
> submission/log: up (pid 32337) 15907 seconds
> 
> systemd service: clamav-freshclam:   [  OK  ]
> systemd service:spamd:   [  OK  ]
> systemd service:  dovecot:   [  OK  ]
> systemd service:  mariadb:   [  OK  ]
> systemd service:httpd:   [  OK  ]
> systemd service:named:   [  OK  ]
> systemd service: ntpd:   [  OK  ]
> systemd service: sshd:   [  OK  ]
> systemd service:  network:   [  OK  ]
> systemd service:crond:   [  OK  ]
> systemd service:acpid:   [  OK  ]
> systemd service:  atd:   [  OK  ]
> systemd service:   autofs:   [  OK  ]
> systemd service:   smartd:   [  OK  ]
> systemd service:   irqbalance:   [  OK  ]
> 
> On Thu, May 13, 2021 at 1:03 PM Jeff Koch  > wrote:
> Did you check the clamav log?
> 
> Jeff
> 
> On 5/13/2021 12:30 PM, Benjamin Baez wrote:
>> 
>> Hi,
>> 
>> How do I troubleshoot this further?  In the past it would be something to do 
>> with clamav or simscan, but don't have a lead this time.
>> 
>> [root@mta01 ~]# tail -f /var/log/qmail/submission/current
>> @4000609d4c9217d2d2d4 tcpserver: status: 0/100
>> @4000609d52200e3031cc tcpserver: status: 1/100
>> @4000609d52200e39615c tcpserver: pid 1598 from 75.53.9.111
>> @4000609d52200e3a920c tcpserver: ok 1598 
>> mta01.biospectra.com:75.53.9.76:587 :75.53.9.111::61177
>> @4000609d52201bf23a6c CHKUSER accepted sender: from 
>>   remote 
>> <[10.16.1.123]:unknown:75.53.9.111> rcpt <> : sender accepted
>> @4000609d522027921aa4 CHKUSER relaying rcpt: from 
>>   remote 
>> <[10.16.1.123]:unknown:75.53.9.111> rcpt > > : client allowed to relay
>> @4000609d52202792265c policy_check: local bbaez -> remote 
>> benba...@gmail.com  (AUTHENTICATED SENDER)
>> @4000609d522027922a44 policy_check: policy allows transmission
>> @4000609d52202925ce4c qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)): MAILFROM:> > RCPTTO:benba...@gmail.com 
>> 
>> @4000609d52230a71f14c tcpserver: end 1598 status 0
>> @4000609d52230a71f91c tcpserver: status: 0/100
>> 
>> [root@mta01 ~]# tail -f cat  /var/log/maillog
>> May 13 09:21:15 mta01 spamdyke[1592]: 
>> ERROR(load_resolver_file()@search_fs.c:753): invalid/unparsable nameserver 
>> found: 2600:1700:4a30:5b40::1
>> May 13 09:21:42 mta01 vpopmail[1599]: vchkpw-submission: (CRAM-MD5) login 
>> success bb...@biospectra.com:75.53.9.111 
>> 
>> 
>> I don't think the IPv6 error is related but including it.
>> 
>> Thanks!
> 



[qmailtoaster] qq soft reject

2018-01-17 Thread Rajesh M
hi

we are getting qq soft reject on one of our server on random basis

this is a busy server

around -- 6000 mails in 1 hour during peak hours

we disabled both spam and clam ie set spam=no, clam=no

but still the error continues till we disable the /var/qmail/simscan from the 
tcp.smtp

softlimit for smtp in the supervise/run file is kept at 100 mb.

rajesh


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Re: Fwd: Re: [qmailtoaster] qq soft reject errors on high load

2017-09-04 Thread Rajesh M
eric

i did not yet simulate it using your script

these are errors in my live production server during peak hours today and there 
were mails with and without attachments.

the max processes i got was 47 only.

rajesh


- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Mon, 4 Sep 2017 11:19:35 -0600
Subject:

Did you hit it with email containing attachments as well?


On 9/4/2017 10:58 AM, Rajesh M wrote:
> eric
>
> the max i saw was 47 connections using the shell script you gave me.
>
> there were a few errors related to qq soft reject but they got delivered.
>
> rajesh
>
>
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Sat, 2 Sep 2017 12:35:14 -0600
> Subject:
>
> Rajesh,
>
> I'm still not sure the process limit is being reached.
>
> I'm testing a COS6/QMT server now and haven't been able to bring about
> 'qq soft reject' or failure of any sort. I'm hitting it with email using
> a delivery script from two servers with attachment size of 320KB.
>
> try the script below (psmem) to monitor:
>
> 
>
> #!/bin/bash
> ps -C $1 -O rss | gawk '{ count ++; sum += $2 }; END {count --; print
> "Number of processes =",count; print "Memory usage per process
> =",sum/1024/count, "MB"; print "Total memory usage =", sum/1024, "MB" ;};'
>
> 
>
> # chmod 755 psmem
>
> # watch -n 1 ./psmem simscan
>
>
> Not sure I should change anything until we figure out what's going on.
>
> Eric
>
>
>
> On 9/2/2017 12:03 PM, Rajesh M wrote:
>> eric
>>
>> i could not get the bash script working with either of the two options. 
>> still gives error
>>line 23: `return-limits': not a valid identifier.
>>
>>
>>
>> can the limits issue in simscan be fixed ?
>>
>> thanks,
>> rajesh
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To:qmailtoaster-list@qmailtoaster.com
>> Sent: Fri, 1 Sep 2017 23:46:15 -0600
>> Subject:
>>
>> Rajesh,
>>
>> It has something to do with #!/bin/bash or #!/bin/sh.
>>
>> At top of script, when I use #!/bin/sh I get the same error you do, but
>> when I use #!/bin/bash script works fine.
>>
>>
>> Eric
>>
>>
>> On 9/1/2017 11:07 PM, Rajesh M wrote:
>>> eric
>>>
>>> 1) is their any resolution for this issue ?
>>>
>>> 2) if i run the script it throws error as such
>>> .
>>> /limits.sh: line 23: `return-limits': not a valid identifier
>>>
>>> #!/bin/bash
>>> if [ "$#" -ne "1" ]; then
>>>   echo ""
>>>   echo -e "\033[01;32mLimit checker\033[00m"
>>>   echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
>>>   echo ""
>>>   exit 0
>>> fi
>>>
>>> return-limits(){
>>>   for process in $@; do
>>>  process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`
>>>
>>>  if [ -z $@ ]; then
>>> echo "[no $process running]"
>>>  else
>>> for pid in $process_pids; do
>>>echo "[$process #$pid -- limits]"
>>>cat /proc/$pid/limits
>>>  done
>>>  fi
>>>   done
>>> }
>>> return-limits $1
>>>
>>> rajesh
>>>
>>>
>>>
>>> - Original Message -
>>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>>> To:qmailtoaster-list@qmailtoaster.com
>>> Sent: Fri, 1 Sep 2017 17:28:40 -0600
>>> Subject:
>>>
>>> I sent myself a large file so that I could examine simscan with the
>>> below script (limits.sh). Here's the output:
>>>
>>> [root@pet105 simscan-1.4.0]# ./limits simscan
>>> [simscan #31535 -- limits]
>>> Limit   
>>>    
>>>    
>>>    
>>>    
>>>    
>>>    Soft Limit 
>>>    
>>>    
>>>     Hard 
>>> Limit   
>>>    
>>>    
>>>   Units
>>> Max cpu time   
>>>    
>>>    
>>>    
>>>   unlimited unlimited 
>>>    
>>>    
>>>   

Re: Fwd: Re: [qmailtoaster] qq soft reject errors on high load

2017-09-04 Thread Rajesh M
eric

i got 3 types of errors like earlier.

failure to fork, ripmime
and  /var/qmail/simscan/1simscan: check_spam had an error ret: -1

what exactly would be  /var/qmail/simscan/1simscan ... there is no such file

do want me to send you a few of my log files directly to your email id ?

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Mon, 4 Sep 2017 11:19:04 -0600
Subject:

What kind of qq soft reject errors were there? Failure to fork or ripmime?


On 9/4/2017 10:58 AM, Rajesh M wrote:
> eric
>
> the max i saw was 47 connections using the shell script you gave me.
>
> there were a few errors related to qq soft reject but they got delivered.
>
> rajesh
>
>
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Sat, 2 Sep 2017 12:35:14 -0600
> Subject:
>
> Rajesh,
>
> I'm still not sure the process limit is being reached.
>
> I'm testing a COS6/QMT server now and haven't been able to bring about
> 'qq soft reject' or failure of any sort. I'm hitting it with email using
> a delivery script from two servers with attachment size of 320KB.
>
> try the script below (psmem) to monitor:
>
> 
>
> #!/bin/bash
> ps -C $1 -O rss | gawk '{ count ++; sum += $2 }; END {count --; print
> "Number of processes =",count; print "Memory usage per process
> =",sum/1024/count, "MB"; print "Total memory usage =", sum/1024, "MB" ;};'
>
> 
>
> # chmod 755 psmem
>
> # watch -n 1 ./psmem simscan
>
>
> Not sure I should change anything until we figure out what's going on.
>
> Eric
>
>
>
> On 9/2/2017 12:03 PM, Rajesh M wrote:
>> eric
>>
>> i could not get the bash script working with either of the two options. 
>> still gives error
>>line 23: `return-limits': not a valid identifier.
>>
>>
>>
>> can the limits issue in simscan be fixed ?
>>
>> thanks,
>> rajesh
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To:qmailtoaster-list@qmailtoaster.com
>> Sent: Fri, 1 Sep 2017 23:46:15 -0600
>> Subject:
>>
>> Rajesh,
>>
>> It has something to do with #!/bin/bash or #!/bin/sh.
>>
>> At top of script, when I use #!/bin/sh I get the same error you do, but
>> when I use #!/bin/bash script works fine.
>>
>>
>> Eric
>>
>>
>> On 9/1/2017 11:07 PM, Rajesh M wrote:
>>> eric
>>>
>>> 1) is their any resolution for this issue ?
>>>
>>> 2) if i run the script it throws error as such
>>> .
>>> /limits.sh: line 23: `return-limits': not a valid identifier
>>>
>>> #!/bin/bash
>>> if [ "$#" -ne "1" ]; then
>>>   echo ""
>>>   echo -e "\033[01;32mLimit checker\033[00m"
>>>   echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
>>>   echo ""
>>>   exit 0
>>> fi
>>>
>>> return-limits(){
>>>   for process in $@; do
>>>  process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`
>>>
>>>  if [ -z $@ ]; then
>>> echo "[no $process running]"
>>>  else
>>> for pid in $process_pids; do
>>>echo "[$process #$pid -- limits]"
>>>cat /proc/$pid/limits
>>>  done
>>>  fi
>>>   done
>>> }
>>> return-limits $1
>>>
>>> rajesh
>>>
>>>
>>>
>>> - Original Message -
>>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>>> To:qmailtoaster-list@qmailtoaster.com
>>> Sent: Fri, 1 Sep 2017 17:28:40 -0600
>>> Subject:
>>>
>>> I sent myself a large file so that I could examine simscan with the
>>> below script (limits.sh). Here's the output:
>>>
>>> [root@pet105 simscan-1.4.0]# ./limits simscan
>>> [simscan #31535 -- limits]
>>> Limit   
>>>    
>>>    
>>>    
>>>    
>>>    
>>>    Soft Limit 
>>>    
>>>    
>>>     Hard 
>>> Limit   
>>>    
>>>    
>>>   Units
>>> Max cpu time   
>>>    
>>>    
>>>    
>>>   unlimited unlimited 
>>>    
>>>  

RE: Fwd: Re: [qmailtoaster] qq soft reject errors on high load

2017-09-04 Thread Rajesh M
eric

the max i saw was 47 connections using the shell script you gave me.

there were a few errors related to qq soft reject but they got delivered.

rajesh



- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sat, 2 Sep 2017 12:35:14 -0600
Subject:

Rajesh,

I'm still not sure the process limit is being reached.

I'm testing a COS6/QMT server now and haven't been able to bring about
'qq soft reject' or failure of any sort. I'm hitting it with email using
a delivery script from two servers with attachment size of 320KB.

try the script below (psmem) to monitor:



#!/bin/bash
ps -C $1 -O rss | gawk '{ count ++; sum += $2 }; END {count --; print
"Number of processes =",count; print "Memory usage per process
=",sum/1024/count, "MB"; print "Total memory usage =", sum/1024, "MB" ;};'



# chmod 755 psmem

# watch -n 1 ./psmem simscan


Not sure I should change anything until we figure out what's going on.

Eric



On 9/2/2017 12:03 PM, Rajesh M wrote:
> eric
>
> i could not get the bash script working with either of the two options. still 
> gives error
>   line 23: `return-limits': not a valid identifier.
>
>
>
> can the limits issue in simscan be fixed ?
>
> thanks,
> rajesh
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To:qmailtoaster-list@qmailtoaster.com
> Sent: Fri, 1 Sep 2017 23:46:15 -0600
> Subject:
>
> Rajesh,
>
> It has something to do with #!/bin/bash or #!/bin/sh.
>
> At top of script, when I use #!/bin/sh I get the same error you do, but
> when I use #!/bin/bash script works fine.
>
>
> Eric
>
>
> On 9/1/2017 11:07 PM, Rajesh M wrote:
>> eric
>>
>> 1) is their any resolution for this issue ?
>>
>> 2) if i run the script it throws error as such
>> .
>> /limits.sh: line 23: `return-limits': not a valid identifier
>>
>> #!/bin/bash
>> if [ "$#" -ne "1" ]; then
>>  echo ""
>>  echo -e "\033[01;32mLimit checker\033[00m"
>>  echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
>>  echo ""
>>  exit 0
>> fi
>>
>> return-limits(){
>>  for process in $@; do
>> process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`
>>
>> if [ -z $@ ]; then
>>echo "[no $process running]"
>> else
>>for pid in $process_pids; do
>>   echo "[$process #$pid -- limits]"
>>   cat /proc/$pid/limits
>> done
>> fi
>>  done
>> }
>> return-limits $1
>>
>> rajesh
>>
>>
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To:qmailtoaster-list@qmailtoaster.com
>> Sent: Fri, 1 Sep 2017 17:28:40 -0600
>> Subject:
>>
>> I sent myself a large file so that I could examine simscan with the
>> below script (limits.sh). Here's the output:
>>
>> [root@pet105 simscan-1.4.0]# ./limits simscan
>> [simscan #31535 -- limits]
>> Limit        
>>         
>>      Soft Limit   
>>         Hard 
>> Limit        
>>    Units
>> Max cpu time       
>>        unlimited 
>> unlimited       
>>      seconds
>> Max file size       
>>       unlimited unlimited 
>>         
>>    bytes
>> Max data size       
>>       unlimited unlimited 
>>         
>>    bytes
>> Max stack size 10485760 unlimited    
>>         bytes
>> Max core file size      
>>   0 unlimited      
>>       bytes
>> Max resident set      
>>     unlimited unlimited   
>>          
>> bytes
>> Max processes 1024 31121     
>>         
>>    processes
>> Max open files       
>>  

Fwd: Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Eric Broch
They're all temporary, for scanning purposes. Once the scanning is done, 
they all are deleted.



On 9/3/2017 3:57 PM, Remo Mattei wrote:

I do not see anything on my  :)  /var/qmail/simscan


Remo
On 9/3/17 12:13 PM, Eric Broch wrote:


Rajesh,


Those shouldn't be log files in that directory, but directories of 
this form...


[root@mail ~]# ls -l /var/qmail/simscan
total 7
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525628.43125.19212
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525917.767516.19248
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.725762.19262
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.728000.19263
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.730011.19264
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525959.679164.19279
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525972.624759.19287

in which messages are broken into their respective parts (below)...

/var/qmail/simscan/1493074576.527224.5829:
total 1472

-rw-r- 1 clamav vchkpw 37 Apr 24 16:56 
addr.1493074576.527224.5829

-rw-r- 1 clamav vchkpw  20719 Apr 24 16:56 __If_
-rw-r- 1 clamav vchkpw 846597 Apr 24 16:56 msg.1493074576.527224.5829
-rw-r- 1 clamav vchkpw  0 Apr 24 16:56 textfile0
-rw--- 1 clamav vchkpw   9090 Apr 24 16:56 textfile1
-rw--- 1 clamav vchkpw  47495 Apr 24 16:56 textfile2
-rw--- 1 clamav vchkpw 362496 Apr 24 16:56 WGS-VRV Indoor Units.doc
-rw--- 1 clamav vchkpw 203264 Apr 24 16:56 WGS-VRV IV 208-230V 
Heat Pump.doc


for examination.

There should be no log files in /var/qmail/simscan and their should 
be no old files there either.


Eric


On 9/3/2017 12:54 PM, Rajesh M wrote:

eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject:

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
On 9/3/2017 12:19 AM, Rajesh M wrote:

eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

rajesh

-
To unsubscribe, e-mail:qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:qmailtoaster-list-h...@qmailtoaster.com




-
To unsubscribe, e-mail:qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:qmailtoaster-list-h...@qmailtoaster.com






--
Eric Broch
White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Rajesh M
eric

the logs are not in that simscan directory..

they re in the /var/log which is also in the same partition.

the files in the ls -l /var/qmail/simscan are temp ones which keep coming and 
going


rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 13:13:47 -0600
Subject:

Rajesh,


Those shouldn't be log files in that directory, but directories of this
form...

[root@mail ~]# ls -l /var/qmail/simscan
total 7
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525628.43125.19212
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525917.767516.19248
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.725762.19262
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.728000.19263
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.730011.19264
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525959.679164.19279
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525972.624759.19287

in which messages are broken into their respective parts (below)...

/var/qmail/simscan/1493074576.527224.5829:
total 1472

-rw-r- 1 clamav vchkpw     37 Apr 24 16:56 addr.1493074576.527224.5829
-rw-r- 1 clamav vchkpw  20719 Apr 24 16:56 __If_
-rw-r- 1 clamav vchkpw 846597 Apr 24 16:56 msg.1493074576.527224.5829
-rw-r- 1 clamav vchkpw      0 Apr 24 16:56 textfile0
-rw--- 1 clamav vchkpw   9090 Apr 24 16:56 textfile1
-rw--- 1 clamav vchkpw  47495 Apr 24 16:56 textfile2
-rw--- 1 clamav vchkpw 362496 Apr 24 16:56 WGS-VRV Indoor Units.doc
-rw--- 1 clamav vchkpw 203264 Apr 24 16:56 WGS-VRV IV 208-230V Heat
Pump.doc

for examination.

There should be no log files in /var/qmail/simscan and their should be
no old files there either.

Eric


On 9/3/2017 12:54 PM, Rajesh M wrote:
> eric
>
> around 1 gb spare.
>
> there are a lot of log files.
>
> rajesh
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Sun, 3 Sep 2017 11:21:24 -0600
> Subject:
>
> Rajesh,
>
> How much  available space is on the /var/qmail/simscan directory?
>
> Eric
> On 9/3/2017 12:19 AM, Rajesh M wrote:
>> eric
>>
>> i would like to conduct more load intensive tests.
>>
>> is it possible to provide me the shell script that you use for this purpose.
>>
>> rajesh
>
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>
>
>
>
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Eric Broch
Are you sure they're log files in /var/qmail/simscan? They shouldn't be 
log files.



On 9/3/2017 1:17 PM, Rajesh M wrote:

i have over 50 gb of log files which can be deleted

rajesh

- Original Message -
From: Remo Mattei [mailto:r...@mattei.org]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 12:13:28 -0700
Subject:

1gb is not very much!

Il giorno 03 set 2017, alle ore 11:54, Rajesh M <24x7ser...@24x7server.net> ha 
scritto:

eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject:

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric

On 9/3/2017 12:19 AM, Rajesh M wrote:
eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

rajesh


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


--
Eric Broch
White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Rajesh M
i have over 50 gb of log files which can be deleted

rajesh

- Original Message -
From: Remo Mattei [mailto:r...@mattei.org]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 12:13:28 -0700
Subject:

1gb is not very much!

Il giorno 03 set 2017, alle ore 11:54, Rajesh M <24x7ser...@24x7server.net> ha 
scritto:

eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject:

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
> On 9/3/2017 12:19 AM, Rajesh M wrote:
> eric
>
> i would like to conduct more load intensive tests.
>
> is it possible to provide me the shell script that you use for this purpose.
>
> rajesh


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Eric Broch

Rajesh,


Those shouldn't be log files in that directory, but directories of this 
form...


[root@mail ~]# ls -l /var/qmail/simscan
total 7
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525628.43125.19212
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525917.767516.19248
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.725762.19262
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.728000.19263
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525934.730011.19264
drwxr-x--- 2 clamav vchkpw 4096 Apr 12  2016 1460525959.679164.19279
drwxr-x--- 2 clamav vchkpw  131 Apr 12  2016 1460525972.624759.19287

in which messages are broken into their respective parts (below)...

/var/qmail/simscan/1493074576.527224.5829:
total 1472

-rw-r- 1 clamav vchkpw 37 Apr 24 16:56 addr.1493074576.527224.5829
-rw-r- 1 clamav vchkpw  20719 Apr 24 16:56 __If_
-rw-r- 1 clamav vchkpw 846597 Apr 24 16:56 msg.1493074576.527224.5829
-rw-r- 1 clamav vchkpw  0 Apr 24 16:56 textfile0
-rw--- 1 clamav vchkpw   9090 Apr 24 16:56 textfile1
-rw--- 1 clamav vchkpw  47495 Apr 24 16:56 textfile2
-rw--- 1 clamav vchkpw 362496 Apr 24 16:56 WGS-VRV Indoor Units.doc
-rw--- 1 clamav vchkpw 203264 Apr 24 16:56 WGS-VRV IV 208-230V Heat 
Pump.doc


for examination.

There should be no log files in /var/qmail/simscan and their should be 
no old files there either.


Eric


On 9/3/2017 12:54 PM, Rajesh M wrote:

eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject:

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
On 9/3/2017 12:19 AM, Rajesh M wrote:

eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

rajesh


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Remo Mattei
1gb is not very much! 

Il giorno 03 set 2017, alle ore 11:54, Rajesh M <24x7ser...@24x7server.net> ha 
scritto:

eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject: 

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
> On 9/3/2017 12:19 AM, Rajesh M wrote:
> eric
> 
> i would like to conduct more load intensive tests.
> 
> is it possible to provide me the shell script that you use for this purpose.
> 
> rajesh


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Eric Broch

You got the script?


On 9/3/2017 12:57 PM, Rajesh M wrote:

eric

yes. the idea is to use my backup server to run the script and send a large 
volume of email to the production server in the night to a single email account.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: 24x7ser...@24x7server.net
Sent: Sun, 3 Sep 2017 08:25:03 -0600
Subject:

Hi Rajesh,

I may have misunderstood your question. Are you requiring the script I
was using to load test my server? The one I was using to send myself email?

Or was it a script to monitor performance you were looking for?

Eric


On 9/3/2017 12:23 AM, Eric Broch wrote:

Sorry, Rajesh, I don't have one...I usually depend on the folk on line.


On 9/3/2017 12:19 AM, Rajesh M wrote:

eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Sat, 2 Sep 2017 14:04:36 -0600
Subject:

My testing was at about 1/2 that rate with 320K attachments, almost
double that rate with 1/2 email 320K attachments, and 1/2 email with no
attachments. No soft rejects. Ugh!...difficult to troubleshoot if not
repeatable.


On 9/2/2017 1:36 PM, Rajesh M wrote:

eric

thanks for the info. the script you sent works

the server processes roughly around 8 emails per day during week days and 
around 80 percent of it comes during around 12 hours. So during peak hours it 
is around 8000 emails per hour.

i will test this out monday morning peak hours and revert.

thanks
rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Sat, 2 Sep 2017 12:35:14 -0600
Subject:

Rajesh,

I'm still not sure the process limit is being reached.

I'm testing a COS6/QMT server now and haven't been able to bring about
'qq soft reject' or failure of any sort. I'm hitting it with email using
a delivery script from two servers with attachment size of 320KB.

try the script below (psmem) to monitor:



#!/bin/bash
ps -C $1 -O rss | gawk '{ count ++; sum += $2 }; END {count --; print
"Number of processes =",count; print "Memory usage per process
=",sum/1024/count, "MB"; print "Total memory usage =", sum/1024, "MB" ;};'



# chmod 755 psmem

# watch -n 1 ./psmem simscan


Not sure I should change anything until we figure out what's going on.

Eric



On 9/2/2017 12:03 PM, Rajesh M wrote:

eric

i could not get the bash script working with either of the two options. still 
gives error
 line 23: `return-limits': not a valid identifier.



can the limits issue in simscan be fixed ?

thanks,
rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 23:46:15 -0600
Subject:

Rajesh,

It has something to do with #!/bin/bash or #!/bin/sh.

At top of script, when I use #!/bin/sh I get the same error you do, but
when I use #!/bin/bash script works fine.


Eric


On 9/1/2017 11:07 PM, Rajesh M wrote:

eric

1) is their any resolution for this issue ?

2) if i run the script it throws error as such
.
/limits.sh: line 23: `return-limits': not a valid identifier

#!/bin/bash
if [ "$#" -ne "1" ]; then
echo ""
echo -e "\033[01;32mLimit checker\033[00m"
echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
echo ""
exit 0
fi

return-limits(){
for process in $@; do
   process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`

   if [ -z $@ ]; then
  echo "[no $process running]"
   else
  for pid in $process_pids; do
 echo "[$process #$pid -- limits]"
 cat /proc/$pid/limits
   done
   fi
done
}
return-limits $1

rajesh



- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 17:28:40 -0600
Subject:

I sent myself a large file so that I could examine simscan with the
below script (limits.sh). Here's the output:

[root@pet105 simscan-1.4.0]# ./limits simscan
[simscan #31535 -- limits]
Limit   
    
    
    
    
  Soft Limit  
    
    
 Hard Limit   

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Rajesh M
eric

around 1 gb spare.

there are a lot of log files.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sun, 3 Sep 2017 11:21:24 -0600
Subject:

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
On 9/3/2017 12:19 AM, Rajesh M wrote:
> eric
>
> i would like to conduct more load intensive tests.
>
> is it possible to provide me the shell script that you use for this purpose.
>
> rajesh


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Eric Broch

Rajesh,

How much  available space is on the /var/qmail/simscan directory?

Eric
On 9/3/2017 12:19 AM, Rajesh M wrote:

eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

rajesh



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] qq soft reject errors on high load

2017-09-03 Thread Rajesh M
eric

i would like to conduct more load intensive tests.

is it possible to provide me the shell script that you use for this purpose.

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sat, 2 Sep 2017 14:04:36 -0600
Subject:

My testing was at about 1/2 that rate with 320K attachments, almost
double that rate with 1/2 email 320K attachments, and 1/2 email with no
attachments. No soft rejects. Ugh!...difficult to troubleshoot if not
repeatable.


On 9/2/2017 1:36 PM, Rajesh M wrote:
> eric
>
> thanks for the info. the script you sent works
>
> the server processes roughly around 8 emails per day during week days and 
> around 80 percent of it comes during around 12 hours. So during peak hours it 
> is around 8000 emails per hour.
>
> i will test this out monday morning peak hours and revert.
>
> thanks
> rajesh
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Sat, 2 Sep 2017 12:35:14 -0600
> Subject:
>
> Rajesh,
>
> I'm still not sure the process limit is being reached.
>
> I'm testing a COS6/QMT server now and haven't been able to bring about
> 'qq soft reject' or failure of any sort. I'm hitting it with email using
> a delivery script from two servers with attachment size of 320KB.
>
> try the script below (psmem) to monitor:
>
> 
>
> #!/bin/bash
> ps -C $1 -O rss | gawk '{ count ++; sum += $2 }; END {count --; print
> "Number of processes =",count; print "Memory usage per process
> =",sum/1024/count, "MB"; print "Total memory usage =", sum/1024, "MB" ;};'
>
> 
>
> # chmod 755 psmem
>
> # watch -n 1 ./psmem simscan
>
>
> Not sure I should change anything until we figure out what's going on.
>
> Eric
>
>
>
> On 9/2/2017 12:03 PM, Rajesh M wrote:
>> eric
>>
>> i could not get the bash script working with either of the two options. 
>> still gives error
>>line 23: `return-limits': not a valid identifier.
>>
>>
>>
>> can the limits issue in simscan be fixed ?
>>
>> thanks,
>> rajesh
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To:qmailtoaster-list@qmailtoaster.com
>> Sent: Fri, 1 Sep 2017 23:46:15 -0600
>> Subject:
>>
>> Rajesh,
>>
>> It has something to do with #!/bin/bash or #!/bin/sh.
>>
>> At top of script, when I use #!/bin/sh I get the same error you do, but
>> when I use #!/bin/bash script works fine.
>>
>>
>> Eric
>>
>>
>> On 9/1/2017 11:07 PM, Rajesh M wrote:
>>> eric
>>>
>>> 1) is their any resolution for this issue ?
>>>
>>> 2) if i run the script it throws error as such
>>> .
>>> /limits.sh: line 23: `return-limits': not a valid identifier
>>>
>>> #!/bin/bash
>>> if [ "$#" -ne "1" ]; then
>>>   echo ""
>>>   echo -e "\033[01;32mLimit checker\033[00m"
>>>   echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
>>>   echo ""
>>>   exit 0
>>> fi
>>>
>>> return-limits(){
>>>   for process in $@; do
>>>  process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`
>>>
>>>  if [ -z $@ ]; then
>>> echo "[no $process running]"
>>>  else
>>> for pid in $process_pids; do
>>>echo "[$process #$pid -- limits]"
>>>cat /proc/$pid/limits
>>>  done
>>>  fi
>>>   done
>>> }
>>> return-limits $1
>>>
>>> rajesh
>>>
>>>
>>>
>>> - Original Message -
>>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>>> To:qmailtoaster-list@qmailtoaster.com
>>> Sent: Fri, 1 Sep 2017 17:28:40 -0600
>>> Subject:
>>>
>>> I sent myself a large file so that I could examine simscan with the
>>> below script (limits.sh). Here's the output:
>>>
>>> [root@pet105 simscan-1.4.0]# ./limits simscan
>>> [simscan #31535 -- limits]
>>> Limit   
>>>    
>>>    
>>>    
>>>    
>>>    
>>>    Soft Limit 
>>>    
>>>    
>>>     Hard 
>>> Limit   
>>>    
>>>    
>>>   Units
>>> Max cpu time   
>>>    
>>>    
>>>    

RE: Fwd: Re: [qmailtoaster] qq soft reject errors on high load

2017-09-02 Thread Rajesh M
eric

thanks for the info. the script you sent works

the server processes roughly around 8 emails per day during week days and 
around 80 percent of it comes during around 12 hours. So during peak hours it 
is around 8000 emails per hour.

i will test this out monday morning peak hours and revert.

thanks
rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sat, 2 Sep 2017 12:35:14 -0600
Subject:

Rajesh,

I'm still not sure the process limit is being reached.

I'm testing a COS6/QMT server now and haven't been able to bring about
'qq soft reject' or failure of any sort. I'm hitting it with email using
a delivery script from two servers with attachment size of 320KB.

try the script below (psmem) to monitor:



#!/bin/bash
ps -C $1 -O rss | gawk '{ count ++; sum += $2 }; END {count --; print
"Number of processes =",count; print "Memory usage per process
=",sum/1024/count, "MB"; print "Total memory usage =", sum/1024, "MB" ;};'



# chmod 755 psmem

# watch -n 1 ./psmem simscan


Not sure I should change anything until we figure out what's going on.

Eric



On 9/2/2017 12:03 PM, Rajesh M wrote:
> eric
>
> i could not get the bash script working with either of the two options. still 
> gives error
>   line 23: `return-limits': not a valid identifier.
>
>
>
> can the limits issue in simscan be fixed ?
>
> thanks,
> rajesh
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To:qmailtoaster-list@qmailtoaster.com
> Sent: Fri, 1 Sep 2017 23:46:15 -0600
> Subject:
>
> Rajesh,
>
> It has something to do with #!/bin/bash or #!/bin/sh.
>
> At top of script, when I use #!/bin/sh I get the same error you do, but
> when I use #!/bin/bash script works fine.
>
>
> Eric
>
>
> On 9/1/2017 11:07 PM, Rajesh M wrote:
>> eric
>>
>> 1) is their any resolution for this issue ?
>>
>> 2) if i run the script it throws error as such
>> .
>> /limits.sh: line 23: `return-limits': not a valid identifier
>>
>> #!/bin/bash
>> if [ "$#" -ne "1" ]; then
>>  echo ""
>>  echo -e "\033[01;32mLimit checker\033[00m"
>>  echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
>>  echo ""
>>  exit 0
>> fi
>>
>> return-limits(){
>>  for process in $@; do
>> process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`
>>
>> if [ -z $@ ]; then
>>echo "[no $process running]"
>> else
>>for pid in $process_pids; do
>>   echo "[$process #$pid -- limits]"
>>   cat /proc/$pid/limits
>> done
>> fi
>>  done
>> }
>> return-limits $1
>>
>> rajesh
>>
>>
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To:qmailtoaster-list@qmailtoaster.com
>> Sent: Fri, 1 Sep 2017 17:28:40 -0600
>> Subject:
>>
>> I sent myself a large file so that I could examine simscan with the
>> below script (limits.sh). Here's the output:
>>
>> [root@pet105 simscan-1.4.0]# ./limits simscan
>> [simscan #31535 -- limits]
>> Limit        
>>         
>>      Soft Limit   
>>         Hard 
>> Limit        
>>    Units
>> Max cpu time       
>>        unlimited 
>> unlimited       
>>      seconds
>> Max file size       
>>       unlimited unlimited 
>>         
>>    bytes
>> Max data size       
>>       unlimited unlimited 
>>         
>>    bytes
>> Max stack size 10485760 unlimited    
>>         bytes
>> Max core file size      
>>   0 unlimited      
>>       bytes
>> Max resident set      
>>     unlimited unlimited   
>>          
>> bytes
>> Max processes 1024 31121     
>>     

Fwd: Re: [qmailtoaster] qq soft reject errors on high load

2017-09-02 Thread Eric Broch


Rajesh,

I'm still not sure the process limit is being reached.

I'm testing a COS6/QMT server now and haven't been able to bring about 
'qq soft reject' or failure of any sort. I'm hitting it with email using 
a delivery script from two servers with attachment size of 320KB.


try the script below (psmem) to monitor:



#!/bin/bash
ps -C $1 -O rss | gawk '{ count ++; sum += $2 }; END {count --; print 
"Number of processes =",count; print "Memory usage per process 
=",sum/1024/count, "MB"; print "Total memory usage =", sum/1024, "MB" ;};'




# chmod 755 psmem

# watch -n 1 ./psmem simscan


Not sure I should change anything until we figure out what's going on.

Eric



On 9/2/2017 12:03 PM, Rajesh M wrote:

eric

i could not get the bash script working with either of the two options. still 
gives error
  line 23: `return-limits': not a valid identifier.



can the limits issue in simscan be fixed ?

thanks,
rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 23:46:15 -0600
Subject:

Rajesh,

It has something to do with #!/bin/bash or #!/bin/sh.

At top of script, when I use #!/bin/sh I get the same error you do, but
when I use #!/bin/bash script works fine.


Eric


On 9/1/2017 11:07 PM, Rajesh M wrote:

eric

1) is their any resolution for this issue ?

2) if i run the script it throws error as such
.
/limits.sh: line 23: `return-limits': not a valid identifier

#!/bin/bash
if [ "$#" -ne "1" ]; then
 echo ""
 echo -e "\033[01;32mLimit checker\033[00m"
 echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
 echo ""
 exit 0
fi

return-limits(){
 for process in $@; do
process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`

if [ -z $@ ]; then
   echo "[no $process running]"
else
   for pid in $process_pids; do
  echo "[$process #$pid -- limits]"
  cat /proc/$pid/limits
done
fi
 done
}
return-limits $1

rajesh



- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 17:28:40 -0600
Subject:

I sent myself a large file so that I could examine simscan with the
below script (limits.sh). Here's the output:

[root@pet105 simscan-1.4.0]# ./limits simscan
[simscan #31535 -- limits]
Limit                  
   Soft Limit           Hard Limit  
         Units
Max cpu time              unlimited 
unlimited            seconds
Max file size             unlimited 
unlimited            bytes
Max data size             unlimited 
unlimited            bytes
Max stack size 10485760 unlimited            
bytes
Max core file size        0 unlimited     
       bytes
Max resident set          unlimited unlimited  
          bytes
Max processes 1024 31121              
  processes
Max open files            1024 4096   
              files
Max locked memory         65536 65536    
            bytes
Max address space         unlimited unlimited  
          bytes
Max file locks            unlimited 
unlimited            locks
Max pending signals       31121 31121      
          signals
Max msgqueue size         819200 819200    
           bytes
Max nice priority         0       
             0
Max realtime priority     0          
          0
Max realtime timeout      unlimited unlimited     
       us

Notice the 'Max processes' and 'Max stack size', this could very well be
the issue for our simscan failures.

Eric

On 9/1/2017 5:20 PM, Eric Broch wrote:

This looks like a decent script:


#!/bin/bash
if [ "$#" -ne "1" ]; then
echo ""
echo -e "\033[01;32mLimit checker\033[00m"
echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
echo ""
exit 0
fi

return-limits(){
for process in $@; do
      

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-02 Thread Rajesh M
eric

i could not get the bash script working with either of the two options. still 
gives error
 line 23: `return-limits': not a valid identifier.



can the limits issue in simscan be fixed ?

thanks,
rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 23:46:15 -0600
Subject:

Rajesh,

It has something to do with #!/bin/bash or #!/bin/sh.

At top of script, when I use #!/bin/sh I get the same error you do, but
when I use #!/bin/bash script works fine.


Eric


On 9/1/2017 11:07 PM, Rajesh M wrote:
> eric
>
> 1) is their any resolution for this issue ?
>
> 2) if i run the script it throws error as such
> .
> /limits.sh: line 23: `return-limits': not a valid identifier
>
> #!/bin/bash
> if [ "$#" -ne "1" ]; then
> echo ""
> echo -e "\033[01;32mLimit checker\033[00m"
> echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
> echo ""
> exit 0
> fi
>
> return-limits(){
> for process in $@; do
>process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`
>
>if [ -z $@ ]; then
>   echo "[no $process running]"
>else
>   for pid in $process_pids; do
>  echo "[$process #$pid -- limits]"
>  cat /proc/$pid/limits
>done
>fi
> done
> }
> return-limits $1
>
> rajesh
>
>
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Fri, 1 Sep 2017 17:28:40 -0600
> Subject:
>
> I sent myself a large file so that I could examine simscan with the
> below script (limits.sh). Here's the output:
>
> [root@pet105 simscan-1.4.0]# ./limits simscan
> [simscan #31535 -- limits]
> Limit                  
>    Soft Limit           Hard Limit  
>          Units
> Max cpu time              unlimited 
> unlimited            seconds
> Max file size             unlimited 
> unlimited            bytes
> Max data size             unlimited 
> unlimited            bytes
> Max stack size 10485760 unlimited            
> bytes
> Max core file size        0 unlimited     
>        bytes
> Max resident set          unlimited unlimited 
>            bytes
> Max processes 1024 31121             
>    processes
> Max open files            1024 4096  
>                files
> Max locked memory         65536 65536    
>             bytes
> Max address space         unlimited unlimited  
>           bytes
> Max file locks            unlimited 
> unlimited            locks
> Max pending signals       31121 31121     
>            signals
> Max msgqueue size         819200 819200   
>             bytes
> Max nice priority         0      
>               0
> Max realtime priority     0         
>            0
> Max realtime timeout      unlimited unlimited    
>         us
>
> Notice the 'Max processes' and 'Max stack size', this could very well be
> the issue for our simscan failures.
>
> Eric
>
> On 9/1/2017 5:20 PM, Eric Broch wrote:
>> This looks like a decent script:
>>
>> 
>> #!/bin/bash
>> if [ "$#" -ne "1" ]; then
>> echo ""
>> echo -e "\033[01;32mLimit checker\033[00m"
>> echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
>> echo ""
>> exit 0
>> fi
>>
>> return-limits(){
>> for process in $@; do
>>       process_pids=`ps -C $process -o pid --no-headers | cut -d " " 
>> -f 2`
>>
>> if [ -z $@ ]; then
>> echo "[no $process running]"
>> else
>> for pid in $process_pids; do
>> echo "[$process #$pid -- limits]"
>>             cat /proc/$pid/limits
>>       done
>>       fi
>>    done
>> }
>>
>> return-limits $1
>> 
>>
>> Example:
>> # ./limits.sh tcpserver
>> or
>> # ./limits.sh simscan
>>
>> Eric
>>
>>
>> On 9/1/2017 2:51 PM, Rajesh M wrote:
>>> eric
>>>
>>> how do i check the number of user 

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-02 Thread Eric Broch

Rajesh,

If you've got the script working you can add a line above the call to 
'return_limits':  echo "Count: $1 (`pgrep $1  | wc -l`)"


This line will give you the number of the argument's ($1) processes as 
well as the rest of the output.




#!/bin/bash
if [ "$#" -ne "1" ]; then
   echo ""
   echo -e "\033[01;32mLimit checker\033[00m"
   echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
   echo ""
   exit 0
fi

return-limits(){
   for process in $@; do
  process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`

  if [ -z $@ ]; then
 echo "[no $process running]"
  else
 for pid in $process_pids; do
    echo "[$process #$pid -- limits]"
    cat /proc/$pid/limits
  done
  fi
   done
}

echo "Count: $1 (`pgrep $1  | wc -l`)"
return-limits $1



Run the script with the 'watch' command (below) and you can examine the 
number of simscan processes on you server.


# watch -n 1 ./limits.sh simscan

Eric


On 9/1/2017 11:46 PM, Eric Broch wrote:


Rajesh,

It has something to do with #!/bin/bash or #!/bin/sh.

At top of script, when I use #!/bin/sh I get the same error you do, 
but when I use #!/bin/bash script works fine.



Eric


On 9/1/2017 11:07 PM, Rajesh M wrote:

eric

1) is their any resolution for this issue ?

2) if i run the script it throws error as such
.
/limits.sh: line 23: `return-limits': not a valid identifier

#!/bin/bash
if [ "$#" -ne "1" ]; then
echo ""
echo -e "\033[01;32mLimit checker\033[00m"
echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
echo ""
exit 0
fi

return-limits(){
for process in $@; do
   process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`

   if [ -z $@ ]; then
  echo "[no $process running]"
   else
  for pid in $process_pids; do
 echo "[$process #$pid -- limits]"
 cat /proc/$pid/limits
   done
   fi
done
}
return-limits $1

rajesh



- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 17:28:40 -0600
Subject:

I sent myself a large file so that I could examine simscan with the
below script (limits.sh). Here's the output:

[root@pet105 simscan-1.4.0]# ./limits simscan
[simscan #31535 -- limits]
Limit                     Soft Limit           
Hard Limit           Units
Max cpu time              unlimited unlimited           
 seconds
Max file size             unlimited unlimited            
bytes
Max data size             unlimited unlimited            
bytes
Max stack size 10485760 unlimited            bytes
Max core file size        0 unlimited            bytes
Max resident set          unlimited unlimited            
bytes
Max processes 1024 31121                processes
Max open files            1024 4096                 
files
Max locked memory         65536 65536                
bytes
Max address space         unlimited unlimited            
bytes
Max file locks            unlimited unlimited            
locks
Max pending signals       31121 31121                
signals
Max msgqueue size         819200 819200               
bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited unlimited            us

Notice the 'Max processes' and 'Max stack size', this could very well be
the issue for our simscan failures.

Eric

On 9/1/2017 5:20 PM, Eric Broch wrote:

This looks like a decent script:


#!/bin/bash
if [ "$#" -ne "1" ]; then
echo ""
echo -e "\033[01;32mLimit checker\033[00m"
echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
echo ""
exit 0
fi

return-limits(){
for process in $@; do
      process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`

if [ -z $@ ]; then
echo "[no $process running]"
else
for pid in $process_pids; do
echo "[$process #$pid -- limits]"
            cat /proc/$pid/limits
      done
      fi
   done
}

return-limits $1


Example:
# ./limits.sh tcpserver
or
# ./limits.sh simscan

Eric


On 9/1/2017 2:51 PM, Rajesh M wrote:

eric

how do i check the number of user processes being consumed and by which user

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 14:25:36 -0600
Subject:

Number of user processes.


On 9/1/2017 1:57 PM, Rajesh M wrote:

eric

what is RLIMIT ? is it related to memory ?

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Eric Broch

Rajesh,

It has something to do with #!/bin/bash or #!/bin/sh.

At top of script, when I use #!/bin/sh I get the same error you do, but 
when I use #!/bin/bash script works fine.



Eric


On 9/1/2017 11:07 PM, Rajesh M wrote:

eric

1) is their any resolution for this issue ?

2) if i run the script it throws error as such
.
/limits.sh: line 23: `return-limits': not a valid identifier

#!/bin/bash
if [ "$#" -ne "1" ]; then
echo ""
echo -e "\033[01;32mLimit checker\033[00m"
echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
echo ""
exit 0
fi

return-limits(){
for process in $@; do
   process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`

   if [ -z $@ ]; then
  echo "[no $process running]"
   else
  for pid in $process_pids; do
 echo "[$process #$pid -- limits]"
 cat /proc/$pid/limits
   done
   fi
done
}
return-limits $1

rajesh



- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 17:28:40 -0600
Subject:

I sent myself a large file so that I could examine simscan with the
below script (limits.sh). Here's the output:

[root@pet105 simscan-1.4.0]# ./limits simscan
[simscan #31535 -- limits]
Limit                     Soft Limit           
Hard Limit           Units
Max cpu time              unlimited unlimited           
 seconds
Max file size             unlimited unlimited            
bytes
Max data size             unlimited unlimited            
bytes
Max stack size 10485760 unlimited            bytes
Max core file size        0 unlimited            bytes
Max resident set          unlimited unlimited            
bytes
Max processes 1024 31121                processes
Max open files            1024 4096                 
files
Max locked memory         65536 65536                
bytes
Max address space         unlimited unlimited            
bytes
Max file locks            unlimited unlimited            
locks
Max pending signals       31121 31121                
signals
Max msgqueue size         819200 819200               
bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited unlimited            us

Notice the 'Max processes' and 'Max stack size', this could very well be
the issue for our simscan failures.

Eric

On 9/1/2017 5:20 PM, Eric Broch wrote:

This looks like a decent script:


#!/bin/bash
if [ "$#" -ne "1" ]; then
echo ""
echo -e "\033[01;32mLimit checker\033[00m"
echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
echo ""
exit 0
fi

return-limits(){
for process in $@; do
      process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`

if [ -z $@ ]; then
echo "[no $process running]"
else
for pid in $process_pids; do
echo "[$process #$pid -- limits]"
            cat /proc/$pid/limits
      done
      fi
   done
}

return-limits $1


Example:
# ./limits.sh tcpserver
or
# ./limits.sh simscan

Eric


On 9/1/2017 2:51 PM, Rajesh M wrote:

eric

how do i check the number of user processes being consumed and by which user

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 14:25:36 -0600
Subject:

Number of user processes.


On 9/1/2017 1:57 PM, Rajesh M wrote:

eric

what is RLIMIT ? is it related to memory ?

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 13:25:49 -0600
Subject:

Here's a section of code in simscan.c that controls the number of processes.

#ifdef HAS_ULIMIT_NPROC
  /* Set ulimits to prevent hangs if it forks too many processes */
  getrlimit(RLIMIT_NPROC, );
  limits.rlim_cur = 1024;
  setrlimit(RLIMIT_NPROC, );
#endif

The RLIMIT is set to 1024.

I think this may be the issue and would explain why there would be
forking issues with qmail-queue, ripmime, and others. This is in place
to prevent hangs...could be a good thing.


On 9/1/2017 1:04 PM, Remo Mattei wrote:

interesting...

mine was an easy fix by changing the owner and permissions so
underline has some other triggering to the kernel and how it reads
those layers.

On 9/1/17 11:18 AM, Eric Broch wrote:

1)  Problem forking

vfork() is used to execute qmail-queue

The error 'simscan: error forking qmail-queue' will happen for either
of the following reasons:

a) [EAGAIN]
   The 

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Rajesh M
eric

1) is their any resolution for this issue ?

2) if i run the script it throws error as such
.
/limits.sh: line 23: `return-limits': not a valid identifier

#!/bin/bash
if [ "$#" -ne "1" ]; then
   echo ""
   echo -e "\033[01;32mLimit checker\033[00m"
   echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
   echo ""
   exit 0
fi

return-limits(){
   for process in $@; do
  process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`

  if [ -z $@ ]; then
 echo "[no $process running]"
  else
 for pid in $process_pids; do
echo "[$process #$pid -- limits]"
cat /proc/$pid/limits
  done
  fi
   done
}
return-limits $1

rajesh



- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 17:28:40 -0600
Subject:

I sent myself a large file so that I could examine simscan with the
below script (limits.sh). Here's the output:

[root@pet105 simscan-1.4.0]# ./limits simscan
[simscan #31535 -- limits]
Limit                     Soft Limit           
Hard Limit           Units
Max cpu time              unlimited unlimited           
 seconds
Max file size             unlimited unlimited            
bytes
Max data size             unlimited unlimited            
bytes
Max stack size 10485760 unlimited            bytes
Max core file size        0 unlimited            bytes
Max resident set          unlimited unlimited            
bytes
Max processes 1024 31121                processes
Max open files            1024 4096                 
files
Max locked memory         65536 65536                
bytes
Max address space         unlimited unlimited            
bytes
Max file locks            unlimited unlimited            
locks
Max pending signals       31121 31121                
signals
Max msgqueue size         819200 819200               
bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited unlimited            us

Notice the 'Max processes' and 'Max stack size', this could very well be
the issue for our simscan failures.

Eric

On 9/1/2017 5:20 PM, Eric Broch wrote:
>
> This looks like a decent script:
>
> 
> #!/bin/bash
> if [ "$#" -ne "1" ]; then
> echo ""
> echo -e "\033[01;32mLimit checker\033[00m"
> echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
> echo ""
> exit 0
> fi
>
> return-limits(){
> for process in $@; do
>       process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`
>
> if [ -z $@ ]; then
> echo "[no $process running]"
> else
> for pid in $process_pids; do
> echo "[$process #$pid -- limits]"
>             cat /proc/$pid/limits
>       done
>       fi
>    done
> }
>
> return-limits $1
> 
>
> Example:
> # ./limits.sh tcpserver
> or
> # ./limits.sh simscan
>
> Eric
>
>
> On 9/1/2017 2:51 PM, Rajesh M wrote:
>> eric
>>
>> how do i check the number of user processes being consumed and by which user
>>
>> rajesh
>>
>> - Original Message -
>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>> To:qmailtoaster-list@qmailtoaster.com
>> Sent: Fri, 1 Sep 2017 14:25:36 -0600
>> Subject:
>>
>> Number of user processes.
>>
>>
>> On 9/1/2017 1:57 PM, Rajesh M wrote:
>>> eric
>>>
>>> what is RLIMIT ? is it related to memory ?
>>>
>>> rajesh
>>>
>>> - Original Message -
>>> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
>>> To:qmailtoaster-list@qmailtoaster.com
>>> Sent: Fri, 1 Sep 2017 13:25:49 -0600
>>> Subject:
>>>
>>> Here's a section of code in simscan.c that controls the number of processes.
>>>
>>> #ifdef HAS_ULIMIT_NPROC
>>>  /* Set ulimits to prevent hangs if it forks too many processes 
>>> */
>>>  getrlimit(RLIMIT_NPROC, );
>>>  limits.rlim_cur = 1024;
>>>  setrlimit(RLIMIT_NPROC, );
>>> #endif
>>>
>>> The RLIMIT is set to 1024.
>>>
>>> I think this may be the issue and would explain why there would be
>>> forking issues with qmail-queue, ripmime, and others. This is in place
>>> to prevent hangs...could be a good thing.
>>>
>>>
>>> On 9/1/2017 1:04 PM, Remo Mattei wrote:
 interesting...

 mine was an easy fix by changing the owner and permissions so
 underline has some other triggering to the kernel and how it reads
 those layers.

 On 9/1/17 11:18 AM, Eric Broch wrote:
> 1)  Problem forking
>
> vfork() is used to execute qmail-queue
>
> The error 'simscan: error forking qmail-queue' will happen for either
> of the 

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Jeff Koch

Hi Rajesh:

Intel(R) Xeon(R) CPU E3-1230 V2

ASUS P8B-M,  16GB RAM



On 9/1/2017 3:53 PM, Rajesh M wrote:

jeff

could you please let me know the cpu details of your machine

is it a dell machine or some other with  intel E5 processor ?

rajesh


- Original Message -
From: Jeff Koch [mailto:jeffk...@intersessions.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 13:39:37 -0400
Subject:

Eric / Remo / Rajesh - we reported this same problem a number of months
ago and thought we had fixed it. But alas, it's still with us. The good
news is that we haven't had any customer complaints. I'll be very
interested if it can be resolved.

Jeff Koch


On 9/1/2017 12:01 PM, Eric Broch wrote:

I'm not sure what's going on here. Is this a relatively new phenomenon?

I wonder if it's a memory, or even a disk speed, issue since it only
happens at peak hours?

I think I'll appy Johannes Weberhofer's patch and put it out there for
you...and cross or fingers.


On 9/1/2017 6:28 AM, Rajesh M wrote:

remo / eric

i have still not being able to resolve the qq soft reject error.

these are my findings

1) the errors i see are "error forking qmail-queue" and "ripmime error" which 
causes the qq soft reject.

2) the max concurrent connections in the logs is around 35.

3)  These errors come up during peak working hours when the server is under a  
load of 4 - 8, and they increase the load even more to over 10-15.

4) i came across this link (not sure if this is related)
https://github.com/qmail/simscan/blob/master/simscan.c

5) i can share with you my live smtp logs with simscan debug.

have extracted some lines below


Error forking qmail-queue

@400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
@400059a8fa7b13162584 simscan: cdb looking up version spam
@400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 clamav: 
0.98.6/m: spam: 3.3.2
@400059a8fa7b13166fbc simscan: found 3.3.2
@400059a8fa7b13168efc simscan:[10757]:CLEAN (5.00/30.00):9.7712s:-Possible 
Spam- RE_ REQUIRE BOOKING // 1X20  //
ICD TKD TO 
BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
@400059a8fa7b1316cd7c simscan: done, execing qmail-queue
@400059a8fa7b1316fc5c simscan: error forking qmail-queue
@400059a8fa7b13199854 simscan: exit error code: 71
@400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM:
RCPTTO:rathe...@y.net


Error in ripmime

@400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
@400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
@400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
@400059a8fa98045a4fac simscan: lpart: local part is **
@400059a8fa98045a5394 simscan: cdb looking upshailesh_k_...@aissamaritime.in
@400059a8fa98045a5394 simscan: ripmime error
@400059a8fa98045a6334 simscan: exit error code: 71
@400059a8fa98045a95fc qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)):
MAILFROM:  RCPTTO:shailesh_k_...@yy.in


Wierd error logs

@400059a9032f3aa79a24 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aa7b964 simscan: clamdscan: 
/var/qmail/simscan/1504248613.321653.5221: OK
@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav
@400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
-fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
@400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
@400059a9032f3aa8c6ec -l-e-s-:- -0
@400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
@400059a9032f3aa8f1e4
@400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
iTliemes::  00
@400059a9032f3aa93834 .simscan: clamdscan: 1T1i8m es:e c0 .1(002  ms 
e0simscan: calling spamc
@400059a9032f3aa96ee4 c  s(0)simscan: calling /usr/bin/spamc simscan: 
clamdscan:
@400059a9032f3aa999dc  spamcm
@400059a9032f3aa999dc 0 s)
@400059a9032f3aa9ad64 /var/qmail/simscan/1simscan: check_spam had an error 
ret: -1
@400059a9032f3aa9e02c 504248613.307311.5215: OK
@400059a9032f337c simscan: clamdscan:
@400059a9032f3764 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aab3fbc simscan: clamdscan: Infected files: 0
@400059a9032f3aaba164 simscan: clamdscan: Time: 0.135 sec (0 m 0 s)
@400059a9032f3aac39bc simscan: clamdscan: /var/qmail/simscan/15simscan: 
exit error code: 71
@400059a9032f3aaca334 04248613.308469.5216: OK
@400059a9032f3aacddcc simscan: clamdscan:
@400059a9032f3aace984 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9




@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Eric Broch
I sent myself a large file so that I could examine simscan with the 
below script (limits.sh). Here's the output:


[root@pet105 simscan-1.4.0]# ./limits simscan
[simscan #31535 -- limits]
Limit Soft Limit   Hard Limit   Units
Max cpu time  unlimited unlimited    seconds
Max file size unlimited unlimited    bytes
Max data size unlimited unlimited    bytes
Max stack size 10485760 unlimited    bytes
Max core file size    0 unlimited    bytes
Max resident set  unlimited unlimited    bytes
Max processes 1024 31121    processes
Max open files    1024 4096 files
Max locked memory 65536 65536    bytes
Max address space unlimited unlimited    bytes
Max file locks    unlimited unlimited    locks
Max pending signals   31121 31121    signals
Max msgqueue size 819200 819200   bytes
Max nice priority 0    0
Max realtime priority 0    0
Max realtime timeout  unlimited unlimited    us

Notice the 'Max processes' and 'Max stack size', this could very well be 
the issue for our simscan failures.


Eric

On 9/1/2017 5:20 PM, Eric Broch wrote:


This looks like a decent script:


#!/bin/bash
if [ "$#" -ne "1" ]; then
echo ""
echo -e "\033[01;32mLimit checker\033[00m"
echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
echo ""
exit 0
fi

return-limits(){
for process in $@; do
      process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`

if [ -z $@ ]; then
echo "[no $process running]"
else
for pid in $process_pids; do
echo "[$process #$pid -- limits]"
            cat /proc/$pid/limits
      done
      fi
   done
}

return-limits $1


Example:
# ./limits.sh tcpserver
or
# ./limits.sh simscan

Eric


On 9/1/2017 2:51 PM, Rajesh M wrote:

eric

how do i check the number of user processes being consumed and by which user

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 14:25:36 -0600
Subject:

Number of user processes.


On 9/1/2017 1:57 PM, Rajesh M wrote:

eric

what is RLIMIT ? is it related to memory ?

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To:qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 13:25:49 -0600
Subject:

Here's a section of code in simscan.c that controls the number of processes.

#ifdef HAS_ULIMIT_NPROC
     /* Set ulimits to prevent hangs if it forks too many processes */
     getrlimit(RLIMIT_NPROC, );
     limits.rlim_cur = 1024;
     setrlimit(RLIMIT_NPROC, );
#endif

The RLIMIT is set to 1024.

I think this may be the issue and would explain why there would be
forking issues with qmail-queue, ripmime, and others. This is in place
to prevent hangs...could be a good thing.


On 9/1/2017 1:04 PM, Remo Mattei wrote:

interesting...

mine was an easy fix by changing the owner and permissions so
underline has some other triggering to the kernel and how it reads
those layers.

On 9/1/17 11:18 AM, Eric Broch wrote:

1)  Problem forking

vfork() is used to execute qmail-queue

The error 'simscan: error forking qmail-queue' will happen for either
of the following reasons:

a) [EAGAIN]
  The system-wide limit on the total number of processes under
  execution would be exceeded, or the system-imposed limit on the
  total number of processes under execution by a single user would
  be exceeded.
b) [ENOMEM]
  There is insufficient swap space for the new process.


On 9/1/2017 11:53 AM, Eric Broch wrote:

Are there any errors in /var/log/messages that correspond?


On 9/1/2017 11:39 AM, Jeff Koch wrote:

Eric / Remo / Rajesh - we reported this same problem a number of
months ago and thought we had fixed it. But alas, it's still with
us. The good news is that we haven't had any customer complaints.
I'll be very interested if it can be resolved.

Jeff Koch


On 9/1/2017 12:01 PM, Eric Broch wrote:

I'm not sure what's going on here. Is this a relatively new
phenomenon?

I wonder if it's a memory, or even a disk speed, issue since it
only happens at peak hours?

I think I'll appy Johannes Weberhofer's patch and put it out there
for you...and cross or fingers.


On 9/1/2017 6:28 AM, Rajesh M wrote:

remo / eric

i have still not being able to resolve the qq soft reject error.

these are my findings

1) the errors i see are "error forking qmail-queue" and "ripmime error" which 
causes the qq soft reject.

2) the max concurrent connections in the logs is around 35.

3)  These errors come up during peak working hours when the server is under a  
load of 4 - 8, and they increase the load even more to over 10-15.

4) i came across this link (not sure if this is related)

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Eric Broch

This looks like a decent script:


#!/bin/bash
if [ "$#" -ne "1" ]; then
echo ""
echo -e "\033[01;32mLimit checker\033[00m"
echo -e "\033[01;37mUsage:\033[01;33m $0 process_name\033[00m"
echo ""
exit 0
fi

return-limits(){
for process in $@; do
      process_pids=`ps -C $process -o pid --no-headers | cut -d " " -f 2`

if [ -z $@ ]; then
echo "[no $process running]"
else
for pid in $process_pids; do
echo "[$process #$pid -- limits]"
            cat /proc/$pid/limits
      done
      fi
   done
}

return-limits $1


Example:
# ./limits.sh tcpserver
or
# ./limits.sh simscan

Eric


On 9/1/2017 2:51 PM, Rajesh M wrote:

eric

how do i check the number of user processes being consumed and by which user

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 14:25:36 -0600
Subject:

Number of user processes.


On 9/1/2017 1:57 PM, Rajesh M wrote:

eric

what is RLIMIT ? is it related to memory ?

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 13:25:49 -0600
Subject:

Here's a section of code in simscan.c that controls the number of processes.

#ifdef HAS_ULIMIT_NPROC
     /* Set ulimits to prevent hangs if it forks too many processes */
     getrlimit(RLIMIT_NPROC, );
     limits.rlim_cur = 1024;
     setrlimit(RLIMIT_NPROC, );
#endif

The RLIMIT is set to 1024.

I think this may be the issue and would explain why there would be
forking issues with qmail-queue, ripmime, and others. This is in place
to prevent hangs...could be a good thing.


On 9/1/2017 1:04 PM, Remo Mattei wrote:

interesting...

mine was an easy fix by changing the owner and permissions so
underline has some other triggering to the kernel and how it reads
those layers.

On 9/1/17 11:18 AM, Eric Broch wrote:

1)  Problem forking

vfork() is used to execute qmail-queue

The error 'simscan: error forking qmail-queue' will happen for either
of the following reasons:

a) [EAGAIN]
  The system-wide limit on the total number of processes under
  execution would be exceeded, or the system-imposed limit on the
  total number of processes under execution by a single user would
  be exceeded.
b) [ENOMEM]
  There is insufficient swap space for the new process.


On 9/1/2017 11:53 AM, Eric Broch wrote:

Are there any errors in /var/log/messages that correspond?


On 9/1/2017 11:39 AM, Jeff Koch wrote:

Eric / Remo / Rajesh - we reported this same problem a number of
months ago and thought we had fixed it. But alas, it's still with
us. The good news is that we haven't had any customer complaints.
I'll be very interested if it can be resolved.

Jeff Koch


On 9/1/2017 12:01 PM, Eric Broch wrote:

I'm not sure what's going on here. Is this a relatively new
phenomenon?

I wonder if it's a memory, or even a disk speed, issue since it
only happens at peak hours?

I think I'll appy Johannes Weberhofer's patch and put it out there
for you...and cross or fingers.


On 9/1/2017 6:28 AM, Rajesh M wrote:

remo / eric

i have still not being able to resolve the qq soft reject error.

these are my findings

1) the errors i see are "error forking qmail-queue" and "ripmime error" which 
causes the qq soft reject.

2) the max concurrent connections in the logs is around 35.

3)  These errors come up during peak working hours when the server is under a  
load of 4 - 8, and they increase the load even more to over 10-15.

4) i came across this link (not sure if this is related)
https://github.com/qmail/simscan/blob/master/simscan.c

5) i can share with you my live smtp logs with simscan debug.

have extracted some lines below


Error forking qmail-queue

@400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
@400059a8fa7b13162584 simscan: cdb looking up version spam
@400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 clamav: 
0.98.6/m: spam: 3.3.2
@400059a8fa7b13166fbc simscan: found 3.3.2
@400059a8fa7b13168efc simscan:[10757]:CLEAN (5.00/30.00):9.7712s:-Possible 
Spam- RE_ REQUIRE BOOKING // 1X20  //
ICD TKD TO 
BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
@400059a8fa7b1316cd7c simscan: done, execing qmail-queue
@400059a8fa7b1316fc5c simscan: error forking qmail-queue
@400059a8fa7b13199854 simscan: exit error code: 71
@400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM:
RCPTTO:rathe...@y.net


Error in ripmime

@400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
@400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
@400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
@400059a8fa98045a4fac simscan: lpart: local part is **
@400059a8fa98045a5394 simscan: cdb looking upshailesh_k_...@aissamaritime.in
@400059a8fa98045a5394 simscan: 

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Rajesh M
eric

how do i check the number of user processes being consumed and by which user

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 14:25:36 -0600
Subject:

Number of user processes.


On 9/1/2017 1:57 PM, Rajesh M wrote:
> eric
>
> what is RLIMIT ? is it related to memory ?
>
> rajesh
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Fri, 1 Sep 2017 13:25:49 -0600
> Subject:
>
> Here's a section of code in simscan.c that controls the number of processes.
>
> #ifdef HAS_ULIMIT_NPROC
>     /* Set ulimits to prevent hangs if it forks too many processes */
>     getrlimit(RLIMIT_NPROC, );
>     limits.rlim_cur = 1024;
>     setrlimit(RLIMIT_NPROC, );
> #endif
>
> The RLIMIT is set to 1024.
>
> I think this may be the issue and would explain why there would be
> forking issues with qmail-queue, ripmime, and others. This is in place
> to prevent hangs...could be a good thing.
>
>
> On 9/1/2017 1:04 PM, Remo Mattei wrote:
>> interesting...
>>
>> mine was an easy fix by changing the owner and permissions so
>> underline has some other triggering to the kernel and how it reads
>> those layers.
>>
>> On 9/1/17 11:18 AM, Eric Broch wrote:
>>> 1)  Problem forking
>>>
>>> vfork() is used to execute qmail-queue
>>>
>>> The error 'simscan: error forking qmail-queue' will happen for either
>>> of the following reasons:
>>>
>>> a) [EAGAIN]
>>>  The system-wide limit on the total number of processes under
>>>  execution would be exceeded, or the system-imposed limit on the
>>>  total number of processes under execution by a single user would
>>>  be exceeded.
>>> b) [ENOMEM]
>>>  There is insufficient swap space for the new process.
>>>
>>>
>>> On 9/1/2017 11:53 AM, Eric Broch wrote:
 Are there any errors in /var/log/messages that correspond?


 On 9/1/2017 11:39 AM, Jeff Koch wrote:
> Eric / Remo / Rajesh - we reported this same problem a number of
> months ago and thought we had fixed it. But alas, it's still with
> us. The good news is that we haven't had any customer complaints.
> I'll be very interested if it can be resolved.
>
> Jeff Koch
>
>
> On 9/1/2017 12:01 PM, Eric Broch wrote:
>> I'm not sure what's going on here. Is this a relatively new
>> phenomenon?
>>
>> I wonder if it's a memory, or even a disk speed, issue since it
>> only happens at peak hours?
>>
>> I think I'll appy Johannes Weberhofer's patch and put it out there
>> for you...and cross or fingers.
>>
>>
>> On 9/1/2017 6:28 AM, Rajesh M wrote:
>>> remo / eric
>>>
>>> i have still not being able to resolve the qq soft reject error.
>>>
>>> these are my findings
>>>
>>> 1) the errors i see are "error forking qmail-queue" and "ripmime error" 
>>> which causes the qq soft reject.
>>>
>>> 2) the max concurrent connections in the logs is around 35.
>>>
>>> 3)  These errors come up during peak working hours when the server is 
>>> under a  load of 4 - 8, and they increase the load even more to over 
>>> 10-15.
>>>
>>> 4) i came across this link (not sure if this is related)
>>> https://github.com/qmail/simscan/blob/master/simscan.c
>>>
>>> 5) i can share with you my live smtp logs with simscan debug.
>>>
>>> have extracted some lines below
>>>
>>>
>>> Error forking qmail-queue
>>>
>>> @400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
>>> @400059a8fa7b13162584 simscan: cdb looking up version spam
>>> @400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 
>>> clamav: 0.98.6/m: spam: 3.3.2
>>> @400059a8fa7b13166fbc simscan: found 3.3.2
>>> @400059a8fa7b13168efc simscan:[10757]:CLEAN 
>>> (5.00/30.00):9.7712s:-Possible Spam- RE_ REQUIRE BOOKING // 1X20  //
>>> ICD TKD TO 
>>> BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
>>> @400059a8fa7b1316cd7c simscan: done, execing qmail-queue
>>> @400059a8fa7b1316fc5c simscan: error forking qmail-queue
>>> @400059a8fa7b13199854 simscan: exit error code: 71
>>> @400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server 
>>> temporarily rejected message (#4.3.0)): MAILFROM:
>>> RCPTTO:rathe...@y.net
>>>
>>>
>>> Error in ripmime
>>>
>>> @400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
>>> @400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
>>> @400059a8fa98045a4fac simscan: pelookup: local part is 
>>> shailesh_k_bom
>>> @400059a8fa98045a4fac simscan: lpart: local part is **
>>> @400059a8fa98045a5394 simscan: cdb looking 
>>> upshailesh_k_...@aissamaritime.in

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Eric Broch

Number of user processes.


On 9/1/2017 1:57 PM, Rajesh M wrote:

eric

what is RLIMIT ? is it related to memory ?

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 13:25:49 -0600
Subject:

Here's a section of code in simscan.c that controls the number of processes.

#ifdef HAS_ULIMIT_NPROC
    /* Set ulimits to prevent hangs if it forks too many processes */
    getrlimit(RLIMIT_NPROC, );
    limits.rlim_cur = 1024;
    setrlimit(RLIMIT_NPROC, );
#endif

The RLIMIT is set to 1024.

I think this may be the issue and would explain why there would be
forking issues with qmail-queue, ripmime, and others. This is in place
to prevent hangs...could be a good thing.


On 9/1/2017 1:04 PM, Remo Mattei wrote:

interesting...

mine was an easy fix by changing the owner and permissions so
underline has some other triggering to the kernel and how it reads
those layers.

On 9/1/17 11:18 AM, Eric Broch wrote:

1)  Problem forking

vfork() is used to execute qmail-queue

The error 'simscan: error forking qmail-queue' will happen for either
of the following reasons:

a) [EAGAIN]
 The system-wide limit on the total number of processes under
 execution would be exceeded, or the system-imposed limit on the
 total number of processes under execution by a single user would
 be exceeded.
b) [ENOMEM]
 There is insufficient swap space for the new process.


On 9/1/2017 11:53 AM, Eric Broch wrote:

Are there any errors in /var/log/messages that correspond?


On 9/1/2017 11:39 AM, Jeff Koch wrote:

Eric / Remo / Rajesh - we reported this same problem a number of
months ago and thought we had fixed it. But alas, it's still with
us. The good news is that we haven't had any customer complaints.
I'll be very interested if it can be resolved.

Jeff Koch


On 9/1/2017 12:01 PM, Eric Broch wrote:

I'm not sure what's going on here. Is this a relatively new
phenomenon?

I wonder if it's a memory, or even a disk speed, issue since it
only happens at peak hours?

I think I'll appy Johannes Weberhofer's patch and put it out there
for you...and cross or fingers.


On 9/1/2017 6:28 AM, Rajesh M wrote:

remo / eric

i have still not being able to resolve the qq soft reject error.

these are my findings

1) the errors i see are "error forking qmail-queue" and "ripmime error" which 
causes the qq soft reject.

2) the max concurrent connections in the logs is around 35.

3)  These errors come up during peak working hours when the server is under a  
load of 4 - 8, and they increase the load even more to over 10-15.

4) i came across this link (not sure if this is related)
https://github.com/qmail/simscan/blob/master/simscan.c

5) i can share with you my live smtp logs with simscan debug.

have extracted some lines below


Error forking qmail-queue

@400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
@400059a8fa7b13162584 simscan: cdb looking up version spam
@400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 clamav: 
0.98.6/m: spam: 3.3.2
@400059a8fa7b13166fbc simscan: found 3.3.2
@400059a8fa7b13168efc simscan:[10757]:CLEAN (5.00/30.00):9.7712s:-Possible 
Spam- RE_ REQUIRE BOOKING // 1X20  //
ICD TKD TO 
BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
@400059a8fa7b1316cd7c simscan: done, execing qmail-queue
@400059a8fa7b1316fc5c simscan: error forking qmail-queue
@400059a8fa7b13199854 simscan: exit error code: 71
@400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM:
RCPTTO:rathe...@y.net


Error in ripmime

@400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
@400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
@400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
@400059a8fa98045a4fac simscan: lpart: local part is **
@400059a8fa98045a5394 simscan: cdb looking upshailesh_k_...@aissamaritime.in
@400059a8fa98045a5394 simscan: ripmime error
@400059a8fa98045a6334 simscan: exit error code: 71
@400059a8fa98045a95fc qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)):
MAILFROM:  RCPTTO:shailesh_k_...@yy.in


Wierd error logs

@400059a9032f3aa79a24 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aa7b964 simscan: clamdscan: 
/var/qmail/simscan/1504248613.321653.5221: OK
@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav
@400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
-fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
@400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
@400059a9032f3aa8c6ec -l-e-s-:- -0
@400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
@400059a9032f3aa8f1e4

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Rajesh M
eric

what is RLIMIT ? is it related to memory ?

rajesh

- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 13:25:49 -0600
Subject:

Here's a section of code in simscan.c that controls the number of processes.

#ifdef HAS_ULIMIT_NPROC
   /* Set ulimits to prevent hangs if it forks too many processes */
   getrlimit(RLIMIT_NPROC, );
   limits.rlim_cur = 1024;
   setrlimit(RLIMIT_NPROC, );
#endif

The RLIMIT is set to 1024.

I think this may be the issue and would explain why there would be
forking issues with qmail-queue, ripmime, and others. This is in place
to prevent hangs...could be a good thing.


On 9/1/2017 1:04 PM, Remo Mattei wrote:
> interesting...
>
> mine was an easy fix by changing the owner and permissions so
> underline has some other triggering to the kernel and how it reads
> those layers.
>
> On 9/1/17 11:18 AM, Eric Broch wrote:
>>
>> 1)  Problem forking
>>
>> vfork() is used to execute qmail-queue
>>
>> The error 'simscan: error forking qmail-queue' will happen for either
>> of the following reasons:
>>
>> a) [EAGAIN]
>> The system-wide limit on the total number of processes under
>> execution would be exceeded, or the system-imposed limit on the
>> total number of processes under execution by a single user would
>> be exceeded.
>> b) [ENOMEM]
>> There is insufficient swap space for the new process.
>>
>>
>> On 9/1/2017 11:53 AM, Eric Broch wrote:
>>>
>>> Are there any errors in /var/log/messages that correspond?
>>>
>>>
>>> On 9/1/2017 11:39 AM, Jeff Koch wrote:

 Eric / Remo / Rajesh - we reported this same problem a number of
 months ago and thought we had fixed it. But alas, it's still with
 us. The good news is that we haven't had any customer complaints.
 I'll be very interested if it can be resolved.

 Jeff Koch


 On 9/1/2017 12:01 PM, Eric Broch wrote:
>
> I'm not sure what's going on here. Is this a relatively new
> phenomenon?
>
> I wonder if it's a memory, or even a disk speed, issue since it
> only happens at peak hours?
>
> I think I'll appy Johannes Weberhofer's patch and put it out there
> for you...and cross or fingers.
>
>
> On 9/1/2017 6:28 AM, Rajesh M wrote:
>> remo / eric
>>
>> i have still not being able to resolve the qq soft reject error.
>>
>> these are my findings
>>
>> 1) the errors i see are "error forking qmail-queue" and "ripmime error" 
>> which causes the qq soft reject.
>>
>> 2) the max concurrent connections in the logs is around 35.
>>
>> 3)  These errors come up during peak working hours when the server is 
>> under a  load of 4 - 8, and they increase the load even more to over 
>> 10-15.
>>
>> 4) i came across this link (not sure if this is related)
>> https://github.com/qmail/simscan/blob/master/simscan.c
>>
>> 5) i can share with you my live smtp logs with simscan debug.
>>
>> have extracted some lines below
>>
>>
>> Error forking qmail-queue
>>
>> @400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
>> @400059a8fa7b13162584 simscan: cdb looking up version spam
>> @400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 
>> clamav: 0.98.6/m: spam: 3.3.2
>> @400059a8fa7b13166fbc simscan: found 3.3.2
>> @400059a8fa7b13168efc simscan:[10757]:CLEAN 
>> (5.00/30.00):9.7712s:-Possible Spam- RE_ REQUIRE BOOKING // 1X20  //
>> ICD TKD TO 
>> BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
>> @400059a8fa7b1316cd7c simscan: done, execing qmail-queue
>> @400059a8fa7b1316fc5c simscan: error forking qmail-queue
>> @400059a8fa7b13199854 simscan: exit error code: 71
>> @400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)): MAILFROM:
>> RCPTTO:rathe...@y.net
>>
>>
>> Error in ripmime
>>
>> @400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
>> @400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
>> @400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
>> @400059a8fa98045a4fac simscan: lpart: local part is **
>> @400059a8fa98045a5394 simscan: cdb looking 
>> upshailesh_k_...@aissamaritime.in
>> @400059a8fa98045a5394 simscan: ripmime error
>> @400059a8fa98045a6334 simscan: exit error code: 71
>> @400059a8fa98045a95fc qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)):
>> MAILFROM:  RCPTTO:shailesh_k_...@yy.in
>>
>>
>> Wierd error logs
>>
>> @400059a9032f3aa79a24 simscan: clamdscan: --- SCAN SUMMARY 
>> ---
>> @400059a9032f3aa7b964 

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Rajesh M
jeff

could you please let me know the cpu details of your machine

is it a dell machine or some other with  intel E5 processor ?

rajesh


- Original Message -
From: Jeff Koch [mailto:jeffk...@intersessions.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 13:39:37 -0400
Subject:

Eric / Remo / Rajesh - we reported this same problem a number of months
ago and thought we had fixed it. But alas, it's still with us. The good
news is that we haven't had any customer complaints. I'll be very
interested if it can be resolved.

Jeff Koch


On 9/1/2017 12:01 PM, Eric Broch wrote:
>
> I'm not sure what's going on here. Is this a relatively new phenomenon?
>
> I wonder if it's a memory, or even a disk speed, issue since it only
> happens at peak hours?
>
> I think I'll appy Johannes Weberhofer's patch and put it out there for
> you...and cross or fingers.
>
>
> On 9/1/2017 6:28 AM, Rajesh M wrote:
>> remo / eric
>>
>> i have still not being able to resolve the qq soft reject error.
>>
>> these are my findings
>>
>> 1) the errors i see are "error forking qmail-queue" and "ripmime error" 
>> which causes the qq soft reject.
>>
>> 2) the max concurrent connections in the logs is around 35.
>>
>> 3)  These errors come up during peak working hours when the server is under 
>> a  load of 4 - 8, and they increase the load even more to over 10-15.
>>
>> 4) i came across this link (not sure if this is related)
>> https://github.com/qmail/simscan/blob/master/simscan.c
>>
>> 5) i can share with you my live smtp logs with simscan debug.
>>
>> have extracted some lines below
>>
>>
>> Error forking qmail-queue
>>
>> @400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
>> @400059a8fa7b13162584 simscan: cdb looking up version spam
>> @400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 clamav: 
>> 0.98.6/m: spam: 3.3.2
>> @400059a8fa7b13166fbc simscan: found 3.3.2
>> @400059a8fa7b13168efc simscan:[10757]:CLEAN 
>> (5.00/30.00):9.7712s:-Possible Spam- RE_ REQUIRE BOOKING // 1X20  //
>> ICD TKD TO 
>> BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
>> @400059a8fa7b1316cd7c simscan: done, execing qmail-queue
>> @400059a8fa7b1316fc5c simscan: error forking qmail-queue
>> @400059a8fa7b13199854 simscan: exit error code: 71
>> @400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)): MAILFROM:
>> RCPTTO:rathe...@y.net
>>
>>
>> Error in ripmime
>>
>> @400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
>> @400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
>> @400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
>> @400059a8fa98045a4fac simscan: lpart: local part is **
>> @400059a8fa98045a5394 simscan: cdb looking 
>> upshailesh_k_...@aissamaritime.in
>> @400059a8fa98045a5394 simscan: ripmime error
>> @400059a8fa98045a6334 simscan: exit error code: 71
>> @400059a8fa98045a95fc qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)):
>> MAILFROM:  RCPTTO:shailesh_k_...@yy.in
>>
>>
>> Wierd error logs
>>
>> @400059a9032f3aa79a24 simscan: clamdscan: --- SCAN SUMMARY 
>> ---
>> @400059a9032f3aa7b964 simscan: clamdscan: 
>> /var/qmail/simscan/1504248613.321653.5221: OK
>> @400059a9032f3aa86d14 simscan: clamdscan:
>> @400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
>> version clamav
>> @400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe 
>> d- -fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
>> @400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
>> @400059a9032f3aa8c6ec -l-e-s-:- -0
>> @400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
>> @400059a9032f3aa8f1e4
>> @400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
>> iTliemes::  00
>> @400059a9032f3aa93834 .simscan: clamdscan: 1T1i8m es:e c0 .1(002  ms 
>> e0simscan: calling spamc
>> @400059a9032f3aa96ee4 c  s(0)simscan: calling /usr/bin/spamc simscan: 
>> clamdscan:
>> @400059a9032f3aa999dc  spamcm
>> @400059a9032f3aa999dc 0 s)
>> @400059a9032f3aa9ad64 /var/qmail/simscan/1simscan: check_spam had an 
>> error ret: -1
>> @400059a9032f3aa9e02c 504248613.307311.5215: OK
>> @400059a9032f337c simscan: clamdscan:
>> @400059a9032f3764 simscan: clamdscan: --- SCAN SUMMARY 
>> ---
>> @400059a9032f3aab3fbc simscan: clamdscan: Infected files: 0
>> @400059a9032f3aaba164 simscan: clamdscan: Time: 0.135 sec (0 m 0 s)
>> @400059a9032f3aac39bc simscan: clamdscan: /var/qmail/simscan/15simscan: 
>> exit error code: 71
>> @400059a9032f3aaca334 04248613.308469.5216: OK
>> @400059a9032f3aacddcc simscan: clamdscan:
>> @400059a9032f3aace984 simscan: clamdscan: --- SCAN SUMMARY 
>> ---
>> 

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Eric Broch


Here's a section of code in simscan.c that controls the number of processes.

#ifdef HAS_ULIMIT_NPROC
  /* Set ulimits to prevent hangs if it forks too many processes */
  getrlimit(RLIMIT_NPROC, );
  limits.rlim_cur = 1024;
  setrlimit(RLIMIT_NPROC, );
#endif

The RLIMIT is set to 1024.

I think this may be the issue and would explain why there would be 
forking issues with qmail-queue, ripmime, and others. This is in place 
to prevent hangs...could be a good thing.



On 9/1/2017 1:04 PM, Remo Mattei wrote:

interesting...

mine was an easy fix by changing the owner and permissions so 
underline has some other triggering to the kernel and how it reads 
those layers.


On 9/1/17 11:18 AM, Eric Broch wrote:


1)  Problem forking

vfork() is used to execute qmail-queue

The error 'simscan: error forking qmail-queue' will happen for either 
of the following reasons:


a) [EAGAIN]
The system-wide limit on the total number of processes under
execution would be exceeded, or the system-imposed limit on the
total number of processes under execution by a single user would
be exceeded. 
b) [ENOMEM]
There is insufficient swap space for the new process. 



On 9/1/2017 11:53 AM, Eric Broch wrote:


Are there any errors in /var/log/messages that correspond?


On 9/1/2017 11:39 AM, Jeff Koch wrote:


Eric / Remo / Rajesh - we reported this same problem a number of 
months ago and thought we had fixed it. But alas, it's still with 
us. The good news is that we haven't had any customer complaints. 
I'll be very interested if it can be resolved.


Jeff Koch


On 9/1/2017 12:01 PM, Eric Broch wrote:


I'm not sure what's going on here. Is this a relatively new 
phenomenon?


I wonder if it's a memory, or even a disk speed, issue since it 
only happens at peak hours?


I think I'll appy Johannes Weberhofer's patch and put it out there 
for you...and cross or fingers.



On 9/1/2017 6:28 AM, Rajesh M wrote:

remo / eric

i have still not being able to resolve the qq soft reject error.

these are my findings

1) the errors i see are "error forking qmail-queue" and "ripmime error" which 
causes the qq soft reject.

2) the max concurrent connections in the logs is around 35.

3)  These errors come up during peak working hours when the server is under a  
load of 4 - 8, and they increase the load even more to over 10-15.

4) i came across this link (not sure if this is related)
https://github.com/qmail/simscan/blob/master/simscan.c

5) i can share with you my live smtp logs with simscan debug.

have extracted some lines below


Error forking qmail-queue

@400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
@400059a8fa7b13162584 simscan: cdb looking up version spam
@400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 clamav: 
0.98.6/m: spam: 3.3.2
@400059a8fa7b13166fbc simscan: found 3.3.2
@400059a8fa7b13168efc simscan:[10757]:CLEAN (5.00/30.00):9.7712s:-Possible 
Spam- RE_ REQUIRE BOOKING // 1X20  //
ICD TKD TO 
BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
@400059a8fa7b1316cd7c simscan: done, execing qmail-queue
@400059a8fa7b1316fc5c simscan: error forking qmail-queue
@400059a8fa7b13199854 simscan: exit error code: 71
@400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM:
RCPTTO:rathe...@y.net


Error in ripmime

@400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
@400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
@400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
@400059a8fa98045a4fac simscan: lpart: local part is **
@400059a8fa98045a5394 simscan: cdb looking upshailesh_k_...@aissamaritime.in
@400059a8fa98045a5394 simscan: ripmime error
@400059a8fa98045a6334 simscan: exit error code: 71
@400059a8fa98045a95fc qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)):
MAILFROM:  RCPTTO:shailesh_k_...@yy.in


Wierd error logs

@400059a9032f3aa79a24 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aa7b964 simscan: clamdscan: 
/var/qmail/simscan/1504248613.321653.5221: OK
@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav
@400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
-fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
@400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
@400059a9032f3aa8c6ec -l-e-s-:- -0
@400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
@400059a9032f3aa8f1e4
@400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
iTliemes::  00
@400059a9032f3aa93834 .simscan: clamdscan: 1T1i8m es:e c0 .1(002  ms 
e0simscan: calling spamc
@400059a9032f3aa96ee4 c  s(0)simscan: calling /usr/bin/spamc simscan: 
clamdscan:

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Eric Broch

2) Problem forking (ripmime)

vfork is also used to execute ripmime

The error 'simscan: ripmime error' will happen for the same reasons as 
mentioned in the previous email (a and b below):


a) [EAGAIN]
   The system-wide limit on the total number of processes under
   execution would be exceeded, or the system-imposed limit on the
   total number of processes under execution by a single user would be
   exceeded. 
b) [ENOMEM]
   There is insufficient swap space for the new process. 


Eric



On 9/1/2017 12:18 PM, Eric Broch wrote:


1)  Problem forking

vfork() is used to execute qmail-queue

The error 'simscan: error forking qmail-queue' will happen for either 
of the following reasons:


a) [EAGAIN]
The system-wide limit on the total number of processes under
execution would be exceeded, or the system-imposed limit on the
total number of processes under execution by a single user would
be exceeded. 
b) [ENOMEM]
There is insufficient swap space for the new process. 



On 9/1/2017 11:53 AM, Eric Broch wrote:


Are there any errors in /var/log/messages that correspond?


On 9/1/2017 11:39 AM, Jeff Koch wrote:


Eric / Remo / Rajesh - we reported this same problem a number of 
months ago and thought we had fixed it. But alas, it's still with 
us. The good news is that we haven't had any customer complaints. 
I'll be very interested if it can be resolved.


Jeff Koch


On 9/1/2017 12:01 PM, Eric Broch wrote:


I'm not sure what's going on here. Is this a relatively new 
phenomenon?


I wonder if it's a memory, or even a disk speed, issue since it 
only happens at peak hours?


I think I'll appy Johannes Weberhofer's patch and put it out there 
for you...and cross or fingers.



On 9/1/2017 6:28 AM, Rajesh M wrote:

remo / eric

i have still not being able to resolve the qq soft reject error.

these are my findings

1) the errors i see are "error forking qmail-queue" and "ripmime error" which 
causes the qq soft reject.

2) the max concurrent connections in the logs is around 35.

3)  These errors come up during peak working hours when the server is under a  
load of 4 - 8, and they increase the load even more to over 10-15.

4) i came across this link (not sure if this is related)
https://github.com/qmail/simscan/blob/master/simscan.c

5) i can share with you my live smtp logs with simscan debug.

have extracted some lines below


Error forking qmail-queue

@400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
@400059a8fa7b13162584 simscan: cdb looking up version spam
@400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 clamav: 
0.98.6/m: spam: 3.3.2
@400059a8fa7b13166fbc simscan: found 3.3.2
@400059a8fa7b13168efc simscan:[10757]:CLEAN (5.00/30.00):9.7712s:-Possible 
Spam- RE_ REQUIRE BOOKING // 1X20  //
ICD TKD TO 
BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
@400059a8fa7b1316cd7c simscan: done, execing qmail-queue
@400059a8fa7b1316fc5c simscan: error forking qmail-queue
@400059a8fa7b13199854 simscan: exit error code: 71
@400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM:
RCPTTO:rathe...@y.net


Error in ripmime

@400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
@400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
@400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
@400059a8fa98045a4fac simscan: lpart: local part is **
@400059a8fa98045a5394 simscan: cdb looking upshailesh_k_...@aissamaritime.in
@400059a8fa98045a5394 simscan: ripmime error
@400059a8fa98045a6334 simscan: exit error code: 71
@400059a8fa98045a95fc qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)):
MAILFROM:  RCPTTO:shailesh_k_...@yy.in


Wierd error logs

@400059a9032f3aa79a24 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aa7b964 simscan: clamdscan: 
/var/qmail/simscan/1504248613.321653.5221: OK
@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav
@400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
-fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
@400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
@400059a9032f3aa8c6ec -l-e-s-:- -0
@400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
@400059a9032f3aa8f1e4
@400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
iTliemes::  00
@400059a9032f3aa93834 .simscan: clamdscan: 1T1i8m es:e c0 .1(002  ms 
e0simscan: calling spamc
@400059a9032f3aa96ee4 c  s(0)simscan: calling /usr/bin/spamc simscan: 
clamdscan:
@400059a9032f3aa999dc  spamcm
@400059a9032f3aa999dc 0 s)
@400059a9032f3aa9ad64 /var/qmail/simscan/1simscan: check_spam had an error 
ret: -1
@400059a9032f3aa9e02c 

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Eric Broch

1)  Problem forking

vfork() is used to execute qmail-queue

The error 'simscan: error forking qmail-queue' will happen for either of 
the following reasons:


a) [EAGAIN]
   The system-wide limit on the total number of processes under
   execution would be exceeded, or the system-imposed limit on the
   total number of processes under execution by a single user would be
   exceeded. 
b) [ENOMEM]
   There is insufficient swap space for the new process. 



On 9/1/2017 11:53 AM, Eric Broch wrote:


Are there any errors in /var/log/messages that correspond?


On 9/1/2017 11:39 AM, Jeff Koch wrote:


Eric / Remo / Rajesh - we reported this same problem a number of 
months ago and thought we had fixed it. But alas, it's still with us. 
The good news is that we haven't had any customer complaints. I'll be 
very interested if it can be resolved.


Jeff Koch


On 9/1/2017 12:01 PM, Eric Broch wrote:


I'm not sure what's going on here. Is this a relatively new phenomenon?

I wonder if it's a memory, or even a disk speed, issue since it only 
happens at peak hours?


I think I'll appy Johannes Weberhofer's patch and put it out there 
for you...and cross or fingers.



On 9/1/2017 6:28 AM, Rajesh M wrote:

remo / eric

i have still not being able to resolve the qq soft reject error.

these are my findings

1) the errors i see are "error forking qmail-queue" and "ripmime error" which 
causes the qq soft reject.

2) the max concurrent connections in the logs is around 35.

3)  These errors come up during peak working hours when the server is under a  
load of 4 - 8, and they increase the load even more to over 10-15.

4) i came across this link (not sure if this is related)
https://github.com/qmail/simscan/blob/master/simscan.c

5) i can share with you my live smtp logs with simscan debug.

have extracted some lines below


Error forking qmail-queue

@400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
@400059a8fa7b13162584 simscan: cdb looking up version spam
@400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 clamav: 
0.98.6/m: spam: 3.3.2
@400059a8fa7b13166fbc simscan: found 3.3.2
@400059a8fa7b13168efc simscan:[10757]:CLEAN (5.00/30.00):9.7712s:-Possible 
Spam- RE_ REQUIRE BOOKING // 1X20  //
ICD TKD TO 
BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
@400059a8fa7b1316cd7c simscan: done, execing qmail-queue
@400059a8fa7b1316fc5c simscan: error forking qmail-queue
@400059a8fa7b13199854 simscan: exit error code: 71
@400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM:
RCPTTO:rathe...@y.net


Error in ripmime

@400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
@400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
@400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
@400059a8fa98045a4fac simscan: lpart: local part is **
@400059a8fa98045a5394 simscan: cdb looking upshailesh_k_...@aissamaritime.in
@400059a8fa98045a5394 simscan: ripmime error
@400059a8fa98045a6334 simscan: exit error code: 71
@400059a8fa98045a95fc qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)):
MAILFROM:  RCPTTO:shailesh_k_...@yy.in


Wierd error logs

@400059a9032f3aa79a24 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aa7b964 simscan: clamdscan: 
/var/qmail/simscan/1504248613.321653.5221: OK
@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav
@400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
-fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
@400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
@400059a9032f3aa8c6ec -l-e-s-:- -0
@400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
@400059a9032f3aa8f1e4
@400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
iTliemes::  00
@400059a9032f3aa93834 .simscan: clamdscan: 1T1i8m es:e c0 .1(002  ms 
e0simscan: calling spamc
@400059a9032f3aa96ee4 c  s(0)simscan: calling /usr/bin/spamc simscan: 
clamdscan:
@400059a9032f3aa999dc  spamcm
@400059a9032f3aa999dc 0 s)
@400059a9032f3aa9ad64 /var/qmail/simscan/1simscan: check_spam had an error 
ret: -1
@400059a9032f3aa9e02c 504248613.307311.5215: OK
@400059a9032f337c simscan: clamdscan:
@400059a9032f3764 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aab3fbc simscan: clamdscan: Infected files: 0
@400059a9032f3aaba164 simscan: clamdscan: Time: 0.135 sec (0 m 0 s)
@400059a9032f3aac39bc simscan: clamdscan: /var/qmail/simscan/15simscan: 
exit error code: 71
@400059a9032f3aaca334 04248613.308469.5216: OK
@400059a9032f3aacddcc simscan: clamdscan:
@400059a9032f3aace984 simscan: clamdscan: --- SCAN 

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Jeff Koch
Eric / Remo / Rajesh - we reported this same problem a number of months 
ago and thought we had fixed it. But alas, it's still with us. The good 
news is that we haven't had any customer complaints. I'll be very 
interested if it can be resolved.


Jeff Koch


On 9/1/2017 12:01 PM, Eric Broch wrote:


I'm not sure what's going on here. Is this a relatively new phenomenon?

I wonder if it's a memory, or even a disk speed, issue since it only 
happens at peak hours?


I think I'll appy Johannes Weberhofer's patch and put it out there for 
you...and cross or fingers.



On 9/1/2017 6:28 AM, Rajesh M wrote:

remo / eric

i have still not being able to resolve the qq soft reject error.

these are my findings

1) the errors i see are "error forking qmail-queue" and "ripmime error" which 
causes the qq soft reject.

2) the max concurrent connections in the logs is around 35.

3)  These errors come up during peak working hours when the server is under a  
load of 4 - 8, and they increase the load even more to over 10-15.

4) i came across this link (not sure if this is related)
https://github.com/qmail/simscan/blob/master/simscan.c

5) i can share with you my live smtp logs with simscan debug.

have extracted some lines below


Error forking qmail-queue

@400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
@400059a8fa7b13162584 simscan: cdb looking up version spam
@400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 clamav: 
0.98.6/m: spam: 3.3.2
@400059a8fa7b13166fbc simscan: found 3.3.2
@400059a8fa7b13168efc simscan:[10757]:CLEAN (5.00/30.00):9.7712s:-Possible 
Spam- RE_ REQUIRE BOOKING // 1X20  //
ICD TKD TO 
BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
@400059a8fa7b1316cd7c simscan: done, execing qmail-queue
@400059a8fa7b1316fc5c simscan: error forking qmail-queue
@400059a8fa7b13199854 simscan: exit error code: 71
@400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM:
RCPTTO:rathe...@y.net


Error in ripmime

@400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
@400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
@400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
@400059a8fa98045a4fac simscan: lpart: local part is **
@400059a8fa98045a5394 simscan: cdb looking upshailesh_k_...@aissamaritime.in
@400059a8fa98045a5394 simscan: ripmime error
@400059a8fa98045a6334 simscan: exit error code: 71
@400059a8fa98045a95fc qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)):
MAILFROM:  RCPTTO:shailesh_k_...@yy.in


Wierd error logs

@400059a9032f3aa79a24 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aa7b964 simscan: clamdscan: 
/var/qmail/simscan/1504248613.321653.5221: OK
@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav
@400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
-fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
@400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
@400059a9032f3aa8c6ec -l-e-s-:- -0
@400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
@400059a9032f3aa8f1e4
@400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
iTliemes::  00
@400059a9032f3aa93834 .simscan: clamdscan: 1T1i8m es:e c0 .1(002  ms 
e0simscan: calling spamc
@400059a9032f3aa96ee4 c  s(0)simscan: calling /usr/bin/spamc simscan: 
clamdscan:
@400059a9032f3aa999dc  spamcm
@400059a9032f3aa999dc 0 s)
@400059a9032f3aa9ad64 /var/qmail/simscan/1simscan: check_spam had an error 
ret: -1
@400059a9032f3aa9e02c 504248613.307311.5215: OK
@400059a9032f337c simscan: clamdscan:
@400059a9032f3764 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aab3fbc simscan: clamdscan: Infected files: 0
@400059a9032f3aaba164 simscan: clamdscan: Time: 0.135 sec (0 m 0 s)
@400059a9032f3aac39bc simscan: clamdscan: /var/qmail/simscan/15simscan: 
exit error code: 71
@400059a9032f3aaca334 04248613.308469.5216: OK
@400059a9032f3aacddcc simscan: clamdscan:
@400059a9032f3aace984 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9




@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav
@400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
-fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
@400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
@400059a9032f3aa8c6ec -l-e-s-:- -0
@400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
@400059a9032f3aa8f1e4
@400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
iTliemes::  

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Rajesh M
eric

the machine i have is a dell,  hex core with hyperthreading, 16 gb ram -- 
hardly 4 gb being used, 600 gb 15krpm drive, 2 drives of 2000 gb each 
separately handling data.

rajesh


- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 1 Sep 2017 10:01:01 -0600
Subject:

I'm not sure what's going on here. Is this a relatively new phenomenon?

I wonder if it's a memory, or even a disk speed, issue since it only
happens at peak hours?

I think I'll appy Johannes Weberhofer's patch and put it out there for
you...and cross or fingers.


On 9/1/2017 6:28 AM, Rajesh M wrote:
> remo / eric
>
> i have still not being able to resolve the qq soft reject error.
>
> these are my findings
>
> 1) the errors i see are "error forking qmail-queue" and "ripmime error" which 
> causes the qq soft reject.
>
> 2) the max concurrent connections in the logs is around 35.
>
> 3)  These errors come up during peak working hours when the server is under a 
>  load of 4 - 8, and they increase the load even more to over 10-15.
>
> 4) i came across this link (not sure if this is related)
> https://github.com/qmail/simscan/blob/master/simscan.c
>
> 5) i can share with you my live smtp logs with simscan debug.
>
> have extracted some lines below
>
>
> Error forking qmail-queue
>
> @400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
> @400059a8fa7b13162584 simscan: cdb looking up version spam
> @400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 clamav: 
> 0.98.6/m: spam: 3.3.2
> @400059a8fa7b13166fbc simscan: found 3.3.2
> @400059a8fa7b13168efc simscan:[10757]:CLEAN 
> (5.00/30.00):9.7712s:-Possible Spam- RE_ REQUIRE BOOKING // 1X20  //
> ICD TKD TO 
> BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
> @400059a8fa7b1316cd7c simscan: done, execing qmail-queue
> @400059a8fa7b1316fc5c simscan: error forking qmail-queue
> @400059a8fa7b13199854 simscan: exit error code: 71
> @400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server 
> temporarily rejected message (#4.3.0)): MAILFROM:
> RCPTTO:rathe...@y.net
>
>
> Error in ripmime
>
> @400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
> @400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
> @400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
> @400059a8fa98045a4fac simscan: lpart: local part is **
> @400059a8fa98045a5394 simscan: cdb looking 
> upshailesh_k_...@aissamaritime.in
> @400059a8fa98045a5394 simscan: ripmime error
> @400059a8fa98045a6334 simscan: exit error code: 71
> @400059a8fa98045a95fc qmail-smtpd: qq soft reject (mail server 
> temporarily rejected message (#4.3.0)):
> MAILFROM:  RCPTTO:shailesh_k_...@yy.in
>
>
> Wierd error logs
>
> @400059a9032f3aa79a24 simscan: clamdscan: --- SCAN SUMMARY 
> ---
> @400059a9032f3aa7b964 simscan: clamdscan: 
> /var/qmail/simscan/1504248613.321653.5221: OK
> @400059a9032f3aa86d14 simscan: clamdscan:
> @400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
> version clamav
> @400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
> -fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
> @400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
> @400059a9032f3aa8c6ec -l-e-s-:- -0
> @400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
> @400059a9032f3aa8f1e4
> @400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
> iTliemes::  00
> @400059a9032f3aa93834 .simscan: clamdscan: 1T1i8m es:e c0 .1(002  ms 
> e0simscan: calling spamc
> @400059a9032f3aa96ee4 c  s(0)simscan: calling /usr/bin/spamc simscan: 
> clamdscan:
> @400059a9032f3aa999dc  spamcm
> @400059a9032f3aa999dc 0 s)
> @400059a9032f3aa9ad64 /var/qmail/simscan/1simscan: check_spam had an 
> error ret: -1
> @400059a9032f3aa9e02c 504248613.307311.5215: OK
> @400059a9032f337c simscan: clamdscan:
> @400059a9032f3764 simscan: clamdscan: --- SCAN SUMMARY 
> ---
> @400059a9032f3aab3fbc simscan: clamdscan: Infected files: 0
> @400059a9032f3aaba164 simscan: clamdscan: Time: 0.135 sec (0 m 0 s)
> @400059a9032f3aac39bc simscan: clamdscan: /var/qmail/simscan/15simscan: 
> exit error code: 71
> @400059a9032f3aaca334 04248613.308469.5216: OK
> @400059a9032f3aacddcc simscan: clamdscan:
> @400059a9032f3aace984 simscan: clamdscan: --- SCAN SUMMARY 
> ---
> @400059a9
>
>
> 
>
> @400059a9032f3aa86d14 simscan: clamdscan:
> @400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
> version clamav
> @400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
> -fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
> @400059a9032f3aa8c304 -isimscan: found 

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Eric Broch

I'm not sure what's going on here. Is this a relatively new phenomenon?

I wonder if it's a memory, or even a disk speed, issue since it only 
happens at peak hours?


I think I'll appy Johannes Weberhofer's patch and put it out there for 
you...and cross or fingers.



On 9/1/2017 6:28 AM, Rajesh M wrote:

remo / eric

i have still not being able to resolve the qq soft reject error.

these are my findings

1) the errors i see are "error forking qmail-queue" and "ripmime error" which 
causes the qq soft reject.

2) the max concurrent connections in the logs is around 35.

3)  These errors come up during peak working hours when the server is under a  
load of 4 - 8, and they increase the load even more to over 10-15.

4) i came across this link (not sure if this is related)
https://github.com/qmail/simscan/blob/master/simscan.c

5) i can share with you my live smtp logs with simscan debug.

have extracted some lines below


Error forking qmail-queue

@400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
@400059a8fa7b13162584 simscan: cdb looking up version spam
@400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 clamav: 
0.98.6/m: spam: 3.3.2
@400059a8fa7b13166fbc simscan: found 3.3.2
@400059a8fa7b13168efc simscan:[10757]:CLEAN (5.00/30.00):9.7712s:-Possible 
Spam- RE_ REQUIRE BOOKING // 1X20  //
ICD TKD TO 
BANDARABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
@400059a8fa7b1316cd7c simscan: done, execing qmail-queue
@400059a8fa7b1316fc5c simscan: error forking qmail-queue
@400059a8fa7b13199854 simscan: exit error code: 71
@400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM:
RCPTTO:rathe...@y.net


Error in ripmime

@400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
@400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
@400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
@400059a8fa98045a4fac simscan: lpart: local part is **
@400059a8fa98045a5394 simscan: cdb looking upshailesh_k_...@aissamaritime.in
@400059a8fa98045a5394 simscan: ripmime error
@400059a8fa98045a6334 simscan: exit error code: 71
@400059a8fa98045a95fc qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)):
MAILFROM:  RCPTTO:shailesh_k_...@yy.in


Wierd error logs

@400059a9032f3aa79a24 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aa7b964 simscan: clamdscan: 
/var/qmail/simscan/1504248613.321653.5221: OK
@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav
@400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
-fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
@400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
@400059a9032f3aa8c6ec -l-e-s-:- -0
@400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
@400059a9032f3aa8f1e4
@400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
iTliemes::  00
@400059a9032f3aa93834 .simscan: clamdscan: 1T1i8m es:e c0 .1(002  ms 
e0simscan: calling spamc
@400059a9032f3aa96ee4 c  s(0)simscan: calling /usr/bin/spamc simscan: 
clamdscan:
@400059a9032f3aa999dc  spamcm
@400059a9032f3aa999dc 0 s)
@400059a9032f3aa9ad64 /var/qmail/simscan/1simscan: check_spam had an error 
ret: -1
@400059a9032f3aa9e02c 504248613.307311.5215: OK
@400059a9032f337c simscan: clamdscan:
@400059a9032f3764 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aab3fbc simscan: clamdscan: Infected files: 0
@400059a9032f3aaba164 simscan: clamdscan: Time: 0.135 sec (0 m 0 s)
@400059a9032f3aac39bc simscan: clamdscan: /var/qmail/simscan/15simscan: 
exit error code: 71
@400059a9032f3aaca334 04248613.308469.5216: OK
@400059a9032f3aacddcc simscan: clamdscan:
@400059a9032f3aace984 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9




@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav
@400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
-fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
@400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
@400059a9032f3aa8c6ec -l-e-s-:- -0
@400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
@400059a9032f3aa8f1e4
@400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
iTliemes::  00
@400059a9032f3aa93834 .simscan: clamdscan: 1T1i8m es:e c0 .1(002  ms 
e0simscan: calling spamc
@400059a9032f3aa96ee4 c  s(0)simscan: calling /usr/bin/spamc simscan: 
clamdscan:
@400059a9032f3aa999dc  spamcm
@400059a9032f3aa999dc 0 s)
@400059a9032f3aa9ad64 

Re: [qmailtoaster] qq soft reject errors on high load

2017-09-01 Thread Rajesh M
remo / eric

i have still not being able to resolve the qq soft reject error.

these are my findings

1) the errors i see are "error forking qmail-queue" and "ripmime error" which 
causes the qq soft reject.

2) the max concurrent connections in the logs is around 35.

3)  These errors come up during peak working hours when the server is under a  
load of 4 - 8, and they increase the load even more to over 10-15.

4) i came across this link (not sure if this is related)
https://github.com/qmail/simscan/blob/master/simscan.c

5) i can share with you my live smtp logs with simscan debug.

have extracted some lines below


Error forking qmail-queue

@400059a8fa7b0a2ed1b4 tcpserver: status: 31/200
@400059a8fa7b13162584 simscan: cdb looking up version spam
@400059a8fa7b13166bd4 simscan: runned_scanners is  attach: 1.4.0 clamav: 
0.98.6/m: spam: 3.3.2
@400059a8fa7b13166fbc simscan: found 3.3.2
@400059a8fa7b13168efc simscan:[10757]:CLEAN (5.00/30.00):9.7712s:-Possible 
Spam- RE_ REQUIRE BOOKING // 1X20  //
ICD TKD TO BANDAR 
ABASS:103.241.181.228:cs@atlasdecargo.com:rathe...@radiant-india.net
@400059a8fa7b1316cd7c simscan: done, execing qmail-queue
@400059a8fa7b1316fc5c simscan: error forking qmail-queue
@400059a8fa7b13199854 simscan: exit error code: 71
@400059a8fa7b131c4004 qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)): MAILFROM:
RCPTTO:rathe...@y.net


Error in ripmime

@400059a8fa98045a4bc4 simscan: pelookup: domain is aissamaritime.in
@400059a8fa98045a4bc4 simscan: cdb looking up aissamaritime.in
@400059a8fa98045a4fac simscan: pelookup: local part is shailesh_k_bom
@400059a8fa98045a4fac simscan: lpart: local part is **
@400059a8fa98045a5394 simscan: cdb looking up 
shailesh_k_...@aissamaritime.in
@400059a8fa98045a5394 simscan: ripmime error
@400059a8fa98045a6334 simscan: exit error code: 71
@400059a8fa98045a95fc qmail-smtpd: qq soft reject (mail server temporarily 
rejected message (#4.3.0)):
MAILFROM: RCPTTO:shailesh_k_...@yy.in


Wierd error logs

@400059a9032f3aa79a24 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aa7b964 simscan: clamdscan: 
/var/qmail/simscan/1504248613.321653.5221: OK
@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav
@400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
-fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
@400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
@400059a9032f3aa8c6ec -l-e-s-:- -0
@400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
@400059a9032f3aa8f1e4
@400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
iTliemes::  00
@400059a9032f3aa93834 .simscan: clamdscan: 1T1i8m es:e c0 .1(002  ms 
e0simscan: calling spamc
@400059a9032f3aa96ee4 c  s(0)simscan: calling /usr/bin/spamc simscan: 
clamdscan:
@400059a9032f3aa999dc  spamcm
@400059a9032f3aa999dc 0 s)
@400059a9032f3aa9ad64 /var/qmail/simscan/1simscan: check_spam had an error 
ret: -1
@400059a9032f3aa9e02c 504248613.307311.5215: OK
@400059a9032f337c simscan: clamdscan:
@400059a9032f3764 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aab3fbc simscan: clamdscan: Infected files: 0
@400059a9032f3aaba164 simscan: clamdscan: Time: 0.135 sec (0 m 0 s)
@400059a9032f3aac39bc simscan: clamdscan: /var/qmail/simscan/15simscan: 
exit error code: 71
@400059a9032f3aaca334 04248613.308469.5216: OK
@400059a9032f3aacddcc simscan: clamdscan:
@400059a9032f3aace984 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9




@400059a9032f3aa86d14 simscan: clamdscan:
@400059a9032f3aa870fc simscan: clamdscan: ---simscan: cdb looking up 
version clamav
@400059a9032f3aa8a3c4  SCAN simscan: clamdscan: SIUnMfMeAcRtYe d- 
-fsimscan: runned_scanners is  attach: 1.4.0 clamav: 0.98.6/m:
@400059a9032f3aa8c304 -isimscan: found 0.98.6/m:
@400059a9032f3aa8c6ec -l-e-s-:- -0
@400059a9032f3aa8f1e4 --simscan: normal clamdscan return code: 0
@400059a9032f3aa8f1e4
@400059a9032f3aa8f5cc simscan: clamdscan: Infected fsimscan: clamdscan: 
iTliemes::  00
@400059a9032f3aa93834 .simscan: clamdscan: 1T1i8m es:e c0 .1(002  ms 
e0simscan: calling spamc
@400059a9032f3aa96ee4 c  s(0)simscan: calling /usr/bin/spamc simscan: 
clamdscan:
@400059a9032f3aa999dc  spamcm
@400059a9032f3aa999dc 0 s)
@400059a9032f3aa9ad64 /var/qmail/simscan/1simscan: check_spam had an error 
ret: -1
@400059a9032f3aa9e02c 504248613.307311.5215: OK
@400059a9032f337c simscan: clamdscan:
@400059a9032f3764 simscan: clamdscan: --- SCAN SUMMARY 
---
@400059a9032f3aab3fbc simscan: clamdscan: Infected files: 0

Re: [qmailtoaster] qq soft reject errors on high load

2017-08-31 Thread Rajesh M
thank for sharing your experience remo,

so would the following be correct ?

chmod 2750  simscan
chown clamav.clamav simscan

do i need to stop qmail while applying this ?

rajesh


- Original Message -
From: Remo Mattei [mailto:r...@mattei.org]
To: qmailtoaster-list@qmailtoaster.com,24x7ser...@24x7server.net
Sent: Thu, 31 Aug 2017 07:23:20 -0700
Subject:

I had the same issue with qq.

I changed the permissions and all good. I also raised the value of the
softlimits exec /usr/bin/softlimit -m 104000

and my permissions are drwxr-s---   2 clamav clamav 4096 Aug 31 07:19
simscan

So hopefully this helps.

Remo


On 8/31/17 6:51 AM, Rajesh M wrote:
> eric
>
> on my qmailtoaster server (centos 6 64 bit)  there are several domains --- 
> high traffic
>
> about 80 percent of them are routed via the sophos antispam filter and then 
> passed on to the mailserver with spamassassin/clam disabled by adding the ip 
> of the sophos server to the tcp.smtp file to exclude the line 
> /var/qmail/bin/simscan
>
> the balance 20 are directly reaching the mailserver ie mx pointed to 
> mailserver instead of sophos server and are scanned with clam / spamassassin.
>
> today i turned on the spamassassin / clam for the above 80 percent domains 
> too and this started throwing qq reject errors on  a large scale but randomly.
>
> spamassassin child-processes was set to 20 to handle the load
>
> i checked the log files for the last 30 days till yesterday and found that 
> the same qq reject errors were present but very rarely ie 3 to 4 times on a 
> single day (occasional high load ??)
> so it seems that this error comes up only when the load on the server is 
> high, all take place when there are attachments.
>
> reading the thread you sent me, i am not sure whether it applies to my case 
> but i can try out.
>
> #
> drwxr-x---  2 clamav root 6 May  6 17:57 simscan/
>
> changing this to the following fixed the problem:
> drwxr-s---  2 clamav clamav 6 May  6 17:57 simscan/
> ###
>
> should i just
> chown clamav.clamav simscan
>
>
> thanks
> rajesh
>
>
>
>
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: 24x7ser...@24x7server.net
> Sent: Thu, 31 Aug 2017 06:42:08 -0600
> Subject:
>
> Have a look here, Rajesh, I'm not sure if it will help:
>
> https://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg40456.html
>
>
> On 8/31/2017 4:51 AM, Rajesh M wrote:
>> hi
>>
>> centos 6 64 bit
>> SpamAssassin version 3.3.2
>> ClamAV 0.98.6/23745/Thu Aug 31 14:07:08 2017
>>
>> we have a sophos antispam firewall which receives our emails and then routes 
>> them to our mail server (qmailtoaster, dovecot, spamassassin, clam)
>>
>> in the mail server we had stopped spamassassin
>>
>> however due to some custom requirements by our clients we enabled the same
>>
>> however we get the following error when the load on the server is high on a 
>> random basis.
>>
>> 2017-08-31 14:48:05.753994500 simscan: calling spamc
>> 2017-08-31 14:48:05.754001500 simscan: calling /usr/bin/spamc  spamc
>> 2017-08-31 14:48:05.754010500 simscan: check_spam had an error ret: -1
>> 2017-08-31 14:48:05.754101500 simscan: exit error code: 71
>> 2017-08-31 14:48:05.754220500 qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)): MAILFROM: 
>> RCPTTO:c...@.com
>>
>>
>> 2017-08-31 14:48:05.956137500 simscan: ripmime error
>> qmail-smtpd: qq soft reject (mail server temporarily rejected message
>>
>>
>>
>> if i disable simscan in tcp.smtp then errors do not take place.
>>
>> i enabled simscan debug and this is the result.
>>
>> 2017-08-31 14:48:05.956144500 qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)): MAILFROM: 
>> RCPTTO:inv1...@.net
>>
>>
>> clam=yes,spam=yes,spam_hits=30,spam_passthru=yes,attach=.ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
>> 2017-08-31 14:48:05.746592500 simscan: pelookup clam = yes
>> 2017-08-31 14:48:05.746593500 simscan: pelookup spam = yes
>> 2017-08-31 14:48:05.746593500 simscan: pelookup spam_hits = 30
>> 2017-08-31 14:48:05.746595500 simscan: Per Domain Hits set to : 30.00
>> 2017-08-31 14:48:05.746595500 simscan: pelookup spam_passthru = yes
>> 2017-08-31 14:48:05.746596500 simscan: unimplemented flag spam_passthru = yes
>> 2017-08-31 14:48:05.746596500 simscan: pelookup attach = 
>> .ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
>> 2017-08-31 14:48:05.746599500 simscan: attachment flag attach = 
>> 

Re: [qmailtoaster] qq soft reject errors on high load

2017-08-31 Thread Remo Mattei
I had the same issue with qq.

I changed the permissions and all good. I also raised the value of the
softlimits exec /usr/bin/softlimit -m 104000

and my permissions are drwxr-s---   2 clamav clamav 4096 Aug 31 07:19
simscan

So hopefully this helps.

Remo


On 8/31/17 6:51 AM, Rajesh M wrote:
> eric
>
> on my qmailtoaster server (centos 6 64 bit)  there are several domains --- 
> high traffic
>
> about 80 percent of them are routed via the sophos antispam filter and then 
> passed on to the mailserver with spamassassin/clam disabled by adding the ip 
> of the sophos server to the tcp.smtp file to exclude the line 
> /var/qmail/bin/simscan
>
> the balance 20 are directly reaching the mailserver ie mx pointed to 
> mailserver instead of sophos server and are scanned with clam / spamassassin.
>
> today i turned on the spamassassin / clam for the above 80 percent domains 
> too and this started throwing qq reject errors on  a large scale but randomly.
>
> spamassassin child-processes was set to 20 to handle the load
>
> i checked the log files for the last 30 days till yesterday and found that 
> the same qq reject errors were present but very rarely ie 3 to 4 times on a 
> single day (occasional high load ??)
> so it seems that this error comes up only when the load on the server is 
> high, all take place when there are attachments.
>
> reading the thread you sent me, i am not sure whether it applies to my case 
> but i can try out.
>
> #
> drwxr-x---  2 clamav root 6 May  6 17:57 simscan/
>
> changing this to the following fixed the problem:
> drwxr-s---  2 clamav clamav 6 May  6 17:57 simscan/
> ###
>
> should i just 
> chown clamav.clamav simscan
>
>
> thanks
> rajesh
>
>
>
>
>
> - Original Message -
> From: Eric Broch [mailto:ebr...@whitehorsetc.com]
> To: 24x7ser...@24x7server.net
> Sent: Thu, 31 Aug 2017 06:42:08 -0600
> Subject: 
>
> Have a look here, Rajesh, I'm not sure if it will help:
>
> https://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg40456.html
>
>
> On 8/31/2017 4:51 AM, Rajesh M wrote:
>> hi
>>
>> centos 6 64 bit
>> SpamAssassin version 3.3.2
>> ClamAV 0.98.6/23745/Thu Aug 31 14:07:08 2017
>>
>> we have a sophos antispam firewall which receives our emails and then routes 
>> them to our mail server (qmailtoaster, dovecot, spamassassin, clam)
>>
>> in the mail server we had stopped spamassassin
>>
>> however due to some custom requirements by our clients we enabled the same
>>
>> however we get the following error when the load on the server is high on a 
>> random basis.
>>
>> 2017-08-31 14:48:05.753994500 simscan: calling spamc
>> 2017-08-31 14:48:05.754001500 simscan: calling /usr/bin/spamc  spamc
>> 2017-08-31 14:48:05.754010500 simscan: check_spam had an error ret: -1
>> 2017-08-31 14:48:05.754101500 simscan: exit error code: 71
>> 2017-08-31 14:48:05.754220500 qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)): MAILFROM: 
>> RCPTTO:c...@.com
>>
>>
>> 2017-08-31 14:48:05.956137500 simscan: ripmime error
>> qmail-smtpd: qq soft reject (mail server temporarily rejected message
>>
>>
>>
>> if i disable simscan in tcp.smtp then errors do not take place.
>>
>> i enabled simscan debug and this is the result.
>>
>> 2017-08-31 14:48:05.956144500 qmail-smtpd: qq soft reject (mail server 
>> temporarily rejected message (#4.3.0)): MAILFROM: 
>> RCPTTO:inv1...@.net
>>
>>
>> clam=yes,spam=yes,spam_hits=30,spam_passthru=yes,attach=.ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
>> 2017-08-31 14:48:05.746592500 simscan: pelookup clam = yes
>> 2017-08-31 14:48:05.746593500 simscan: pelookup spam = yes
>> 2017-08-31 14:48:05.746593500 simscan: pelookup spam_hits = 30
>> 2017-08-31 14:48:05.746595500 simscan: Per Domain Hits set to : 30.00
>> 2017-08-31 14:48:05.746595500 simscan: pelookup spam_passthru = yes
>> 2017-08-31 14:48:05.746596500 simscan: unimplemented flag spam_passthru = yes
>> 2017-08-31 14:48:05.746596500 simscan: pelookup attach = 
>> .ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
>> 2017-08-31 14:48:05.746599500 simscan: attachment flag attach = 
>> .ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
>> 2017-08-31 14:48:05.746602500 simscan: add_attach called with 
>> 

Re: [qmailtoaster] qq soft reject errors on high load

2017-08-31 Thread Rajesh M
eric

on my qmailtoaster server (centos 6 64 bit)  there are several domains --- high 
traffic

about 80 percent of them are routed via the sophos antispam filter and then 
passed on to the mailserver with spamassassin/clam disabled by adding the ip of 
the sophos server to the tcp.smtp file to exclude the line 
/var/qmail/bin/simscan

the balance 20 are directly reaching the mailserver ie mx pointed to mailserver 
instead of sophos server and are scanned with clam / spamassassin.

today i turned on the spamassassin / clam for the above 80 percent domains too 
and this started throwing qq reject errors on  a large scale but randomly.

spamassassin child-processes was set to 20 to handle the load

i checked the log files for the last 30 days till yesterday and found that the 
same qq reject errors were present but very rarely ie 3 to 4 times on a single 
day (occasional high load ??)
so it seems that this error comes up only when the load on the server is high, 
all take place when there are attachments.

reading the thread you sent me, i am not sure whether it applies to my case but 
i can try out.

#
drwxr-x---  2 clamav root 6 May  6 17:57 simscan/

changing this to the following fixed the problem:
drwxr-s---  2 clamav clamav 6 May  6 17:57 simscan/
###

should i just
chown clamav.clamav simscan


thanks
rajesh





- Original Message -
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: 24x7ser...@24x7server.net
Sent: Thu, 31 Aug 2017 06:42:08 -0600
Subject:

Have a look here, Rajesh, I'm not sure if it will help:

https://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg40456.html


On 8/31/2017 4:51 AM, Rajesh M wrote:
> hi
>
> centos 6 64 bit
> SpamAssassin version 3.3.2
> ClamAV 0.98.6/23745/Thu Aug 31 14:07:08 2017
>
> we have a sophos antispam firewall which receives our emails and then routes 
> them to our mail server (qmailtoaster, dovecot, spamassassin, clam)
>
> in the mail server we had stopped spamassassin
>
> however due to some custom requirements by our clients we enabled the same
>
> however we get the following error when the load on the server is high on a 
> random basis.
>
> 2017-08-31 14:48:05.753994500 simscan: calling spamc
> 2017-08-31 14:48:05.754001500 simscan: calling /usr/bin/spamc  spamc
> 2017-08-31 14:48:05.754010500 simscan: check_spam had an error ret: -1
> 2017-08-31 14:48:05.754101500 simscan: exit error code: 71
> 2017-08-31 14:48:05.754220500 qmail-smtpd: qq soft reject (mail server 
> temporarily rejected message (#4.3.0)): MAILFROM: 
> RCPTTO:c...@.com
>
>
> 2017-08-31 14:48:05.956137500 simscan: ripmime error
> qmail-smtpd: qq soft reject (mail server temporarily rejected message
>
>
>
> if i disable simscan in tcp.smtp then errors do not take place.
>
> i enabled simscan debug and this is the result.
>
> 2017-08-31 14:48:05.956144500 qmail-smtpd: qq soft reject (mail server 
> temporarily rejected message (#4.3.0)): MAILFROM: 
> RCPTTO:inv1...@.net
>
>
> clam=yes,spam=yes,spam_hits=30,spam_passthru=yes,attach=.ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
> 2017-08-31 14:48:05.746592500 simscan: pelookup clam = yes
> 2017-08-31 14:48:05.746593500 simscan: pelookup spam = yes
> 2017-08-31 14:48:05.746593500 simscan: pelookup spam_hits = 30
> 2017-08-31 14:48:05.746595500 simscan: Per Domain Hits set to : 30.00
> 2017-08-31 14:48:05.746595500 simscan: pelookup spam_passthru = yes
> 2017-08-31 14:48:05.746596500 simscan: unimplemented flag spam_passthru = yes
> 2017-08-31 14:48:05.746596500 simscan: pelookup attach = 
> .ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
> 2017-08-31 14:48:05.746599500 simscan: attachment flag attach = 
> .ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
> 2017-08-31 14:48:05.746602500 simscan: add_attach called with 
> .ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
> 2017-08-31 14:48:05.746606500 simscan: .ace is attachment number 0
> 2017-08-31 14:48:05.746607500 simscan: .arc is attachment number 1
> 2017-08-31 14:48:05.746607500 simscan: .arj is attachment number 2
> 2017-08-31 14:48:05.746607500 simscan: .b64 is attachment number 3
> 2017-08-31 

[qmailtoaster] qq soft reject errors on high load

2017-08-31 Thread Rajesh M
hi

centos 6 64 bit
SpamAssassin version 3.3.2
ClamAV 0.98.6/23745/Thu Aug 31 14:07:08 2017

we have a sophos antispam firewall which receives our emails and then routes 
them to our mail server (qmailtoaster, dovecot, spamassassin, clam)

in the mail server we had stopped spamassassin

however due to some custom requirements by our clients we enabled the same

however we get the following error when the load on the server is high on a 
random basis.

2017-08-31 14:48:05.753994500 simscan: calling spamc
2017-08-31 14:48:05.754001500 simscan: calling /usr/bin/spamc  spamc
2017-08-31 14:48:05.754010500 simscan: check_spam had an error ret: -1
2017-08-31 14:48:05.754101500 simscan: exit error code: 71
2017-08-31 14:48:05.754220500 qmail-smtpd: qq soft reject (mail server 
temporarily rejected message (#4.3.0)): MAILFROM: 
RCPTTO:c...@.com


2017-08-31 14:48:05.956137500 simscan: ripmime error
qmail-smtpd: qq soft reject (mail server temporarily rejected message



if i disable simscan in tcp.smtp then errors do not take place.

i enabled simscan debug and this is the result.

2017-08-31 14:48:05.956144500 qmail-smtpd: qq soft reject (mail server 
temporarily rejected message (#4.3.0)): MAILFROM: 
RCPTTO:inv1...@.net


clam=yes,spam=yes,spam_hits=30,spam_passthru=yes,attach=.ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
2017-08-31 14:48:05.746592500 simscan: pelookup clam = yes
2017-08-31 14:48:05.746593500 simscan: pelookup spam = yes
2017-08-31 14:48:05.746593500 simscan: pelookup spam_hits = 30
2017-08-31 14:48:05.746595500 simscan: Per Domain Hits set to : 30.00
2017-08-31 14:48:05.746595500 simscan: pelookup spam_passthru = yes
2017-08-31 14:48:05.746596500 simscan: unimplemented flag spam_passthru = yes
2017-08-31 14:48:05.746596500 simscan: pelookup attach = 
.ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
2017-08-31 14:48:05.746599500 simscan: attachment flag attach = 
.ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
2017-08-31 14:48:05.746602500 simscan: add_attach called with 
.ace:.arc:.arj:.b64:.bat:.bhx:.cab:.chm:.com:.cpl:.dll:.exe:.gz:.hqx:.hta:.inf:.ins:.iso:.isp:.jse:.lib:.lnk:.lzh:.mim:.msp:.mst:.pif:.reg:.scf:.scr:.sct:.shb:.shs:.sys:.taz:.tgz:.tz:.url:.uu:.uue:.vb:.vbe:.vbs:.wsc:.wsf:.wsh:.xxe:.docm:.z:.jar
2017-08-31 14:48:05.746606500 simscan: .ace is attachment number 0
2017-08-31 14:48:05.746607500 simscan: .arc is attachment number 1
2017-08-31 14:48:05.746607500 simscan: .arj is attachment number 2
2017-08-31 14:48:05.746607500 simscan: .b64 is attachment number 3
2017-08-31 14:48:05.746610500 simscan: .bat is attachment number 4
2017-08-31 14:48:05.746610500 simscan: .bhx is attachment number 5
2017-08-31 14:48:05.746610500 simscan: .cab is attachment number 6
2017-08-31 14:48:05.746611500 simscan: .chm is attachment number 7
2017-08-31 14:48:05.746611500 simscan: .com is attachment number 8
2017-08-31 14:48:05.746611500 simscan: .cpl is attachment number 9
2017-08-31 14:48:05.746611500 simscan: .dll is attachment number 10
2017-08-31 14:48:05.746612500 simscan: .exe is attachment number 11
2017-08-31 14:48:05.746614500 simscan: .gz is attachment number 12
2017-08-31 14:48:05.746614500 simscan: .hqx is attachment number 13
2017-08-31 14:48:05.746614500 simscan: .hta is attachment number 14
2017-08-31 14:48:05.746615500 simscan: .inf is attachment number 15
2017-08-31 14:48:05.746615500 simscan: .ins is attachment number 16
2017-08-31 14:48:05.746615500 simscan: .iso is attachment number 17
2017-08-31 14:48:05.746616500 simscan: .isp is attachment number 18
2017-08-31 14:48:05.746616500 simscan: .jse is attachment number 19
2017-08-31 14:48:05.746618500 simscan: .lib is attachment number 20
2017-08-31 14:48:05.746618500 simscan: .lnk is attachment number 21
2017-08-31 14:48:05.746619500 simscan: .lzh is attachment number 22
2017-08-31 14:48:05.746622500 simscan: .mim is attachment number 23
2017-08-31 14:48:05.746622500 simscan: .msp is attachment number 24
2017-08-31 14:48:05.746623500 simscan: .mst is attachment number 25
2017-08-31 14:48:05.746623500 simscan: .pif is attachment number 26
2017-08-31 14:48:05.746623500 simscan: .reg is attachment number 27
2017-08-31 14:48:05.746624500 simscan: .scf is attachment number 28
2017-08-31 14:48:05.746624500 simscan: .scr is attachment number 29
2017-08-31 14:48:05.746624500 simscan: .sct is 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-07 Thread Eric Broch

Actually this error is coming from simscan (32).

Basically, simscan creates a fork and calls qmail-queue and tries to 
pipe the email message to it. For some reason qmail-queue doesn't seem 
to be running or is not accepting a message from the pipe. You may want 
to check the permissions on this file.


Here's the source anyway, though: 
ftp://ftp.whitehorsetc.com/pub/repo/qmt/CentOS/7/current/SRPMS/qmail-1.03-2.qt.src.rpm



On 5/6/2017 10:12 PM, Jeff Koch wrote:

Hi Eric:

Would you happen to know where I can get the source code for the 
qmail-queue.orig. I'd like to see what error code 32 means.


Jeff

On 5/6/2017 8:13 PM, Eric Broch wrote:


What about drive space?


On 5/6/2017 5:33 PM, Jeff Koch wrote:

Hi Eric:

I reinstalled simscan but unfortunately that didn't help. We're 
still seeing the 451 soft rejects when simscan tries to exec 
qmail-queue after having clamav analyze attachments. We're also 
seeing the 'no envelope' deferrals. I assume you don't have these 
issues on your qmail toaster.


We tried to see if there was any pattern that distinguished emails 
with attachments that went through simscan and executed qmail-queue 
successfully and those that had an error writing to qmail-queue and 
exited with code 71. But we see no pattern.


We've removed simscan from the process until we figure this out.

Anyone know what qmail-queue error code 32 means? As in 'error 
writing msg to qmail-queue error: 32'


Let me know if anyone has ideas.

Thanks for your help

Jeff

On 5/6/2017 10:21 AM, Eric Broch wrote:


[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's 
the procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with 
restart and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below perms>).


2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, 
and that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 13:02 9

/var/qmail/queue/intd:
total 0

/var/qmail/queue/local:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-07 Thread Jeff Koch

Hi Eric:

Standby - I may have found the solution. So far simscan has been running 
for two hours without qq soft reject or envelope issue. I'll wait 
another two hours and let you know.  :)


Jeff

On 5/7/2017 7:25 PM, Eric Broch wrote:


ftp://ftp.whitehorsetc.com/pub/qmail/CentOS7/qmt/srpms/simscan-1.4.0-0.qt.src.rpm


On 5/7/2017 3:27 PM, Jeff Koch wrote:

Hi Eric:

I'm pretty sure there's something wrong with my simscan and the way 
it interacts with my server. (I did start with a CentOS 7 minimal 
install). Doesn't make sense that it would lose the envelope 
information. That info is supposed to be written to a temporary file 
in /var/qmail/simscan. I don't think the setup would even accept an 
email without mailfrom and mailto info.


So, I'd like to try recompiling simscan from source. I found source 
code for version 1.4.0 at https://sourceforge.net/projects/simscan/ 
but it could be a little stale since it was last modified 10/29/2007. 
Is that the version you use? do you have a later patched version?


Also, I'd need the configure script.

Thanks, Jeff Koch


On 5/6/2017 11:06 AM, Eric Broch wrote:


Hmm... not sure.

Not sure if you a 'c' programmer but here's the code:

  if ( MailFrom[0] == 0 && RcptTo[0][0] == 0 ) {
if ( DebugFlag > 0 ) {
  fprintf(stderr, "simscan: no envelope information, deferred 
exit\n");

}
exit_clean(EXIT_454);
  }

Looks like the 'mail from' and 'rcpt to' variables are empty.


On 5/6/2017 8:58 AM, Jeff Koch wrote:

Hi Eric:

One other thing. What does it mean when we see  'simscan: no 
envelope information, deferred exit'? As in the following:



2017-05-06 09:45:11.691723500 simscan: checking attachment 
image003.png against .bat
2017-05-06 09:45:11.691723500 simscan: checking attachment 
image003.png against .pif

2017-05-06 09:45:11.691724500 simscan: cdb looking up version attach
2017-05-06 09:45:11.691724500 simscan: runned_scanners is attach: 1.4.0
2017-05-06 09:45:11.691725500 simscan: found 1.4.0
2017-05-06 09:45:11.691725500 simscan: calling clamdscan
2017-05-06 09:45:11.728577500 simscan: clamdscan: 
/var/qmail/simscan/1494081910.545549.2165: OK

2017-05-06 09:45:11.728632500 simscan: clamdscan:
2017-05-06 09:45:11.728633500 simscan: clamdscan: --- SCAN 
SUMMARY ---

2017-05-06 09:45:11.728672500 simscan: clamdscan: Infected files: 0
2017-05-06 09:45:11.728684500 simscan: clamdscan: Time: 0.034 sec 
(0 m 0 s)

2017-05-06 09:45:11.728961500 simscan: cdb looking up version clamav
2017-05-06 09:45:11.728975500 simscan: runned_scanners is attach: 
1.4.0 clamav: 0.99.2/m:

2017-05-06 09:45:11.728976500 simscan: found 0.99.2/m:
2017-05-06 09:45:11.728977500 simscan: normal clamdscan return code: 0
2017-05-06 09:45:11.728998500 simscan: done, execing qmail-queue
2017-05-06 09:45:11.758794500 simscan: qmail-queue exited 0
2017-05-06 09:45:12.076061500 simscan: no envelope information, 
deferred exit

2017-05-06 09:45:12.076219500 simscan: exit error code: 54

Jeff

On 5/6/2017 10:21 AM, Eric Broch wrote:


[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and 
it's subdirectories ?


Also, we installed everthing from the QMT install script. What's 
the procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with 
restart and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below perms>).


2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, 
and that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-07 Thread Eric Broch

ftp://ftp.whitehorsetc.com/pub/qmail/CentOS7/qmt/srpms/simscan-1.4.0-0.qt.src.rpm


On 5/7/2017 3:27 PM, Jeff Koch wrote:

Hi Eric:

I'm pretty sure there's something wrong with my simscan and the way it 
interacts with my server. (I did start with a CentOS 7 minimal 
install). Doesn't make sense that it would lose the envelope 
information. That info is supposed to be written to a temporary file 
in /var/qmail/simscan. I don't think the setup would even accept an 
email without mailfrom and mailto info.


So, I'd like to try recompiling simscan from source. I found source 
code for version 1.4.0 at https://sourceforge.net/projects/simscan/ 
but it could be a little stale since it was last modified 10/29/2007. 
Is that the version you use? do you have a later patched version?


Also, I'd need the configure script.

Thanks, Jeff Koch


On 5/6/2017 11:06 AM, Eric Broch wrote:


Hmm... not sure.

Not sure if you a 'c' programmer but here's the code:

  if ( MailFrom[0] == 0 && RcptTo[0][0] == 0 ) {
if ( DebugFlag > 0 ) {
  fprintf(stderr, "simscan: no envelope information, deferred 
exit\n");

}
exit_clean(EXIT_454);
  }

Looks like the 'mail from' and 'rcpt to' variables are empty.


On 5/6/2017 8:58 AM, Jeff Koch wrote:

Hi Eric:

One other thing. What does it mean when we see  'simscan: no 
envelope information, deferred exit'? As in the following:



2017-05-06 09:45:11.691723500 simscan: checking attachment 
image003.png against .bat
2017-05-06 09:45:11.691723500 simscan: checking attachment 
image003.png against .pif

2017-05-06 09:45:11.691724500 simscan: cdb looking up version attach
2017-05-06 09:45:11.691724500 simscan: runned_scanners is attach: 1.4.0
2017-05-06 09:45:11.691725500 simscan: found 1.4.0
2017-05-06 09:45:11.691725500 simscan: calling clamdscan
2017-05-06 09:45:11.728577500 simscan: clamdscan: 
/var/qmail/simscan/1494081910.545549.2165: OK

2017-05-06 09:45:11.728632500 simscan: clamdscan:
2017-05-06 09:45:11.728633500 simscan: clamdscan: --- SCAN 
SUMMARY ---

2017-05-06 09:45:11.728672500 simscan: clamdscan: Infected files: 0
2017-05-06 09:45:11.728684500 simscan: clamdscan: Time: 0.034 sec (0 
m 0 s)

2017-05-06 09:45:11.728961500 simscan: cdb looking up version clamav
2017-05-06 09:45:11.728975500 simscan: runned_scanners is attach: 
1.4.0 clamav: 0.99.2/m:

2017-05-06 09:45:11.728976500 simscan: found 0.99.2/m:
2017-05-06 09:45:11.728977500 simscan: normal clamdscan return code: 0
2017-05-06 09:45:11.728998500 simscan: done, execing qmail-queue
2017-05-06 09:45:11.758794500 simscan: qmail-queue exited 0
2017-05-06 09:45:12.076061500 simscan: no envelope information, 
deferred exit

2017-05-06 09:45:12.076219500 simscan: exit error code: 54

Jeff

On 5/6/2017 10:21 AM, Eric Broch wrote:


[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's 
the procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with 
restart and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below perms>).


2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, 
and that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-07 Thread Jeff Koch

Hi Eric:

I'm pretty sure there's something wrong with my simscan and the way it 
interacts with my server. (I did start with a CentOS 7 minimal install). 
Doesn't make sense that it would lose the envelope information. That 
info is supposed to be written to a temporary file in 
/var/qmail/simscan. I don't think the setup would even accept an email 
without mailfrom and mailto info.


So, I'd like to try recompiling simscan from source. I found source code 
for version 1.4.0 at https://sourceforge.net/projects/simscan/ but it 
could be a little stale since it was last modified 10/29/2007. Is that 
the version you use? do you have a later patched version?


Also, I'd need the configure script.

Thanks, Jeff Koch


On 5/6/2017 11:06 AM, Eric Broch wrote:


Hmm... not sure.

Not sure if you a 'c' programmer but here's the code:

  if ( MailFrom[0] == 0 && RcptTo[0][0] == 0 ) {
if ( DebugFlag > 0 ) {
  fprintf(stderr, "simscan: no envelope information, deferred 
exit\n");

}
exit_clean(EXIT_454);
  }

Looks like the 'mail from' and 'rcpt to' variables are empty.


On 5/6/2017 8:58 AM, Jeff Koch wrote:

Hi Eric:

One other thing. What does it mean when we see  'simscan: no envelope 
information, deferred exit'? As in the following:



2017-05-06 09:45:11.691723500 simscan: checking attachment 
image003.png against .bat
2017-05-06 09:45:11.691723500 simscan: checking attachment 
image003.png against .pif

2017-05-06 09:45:11.691724500 simscan: cdb looking up version attach
2017-05-06 09:45:11.691724500 simscan: runned_scanners is attach: 1.4.0
2017-05-06 09:45:11.691725500 simscan: found 1.4.0
2017-05-06 09:45:11.691725500 simscan: calling clamdscan
2017-05-06 09:45:11.728577500 simscan: clamdscan: 
/var/qmail/simscan/1494081910.545549.2165: OK

2017-05-06 09:45:11.728632500 simscan: clamdscan:
2017-05-06 09:45:11.728633500 simscan: clamdscan: --- SCAN 
SUMMARY ---

2017-05-06 09:45:11.728672500 simscan: clamdscan: Infected files: 0
2017-05-06 09:45:11.728684500 simscan: clamdscan: Time: 0.034 sec (0 
m 0 s)

2017-05-06 09:45:11.728961500 simscan: cdb looking up version clamav
2017-05-06 09:45:11.728975500 simscan: runned_scanners is attach: 
1.4.0 clamav: 0.99.2/m:

2017-05-06 09:45:11.728976500 simscan: found 0.99.2/m:
2017-05-06 09:45:11.728977500 simscan: normal clamdscan return code: 0
2017-05-06 09:45:11.728998500 simscan: done, execing qmail-queue
2017-05-06 09:45:11.758794500 simscan: qmail-queue exited 0
2017-05-06 09:45:12.076061500 simscan: no envelope information, 
deferred exit

2017-05-06 09:45:12.076219500 simscan: exit error code: 54

Jeff

On 5/6/2017 10:21 AM, Eric Broch wrote:


[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's 
the procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with 
restart and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below perms>).


2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, and 
that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-06 Thread Jeff Koch

Hi Eric:

Would you happen to know where I can get the source code for the 
qmail-queue.orig. I'd like to see what error code 32 means.


Jeff

On 5/6/2017 8:13 PM, Eric Broch wrote:


What about drive space?


On 5/6/2017 5:33 PM, Jeff Koch wrote:

Hi Eric:

I reinstalled simscan but unfortunately that didn't help. We're still 
seeing the 451 soft rejects when simscan tries to exec qmail-queue 
after having clamav analyze attachments. We're also seeing the 'no 
envelope' deferrals. I assume you don't have these issues on your 
qmail toaster.


We tried to see if there was any pattern that distinguished emails 
with attachments that went through simscan and executed qmail-queue 
successfully and those that had an error writing to qmail-queue and 
exited with code 71. But we see no pattern.


We've removed simscan from the process until we figure this out.

Anyone know what qmail-queue error code 32 means? As in 'error 
writing msg to qmail-queue error: 32'


Let me know if anyone has ideas.

Thanks for your help

Jeff

On 5/6/2017 10:21 AM, Eric Broch wrote:


[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's 
the procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with 
restart and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below perms>).


2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, and 
that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 13:02 9

/var/qmail/queue/intd:
total 0

/var/qmail/queue/local:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 09:49 9

/var/qmail/queue/lock:
total 4
-rw--- 1 qmails qmail0 Apr 20 09:49 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-06 Thread Jeff Koch

Hi Eric:

Drive space is fine - using less than half of the main disk and small 
percents of the ram disks


On 5/6/2017 8:13 PM, Eric Broch wrote:


What about drive space?


On 5/6/2017 5:33 PM, Jeff Koch wrote:

Hi Eric:

I reinstalled simscan but unfortunately that didn't help. We're still 
seeing the 451 soft rejects when simscan tries to exec qmail-queue 
after having clamav analyze attachments. We're also seeing the 'no 
envelope' deferrals. I assume you don't have these issues on your 
qmail toaster.


We tried to see if there was any pattern that distinguished emails 
with attachments that went through simscan and executed qmail-queue 
successfully and those that had an error writing to qmail-queue and 
exited with code 71. But we see no pattern.


We've removed simscan from the process until we figure this out.

Anyone know what qmail-queue error code 32 means? As in 'error 
writing msg to qmail-queue error: 32'


Let me know if anyone has ideas.

Thanks for your help

Jeff

On 5/6/2017 10:21 AM, Eric Broch wrote:


[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's 
the procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with 
restart and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below perms>).


2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, and 
that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 13:02 9

/var/qmail/queue/intd:
total 0

/var/qmail/queue/local:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 09:49 9

/var/qmail/queue/lock:
total 4
-rw--- 1 qmails qmail0 Apr 20 09:49 sendmutex
-rw-r--r-- 1 qmailr 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-06 Thread Eric Broch

What about drive space?


On 5/6/2017 5:33 PM, Jeff Koch wrote:

Hi Eric:

I reinstalled simscan but unfortunately that didn't help. We're still 
seeing the 451 soft rejects when simscan tries to exec qmail-queue 
after having clamav analyze attachments. We're also seeing the 'no 
envelope' deferrals. I assume you don't have these issues on your 
qmail toaster.


We tried to see if there was any pattern that distinguished emails 
with attachments that went through simscan and executed qmail-queue 
successfully and those that had an error writing to qmail-queue and 
exited with code 71. But we see no pattern.


We've removed simscan from the process until we figure this out.

Anyone know what qmail-queue error code 32 means? As in 'error writing 
msg to qmail-queue error: 32'


Let me know if anyone has ideas.

Thanks for your help

Jeff

On 5/6/2017 10:21 AM, Eric Broch wrote:


[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's the 
procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with 
restart and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below ).

2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, and 
that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 13:02 9

/var/qmail/queue/intd:
total 0

/var/qmail/queue/local:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 09:49 9

/var/qmail/queue/lock:
total 4
-rw--- 1 qmails qmail0 Apr 20 09:49 sendmutex
-rw-r--r-- 1 qmailr qmail 1024 Apr 27 06:08 tcpto
prw--w--w- 1 qmails qmail0 May  5 08:34 trigger

/var/qmail/queue/mess:
total 0
drwxr-x--- 2 qmailq qmail 6 May  3 03:21 0

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-06 Thread Jeff Koch

Hi Eric:

I reinstalled simscan but unfortunately that didn't help. We're still 
seeing the 451 soft rejects when simscan tries to exec qmail-queue after 
having clamav analyze attachments. We're also seeing the 'no envelope' 
deferrals. I assume you don't have these issues on your qmail toaster.


We tried to see if there was any pattern that distinguished emails with 
attachments that went through simscan and executed qmail-queue 
successfully and those that had an error writing to qmail-queue and 
exited with code 71. But we see no pattern.


We've removed simscan from the process until we figure this out.

Anyone know what qmail-queue error code 32 means? As in 'error writing 
msg to qmail-queue error: 32'


Let me know if anyone has ideas.

Thanks for your help

Jeff

On 5/6/2017 10:21 AM, Eric Broch wrote:


[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's the 
procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with restart 
and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below ).

2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, and 
that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 13:02 9

/var/qmail/queue/intd:
total 0

/var/qmail/queue/local:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 09:49 9

/var/qmail/queue/lock:
total 4
-rw--- 1 qmails qmail0 Apr 20 09:49 sendmutex
-rw-r--r-- 1 qmailr qmail 1024 Apr 27 06:08 tcpto
prw--w--w- 1 qmails qmail0 May  5 08:34 trigger

/var/qmail/queue/mess:
total 0
drwxr-x--- 2 qmailq qmail 6 May  3 03:21 0
drwxr-x--- 2 qmailq qmail 6 May  3 04:52 1
drwxr-x--- 2 qmailq qmail 6 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-06 Thread Eric Broch

Hmm... not sure.

Not sure if you a 'c' programmer but here's the code:

  if ( MailFrom[0] == 0 && RcptTo[0][0] == 0 ) {
if ( DebugFlag > 0 ) {
  fprintf(stderr, "simscan: no envelope information, deferred exit\n");
}
exit_clean(EXIT_454);
  }

Looks like the 'mail from' and 'rcpt to' variables are empty.


On 5/6/2017 8:58 AM, Jeff Koch wrote:

Hi Eric:

One other thing. What does it mean when we see  'simscan: no envelope 
information, deferred exit'? As in the following:



2017-05-06 09:45:11.691723500 simscan: checking attachment 
image003.png against .bat
2017-05-06 09:45:11.691723500 simscan: checking attachment 
image003.png against .pif

2017-05-06 09:45:11.691724500 simscan: cdb looking up version attach
2017-05-06 09:45:11.691724500 simscan: runned_scanners is attach: 1.4.0
2017-05-06 09:45:11.691725500 simscan: found 1.4.0
2017-05-06 09:45:11.691725500 simscan: calling clamdscan
2017-05-06 09:45:11.728577500 simscan: clamdscan: 
/var/qmail/simscan/1494081910.545549.2165: OK

2017-05-06 09:45:11.728632500 simscan: clamdscan:
2017-05-06 09:45:11.728633500 simscan: clamdscan: --- SCAN 
SUMMARY ---

2017-05-06 09:45:11.728672500 simscan: clamdscan: Infected files: 0
2017-05-06 09:45:11.728684500 simscan: clamdscan: Time: 0.034 sec (0 m 
0 s)

2017-05-06 09:45:11.728961500 simscan: cdb looking up version clamav
2017-05-06 09:45:11.728975500 simscan: runned_scanners is attach: 
1.4.0 clamav: 0.99.2/m:

2017-05-06 09:45:11.728976500 simscan: found 0.99.2/m:
2017-05-06 09:45:11.728977500 simscan: normal clamdscan return code: 0
2017-05-06 09:45:11.728998500 simscan: done, execing qmail-queue
2017-05-06 09:45:11.758794500 simscan: qmail-queue exited 0
2017-05-06 09:45:12.076061500 simscan: no envelope information, 
deferred exit

2017-05-06 09:45:12.076219500 simscan: exit error code: 54

Jeff

On 5/6/2017 10:21 AM, Eric Broch wrote:


[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's the 
procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with 
restart and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below ).

2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, and 
that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 13:02 9

/var/qmail/queue/intd:
total 0

/var/qmail/queue/local:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-06 Thread Jeff Koch

Hi Eric:

One other thing. What does it mean when we see  'simscan: no envelope 
information, deferred exit'? As in the following:



2017-05-06 09:45:11.691723500 simscan: checking attachment image003.png 
against .bat
2017-05-06 09:45:11.691723500 simscan: checking attachment image003.png 
against .pif

2017-05-06 09:45:11.691724500 simscan: cdb looking up version attach
2017-05-06 09:45:11.691724500 simscan: runned_scanners is  attach: 1.4.0
2017-05-06 09:45:11.691725500 simscan: found 1.4.0
2017-05-06 09:45:11.691725500 simscan: calling clamdscan
2017-05-06 09:45:11.728577500 simscan: clamdscan: 
/var/qmail/simscan/1494081910.545549.2165: OK

2017-05-06 09:45:11.728632500 simscan: clamdscan:
2017-05-06 09:45:11.728633500 simscan: clamdscan: --- SCAN 
SUMMARY ---

2017-05-06 09:45:11.728672500 simscan: clamdscan: Infected files: 0
2017-05-06 09:45:11.728684500 simscan: clamdscan: Time: 0.034 sec (0 m 0 s)
2017-05-06 09:45:11.728961500 simscan: cdb looking up version clamav
2017-05-06 09:45:11.728975500 simscan: runned_scanners is  attach: 1.4.0 
clamav: 0.99.2/m:

2017-05-06 09:45:11.728976500 simscan: found 0.99.2/m:
2017-05-06 09:45:11.728977500 simscan: normal clamdscan return code: 0
2017-05-06 09:45:11.728998500 simscan: done, execing qmail-queue
2017-05-06 09:45:11.758794500 simscan: qmail-queue exited 0
2017-05-06 09:45:12.076061500 simscan: no envelope information, deferred 
exit

2017-05-06 09:45:12.076219500 simscan: exit error code: 54

Jeff

On 5/6/2017 10:21 AM, Eric Broch wrote:


[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's the 
procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with restart 
and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below ).

2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, and 
that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 13:02 9

/var/qmail/queue/intd:
total 0

/var/qmail/queue/local:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-06 Thread Jeff Koch

Eric - thanks - Jeff

On 5/6/2017 10:21 AM, Eric Broch wrote:


[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's the 
procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with restart 
and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below ).

2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, and 
that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 13:02 9

/var/qmail/queue/intd:
total 0

/var/qmail/queue/local:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 09:49 9

/var/qmail/queue/lock:
total 4
-rw--- 1 qmails qmail0 Apr 20 09:49 sendmutex
-rw-r--r-- 1 qmailr qmail 1024 Apr 27 06:08 tcpto
prw--w--w- 1 qmails qmail0 May  5 08:34 trigger

/var/qmail/queue/mess:
total 0
drwxr-x--- 2 qmailq qmail 6 May  3 03:21 0
drwxr-x--- 2 qmailq qmail 6 May  3 04:52 1
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 10
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 11
drwxr-x--- 2 qmailq qmail 6 Apr 21 06:06 12
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 13
drwxr-x--- 2 qmailq qmail 6 May  5 03:31 14
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 15
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 16
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 17
drwxr-x--- 2 qmailq qmail 6 May  3 04:52 18
drwxr-x--- 2 qmailq qmail 6 May  5 08:34 19
drwxr-x--- 2 qmailq qmail 6 May  1 03:42 2
drwxr-x--- 2 qmailq qmail 6 May  4 03:47 20
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 21
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 22
drwxr-x--- 2 qmailq qmail 6 May  4 03:47 3
drwxr-x--- 2 qmailq qmail 6 May  5 08:34 4
drwxr-x--- 2 qmailq qmail 6 May  2 04:49 5
drwxr-x--- 2 qmailq qmail 6 May  1 07:21 6

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-06 Thread Eric Broch

[root]#ls -ld /var/qmail/simscan
drwxr-x--- 4 clamav root 64 Apr 20 14:18 /var/qmail/simscan

[root]# ls -ld /var/qmail/simscan/*
drwxr-x--- 2 clamav root 39 Dec 23 01:26 
/var/qmail/simscan/1482481568.945036.3336
drwxr-x--- 2 clamav root 73 Dec 23 01:34 
/var/qmail/simscan/1482482077.257292.3618


yum reinstall simscan



On 5/5/2017 12:16 PM, Jeff Koch wrote:

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's the 
procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with restart 
and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below ).

2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, and 
that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 13:02 9

/var/qmail/queue/intd:
total 0

/var/qmail/queue/local:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 09:49 9

/var/qmail/queue/lock:
total 4
-rw--- 1 qmails qmail0 Apr 20 09:49 sendmutex
-rw-r--r-- 1 qmailr qmail 1024 Apr 27 06:08 tcpto
prw--w--w- 1 qmails qmail0 May  5 08:34 trigger

/var/qmail/queue/mess:
total 0
drwxr-x--- 2 qmailq qmail 6 May  3 03:21 0
drwxr-x--- 2 qmailq qmail 6 May  3 04:52 1
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 10
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 11
drwxr-x--- 2 qmailq qmail 6 Apr 21 06:06 12
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 13
drwxr-x--- 2 qmailq qmail 6 May  5 03:31 14
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 15
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 16
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 17
drwxr-x--- 2 qmailq qmail 6 May  3 04:52 18
drwxr-x--- 2 qmailq qmail 6 May  5 08:34 19
drwxr-x--- 2 qmailq qmail 6 May  1 03:42 2
drwxr-x--- 2 qmailq qmail 6 May  4 03:47 20
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 21
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 22
drwxr-x--- 2 qmailq qmail 6 May  4 03:47 3
drwxr-x--- 2 qmailq qmail 6 May  5 08:34 4
drwxr-x--- 2 qmailq qmail 6 May  2 04:49 5
drwxr-x--- 2 qmailq qmail 6 May  1 07:21 6
drwxr-x--- 2 qmailq qmail 6 Apr 23 03:23 7
drwxr-x--- 2 qmailq 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-05 Thread Jeff Koch

Hi Eric:

What do your permissions look like for /var/qmail/simscan and it's 
subdirectories ?


Also, we installed everthing from the QMT install script. What's the 
procedure for removing and reinstalling simscan?


Thanks for your help.

Jeff

On 5/5/2017 1:42 PM, Eric Broch wrote:


It does look like a permission's issue. Try these steps with restart 
and reload of qmail between each step


1) Check permissions on your queue, visibly (mine below ).

2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, and 
that there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 13:02 9

/var/qmail/queue/intd:
total 0

/var/qmail/queue/local:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 09:49 9

/var/qmail/queue/lock:
total 4
-rw--- 1 qmails qmail0 Apr 20 09:49 sendmutex
-rw-r--r-- 1 qmailr qmail 1024 Apr 27 06:08 tcpto
prw--w--w- 1 qmails qmail0 May  5 08:34 trigger

/var/qmail/queue/mess:
total 0
drwxr-x--- 2 qmailq qmail 6 May  3 03:21 0
drwxr-x--- 2 qmailq qmail 6 May  3 04:52 1
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 10
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 11
drwxr-x--- 2 qmailq qmail 6 Apr 21 06:06 12
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 13
drwxr-x--- 2 qmailq qmail 6 May  5 03:31 14
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 15
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 16
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 17
drwxr-x--- 2 qmailq qmail 6 May  3 04:52 18
drwxr-x--- 2 qmailq qmail 6 May  5 08:34 19
drwxr-x--- 2 qmailq qmail 6 May  1 03:42 2
drwxr-x--- 2 qmailq qmail 6 May  4 03:47 20
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 21
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 22
drwxr-x--- 2 qmailq qmail 6 May  4 03:47 3
drwxr-x--- 2 qmailq qmail 6 May  5 08:34 4
drwxr-x--- 2 qmailq qmail 6 May  2 04:49 5
drwxr-x--- 2 qmailq qmail 6 May  1 07:21 6
drwxr-x--- 2 qmailq qmail 6 Apr 23 03:23 7
drwxr-x--- 2 qmailq qmail 6 May  2 04:49 8
drwxr-x--- 2 qmailq qmail 6 Apr 20 13:02 9

/var/qmail/queue/pid:
total 0

/var/qmail/queue/remote:
total 0
drwx-- 2 qmails qmail 6 Apr 20 09:49 0
drwx-- 2 qmails qmail 6 Apr 20 09:49 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 20 09:49 12
drwx-- 2 qmails 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-05 Thread Eric Broch
It does look like a permission's issue. Try these steps with restart and 
reload of qmail between each step


1) Check permissions on your queue, visibly (mine below ).

2) Check /var/qmail/bin permissions (mine below ).

3) Remove and reinstall simscan

4) Try running one of the good queue repair tools like qfixq, 
qmail_repair.py. With these make absolutely sure qmail is OFF, and that 
there are NO straggling send processes.




[root]# ls -ld /var/qmail/queue
drwxr-x--- 11 qmailq qmail 109 Apr 20 09:49 /var/qmail/queue

[root]# ls -l /var/qmail/q*
total 16
drwx--  2 qmails qmail6 Apr 20 09:49 bounce
drwx-- 25 qmails qmail 4096 Apr 20 09:49 info
drwx--  2 qmailq qmail6 May  5 08:34 intd
drwx-- 25 qmails qmail 4096 Apr 20 09:49 local
drwxr-x---  2 qmailq qmail   48 Apr 20 12:58 lock
drwxr-x--- 25 qmailq qmail 4096 Apr 20 09:49 mess
drwx--  2 qmailq qmail6 May  5 08:34 pid
drwx-- 25 qmails qmail 4096 Apr 20 09:49 remote
drwxr-x---  2 qmailq qmail6 May  5 08:34 todo

[root]# ls -l /var/qmail/q*/*
/var/qmail/queue/bounce:
total 0

/var/qmail/queue/info:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 13:02 9

/var/qmail/queue/intd:
total 0

/var/qmail/queue/local:
total 0
drwx-- 2 qmails qmail 6 May  3 03:21 0
drwx-- 2 qmails qmail 6 May  3 04:52 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 21 06:06 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 May  5 03:31 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 May  3 04:52 18
drwx-- 2 qmails qmail 6 May  5 08:34 19
drwx-- 2 qmails qmail 6 May  1 03:42 2
drwx-- 2 qmails qmail 6 May  4 03:47 20
drwx-- 2 qmails qmail 6 Apr 20 09:49 21
drwx-- 2 qmails qmail 6 Apr 20 09:49 22
drwx-- 2 qmails qmail 6 May  4 03:47 3
drwx-- 2 qmails qmail 6 May  5 08:34 4
drwx-- 2 qmails qmail 6 May  2 04:49 5
drwx-- 2 qmails qmail 6 May  1 07:21 6
drwx-- 2 qmails qmail 6 Apr 23 03:23 7
drwx-- 2 qmails qmail 6 May  2 04:49 8
drwx-- 2 qmails qmail 6 Apr 20 09:49 9

/var/qmail/queue/lock:
total 4
-rw--- 1 qmails qmail0 Apr 20 09:49 sendmutex
-rw-r--r-- 1 qmailr qmail 1024 Apr 27 06:08 tcpto
prw--w--w- 1 qmails qmail0 May  5 08:34 trigger

/var/qmail/queue/mess:
total 0
drwxr-x--- 2 qmailq qmail 6 May  3 03:21 0
drwxr-x--- 2 qmailq qmail 6 May  3 04:52 1
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 10
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 11
drwxr-x--- 2 qmailq qmail 6 Apr 21 06:06 12
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 13
drwxr-x--- 2 qmailq qmail 6 May  5 03:31 14
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 15
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 16
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 17
drwxr-x--- 2 qmailq qmail 6 May  3 04:52 18
drwxr-x--- 2 qmailq qmail 6 May  5 08:34 19
drwxr-x--- 2 qmailq qmail 6 May  1 03:42 2
drwxr-x--- 2 qmailq qmail 6 May  4 03:47 20
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 21
drwxr-x--- 2 qmailq qmail 6 Apr 20 09:49 22
drwxr-x--- 2 qmailq qmail 6 May  4 03:47 3
drwxr-x--- 2 qmailq qmail 6 May  5 08:34 4
drwxr-x--- 2 qmailq qmail 6 May  2 04:49 5
drwxr-x--- 2 qmailq qmail 6 May  1 07:21 6
drwxr-x--- 2 qmailq qmail 6 Apr 23 03:23 7
drwxr-x--- 2 qmailq qmail 6 May  2 04:49 8
drwxr-x--- 2 qmailq qmail 6 Apr 20 13:02 9

/var/qmail/queue/pid:
total 0

/var/qmail/queue/remote:
total 0
drwx-- 2 qmails qmail 6 Apr 20 09:49 0
drwx-- 2 qmails qmail 6 Apr 20 09:49 1
drwx-- 2 qmails qmail 6 Apr 20 09:49 10
drwx-- 2 qmails qmail 6 Apr 20 09:49 11
drwx-- 2 qmails qmail 6 Apr 20 09:49 12
drwx-- 2 qmails qmail 6 Apr 20 09:49 13
drwx-- 2 qmails qmail 6 Apr 20 09:49 14
drwx-- 2 qmails qmail 6 Apr 20 09:49 15
drwx-- 2 qmails qmail 6 Apr 20 09:49 16
drwx-- 2 qmails qmail 6 Apr 20 09:49 17
drwx-- 2 qmails qmail 6 Apr 20 09:49 18
drwx-- 2 qmails qmail 6 Apr 20 13:10 19

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-05 Thread Jeff Koch

Hi Eric:

simscan debugging log seems to be showing the problem but I'll need your 
help figuring out what to do about it. Here's a copy of simscan log 
entries showing the 451 'qq soft reject' errors. I have clamav disabled 
in simscan but you can see that simscan is still taking apart the 
attachments.


Keep in mind that not all emails with attachments are having the soft 
reject issue. Here are two examples where attachments generated a soft 
reject and one example where it didn't.


I googled 'exit error code: 71' and found some references going back to 
2006-7 discussing group permissions on /var/qmail/simscan and umask 
issues and the simscan-1.4.0-umask.patch that was supposed to correct 
this problem.


Any idea what I should do to fix this problem on my server?

Thanks, Jeff Koch

Example One - showing 451 qq soft reject

2017-05-05 11:08:35.407367500 simscan: checking attachment textfile1 
against .pif
2017-05-05 11:08:35.407368500 simscan: checking attachment textfile2 
against .mp3
2017-05-05 11:08:35.407374500 simscan: checking attachment textfile2 
against .src
2017-05-05 11:08:35.407375500 simscan: checking attachment textfile2 
against .bat
2017-05-05 11:08:35.407375500 simscan: checking attachment textfile2 
against .pif

2017-05-05 11:08:35.407376500 simscan: cdb looking up version attach
2017-05-05 11:08:35.407376500 simscan: runned_scanners is  attach: 1.4.0
2017-05-05 11:08:35.407377500 simscan: found 1.4.0
2017-05-05 11:08:35.407377500 simscan: clamdscan disabled
2017-05-05 11:08:35.407378500 simscan: done, execing qmail-queue
2017-05-05 11:08:35.408635500 simscan: error writing msg to qmail-queue 
error: 32

2017-05-05 11:08:35.408812500 simscan: exit error code: 71
2017-05-05 11:08:35.408991500 qmail-smtpd: qq soft reject (mail server 
temporarily rejected message (#4.3.0)): 
MAILFROM: 
RCPTTO:jere...@stinternational.com


Example Two - showing 451 qq soft reject

2017-05-05 11:08:45.623775500 simscan: checking attachment ficha de 
inscripcion logistica de .xlsx against .bat
2017-05-05 11:08:45.623776500 simscan: checking attachment ficha de 
inscripcion logistica de .xlsx against .pif
2017-05-05 11:08:45.623778500 simscan: checking attachment FICHA DE 
.xlsx against .mp3
2017-05-05 11:08:45.623779500 simscan: checking attachment ficha de 
i.xlsx against .src
2017-05-05 11:08:45.623779500 simscan: checking attachment ficha de 
.xlsx against .bat
2017-05-05 11:08:45.623780500 simscan: checking attachment ficha de 
.xlsx against .pif

2017-05-05 11:08:45.623780500 simscan: cdb looking up version attach
2017-05-05 11:08:45.623785500 simscan: runned_scanners is  attach: 1.4.0
2017-05-05 11:08:45.623785500 simscan: found 1.4.0
2017-05-05 11:08:45.623786500 simscan: clamdscan disabled
2017-05-05 11:08:45.623807500 simscan: done, execing qmail-queue
2017-05-05 11:08:45.625205500 simscan: error writing msg to qmail-queue 
error: 32

2017-05-05 11:08:45.625526500 simscan: exit error code: 71
2017-05-05 11:08:45.625718500 qmail-smtpd: qq soft reject (mail server 
temporarily rejected message (#4.3.0)): 
MAILFROM:<77-return-9-mantenimiento=crsf.com...@seminarioxxx.com> 
RCPTTO:mant...@.com.ec


Example Three - attachments but no error

2017-05-05 11:08:53.901311500 simscan: checking attachment textfile2 
against .bat
2017-05-05 11:08:53.901312500 simscan: checking attachment textfile2 
against .pif
2017-05-05 11:08:53.901312500 simscan: checking attachment textfile3 
against .mp3
2017-05-05 11:08:53.901313500 simscan: checking attachment textfile3 
against .src
2017-05-05 11:08:53.901313500 simscan: checking attachment textfile3 
against .bat
2017-05-05 11:08:53.901314500 simscan: checking attachment textfile3 
against .pif

2017-05-05 11:08:53.901316500 simscan: cdb looking up version attach
2017-05-05 11:08:53.901317500 simscan: runned_scanners is  attach: 1.4.0
2017-05-05 11:08:53.901317500 simscan: found 1.4.0
2017-05-05 11:08:53.901318500 simscan: clamdscan disabled
2017-05-05 11:08:53.901339500 simscan: done, execing qmail-queue
2017-05-05 11:08:53.918481500 simscan: qmail-queue exited 0











On 5/4/2017 1:35 AM, Eric Broch wrote:


Spamdyke was not interfering with my logging when I tested, but then 
again I wasn't getting any errors.


It's interesting that you see a spamd connection and spamc (spam=no) 
is turned off with simcontrol.


Also, did you check /var/log/qmail/smtp/current? This is where you 
should see simscan logging.



On 5/3/2017 9:38 PM, Jeff Koch wrote:

HI Eric:

Here's what I have in tcp.smtp:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

and here's what I have in /var/qmai/control/simcontrol

:clam=yes,spam=no,spam_hits=12,attach=.mp3:.src:.bat:.pif

and I know simscan is working 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-04 Thread Jeff Koch
Ah - ha - so that's where the simscan logging is. I see it now. I'll 
check the log against the 451 qq soft rejects and see what it says. 
(Funny it wasn't showing there before - maybe I didn't wait long enough 
for the simscan logging to start or I screwed up in some other way.)


Also, spamd shows up because we have SA running in a maildrop filter.

I'll let you know what I find.

Thanks - Jeff


On 5/4/2017 1:35 AM, Eric Broch wrote:


Spamdyke was not interfering with my logging when I tested, but then 
again I wasn't getting any errors.


It's interesting that you see a spamd connection and spamc (spam=no) 
is turned off with simcontrol.


Also, did you check /var/log/qmail/smtp/current? This is where you 
should see simscan logging.



On 5/3/2017 9:38 PM, Jeff Koch wrote:

HI Eric:

Here's what I have in tcp.smtp:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

and here's what I have in /var/qmai/control/simcontrol

:clam=yes,spam=no,spam_hits=12,attach=.mp3:.src:.bat:.pif

and I know simscan is working because I see the clamav entries in 
/var/log/maillog. Note: we need to have clamav running because the 
email is going to real people. But when clamav was turned off there 
no simscan logging either.


Here's what I have in /var/qmail/supervise/smtp/run

#!/bin/sh
SIMSCAN_DEBUG=5
export SIMSCAN_DEBUG
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 12800 \
 /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c 
"$MAXSMTPD" \

 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
 $SPAMDYKE --config-file $SPAMDYKE_CONF \
 $SMTPD $VCHKPW /bin/true 2>&1

and I ran qmailctl - stop - cdb - start  (Note: The HOSTNAME entry is 
exactly as shown 'hostname' - we did not change it to the actual hostname


In the /var/log/maillog we see no entries that reference 'simscan' - 
is that the log that the debug logging should appear in?


In this log we see entries referencing 'spamdyke', spamd, clamd, 
vpopmail (vchkpw-smtp) but none that says 'simscan' ** remember we 
have clamav running:


May  3 22:28:47 server spamdyke[26952]: ALLOWED from:...
May  3 22:31:40 server spamd[2772]: spamd: connection..
May  3 22:31:52 server clamd[661]: 
/var/qmail.
May  3 22:25:55 server vpopmail[26673]: vchkpw-smtp: vpopmail 
user.


and were are still seeing DENIED_OTHER 451 rejects like this:

May  3 22:32:20 server spamdyke[27401]: DENIED_OTHER from: 
3294909110062131b4b02-b17122-5f62f91568cf4aa2ad5adb71f8f94...@mg.expediaxxx.com 
to: jsux...@sinpxxx.com origin_ip: 135.84.xxx.10 origin_rdns: 
gears217-10.expediaxxx.com auth: (unknown) encryption: TLS reason: 
451_mail_server_temporarily_rejected_message_(#4.3.0)


As you can see we do have spamdyke running. Could that be interfering 
with the logging?


Jeff



On 5/3/2017 10:09 AM, Eric Broch wrote:


Did you turn simscan on in tcp.smtp:

QMAILQUEUE=/var/qmail/bin/simscan

and stop/cdb/start qmail?

On 5/2/2017 9:08 PM, Jeff Koch wrote:

HI Eric:

I turned on simscan debugging but I don't see any 'simscan' logging 
in /var/log/maillog or /var/log/qmail/smtp


Jeff

On 5/2/2017 12:27 AM, Eric Broch wrote:


I wonder if you have a permissions issue somewhere?

You could now change /var/qmail/supervise/smtp/run script to debug 
simscan by adding the following settings


SIMSCAN_DEBUG=5
export SIMSCAN_DEBUG

and in tcp.smtp change

QMAILQUEUE=/var/qmail/bin/simscan

and in simcontrol change to

:clam=no, spam=no

and qmailctl stop/cdb/start

and see what the log produces.

You should (hopefully) see the reason for the failure.


On 5/1/2017 8:59 PM, Jeff Koch wrote:

Hi Eric:

Here are the results of this tests. See below:

On 4/30/2017 1:08 AM, Eric Broch wrote:


Also,

My plan was that you would change things a step at a time (and 
check between steps whether qq soft rejects persisted) in this 
order:


Step 1) Increase softlimit in smtp run file (stop/start/cdb 
qmail) to 12800


No effect - still seeing spamdyke DENIED_OTHER - 
451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 2) Change /var/qmail/control/simcontrol settings from

:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif

to

:clam=no,spam=no

this stops clamd, spamc, and ripmime.

stop/start/cdb qmail.


No effect - 451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 3) Revert /var/qmail/control/simcontrol settings and change 
/etc/tcprules.d/tcp.smtp


QMAILQUEUE="/var/qmail/bin/simscan"


Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-03 Thread Eric Broch
Spamdyke was not interfering with my logging when I tested, but then 
again I wasn't getting any errors.


It's interesting that you see a spamd connection and spamc (spam=no) is 
turned off with simcontrol.


Also, did you check /var/log/qmail/smtp/current? This is where you 
should see simscan logging.



On 5/3/2017 9:38 PM, Jeff Koch wrote:

HI Eric:

Here's what I have in tcp.smtp:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

and here's what I have in /var/qmai/control/simcontrol

:clam=yes,spam=no,spam_hits=12,attach=.mp3:.src:.bat:.pif

and I know simscan is working because I see the clamav entries in 
/var/log/maillog. Note: we need to have clamav running because the 
email is going to real people. But when clamav was turned off there no 
simscan logging either.


Here's what I have in /var/qmail/supervise/smtp/run

#!/bin/sh
SIMSCAN_DEBUG=5
export SIMSCAN_DEBUG
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 12800 \
 /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
 $SPAMDYKE --config-file $SPAMDYKE_CONF \
 $SMTPD $VCHKPW /bin/true 2>&1

and I ran qmailctl - stop - cdb - start  (Note: The HOSTNAME entry is 
exactly as shown 'hostname' - we did not change it to the actual hostname


In the /var/log/maillog we see no entries that reference 'simscan' - 
is that the log that the debug logging should appear in?


In this log we see entries referencing 'spamdyke', spamd, clamd, 
vpopmail (vchkpw-smtp) but none that says 'simscan' ** remember we 
have clamav running:


May  3 22:28:47 server spamdyke[26952]: ALLOWED from:...
May  3 22:31:40 server spamd[2772]: spamd: connection..
May  3 22:31:52 server clamd[661]: /var/qmail.
May  3 22:25:55 server vpopmail[26673]: vchkpw-smtp: vpopmail 
user.


and were are still seeing DENIED_OTHER 451 rejects like this:

May  3 22:32:20 server spamdyke[27401]: DENIED_OTHER from: 
3294909110062131b4b02-b17122-5f62f91568cf4aa2ad5adb71f8f94...@mg.expediaxxx.com 
to: jsux...@sinpxxx.com origin_ip: 135.84.xxx.10 origin_rdns: 
gears217-10.expediaxxx.com auth: (unknown) encryption: TLS reason: 
451_mail_server_temporarily_rejected_message_(#4.3.0)


As you can see we do have spamdyke running. Could that be interfering 
with the logging?


Jeff



On 5/3/2017 10:09 AM, Eric Broch wrote:


Did you turn simscan on in tcp.smtp:

QMAILQUEUE=/var/qmail/bin/simscan

and stop/cdb/start qmail?

On 5/2/2017 9:08 PM, Jeff Koch wrote:

HI Eric:

I turned on simscan debugging but I don't see any 'simscan' logging 
in /var/log/maillog or /var/log/qmail/smtp


Jeff

On 5/2/2017 12:27 AM, Eric Broch wrote:


I wonder if you have a permissions issue somewhere?

You could now change /var/qmail/supervise/smtp/run script to debug 
simscan by adding the following settings


SIMSCAN_DEBUG=5
export SIMSCAN_DEBUG

and in tcp.smtp change

QMAILQUEUE=/var/qmail/bin/simscan

and in simcontrol change to

:clam=no, spam=no

and qmailctl stop/cdb/start

and see what the log produces.

You should (hopefully) see the reason for the failure.


On 5/1/2017 8:59 PM, Jeff Koch wrote:

Hi Eric:

Here are the results of this tests. See below:

On 4/30/2017 1:08 AM, Eric Broch wrote:


Also,

My plan was that you would change things a step at a time (and 
check between steps whether qq soft rejects persisted) in this order:


Step 1) Increase softlimit in smtp run file (stop/start/cdb 
qmail) to 12800


No effect - still seeing spamdyke DENIED_OTHER - 
451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 2) Change /var/qmail/control/simcontrol settings from

:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif

to

:clam=no,spam=no

this stops clamd, spamc, and ripmime.

stop/start/cdb qmail.


No effect - 451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 3) Revert /var/qmail/control/simcontrol settings and change 
/etc/tcprules.d/tcp.smtp


QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue.orig"

stop/start/cdb qmail.

So far it looks good. I've let the server run for 20 minutes and I 
don't see any 'DENIED_OTHER' or 451's nor do we see any qq soft 
rejects in /var/qmail/log/smtp/current.


It is interesting that spamd seems to be running. That is probably 
because we use 'spamc' in a maildrop filter that also develops a 
spamassassin score prior to dropping the message into the user's 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-03 Thread Jeff Koch

HI Eric:

Here's what I have in tcp.smtp:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

and here's what I have in /var/qmai/control/simcontrol

:clam=yes,spam=no,spam_hits=12,attach=.mp3:.src:.bat:.pif

and I know simscan is working because I see the clamav entries in 
/var/log/maillog. Note: we need to have clamav running because the email 
is going to real people. But when clamav was turned off there no simscan 
logging either.


Here's what I have in /var/qmail/supervise/smtp/run

#!/bin/sh
SIMSCAN_DEBUG=5
export SIMSCAN_DEBUG
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 12800 \
 /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
 $SPAMDYKE --config-file $SPAMDYKE_CONF \
 $SMTPD $VCHKPW /bin/true 2>&1

and I ran qmailctl - stop - cdb - start  (Note: The HOSTNAME entry is 
exactly as shown 'hostname' - we did not change it to the actual hostname


In the /var/log/maillog we see no entries that reference 'simscan' - is 
that the log that the debug logging should appear in?


In this log we see entries referencing 'spamdyke', spamd, clamd, 
vpopmail (vchkpw-smtp) but none that says 'simscan' ** remember we have 
clamav running:


May  3 22:28:47 server spamdyke[26952]: ALLOWED from:...
May  3 22:31:40 server spamd[2772]: spamd: connection..
May  3 22:31:52 server clamd[661]: /var/qmail.
May  3 22:25:55 server vpopmail[26673]: vchkpw-smtp: vpopmail 
user.


and were are still seeing DENIED_OTHER 451 rejects like this:

May  3 22:32:20 server spamdyke[27401]: DENIED_OTHER from: 
3294909110062131b4b02-b17122-5f62f91568cf4aa2ad5adb71f8f94...@mg.expediaxxx.com 
to: jsux...@sinpxxx.com origin_ip: 135.84.xxx.10 origin_rdns: 
gears217-10.expediaxxx.com auth: (unknown) encryption: TLS reason: 
451_mail_server_temporarily_rejected_message_(#4.3.0)


As you can see we do have spamdyke running. Could that be interfering 
with the logging?


Jeff



On 5/3/2017 10:09 AM, Eric Broch wrote:


Did you turn simscan on in tcp.smtp:

QMAILQUEUE=/var/qmail/bin/simscan

and stop/cdb/start qmail?

On 5/2/2017 9:08 PM, Jeff Koch wrote:

HI Eric:

I turned on simscan debugging but I don't see any 'simscan' logging 
in /var/log/maillog or /var/log/qmail/smtp


Jeff

On 5/2/2017 12:27 AM, Eric Broch wrote:


I wonder if you have a permissions issue somewhere?

You could now change /var/qmail/supervise/smtp/run script to debug 
simscan by adding the following settings


SIMSCAN_DEBUG=5
export SIMSCAN_DEBUG

and in tcp.smtp change

QMAILQUEUE=/var/qmail/bin/simscan

and in simcontrol change to

:clam=no, spam=no

and qmailctl stop/cdb/start

and see what the log produces.

You should (hopefully) see the reason for the failure.


On 5/1/2017 8:59 PM, Jeff Koch wrote:

Hi Eric:

Here are the results of this tests. See below:

On 4/30/2017 1:08 AM, Eric Broch wrote:


Also,

My plan was that you would change things a step at a time (and 
check between steps whether qq soft rejects persisted) in this order:


Step 1) Increase softlimit in smtp run file (stop/start/cdb qmail) 
to 12800


No effect - still seeing spamdyke DENIED_OTHER - 
451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 2) Change /var/qmail/control/simcontrol settings from

:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif

to

:clam=no,spam=no

this stops clamd, spamc, and ripmime.

stop/start/cdb qmail.


No effect - 451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 3) Revert /var/qmail/control/simcontrol settings and change 
/etc/tcprules.d/tcp.smtp


QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue.orig"

stop/start/cdb qmail.

So far it looks good. I've let the server run for 20 minutes and I 
don't see any 'DENIED_OTHER' or 451's nor do we see any qq soft 
rejects in /var/qmail/log/smtp/current.


It is interesting that spamd seems to be running. That is probably 
because we use 'spamc' in a maildrop filter that also develops a 
spamassassin score prior to dropping the message into the user's 
mailbox. If the score is over the threshold the filter diverts the 
message to the domain's spam user's mailbox. I'm also now getting 
detailed spam analysis information in the /var/log/maillog. I 
wasn't seeing that before.


I should point out that this is the same procedure and setup we've 
used successfully for almost ten years with Bill's 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-02 Thread Jeff Koch

HI Eric:

I turned on simscan debugging but I don't see any 'simscan' logging in 
/var/log/maillog or /var/log/qmail/smtp


Jeff

On 5/2/2017 12:27 AM, Eric Broch wrote:


I wonder if you have a permissions issue somewhere?

You could now change /var/qmail/supervise/smtp/run script to debug 
simscan by adding the following settings


SIMSCAN_DEBUG=5
export SIMSCAN_DEBUG

and in tcp.smtp change

QMAILQUEUE=/var/qmail/bin/simscan

and in simcontrol change to

:clam=no, spam=no

and qmailctl stop/cdb/start

and see what the log produces.

You should (hopefully) see the reason for the failure.


On 5/1/2017 8:59 PM, Jeff Koch wrote:

Hi Eric:

Here are the results of this tests. See below:

On 4/30/2017 1:08 AM, Eric Broch wrote:


Also,

My plan was that you would change things a step at a time (and check 
between steps whether qq soft rejects persisted) in this order:


Step 1) Increase softlimit in smtp run file (stop/start/cdb qmail) 
to 12800


No effect - still seeing spamdyke DENIED_OTHER - 
451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 2) Change /var/qmail/control/simcontrol settings from

:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif

to

:clam=no,spam=no

this stops clamd, spamc, and ripmime.

stop/start/cdb qmail.


No effect - 451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 3) Revert /var/qmail/control/simcontrol settings and change 
/etc/tcprules.d/tcp.smtp


QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue.orig"

stop/start/cdb qmail.

So far it looks good. I've let the server run for 20 minutes and I 
don't see any 'DENIED_OTHER' or 451's nor do we see any qq soft 
rejects in /var/qmail/log/smtp/current.


It is interesting that spamd seems to be running. That is probably 
because we use 'spamc' in a maildrop filter that also develops a 
spamassassin score prior to dropping the message into the user's 
mailbox. If the score is over the threshold the filter diverts the 
message to the domain's spam user's mailbox. I'm also now getting 
detailed spam analysis information in the /var/log/maillog. I wasn't 
seeing that before.


I should point out that this is the same procedure and setup we've 
used successfully for almost ten years with Bill's Toaster. With the 
Bill's Toaster setup the spamassassin logs were logged separately at 
/var/log/spamd/. Is it possible that two instances of spamassassin 
are conflicting with each other


The issue does seem to be related to simscan - even with spam and 
clam disabled in simscan we were getting 451 rejects / DENIED_OTHER


Please let me know what you think.

Jeff


Once we get this stop we can start adding things in one at a time 
with simscan in debug mode to find out where the problem is.


Eric




On 4/29/2017 10:26 PM, Eric Broch wrote:


Sorry, Jeff,

change

QMAILQUEUE="/var/qmail/bin/qmail-queue


QMAILQUEUE="/var/qmail/bin/qmail-queue.orig


qmail-queue is a link to qmail-dk so use qmail-queue.orig

Eric


On 4/29/2017 10:01 PM, Jeff Koch wrote:

Hi Eric:

no indication of segfaults in /var/log/messages or dmesg
softlimit is set at 1  (100MB)

changed clam and spam to 'no' and did qmailctl stop, cdb, start
changed

This was the contents of tcp.smtp:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

changed to:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/qmail-queue",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

and then did qmailctl stop, cdb, start

Now the /var/log/maillog is showing many:

DENIED_OTHER from: 
cap21-return-27-contabilidad=idfimportadora@cape.info to: 
contabxx...@idfimpo.com origin_ip: 98.130.1.xx8 origin_rdns: 
mail1103.opentransfer.com auth: (unknown) encryption: (none) 
reason: 
554_qmail-dk:_Cannot_sign_message_due_to_invalid_message_syntax._(#5.3.0)


and /var/log/qmail/smtp

qmail-smtpd: qq hard reject (qmail-dk: Cannot sign message due to 
invalid message syntax. (#5.3.0)): 
MAILFROM:<323792861003aa0d40b02-b17119-1eec421bc9e947029e3ec865f716e...@mg.mailer.ctickets.com> 
RCPTTO:rodx...@brxxx.com.ec


This seems weird. Not sure why the server would be trying to sign 
a message that is coming to a local recipient. I could see it 
signing a message being sent or relayed but not received for a 
local recipient


Jeff


On 4/29/2017 2:02 PM, Eric Broch wrote:


Jeff,

In summary...

DENIED_OTHER: The connection was rejected by qmail (or another 
downstream filter), not spamdyke.|REASON| will contain the 
rejection message given by qmail (or other downstream filter).


REASON: 451_mail_server_temporarily_rejected_message_(#4.3.0).

Check /var/log/messages for segfault


Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-02 Thread Jeff Koch

Hi Eric:

- The simscan SA pass operates as an initial filter deleting all emails 
with a score higher than 12 ( the assumption is that with a threshold 
that high it would be unlikely to have a false negative). In the case 
where one message might be forwarded to several email accounts this 
would be more efficient then having maildrop run SA separately for each 
account.


- For messages with a score less than 12 then we let maildrop calculate 
the score and compare to each email account's custom threshold, custom 
white and black list and determine if the message should be transferred 
to the 'spam' account.


There's probably a better way to do this.

Jeff


On 5/2/2017 12:32 AM, Eric Broch wrote:


Also,

If SA scans on messages in simscan why are they also being scanned in 
maildrop?





On 5/1/2017 10:27 PM, Eric Broch wrote:


I wonder if you have a permissions issue somewhere?

You could now change /var/qmail/supervise/smtp/run script to debug 
simscan by adding the following settings


SIMSCAN_DEBUG=5
export SIMSCAN_DEBUG

and in tcp.smtp change

QMAILQUEUE=/var/qmail/bin/simscan

and in simcontrol change to

:clam=no, spam=no

and qmailctl stop/cdb/start

and see what the log produces.

You should (hopefully) see the reason for the failure.


On 5/1/2017 8:59 PM, Jeff Koch wrote:

Hi Eric:

Here are the results of this tests. See below:

On 4/30/2017 1:08 AM, Eric Broch wrote:


Also,

My plan was that you would change things a step at a time (and 
check between steps whether qq soft rejects persisted) in this order:


Step 1) Increase softlimit in smtp run file (stop/start/cdb qmail) 
to 12800


No effect - still seeing spamdyke DENIED_OTHER - 
451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 2) Change /var/qmail/control/simcontrol settings from

:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif

to

:clam=no,spam=no

this stops clamd, spamc, and ripmime.

stop/start/cdb qmail.


No effect - 451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 3) Revert /var/qmail/control/simcontrol settings and change 
/etc/tcprules.d/tcp.smtp


QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue.orig"

stop/start/cdb qmail.

So far it looks good. I've let the server run for 20 minutes and I 
don't see any 'DENIED_OTHER' or 451's nor do we see any qq soft 
rejects in /var/qmail/log/smtp/current.


It is interesting that spamd seems to be running. That is probably 
because we use 'spamc' in a maildrop filter that also develops a 
spamassassin score prior to dropping the message into the user's 
mailbox. If the score is over the threshold the filter diverts the 
message to the domain's spam user's mailbox. I'm also now getting 
detailed spam analysis information in the /var/log/maillog. I wasn't 
seeing that before.


I should point out that this is the same procedure and setup we've 
used successfully for almost ten years with Bill's Toaster. With the 
Bill's Toaster setup the spamassassin logs were logged separately at 
/var/log/spamd/. Is it possible that two instances of spamassassin 
are conflicting with each other


The issue does seem to be related to simscan - even with spam and 
clam disabled in simscan we were getting 451 rejects / DENIED_OTHER


Please let me know what you think.

Jeff


Once we get this stop we can start adding things in one at a time 
with simscan in debug mode to find out where the problem is.


Eric




On 4/29/2017 10:26 PM, Eric Broch wrote:


Sorry, Jeff,

change

QMAILQUEUE="/var/qmail/bin/qmail-queue


QMAILQUEUE="/var/qmail/bin/qmail-queue.orig


qmail-queue is a link to qmail-dk so use qmail-queue.orig

Eric


On 4/29/2017 10:01 PM, Jeff Koch wrote:

Hi Eric:

no indication of segfaults in /var/log/messages or dmesg
softlimit is set at 1  (100MB)

changed clam and spam to 'no' and did qmailctl stop, cdb, start
changed

This was the contents of tcp.smtp:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

changed to:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/qmail-queue",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

and then did qmailctl stop, cdb, start

Now the /var/log/maillog is showing many:

DENIED_OTHER from: 
cap21-return-27-contabilidad=idfimportadora@cape.info to: 
contabxx...@idfimpo.com origin_ip: 98.130.1.xx8 origin_rdns: 
mail1103.opentransfer.com auth: (unknown) encryption: (none) 
reason: 
554_qmail-dk:_Cannot_sign_message_due_to_invalid_message_syntax._(#5.3.0)


and /var/log/qmail/smtp

qmail-smtpd: qq hard reject (qmail-dk: Cannot sign message due to 
invalid message syntax. (#5.3.0)): 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-01 Thread Eric Broch

Also,

If SA scans on messages in simscan why are they also being scanned in 
maildrop?





On 5/1/2017 10:27 PM, Eric Broch wrote:


I wonder if you have a permissions issue somewhere?

You could now change /var/qmail/supervise/smtp/run script to debug 
simscan by adding the following settings


SIMSCAN_DEBUG=5
export SIMSCAN_DEBUG

and in tcp.smtp change

QMAILQUEUE=/var/qmail/bin/simscan

and in simcontrol change to

:clam=no, spam=no

and qmailctl stop/cdb/start

and see what the log produces.

You should (hopefully) see the reason for the failure.


On 5/1/2017 8:59 PM, Jeff Koch wrote:

Hi Eric:

Here are the results of this tests. See below:

On 4/30/2017 1:08 AM, Eric Broch wrote:


Also,

My plan was that you would change things a step at a time (and check 
between steps whether qq soft rejects persisted) in this order:


Step 1) Increase softlimit in smtp run file (stop/start/cdb qmail) 
to 12800


No effect - still seeing spamdyke DENIED_OTHER - 
451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 2) Change /var/qmail/control/simcontrol settings from

:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif

to

:clam=no,spam=no

this stops clamd, spamc, and ripmime.

stop/start/cdb qmail.


No effect - 451_mail_server_temporarily_rejected_message_(#4.3.0)


Step 3) Revert /var/qmail/control/simcontrol settings and change 
/etc/tcprules.d/tcp.smtp


QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue.orig"

stop/start/cdb qmail.

So far it looks good. I've let the server run for 20 minutes and I 
don't see any 'DENIED_OTHER' or 451's nor do we see any qq soft 
rejects in /var/qmail/log/smtp/current.


It is interesting that spamd seems to be running. That is probably 
because we use 'spamc' in a maildrop filter that also develops a 
spamassassin score prior to dropping the message into the user's 
mailbox. If the score is over the threshold the filter diverts the 
message to the domain's spam user's mailbox. I'm also now getting 
detailed spam analysis information in the /var/log/maillog. I wasn't 
seeing that before.


I should point out that this is the same procedure and setup we've 
used successfully for almost ten years with Bill's Toaster. With the 
Bill's Toaster setup the spamassassin logs were logged separately at 
/var/log/spamd/. Is it possible that two instances of spamassassin 
are conflicting with each other


The issue does seem to be related to simscan - even with spam and 
clam disabled in simscan we were getting 451 rejects / DENIED_OTHER


Please let me know what you think.

Jeff


Once we get this stop we can start adding things in one at a time 
with simscan in debug mode to find out where the problem is.


Eric




On 4/29/2017 10:26 PM, Eric Broch wrote:


Sorry, Jeff,

change

QMAILQUEUE="/var/qmail/bin/qmail-queue


QMAILQUEUE="/var/qmail/bin/qmail-queue.orig


qmail-queue is a link to qmail-dk so use qmail-queue.orig

Eric


On 4/29/2017 10:01 PM, Jeff Koch wrote:

Hi Eric:

no indication of segfaults in /var/log/messages or dmesg
softlimit is set at 1  (100MB)

changed clam and spam to 'no' and did qmailctl stop, cdb, start
changed

This was the contents of tcp.smtp:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

changed to:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/qmail-queue",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

and then did qmailctl stop, cdb, start

Now the /var/log/maillog is showing many:

DENIED_OTHER from: 
cap21-return-27-contabilidad=idfimportadora@cape.info to: 
contabxx...@idfimpo.com origin_ip: 98.130.1.xx8 origin_rdns: 
mail1103.opentransfer.com auth: (unknown) encryption: (none) 
reason: 
554_qmail-dk:_Cannot_sign_message_due_to_invalid_message_syntax._(#5.3.0)


and /var/log/qmail/smtp

qmail-smtpd: qq hard reject (qmail-dk: Cannot sign message due to 
invalid message syntax. (#5.3.0)): 
MAILFROM:<323792861003aa0d40b02-b17119-1eec421bc9e947029e3ec865f716e...@mg.mailer.ctickets.com> 
RCPTTO:rodx...@brxxx.com.ec


This seems weird. Not sure why the server would be trying to sign 
a message that is coming to a local recipient. I could see it 
signing a message being sent or relayed but not received for a 
local recipient


Jeff


On 4/29/2017 2:02 PM, Eric Broch wrote:


Jeff,

In summary...

DENIED_OTHER: The connection was rejected by qmail (or another 
downstream filter), not spamdyke.|REASON| will contain the 
rejection message given by qmail (or other downstream filter).


REASON: 451_mail_server_temporarily_rejected_message_(#4.3.0).

Check /var/log/messages for segfault

Check /var/qmail/supervise/smtp/run 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-01 Thread Jeff Koch

Hi Eric:

Not yet - we had some data center issues. Will get back to it this 
afternoon after business hours. I really appreciate your help on this.


Regards, Jeff Koch


On 5/1/2017 11:26 AM, Eric Broch wrote:


Jeff,

What's the status of this...any resolution?

Eric


On 4/29/2017 10:01 PM, Jeff Koch wrote:

Hi Eric:

no indication of segfaults in /var/log/messages or dmesg
softlimit is set at 1  (100MB)

changed clam and spam to 'no' and did qmailctl stop, cdb, start
changed

This was the contents of tcp.smtp:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

changed to:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/qmail-queue",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

and then did qmailctl stop, cdb, start

Now the /var/log/maillog is showing many:

DENIED_OTHER from: 
cap21-return-27-contabilidad=idfimportadora@cape.info to: 
contabxx...@idfimpo.com origin_ip: 98.130.1.xx8 origin_rdns: 
mail1103.opentransfer.com auth: (unknown) encryption: (none) reason: 
554_qmail-dk:_Cannot_sign_message_due_to_invalid_message_syntax._(#5.3.0)


and /var/log/qmail/smtp

qmail-smtpd: qq hard reject (qmail-dk: Cannot sign message due to 
invalid message syntax. (#5.3.0)): 
MAILFROM:<323792861003aa0d40b02-b17119-1eec421bc9e947029e3ec865f716e...@mg.mailer.ctickets.com> 
RCPTTO:rodx...@brxxx.com.ec


This seems weird. Not sure why the server would be trying to sign a 
message that is coming to a local recipient. I could see it signing a 
message being sent or relayed but not received for a local recipient


Jeff


On 4/29/2017 2:02 PM, Eric Broch wrote:


Jeff,

In summary...

DENIED_OTHER: The connection was rejected by qmail (or another 
downstream filter), not spamdyke.|REASON| will contain the rejection 
message given by qmail (or other downstream filter).


REASON: 451_mail_server_temporarily_rejected_message_(#4.3.0).

Check /var/log/messages for segfault

Check /var/qmail/supervise/smtp/run softlimit

Try this:

Edit /var/qmail/control/simcontrol and set the following to 'no'

:clam=no,spam=no

# qmailctl stop

# qmailctl cdb

# qmailctl start

Let me know.

If that doesn't work edit /etc/tcprules.d/tcp.smtp

change

QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue"


Eric



On 4/29/2017 11:23 AM, Jeff Koch wrote:

Hi Erin:

Thanks, we found the tcp.smtp file at /etc/trcrules.d and pointed 
spamdyke there. So that's fixed.


We also pointed the certificate file to 
/var/qmail/control/servercert.pem and cleared those errors.


However, we are still seeing qq soft rejects in 
/var/log/qmail/smtp/current. They seem to be related to the 
matching spamdyke log entries in /var/log/maillog. Example:


Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/msg.1493481946.217350.3912:

OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/addr.1493481946.217350.3912:

 OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/textfile1: OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/2c7fdfebf8050265e8b51bd3c2ea

58f0: OK
Apr 29 11:05:46 server spamdyke[3905]: DENIED_OTHER from: 
@pokemailing.com to: .yyy@idfim
portadora.com origin_ip: 67.211.215.94 origin_rdns: 
km61.pokemailing.com auth: (unknown) encryption: (no

ne) reason: 451_mail_server_temporarily_rejected_message_(#4.3.0)

I put the clamd log entries above so you could that clamd passed 
the message OK.  However does anybody know what 'DENIED OTHER" 
means or figure out from the message why spamdyke rejected the message?



Jeff Koch


On 4/29/2017 1:18 AM, Eric Broch wrote:

Hi Jeff,

Do you know why spamdyke would be looking in /home/vpopmail/etc 
for anything ? I've never heard of this before.


Spamdyke's configuration directory is a link in /etc: 
/etc/spamdyke -> ../opt/spamdyke/etc.


Here's my spamdyke configuration: 'cat /etc/spamdyke/spamdyke.conf'



#dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
graylist-dir=/var/spamdyke/graylist
graylist-level=none
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=2
header-blacklist-entry=From:*>,*<*
idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
qmail-rcpthosts-file=/var/qmail/control/rcpthosts

Re: [qmailtoaster] qq soft reject with Centos 7

2017-05-01 Thread Eric Broch

Jeff,

What's the status of this...any resolution?

Eric


On 4/29/2017 10:01 PM, Jeff Koch wrote:

Hi Eric:

no indication of segfaults in /var/log/messages or dmesg
softlimit is set at 1  (100MB)

changed clam and spam to 'no' and did qmailctl stop, cdb, start
changed

This was the contents of tcp.smtp:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

changed to:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/qmail-queue",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

and then did qmailctl stop, cdb, start

Now the /var/log/maillog is showing many:

DENIED_OTHER from: 
cap21-return-27-contabilidad=idfimportadora@cape.info to: 
contabxx...@idfimpo.com origin_ip: 98.130.1.xx8 origin_rdns: 
mail1103.opentransfer.com auth: (unknown) encryption: (none) reason: 
554_qmail-dk:_Cannot_sign_message_due_to_invalid_message_syntax._(#5.3.0)


and /var/log/qmail/smtp

qmail-smtpd: qq hard reject (qmail-dk: Cannot sign message due to 
invalid message syntax. (#5.3.0)): 
MAILFROM:<323792861003aa0d40b02-b17119-1eec421bc9e947029e3ec865f716e...@mg.mailer.ctickets.com> 
RCPTTO:rodx...@brxxx.com.ec


This seems weird. Not sure why the server would be trying to sign a 
message that is coming to a local recipient. I could see it signing a 
message being sent or relayed but not received for a local recipient


Jeff


On 4/29/2017 2:02 PM, Eric Broch wrote:


Jeff,

In summary...

DENIED_OTHER: The connection was rejected by qmail (or another 
downstream filter), not spamdyke.|REASON| will contain the rejection 
message given by qmail (or other downstream filter).


REASON: 451_mail_server_temporarily_rejected_message_(#4.3.0).

Check /var/log/messages for segfault

Check /var/qmail/supervise/smtp/run softlimit

Try this:

Edit /var/qmail/control/simcontrol and set the following to 'no'

:clam=no,spam=no

# qmailctl stop

# qmailctl cdb

# qmailctl start

Let me know.

If that doesn't work edit /etc/tcprules.d/tcp.smtp

change

QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue"


Eric



On 4/29/2017 11:23 AM, Jeff Koch wrote:

Hi Erin:

Thanks, we found the tcp.smtp file at /etc/trcrules.d and pointed 
spamdyke there. So that's fixed.


We also pointed the certificate file to 
/var/qmail/control/servercert.pem and cleared those errors.


However, we are still seeing qq soft rejects in 
/var/log/qmail/smtp/current. They seem to be related to the matching 
spamdyke log entries in /var/log/maillog. Example:


Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/msg.1493481946.217350.3912:

OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/addr.1493481946.217350.3912:

 OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/textfile1: OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/2c7fdfebf8050265e8b51bd3c2ea

58f0: OK
Apr 29 11:05:46 server spamdyke[3905]: DENIED_OTHER from: 
@pokemailing.com to: .yyy@idfim
portadora.com origin_ip: 67.211.215.94 origin_rdns: 
km61.pokemailing.com auth: (unknown) encryption: (no

ne) reason: 451_mail_server_temporarily_rejected_message_(#4.3.0)

I put the clamd log entries above so you could that clamd passed the 
message OK.  However does anybody know what 'DENIED OTHER" means or 
figure out from the message why spamdyke rejected the message?



Jeff Koch


On 4/29/2017 1:18 AM, Eric Broch wrote:

Hi Jeff,

Do you know why spamdyke would be looking in /home/vpopmail/etc for 
anything ? I've never heard of this before.


Spamdyke's configuration directory is a link in /etc: /etc/spamdyke 
-> ../opt/spamdyke/etc.


Here's my spamdyke configuration: 'cat /etc/spamdyke/spamdyke.conf'



#dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
graylist-dir=/var/spamdyke/graylist
graylist-level=none
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=2
header-blacklist-entry=From:*>,*<*
idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
qmail-rcpthosts-file=/var/qmail/control/rcpthosts
#qmail-rcpthosts-file=/var/qmail/control/qmail-morercpthosts-cdb
log-level=info
max-recipients=50
#policy-url=http://my.policy.explanation.url/
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns

Re: [qmailtoaster] qq soft reject with Centos 7

2017-04-29 Thread Eric Broch

Sorry, Jeff,

change

QMAILQUEUE="/var/qmail/bin/qmail-queue


QMAILQUEUE="/var/qmail/bin/qmail-queue.orig


qmail-queue is a link to qmail-dk so use qmail-queue.orig

Eric


On 4/29/2017 10:01 PM, Jeff Koch wrote:

Hi Eric:

no indication of segfaults in /var/log/messages or dmesg
softlimit is set at 1  (100MB)

changed clam and spam to 'no' and did qmailctl stop, cdb, start
changed

This was the contents of tcp.smtp:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

changed to:

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="100",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/qmail-queue",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"

and then did qmailctl stop, cdb, start

Now the /var/log/maillog is showing many:

DENIED_OTHER from: 
cap21-return-27-contabilidad=idfimportadora@cape.info to: 
contabxx...@idfimpo.com origin_ip: 98.130.1.xx8 origin_rdns: 
mail1103.opentransfer.com auth: (unknown) encryption: (none) reason: 
554_qmail-dk:_Cannot_sign_message_due_to_invalid_message_syntax._(#5.3.0)


and /var/log/qmail/smtp

qmail-smtpd: qq hard reject (qmail-dk: Cannot sign message due to 
invalid message syntax. (#5.3.0)): 
MAILFROM:<323792861003aa0d40b02-b17119-1eec421bc9e947029e3ec865f716e...@mg.mailer.ctickets.com> 
RCPTTO:rodx...@brxxx.com.ec


This seems weird. Not sure why the server would be trying to sign a 
message that is coming to a local recipient. I could see it signing a 
message being sent or relayed but not received for a local recipient


Jeff


On 4/29/2017 2:02 PM, Eric Broch wrote:


Jeff,

In summary...

DENIED_OTHER: The connection was rejected by qmail (or another 
downstream filter), not spamdyke.|REASON| will contain the rejection 
message given by qmail (or other downstream filter).


REASON: 451_mail_server_temporarily_rejected_message_(#4.3.0).

Check /var/log/messages for segfault

Check /var/qmail/supervise/smtp/run softlimit

Try this:

Edit /var/qmail/control/simcontrol and set the following to 'no'

:clam=no,spam=no

# qmailctl stop

# qmailctl cdb

# qmailctl start

Let me know.

If that doesn't work edit /etc/tcprules.d/tcp.smtp

change

QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue"


Eric



On 4/29/2017 11:23 AM, Jeff Koch wrote:

Hi Erin:

Thanks, we found the tcp.smtp file at /etc/trcrules.d and pointed 
spamdyke there. So that's fixed.


We also pointed the certificate file to 
/var/qmail/control/servercert.pem and cleared those errors.


However, we are still seeing qq soft rejects in 
/var/log/qmail/smtp/current. They seem to be related to the matching 
spamdyke log entries in /var/log/maillog. Example:


Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/msg.1493481946.217350.3912:

OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/addr.1493481946.217350.3912:

 OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/textfile1: OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/2c7fdfebf8050265e8b51bd3c2ea

58f0: OK
Apr 29 11:05:46 server spamdyke[3905]: DENIED_OTHER from: 
@pokemailing.com to: .yyy@idfim
portadora.com origin_ip: 67.211.215.94 origin_rdns: 
km61.pokemailing.com auth: (unknown) encryption: (no

ne) reason: 451_mail_server_temporarily_rejected_message_(#4.3.0)

I put the clamd log entries above so you could that clamd passed the 
message OK.  However does anybody know what 'DENIED OTHER" means or 
figure out from the message why spamdyke rejected the message?



Jeff Koch


On 4/29/2017 1:18 AM, Eric Broch wrote:

Hi Jeff,

Do you know why spamdyke would be looking in /home/vpopmail/etc for 
anything ? I've never heard of this before.


Spamdyke's configuration directory is a link in /etc: /etc/spamdyke 
-> ../opt/spamdyke/etc.


Here's my spamdyke configuration: 'cat /etc/spamdyke/spamdyke.conf'



#dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
graylist-dir=/var/spamdyke/graylist
graylist-level=none
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=2
header-blacklist-entry=From:*>,*<*
idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
qmail-rcpthosts-file=/var/qmail/control/rcpthosts
#qmail-rcpthosts-file=/var/qmail/control/qmail-morercpthosts-cdb
log-level=info
max-recipients=50

Re: [qmailtoaster] qq soft reject with Centos 7

2017-04-29 Thread Eric Broch
you can also turn off clam and spam scanning per domain (below) in the 
simcontrol file:


whitehorsetc.com:clam=no,spam=no


On 4/29/2017 1:22 PM, Jeff Koch wrote:

Eric - thanks - I'll give it a try - jeff

On 4/29/2017 2:02 PM, Eric Broch wrote:


Jeff,

In summary...

DENIED_OTHER: The connection was rejected by qmail (or another 
downstream filter), not spamdyke.|REASON| will contain the rejection 
message given by qmail (or other downstream filter).


REASON: 451_mail_server_temporarily_rejected_message_(#4.3.0).

Check /var/log/messages for segfault

Check /var/qmail/supervise/smtp/run softlimit

Try this:

Edit /var/qmail/control/simcontrol and set the following to 'no'

:clam=no,spam=no

# qmailctl stop

# qmailctl cdb

# qmailctl start

Let me know.

If that doesn't work edit /etc/tcprules.d/tcp.smtp

change

QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue"


Eric



On 4/29/2017 11:23 AM, Jeff Koch wrote:

Hi Erin:

Thanks, we found the tcp.smtp file at /etc/trcrules.d and pointed 
spamdyke there. So that's fixed.


We also pointed the certificate file to 
/var/qmail/control/servercert.pem and cleared those errors.


However, we are still seeing qq soft rejects in 
/var/log/qmail/smtp/current. They seem to be related to the matching 
spamdyke log entries in /var/log/maillog. Example:


Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/msg.1493481946.217350.3912:

OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/addr.1493481946.217350.3912:

 OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/textfile1: OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/2c7fdfebf8050265e8b51bd3c2ea

58f0: OK
Apr 29 11:05:46 server spamdyke[3905]: DENIED_OTHER from: 
@pokemailing.com to: .yyy@idfim
portadora.com origin_ip: 67.211.215.94 origin_rdns: 
km61.pokemailing.com auth: (unknown) encryption: (no

ne) reason: 451_mail_server_temporarily_rejected_message_(#4.3.0)

I put the clamd log entries above so you could that clamd passed the 
message OK.  However does anybody know what 'DENIED OTHER" means or 
figure out from the message why spamdyke rejected the message?



Jeff Koch


On 4/29/2017 1:18 AM, Eric Broch wrote:

Hi Jeff,

Do you know why spamdyke would be looking in /home/vpopmail/etc for 
anything ? I've never heard of this before.


Spamdyke's configuration directory is a link in /etc: /etc/spamdyke 
-> ../opt/spamdyke/etc.


Here's my spamdyke configuration: 'cat /etc/spamdyke/spamdyke.conf'



#dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
graylist-dir=/var/spamdyke/graylist
graylist-level=none
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=2
header-blacklist-entry=From:*>,*<*
idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
qmail-rcpthosts-file=/var/qmail/control/rcpthosts
#qmail-rcpthosts-file=/var/qmail/control/qmail-morercpthosts-cdb
log-level=info
max-recipients=50
#policy-url=http://my.policy.explanation.url/
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
reject-empty-rdns
#reject-ip-in-cc-rdns
reject-sender=no-mx
reject-unresolvable-rdns
sender-blacklist-file=/etc/spamdyke/blacklist_senders
sender-whitelist-file=/etc/spamdyke/whitelist_senders
tls-certificate-file=/var/qmail/control/servercert.pem
tls-level=smtp



And, how did you make your certificate and where did you put it?

Let me know if that helps.

Eric


On 4/28/2017 6:26 PM, Jeff Koch wrote:
Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file 
for searching /home/vpopmail/etc/open-smtp: No such file or directory
Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to load or 
decrypt SSL/TLS private key from file: 
/home/vpopmail/spamdyke/server_domain_net.key : A protocol or 
library failure occurred, 
error:0B080074:lib(11):func(128):reason(116)
Apr 28 09:52:32 server spamdyke[20476]: ERROR: incorrect SSL/TLS 
private key password or SSL/TLS certificate/privatekey 
mismatch/home/vpopmail/spamdyke/server_domain_net.key : A protocol 
or library failure occurred, 
error:140A80B1:lib(20):func(168):reason(177)






--
Eric Broch
White Horse Technical Consulting (WHTC)




--
Eric Broch
White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] qq soft reject with Centos 7

2017-04-29 Thread Eric Broch

Hi Jeff,

You can also debug simscan.

In /var/qmail/supervise/smtp/run add the following:

SIMSCAN_DEBUG=5
export SIMSCAN_DEBUG

so your file looks like this:

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0
SIMSCAN_DEBUG=5
export SIMSCAN_DEBUG

exec /usr/bin/softlimit -m 6400 \
 /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
 $SPAMDYKE --config-file $SPAMDYKE_CONF \
 $SMTPD $VCHKPW /bin/true 2>&1


Then check your  /var/log/qmail/smtp/current log for output.

Eric


On 4/29/2017 1:22 PM, Jeff Koch wrote:

Eric - thanks - I'll give it a try - jeff

On 4/29/2017 2:02 PM, Eric Broch wrote:


Jeff,

In summary...

DENIED_OTHER: The connection was rejected by qmail (or another 
downstream filter), not spamdyke.|REASON| will contain the rejection 
message given by qmail (or other downstream filter).


REASON: 451_mail_server_temporarily_rejected_message_(#4.3.0).

Check /var/log/messages for segfault

Check /var/qmail/supervise/smtp/run softlimit

Try this:

Edit /var/qmail/control/simcontrol and set the following to 'no'

:clam=no,spam=no

# qmailctl stop

# qmailctl cdb

# qmailctl start

Let me know.

If that doesn't work edit /etc/tcprules.d/tcp.smtp

change

QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue"


Eric



On 4/29/2017 11:23 AM, Jeff Koch wrote:

Hi Erin:

Thanks, we found the tcp.smtp file at /etc/trcrules.d and pointed 
spamdyke there. So that's fixed.


We also pointed the certificate file to 
/var/qmail/control/servercert.pem and cleared those errors.


However, we are still seeing qq soft rejects in 
/var/log/qmail/smtp/current. They seem to be related to the matching 
spamdyke log entries in /var/log/maillog. Example:


Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/msg.1493481946.217350.3912:

OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/addr.1493481946.217350.3912:

 OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/textfile1: OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/2c7fdfebf8050265e8b51bd3c2ea

58f0: OK
Apr 29 11:05:46 server spamdyke[3905]: DENIED_OTHER from: 
@pokemailing.com to: .yyy@idfim
portadora.com origin_ip: 67.211.215.94 origin_rdns: 
km61.pokemailing.com auth: (unknown) encryption: (no

ne) reason: 451_mail_server_temporarily_rejected_message_(#4.3.0)

I put the clamd log entries above so you could that clamd passed the 
message OK.  However does anybody know what 'DENIED OTHER" means or 
figure out from the message why spamdyke rejected the message?



Jeff Koch


On 4/29/2017 1:18 AM, Eric Broch wrote:

Hi Jeff,

Do you know why spamdyke would be looking in /home/vpopmail/etc for 
anything ? I've never heard of this before.


Spamdyke's configuration directory is a link in /etc: /etc/spamdyke 
-> ../opt/spamdyke/etc.


Here's my spamdyke configuration: 'cat /etc/spamdyke/spamdyke.conf'



#dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
graylist-dir=/var/spamdyke/graylist
graylist-level=none
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=2
header-blacklist-entry=From:*>,*<*
idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
qmail-rcpthosts-file=/var/qmail/control/rcpthosts
#qmail-rcpthosts-file=/var/qmail/control/qmail-morercpthosts-cdb
log-level=info
max-recipients=50
#policy-url=http://my.policy.explanation.url/
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
reject-empty-rdns
#reject-ip-in-cc-rdns
reject-sender=no-mx
reject-unresolvable-rdns
sender-blacklist-file=/etc/spamdyke/blacklist_senders
sender-whitelist-file=/etc/spamdyke/whitelist_senders
tls-certificate-file=/var/qmail/control/servercert.pem
tls-level=smtp



And, how did you make your certificate and where did you put it?

Let me know if that helps.

Eric


On 4/28/2017 6:26 PM, Jeff Koch wrote:
Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file 
for searching /home/vpopmail/etc/open-smtp: No such file or directory
Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to load or 
decrypt SSL/TLS private key from file: 

Re: [qmailtoaster] qq soft reject with Centos 7

2017-04-29 Thread Jeff Koch

Eric - thanks - I'll give it a try - jeff

On 4/29/2017 2:02 PM, Eric Broch wrote:


Jeff,

In summary...

DENIED_OTHER: The connection was rejected by qmail (or another 
downstream filter), not spamdyke.|REASON| will contain the rejection 
message given by qmail (or other downstream filter).


REASON: 451_mail_server_temporarily_rejected_message_(#4.3.0).

Check /var/log/messages for segfault

Check /var/qmail/supervise/smtp/run softlimit

Try this:

Edit /var/qmail/control/simcontrol and set the following to 'no'

:clam=no,spam=no

# qmailctl stop

# qmailctl cdb

# qmailctl start

Let me know.

If that doesn't work edit /etc/tcprules.d/tcp.smtp

change

QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue"


Eric



On 4/29/2017 11:23 AM, Jeff Koch wrote:

Hi Erin:

Thanks, we found the tcp.smtp file at /etc/trcrules.d and pointed 
spamdyke there. So that's fixed.


We also pointed the certificate file to 
/var/qmail/control/servercert.pem and cleared those errors.


However, we are still seeing qq soft rejects in 
/var/log/qmail/smtp/current. They seem to be related to the matching 
spamdyke log entries in /var/log/maillog. Example:


Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/msg.1493481946.217350.3912:

OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/addr.1493481946.217350.3912:

 OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/textfile1: OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/2c7fdfebf8050265e8b51bd3c2ea

58f0: OK
Apr 29 11:05:46 server spamdyke[3905]: DENIED_OTHER from: 
@pokemailing.com to: .yyy@idfim
portadora.com origin_ip: 67.211.215.94 origin_rdns: 
km61.pokemailing.com auth: (unknown) encryption: (no

ne) reason: 451_mail_server_temporarily_rejected_message_(#4.3.0)

I put the clamd log entries above so you could that clamd passed the 
message OK.  However does anybody know what 'DENIED OTHER" means or 
figure out from the message why spamdyke rejected the message?



Jeff Koch


On 4/29/2017 1:18 AM, Eric Broch wrote:

Hi Jeff,

Do you know why spamdyke would be looking in /home/vpopmail/etc for 
anything ? I've never heard of this before.


Spamdyke's configuration directory is a link in /etc: /etc/spamdyke 
-> ../opt/spamdyke/etc.


Here's my spamdyke configuration: 'cat /etc/spamdyke/spamdyke.conf'



#dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
graylist-dir=/var/spamdyke/graylist
graylist-level=none
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=2
header-blacklist-entry=From:*>,*<*
idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
qmail-rcpthosts-file=/var/qmail/control/rcpthosts
#qmail-rcpthosts-file=/var/qmail/control/qmail-morercpthosts-cdb
log-level=info
max-recipients=50
#policy-url=http://my.policy.explanation.url/
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
reject-empty-rdns
#reject-ip-in-cc-rdns
reject-sender=no-mx
reject-unresolvable-rdns
sender-blacklist-file=/etc/spamdyke/blacklist_senders
sender-whitelist-file=/etc/spamdyke/whitelist_senders
tls-certificate-file=/var/qmail/control/servercert.pem
tls-level=smtp



And, how did you make your certificate and where did you put it?

Let me know if that helps.

Eric


On 4/28/2017 6:26 PM, Jeff Koch wrote:
Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file 
for searching /home/vpopmail/etc/open-smtp: No such file or directory
Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to load or 
decrypt SSL/TLS private key from file: 
/home/vpopmail/spamdyke/server_domain_net.key : A protocol or 
library failure occurred, error:0B080074:lib(11):func(128):reason(116)
Apr 28 09:52:32 server spamdyke[20476]: ERROR: incorrect SSL/TLS 
private key password or SSL/TLS certificate/privatekey 
mismatch/home/vpopmail/spamdyke/server_domain_net.key : A protocol 
or library failure occurred, 
error:140A80B1:lib(20):func(168):reason(177)






--
Eric Broch
White Horse Technical Consulting (WHTC)




Re: [qmailtoaster] qq soft reject with Centos 7

2017-04-29 Thread Eric Broch

Jeff,

In summary...

DENIED_OTHER: The connection was rejected by qmail (or another 
downstream filter), not spamdyke.|REASON| will contain the rejection 
message given by qmail (or other downstream filter).


REASON: 451_mail_server_temporarily_rejected_message_(#4.3.0).

Check /var/log/messages for segfault

Check /var/qmail/supervise/smtp/run softlimit

Try this:

Edit /var/qmail/control/simcontrol and set the following to 'no'

:clam=no,spam=no

# qmailctl stop

# qmailctl cdb

# qmailctl start

Let me know.

If that doesn't work edit /etc/tcprules.d/tcp.smtp

change

QMAILQUEUE="/var/qmail/bin/simscan"

to

QMAILQUEUE="/var/qmail/bin/qmail-queue"


Eric



On 4/29/2017 11:23 AM, Jeff Koch wrote:

Hi Erin:

Thanks, we found the tcp.smtp file at /etc/trcrules.d and pointed 
spamdyke there. So that's fixed.


We also pointed the certificate file to 
/var/qmail/control/servercert.pem and cleared those errors.


However, we are still seeing qq soft rejects in 
/var/log/qmail/smtp/current. They seem to be related to the matching 
spamdyke log entries in /var/log/maillog. Example:


Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/msg.1493481946.217350.3912:

OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/addr.1493481946.217350.3912:

 OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/textfile1: OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/2c7fdfebf8050265e8b51bd3c2ea

58f0: OK
Apr 29 11:05:46 server spamdyke[3905]: DENIED_OTHER from: 
@pokemailing.com to: .yyy@idfim
portadora.com origin_ip: 67.211.215.94 origin_rdns: 
km61.pokemailing.com auth: (unknown) encryption: (no

ne) reason: 451_mail_server_temporarily_rejected_message_(#4.3.0)

I put the clamd log entries above so you could that clamd passed the 
message OK.  However does anybody know what 'DENIED OTHER" means or 
figure out from the message why spamdyke rejected the message?



Jeff Koch


On 4/29/2017 1:18 AM, Eric Broch wrote:

Hi Jeff,

Do you know why spamdyke would be looking in /home/vpopmail/etc for 
anything ? I've never heard of this before.


Spamdyke's configuration directory is a link in /etc: /etc/spamdyke 
-> ../opt/spamdyke/etc.


Here's my spamdyke configuration: 'cat /etc/spamdyke/spamdyke.conf'



#dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
graylist-dir=/var/spamdyke/graylist
graylist-level=none
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=2
header-blacklist-entry=From:*>,*<*
idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
qmail-rcpthosts-file=/var/qmail/control/rcpthosts
#qmail-rcpthosts-file=/var/qmail/control/qmail-morercpthosts-cdb
log-level=info
max-recipients=50
#policy-url=http://my.policy.explanation.url/
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
reject-empty-rdns
#reject-ip-in-cc-rdns
reject-sender=no-mx
reject-unresolvable-rdns
sender-blacklist-file=/etc/spamdyke/blacklist_senders
sender-whitelist-file=/etc/spamdyke/whitelist_senders
tls-certificate-file=/var/qmail/control/servercert.pem
tls-level=smtp



And, how did you make your certificate and where did you put it?

Let me know if that helps.

Eric


On 4/28/2017 6:26 PM, Jeff Koch wrote:
Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file 
for searching /home/vpopmail/etc/open-smtp: No such file or directory
Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to load or 
decrypt SSL/TLS private key from file: 
/home/vpopmail/spamdyke/server_domain_net.key : A protocol or 
library failure occurred, error:0B080074:lib(11):func(128):reason(116)
Apr 28 09:52:32 server spamdyke[20476]: ERROR: incorrect SSL/TLS 
private key password or SSL/TLS certificate/privatekey 
mismatch/home/vpopmail/spamdyke/server_domain_net.key : A protocol 
or library failure occurred, 
error:140A80B1:lib(20):func(168):reason(177)






--
Eric Broch
White Horse Technical Consulting (WHTC)



Re: [qmailtoaster] qq soft reject with Centos 7

2017-04-29 Thread Jeff Koch

Hi Erin:

Thanks, we found the tcp.smtp file at /etc/trcrules.d and pointed 
spamdyke there. So that's fixed.


We also pointed the certificate file to 
/var/qmail/control/servercert.pem and cleared those errors.


However, we are still seeing qq soft rejects in 
/var/log/qmail/smtp/current. They seem to be related to the matching 
spamdyke log entries in /var/log/maillog. Example:


Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/msg.1493481946.217350.3912:

OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/addr.1493481946.217350.3912:

 OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/textfile1: OK
Apr 29 11:05:46 server clamd[661]: 
/var/qmail/simscan/1493481946.217350.3912/2c7fdfebf8050265e8b51bd3c2ea

58f0: OK
Apr 29 11:05:46 server spamdyke[3905]: DENIED_OTHER from: 
@pokemailing.com to: .yyy@idfim
portadora.com origin_ip: 67.211.215.94 origin_rdns: km61.pokemailing.com 
auth: (unknown) encryption: (no

ne) reason: 451_mail_server_temporarily_rejected_message_(#4.3.0)

I put the clamd log entries above so you could that clamd passed the 
message OK.  However does anybody know what 'DENIED OTHER" means or 
figure out from the message why spamdyke rejected the message?



Jeff Koch


On 4/29/2017 1:18 AM, Eric Broch wrote:

Hi Jeff,

Do you know why spamdyke would be looking in /home/vpopmail/etc for 
anything ? I've never heard of this before.


Spamdyke's configuration directory is a link in /etc: /etc/spamdyke -> 
../opt/spamdyke/etc.


Here's my spamdyke configuration: 'cat /etc/spamdyke/spamdyke.conf'



#dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
graylist-dir=/var/spamdyke/graylist
graylist-level=none
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=2
header-blacklist-entry=From:*>,*<*
idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
qmail-rcpthosts-file=/var/qmail/control/rcpthosts
#qmail-rcpthosts-file=/var/qmail/control/qmail-morercpthosts-cdb
log-level=info
max-recipients=50
#policy-url=http://my.policy.explanation.url/
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
reject-empty-rdns
#reject-ip-in-cc-rdns
reject-sender=no-mx
reject-unresolvable-rdns
sender-blacklist-file=/etc/spamdyke/blacklist_senders
sender-whitelist-file=/etc/spamdyke/whitelist_senders
tls-certificate-file=/var/qmail/control/servercert.pem
tls-level=smtp



And, how did you make your certificate and where did you put it?

Let me know if that helps.

Eric


On 4/28/2017 6:26 PM, Jeff Koch wrote:
Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file 
for searching /home/vpopmail/etc/open-smtp: No such file or directory
Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to load or 
decrypt SSL/TLS private key from file: 
/home/vpopmail/spamdyke/server_domain_net.key : A protocol or library 
failure occurred, error:0B080074:lib(11):func(128):reason(116)
Apr 28 09:52:32 server spamdyke[20476]: ERROR: incorrect SSL/TLS 
private key password or SSL/TLS certificate/privatekey 
mismatch/home/vpopmail/spamdyke/server_domain_net.key : A protocol or 
library failure occurred, error:140A80B1:lib(20):func(168):reason(177)






Re: [qmailtoaster] qq soft reject with Centos 7

2017-04-29 Thread Jeff Koch

Hi Sean:

I did not remove it but I changed Yes to No for ClamAV in simscan and 
did run qmailctl cdb. In doing the research it appears that the ClamAV 
'qq soft reject' issue was only related to earlier versions of ClamAV 
and I think only on CentOS 5. But I thought I'd try removing it anyway.


Jeff

On 4/28/2017 11:47 PM, Sean P. Murphy wrote:

Hi Jeff,

To answer your first question, the tcp.smtp file and related files now 
reside in /etc/tcprules.d.  As far as your second question goes, I 
haven't used spamdyke so I can't speak to anything regarding that. 
 Perhaps Eric or someone with some more experience can help you there.


When you turned off ClamAV, did you also remove it from simscan and 
run "qmailctl cdb" after doing so?


-Sean

On Apr 28, 2017, at 8:26 PM, Jeff Koch > wrote:




Hi - we're running a new qmailtoaster (installed in March 2017) on a 
new CentOS 7 server. We're seeing  a large number of soft rejects in 
the /var/log/qmail/smtp log that look like this:


qmail-smtpd: qq soft reject (mail server temporarily rejected message 
(#4.3.0)):


We tried turning off ClamAV to see if that helped but it didn't. 
However, these rejects seem to be accompanied by the following 
spamdyke errors in the /var/log/maillog:


Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file 
for searching /home/vpopmail/etc/tcp.s

mtp: No such file or directory
Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file 
for searching /home/vpopmail/etc/open-smtp: No such file or directory
Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to load or 
decrypt SSL/TLS private key from file: 
/home/vpopmail/spamdyke/server_domain_net.key : A protocol or library 
failure occurred, error:0B080074:lib(11):func(128):reason(116)
Apr 28 09:52:32 server spamdyke[20476]: ERROR: incorrect SSL/TLS 
private key password or SSL/TLS certificate/privatekey 
mismatch/home/vpopmail/spamdyke/server_domain_net.key : A protocol or 
library failure occurred, error:140A80B1:lib(20):func(168):reason(177)
Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to initialize 
SSL/TLS library
Apr 28 09:52:32 server spamdyke[20476]: TLS_ENCRYPTED from: (unknown) 
to: (unknown) origin_ip: 200.xx.xx.10 origin_rdns: ns.blah-blah.net 
 auth: (unknown) encryption: TLS_PASSTHROUGH 
reason: (empty)


First Question - where did tcp.smtp go that used to reside in 
/home/vpopmail/etc in the old toasters?


Second Question - /home/vpopmail/spamdyke/server_domain_net.key does 
exist so what could be the reason why spamdyke is unable to decrypt 
the private key?


Thanks for any insights you guys might have.

Jeff Koch




Re: [qmailtoaster] qq soft reject with Centos 7

2017-04-28 Thread Eric Broch

Hi Jeff,

Do you know why spamdyke would be looking in /home/vpopmail/etc for 
anything ? I've never heard of this before.


Spamdyke's configuration directory is a link in /etc: /etc/spamdyke -> 
../opt/spamdyke/etc.


Here's my spamdyke configuration: 'cat /etc/spamdyke/spamdyke.conf'



#dns-blacklist-entry=zombie.dnsbl.sorbs.net
#dns-blacklist-entry=dul.dnsbl.sorbs.net
#dns-blacklist-entry=bogons.cymru.com
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
graylist-dir=/var/spamdyke/graylist
graylist-level=none
graylist-max-secs=2678400
graylist-min-secs=180
greeting-delay-secs=2
header-blacklist-entry=From:*>,*<*
idle-timeout-secs=60
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords
ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords
ip-whitelist-file=/etc/spamdyke/whitelist_ip
qmail-rcpthosts-file=/var/qmail/control/rcpthosts
#qmail-rcpthosts-file=/var/qmail/control/qmail-morercpthosts-cdb
log-level=info
max-recipients=50
#policy-url=http://my.policy.explanation.url/
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
reject-empty-rdns
#reject-ip-in-cc-rdns
reject-sender=no-mx
reject-unresolvable-rdns
sender-blacklist-file=/etc/spamdyke/blacklist_senders
sender-whitelist-file=/etc/spamdyke/whitelist_senders
tls-certificate-file=/var/qmail/control/servercert.pem
tls-level=smtp



And, how did you make your certificate and where did you put it?

Let me know if that helps.

Eric


On 4/28/2017 6:26 PM, Jeff Koch wrote:
Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file for 
searching /home/vpopmail/etc/open-smtp: No such file or directory
Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to load or 
decrypt SSL/TLS private key from file: 
/home/vpopmail/spamdyke/server_domain_net.key : A protocol or library 
failure occurred, error:0B080074:lib(11):func(128):reason(116)
Apr 28 09:52:32 server spamdyke[20476]: ERROR: incorrect SSL/TLS 
private key password or SSL/TLS certificate/privatekey 
mismatch/home/vpopmail/spamdyke/server_domain_net.key : A protocol or 
library failure occurred, error:140A80B1:lib(20):func(168):reason(177)


--
Eric Broch
White Horse Technical Consulting (WHTC)


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] qq soft reject with Centos 7

2017-04-28 Thread Noriyuki Hayashi
Hi Jeff,

In addtion,
1. Check the spamassassin.
# spamassassin --lint
2. Also check the environment spamassassin.
spamassassin -D --lint
3. You also need restart qmail.
# systemctl stop qmail
check by ps ax
# systemctl start qmail

Kind regards,
Nori

On Fri, 28 Apr 2017 20:26:33 -0400
Jeff Koch  wrote:

> 
> Hi - we're running a new qmailtoaster (installed in March 2017) on a new 
> CentOS 7 server. We're seeing  a large number of soft rejects in the 
> /var/log/qmail/smtp log that look like this:
> 
> qmail-smtpd: qq soft reject (mail server temporarily rejected message 
> (#4.3.0)):
> 
> We tried turning off ClamAV to see if that helped but it didn't. However, 
> these rejects seem to be accompanied by the following spamdyke errors in the 
> /var/log/maillog:
> 
> Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file for 
> searching /home/vpopmail/etc/tcp.s
> mtp: No such file or directory
> Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file for 
> searching /home/vpopmail/etc/open-smtp: No such file or directory
> Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to load or decrypt 
> SSL/TLS private key from file: /home/vpopmail/spamdyke/server_domain_net.key 
> : A protocol or library failure occurred, 
> error:0B080074:lib(11):func(128):reason(116)
> Apr 28 09:52:32 server spamdyke[20476]: ERROR: incorrect SSL/TLS private key 
> password or SSL/TLS certificate/privatekey 
> mismatch/home/vpopmail/spamdyke/server_domain_net.key : A protocol or library 
> failure occurred, error:140A80B1:lib(20):func(168):reason(177)
> Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to initialize SSL/TLS 
> library
> Apr 28 09:52:32 server spamdyke[20476]: TLS_ENCRYPTED from: (unknown) to: 
> (unknown) origin_ip: 200.xx.xx.10 origin_rdns: ns.blah-blah.net auth: 
> (unknown) encryption: TLS_PASSTHROUGH reason: (empty)
> 
> First Question - where did tcp.smtp go that used to reside in 
> /home/vpopmail/etc in the old toasters?
> 
> Second Question - /home/vpopmail/spamdyke/server_domain_net.key does exist so 
> what could be the reason why spamdyke is unable to decrypt the private key?
> 
> Thanks for any insights you guys might have.
> 
> Jeff Koch

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

Telecommunications Association License No. A-18-9191
Government Resell  License No. 301039703002
  WATS CO.,LTD.   
  Kawana Bldg, 5F  Kamata
Ota-ku Tokyo, 144-0052 JAPAN
   Phone 81-50-5830-5940 
   Ext:201 VoiceMailDirect:201*1
   FAX   81-50-5830-5941
http://wats.gr.jp
  Mail: wats @ wats.gr.jp
Please remove the space between @ as double side

Key fingerprint = B53D FF2F BFEA FDA8 1439  38AA 8281 9A3E C9B6 2FC9

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] qq soft reject with Centos 7

2017-04-28 Thread Noriyuki Hayashi
Hi Jeff,

Hope you are good.
I am using CentOS-7.2.1511 for qt.
Memory 16GB 4CPU on the KVM.

1. You can check clamdscan as below.

# clamdscan  -V
ClamAV 0.99.2/23331/Wed Apr 26 13:58:22 2017

It should no error like above.

2. Check the softlimit /var/qmail/supervise/smtp/run
I am setting 12800.

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 12800 \
 /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
 $SPAMDYKE --config-file $SPAMDYKE_CONF \
 $SMTPD $VCHKPW /bin/true 2>&1

3. You can set the DEBUG mode on simscan like below.
/etc/tcprules.d/tcp.smtp
:allow,SIMSCAN_DEBUG="3",BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",QMAILQUEUE="/var/qmail/bin/simscan",NOP0FCHECK="1"

Do not forget 
# tcprules /etc/tcprules.d/tcp.smtp.cdb /etc/tcprules.d/tcp.smtp.tmp <
/etc/tcprules.d/tcp.smtp

4. You will restart /etc/rc.d/init.d/spamd
Then you can check the every log.

Kind regards,
Nori

On Fri, 28 Apr 2017 20:26:33 -0400
Jeff Koch  wrote:

> 
> Hi - we're running a new qmailtoaster (installed in March 2017) on a new 
> CentOS 7 server. We're seeing  a large number of soft rejects in the 
> /var/log/qmail/smtp log that look like this:
> 
> qmail-smtpd: qq soft reject (mail server temporarily rejected message 
> (#4.3.0)):
> 
> We tried turning off ClamAV to see if that helped but it didn't. However, 
> these rejects seem to be accompanied by the following spamdyke errors in the 
> /var/log/maillog:
> 
> Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file for 
> searching /home/vpopmail/etc/tcp.s
> mtp: No such file or directory
> Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file for 
> searching /home/vpopmail/etc/open-smtp: No such file or directory
> Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to load or decrypt 
> SSL/TLS private key from file: /home/vpopmail/spamdyke/server_domain_net.key 
> : A protocol or library failure occurred, 
> error:0B080074:lib(11):func(128):reason(116)
> Apr 28 09:52:32 server spamdyke[20476]: ERROR: incorrect SSL/TLS private key 
> password or SSL/TLS certificate/privatekey 
> mismatch/home/vpopmail/spamdyke/server_domain_net.key : A protocol or library 
> failure occurred, error:140A80B1:lib(20):func(168):reason(177)
> Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to initialize SSL/TLS 
> library
> Apr 28 09:52:32 server spamdyke[20476]: TLS_ENCRYPTED from: (unknown) to: 
> (unknown) origin_ip: 200.xx.xx.10 origin_rdns: ns.blah-blah.net auth: 
> (unknown) encryption: TLS_PASSTHROUGH reason: (empty)
> 
> First Question - where did tcp.smtp go that used to reside in 
> /home/vpopmail/etc in the old toasters?
> 
> Second Question - /home/vpopmail/spamdyke/server_domain_net.key does exist so 
> what could be the reason why spamdyke is unable to decrypt the private key?
> 
> Thanks for any insights you guys might have.
> 
> Jeff Koch

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

Telecommunications Association License No. A-18-9191
Government Resell  License No. 301039703002
  WATS CO.,LTD.   
  Kawana Bldg, 5F  Kamata
Ota-ku Tokyo, 144-0052 JAPAN
   Phone 81-50-5830-5940 
   Ext:201 VoiceMailDirect:201*1
   FAX   81-50-5830-5941
http://wats.gr.jp
  Mail: wats @ wats.gr.jp
Please remove the space between @ as double side

Key fingerprint = B53D FF2F BFEA FDA8 1439  38AA 8281 9A3E C9B6 2FC9

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] qq soft reject with Centos 7

2017-04-28 Thread Sean P. Murphy
Hi Jeff,

To answer your first question, the tcp.smtp file and related files now reside 
in /etc/tcprules.d.  As far as your second question goes, I haven't used 
spamdyke so I can't speak to anything regarding that.  Perhaps Eric or someone 
with some more experience can help you there.

When you turned off ClamAV, did you also remove it from simscan and run 
"qmailctl cdb" after doing so?

-Sean

> On Apr 28, 2017, at 8:26 PM, Jeff Koch  wrote:
> 
> 
> Hi - we're running a new qmailtoaster (installed in March 2017) on a new 
> CentOS 7 server. We're seeing  a large number of soft rejects in the 
> /var/log/qmail/smtp log that look like this:
> 
> qmail-smtpd: qq soft reject (mail server temporarily rejected message 
> (#4.3.0)):
> 
> We tried turning off ClamAV to see if that helped but it didn't. However, 
> these rejects seem to be accompanied by the following spamdyke errors in the 
> /var/log/maillog:
> 
> Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file for 
> searching /home/vpopmail/etc/tcp.s
> mtp: No such file or directory
> Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file for 
> searching /home/vpopmail/etc/open-smtp: No such file or directory
> Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to load or decrypt 
> SSL/TLS private key from file: /home/vpopmail/spamdyke/server_domain_net.key 
> : A protocol or library failure occurred, 
> error:0B080074:lib(11):func(128):reason(116)
> Apr 28 09:52:32 server spamdyke[20476]: ERROR: incorrect SSL/TLS private key 
> password or SSL/TLS certificate/privatekey 
> mismatch/home/vpopmail/spamdyke/server_domain_net.key : A protocol or library 
> failure occurred, error:140A80B1:lib(20):func(168):reason(177)
> Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to initialize SSL/TLS 
> library
> Apr 28 09:52:32 server spamdyke[20476]: TLS_ENCRYPTED from: (unknown) to: 
> (unknown) origin_ip: 200.xx.xx.10 origin_rdns: ns.blah-blah.net auth: 
> (unknown) encryption: TLS_PASSTHROUGH reason: (empty)
> 
> First Question - where did tcp.smtp go that used to reside in 
> /home/vpopmail/etc in the old toasters?
> 
> Second Question - /home/vpopmail/spamdyke/server_domain_net.key does exist so 
> what could be the reason why spamdyke is unable to decrypt the private key?
> 
> Thanks for any insights you guys might have.
> 
> Jeff Koch


[qmailtoaster] qq soft reject with Centos 7

2017-04-28 Thread Jeff Koch


Hi - we're running a new qmailtoaster (installed in March 2017) on a new 
CentOS 7 server. We're seeing  a large number of soft rejects in the 
/var/log/qmail/smtp log that look like this:


qmail-smtpd: qq soft reject (mail server temporarily rejected message 
(#4.3.0)):


We tried turning off ClamAV to see if that helped but it didn't. 
However, these rejects seem to be accompanied by the following spamdyke 
errors in the /var/log/maillog:


Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file for 
searching /home/vpopmail/etc/tcp.s

mtp: No such file or directory
Apr 28 09:52:29 server spamdyke[20476]: ERROR: unable to open file for 
searching /home/vpopmail/etc/open-smtp: No such file or directory
Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to load or decrypt 
SSL/TLS private key from file: 
/home/vpopmail/spamdyke/server_domain_net.key : A protocol or library 
failure occurred, error:0B080074:lib(11):func(128):reason(116)
Apr 28 09:52:32 server spamdyke[20476]: ERROR: incorrect SSL/TLS private 
key password or SSL/TLS certificate/privatekey 
mismatch/home/vpopmail/spamdyke/server_domain_net.key : A protocol or 
library failure occurred, error:140A80B1:lib(20):func(168):reason(177)
Apr 28 09:52:32 server spamdyke[20476]: ERROR: unable to initialize 
SSL/TLS library
Apr 28 09:52:32 server spamdyke[20476]: TLS_ENCRYPTED from: (unknown) 
to: (unknown) origin_ip: 200.xx.xx.10 origin_rdns: ns.blah-blah.net 
auth: (unknown) encryption: TLS_PASSTHROUGH reason: (empty)


First Question - where did tcp.smtp go that used to reside in 
/home/vpopmail/etc in the old toasters?


Second Question - /home/vpopmail/spamdyke/server_domain_net.key does 
exist so what could be the reason why spamdyke is unable to decrypt the 
private key?


Thanks for any insights you guys might have.

Jeff Koch


[qmailtoaster] qq soft reject

2014-09-19 Thread Eric Broch
Hello list,

For about 37 minutes no user on a QMT host could send message receiving
the error (mail server temporarily rejected message). I looked in the
submission log and found a qmail-smtp: qq soft reject error.
I closed all running gnome desktop programs and restarted qmail and
about 1 minute later everything started working as it should. I noticed
on the QTP site this link (http://qtp.qmailtoaster.com/trac/ticket/37)
is this the track I should follow to investigate this further?

EricB


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] qq soft reject

2014-09-19 Thread Eric Broch
Hello list,

I found these errors in the clamd log:

2014-09-19 08:18:19.982129500
/var/qmail/simscan/1411136299.872534.23513/textfile0: OK
2014-09-19 08:18:40.638768500
/var/qmail/simscan/1411136312.491305.23580/msg.1411136312.491305.23580:
Can't create temporary directory ERROR
2014-09-19 08:18:40.639354500
/var/qmail/simscan/1411136312.491305.23580/addr.1411136312.491305.23580: OK
2014-09-19 08:18:40.639506500
/var/qmail/simscan/1411136312.491305.23580/textfile0: OK
2014-09-19 08:18:40.639525500
/var/qmail/simscan/1411136312.491305.23580/textfile1: OK
2014-09-19 08:18:40.641629500
/var/qmail/simscan/1411136312.491305.23580/textfile2: OK
2014-09-19 08:18:40.660126500 LibClamAV Error: cli_scanhtml: Can't
create temporary directory /tmp/clamav-caa6da4ae04c21903932301ac7307c95.tmp

And, was wondering, since they lasted for the duration of the qq soft
reject, if this could be the problem?

EricB

On 9/19/2014 9:30 AM, Eric Broch wrote:
 Hello list,

 For about 37 minutes no user on a QMT host could send message receiving
 the error (mail server temporarily rejected message). I looked in the
 submission log and found a qmail-smtp: qq soft reject error.
 I closed all running gnome desktop programs and restarted qmail and
 about 1 minute later everything started working as it should. I noticed
 on the QTP site this link (http://qtp.qmailtoaster.com/trac/ticket/37)
 is this the track I should follow to investigate this further?

 EricB


 -
 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] qq soft reject (mail server temporarily rejected message (#4.3.0))

2012-08-13 Thread Tony White

Hello all,
  Sorry to disturb but I have a single client getting this error when sending
photographs. He does know how big they 2.1MB are in total but it is only
this client getting the error.
  My limit on attachments is 8MB per email so this should not be the issue.
I have looked at the logs for the dates an no issues are in them for the client.
  Does anyone have any ideas please?

--
best wishes
  Tony White

Yea Computing Services
http://www.ycs.com.au
4 The Crescent
Yea
Victoria
Australia 3717

Telephone No's
VIC : 03 9008 5614
FAX : 03 9008 5610 (FAX2Email)



IMPORTANT NOTICE

This communication including any file attachments is intended solely for
the use of the individual or entity to whom it is addressed. If you are
not the intended recipient, or the person responsible for delivering
this communication to the intended recipient, please immediately notify
the sender by email and delete the original transmission and its
contents. Any unauthorised use, dissemination, forwarding, printing or
copying of this communication including file attachments is prohibited.
It is your responsibility to scan this communication including any file
attachments for viruses and other defects. To the extent permitted by
law, Yea Computing Services and its associates will not be liable for
any loss or damage arising in any way from this communication including
any file attachments.
You may not disclose this information to a third party without written
permission from the Author.


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] qq soft reject (mail server temporarily rejected message (#4.3.0))

2008-05-29 Thread Jim Shupert

Friends,
yesterday -- for a period of time (~10-30 min) there seemed to be 
several emails that were sent to one of my domains that the sender 
emails were being bounced back.( the sender was outside my domain - 
sending to my domain )


I looked in my logs
i see this ::
qq soft reject (mail server temporarily rejected message (#4.3.0))


/snip from my smtp log :{{smtp-log-2008-05-28-15:07}}: i have changed 
some of the ip nums and user names::

to hopefully - make it easier for you to diagnose


@4000483dacfe0598a7c4 tcpserver: pid 29436 from 12.34.55.55
@4000483dacfe059a595c tcpserver: ok 29436 
sifter.pps-inc.com:192.168.100.100:25 :12.34.55.55::55586
@4000483dacfe1b9f115c CHKUSER accepted sender: from 
[EMAIL PROTECTED]:: remote mail1.ipsos.com:unknown:12.34.55.55 
rcpt  : sender accepted
@4000483dacfe1c12d9fc CHKUSER accepted rcpt: from 
[EMAIL PROTECTED]:: remote mail1.ipsos.com:unknown:12.34.55.55 
rcpt [EMAIL PROTECTED] : found existing recipient

@4000483dacfe2bf32ad4 connect(): Connection refused
@4000483dacfe2bffe4a4 qmail-smtpd: qq soft reject (mail server 
temporarily rejected message (#4.3.0)): 
MAILFROM:[EMAIL PROTECTED] RCPTTO:[EMAIL PROTECTED]

@4000483dacfe2e3fa344 tcpserver: end 29436 status 0
@4000483dacfe2e3faefc tcpserver: status: 2/100
@4000483dad0520afb6c4 tcpserver: status: 3/100

/ end snip

I find this from the archive
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg16132.html

I have Not updated spamassassin or clamav  recently ( though I did do a 
OS update on 5.17.2008 )
note this seemed to 'heal' itself - meaning the email started to come 
through.

I did a Top  and did not see simscan up there.

so - why was email being rejected? - what can i look for?
I am just trying to get my head around this.
any assistance is appreciated - thanks!

and a sub - question - I think in the above snip I have given the 
complete session from the

@4000483dacfe0598a7c4 tcpserver: pid 29436 from 12.34.55.55
to
@4000483dad0520afb6c4 tcpserver: status: 3/100

is that true is that all the log stuff for 1 pc of mail , 1 transaction 
( if that is what it is called )

thanks!
jim

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] qq soft reject (mail server temporarily rejected message (#4.3.0))

2008-05-29 Thread Eric Shubert
Jim,

You probably have the same problem as found here:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg05228.html

Which clamav-toaster version (specifically) are you running?

You're pretty much right on with the log. You should try using qmlog though.
Those date/time stamps aren't very user friendly, are they? ;)

Jim Shupert wrote:
 Friends,
 yesterday -- for a period of time (~10-30 min) there seemed to be
 several emails that were sent to one of my domains that the sender
 emails were being bounced back.( the sender was outside my domain -
 sending to my domain )
 
 I looked in my logs
 i see this ::
 qq soft reject (mail server temporarily rejected message (#4.3.0))
 
 
 /snip from my smtp log :{{smtp-log-2008-05-28-15:07}}: i have changed
 some of the ip nums and user names::
 to hopefully - make it easier for you to diagnose
 
 
 @4000483dacfe0598a7c4 tcpserver: pid 29436 from 12.34.55.55
 @4000483dacfe059a595c tcpserver: ok 29436
 sifter.pps-inc.com:192.168.100.100:25 :12.34.55.55::55586
 @4000483dacfe1b9f115c CHKUSER accepted sender: from
 [EMAIL PROTECTED]:: remote mail1.ipsos.com:unknown:12.34.55.55
 rcpt  : sender accepted
 @4000483dacfe1c12d9fc CHKUSER accepted rcpt: from
 [EMAIL PROTECTED]:: remote mail1.ipsos.com:unknown:12.34.55.55
 rcpt [EMAIL PROTECTED] : found existing recipient
 @4000483dacfe2bf32ad4 connect(): Connection refused
 @4000483dacfe2bffe4a4 qmail-smtpd: qq soft reject (mail server
 temporarily rejected message (#4.3.0)):
 MAILFROM:[EMAIL PROTECTED] RCPTTO:[EMAIL PROTECTED]
 @4000483dacfe2e3fa344 tcpserver: end 29436 status 0
 @4000483dacfe2e3faefc tcpserver: status: 2/100
 @4000483dad0520afb6c4 tcpserver: status: 3/100
 
 / end snip
 
 I find this from the archive
 http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg16132.html
 
 
 I have Not updated spamassassin or clamav  recently ( though I did do a
 OS update on 5.17.2008 )
 note this seemed to 'heal' itself - meaning the email started to come
 through.
 I did a Top  and did not see simscan up there.
 
 so - why was email being rejected? - what can i look for?
 I am just trying to get my head around this.
 any assistance is appreciated - thanks!
 
 and a sub - question - I think in the above snip I have given the
 complete session from the
 @4000483dacfe0598a7c4 tcpserver: pid 29436 from 12.34.55.55
 to
 @4000483dad0520afb6c4 tcpserver: status: 3/100
 
 is that true is that all the log stuff for 1 pc of mail , 1 transaction
 ( if that is what it is called )
 thanks!
 jim
 


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] qq soft reject (mail server temporarily rejected message (#4.3.0))

2008-05-29 Thread Jose Mario Pires
Hi,

I have seen that a couple of times and the main suspect for me was
always freshclam, the service that updates the signatures of clamav.
God knows why, it seems it tends to be pickier at system startup and
blocks clamav. Most of the times the problem disapeared by itself
after 10 to 30 min.  Once or twice I solved the problem by changing
the list of repositories to be checked, as the problems seemed to have
some relations to problems in connecting to the repositories.

Some weeks ago, the same symptoms appeared, but the cause had nothing
to do with freshclam, which was behaving well. Apparently, the clamav
processes took every resource of the machine and clients weren't able
to connect. I only was able to stop the problem by disabling the scan
with clamav, which was something that I had already thought doing when
I had the slight suspicion that it was consuming too much resources.

On Thu, May 29, 2008 at 3:19 PM, Jim Shupert [EMAIL PROTECTED] wrote:
 Friends,
 yesterday -- for a period of time (~10-30 min) there seemed to be several
 emails that were sent to one of my domains that the sender emails were being
 bounced back.( the sender was outside my domain - sending to my domain )

 I looked in my logs
 i see this ::
 qq soft reject (mail server temporarily rejected message (#4.3.0))


 /snip from my smtp log :{{smtp-log-2008-05-28-15:07}}: i have changed some
 of the ip nums and user names::
 to hopefully - make it easier for you to diagnose


 @4000483dacfe0598a7c4 tcpserver: pid 29436 from 12.34.55.55
 @4000483dacfe059a595c tcpserver: ok 29436
 sifter.pps-inc.com:192.168.100.100:25 :12.34.55.55::55586
 @4000483dacfe1b9f115c CHKUSER accepted sender: from
 [EMAIL PROTECTED]:: remote mail1.ipsos.com:unknown:12.34.55.55 rcpt
  : sender accepted
 @4000483dacfe1c12d9fc CHKUSER accepted rcpt: from
 [EMAIL PROTECTED]:: remote mail1.ipsos.com:unknown:12.34.55.55
 rcpt [EMAIL PROTECTED] : found existing recipient
 @4000483dacfe2bf32ad4 connect(): Connection refused
 @4000483dacfe2bffe4a4 qmail-smtpd: qq soft reject (mail server
 temporarily rejected message (#4.3.0)):
 MAILFROM:[EMAIL PROTECTED] RCPTTO:[EMAIL PROTECTED]
 @4000483dacfe2e3fa344 tcpserver: end 29436 status 0
 @4000483dacfe2e3faefc tcpserver: status: 2/100
 @4000483dad0520afb6c4 tcpserver: status: 3/100

 / end snip

 I find this from the archive
 http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg16132.html

 I have Not updated spamassassin or clamav  recently ( though I did do a OS
 update on 5.17.2008 )
 note this seemed to 'heal' itself - meaning the email started to come
 through.
 I did a Top  and did not see simscan up there.

 so - why was email being rejected? - what can i look for?
 I am just trying to get my head around this.
 any assistance is appreciated - thanks!

 and a sub - question - I think in the above snip I have given the complete
 session from the
 @4000483dacfe0598a7c4 tcpserver: pid 29436 from 12.34.55.55
 to
 @4000483dad0520afb6c4 tcpserver: status: 3/100

 is that true is that all the log stuff for 1 pc of mail , 1 transaction ( if
 that is what it is called )
 thanks!
 jim
...

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] qq soft reject (mail server temporarily rejected message (#4.3.0))

2008-05-29 Thread Jim Shupert

Thanks for the reply!
in regards to my version of clamav-toaster
i did a rpm -qa | grep toaster

and got back

clamav-toaster-0.90-1.3.10
  among many other things
qmail-toaster-1.03-1.3.13
qmailtoaster-plus-0.2.10-1.3.12
spamassassin-toaster-3.1.7-1.3.6
simscan-toaster-1.3.1-1.3.4

Does that confirm anything?
and how might one  ...updated by hand to the newer version of clamav ...
I find this
   
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg18767.html

( looks scary )
Should I update to qtp- new model?
I suppose I can find a definitive how-to for the qtp-newmodel upgrade.
( my kernel vers is new and I have plenty of disk space)
I suppose there may be other benefits ... honestly the email server has 
been so solid that i have sort of  'forgotten' about it.


How can I confirm that i /need/ to upgrade clamav... i was thinking that 
if i did top during a time of soft reject
that I would see clamav  -- would you agree with that ? -- and would 
that prove the problem?

also what do we think happens if I do zero?-- will it get worse?
Thanks again.

jim shupert ( hey - change a letter and we are cousins )

Eric Shubert wrote:

Jim,

You probably have the same problem as found here:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg05228.html

Which clamav-toaster version (specifically) are you running?

You're pretty much right on with the log. You should try using qmlog though.
Those date/time stamps aren't very user friendly, are they? ;)

Jim Shupert wrote:
  

Friends,
yesterday -- for a period of time (~10-30 min) there seemed to be
several emails that were sent to one of my domains that the sender
emails were being bounced back.( the sender was outside my domain -
sending to my domain )

I looked in my logs
i see this ::
qq soft reject (mail server temporarily rejected message (#4.3.0))


/snip from my smtp log :{{smtp-log-2008-05-28-15:07}}: i have changed
some of the ip nums and user names::
to hopefully - make it easier for you to diagnose


@4000483dacfe0598a7c4 tcpserver: pid 29436 from 12.34.55.55
@4000483dacfe059a595c tcpserver: ok 29436
sifter.pps-inc.com:192.168.100.100:25 :12.34.55.55::55586
@4000483dacfe1b9f115c CHKUSER accepted sender: from
[EMAIL PROTECTED]:: remote mail1.ipsos.com:unknown:12.34.55.55
rcpt  : sender accepted
@4000483dacfe1c12d9fc CHKUSER accepted rcpt: from
[EMAIL PROTECTED]:: remote mail1.ipsos.com:unknown:12.34.55.55
rcpt [EMAIL PROTECTED] : found existing recipient
@4000483dacfe2bf32ad4 connect(): Connection refused
@4000483dacfe2bffe4a4 qmail-smtpd: qq soft reject (mail server
temporarily rejected message (#4.3.0)):
MAILFROM:[EMAIL PROTECTED] RCPTTO:[EMAIL PROTECTED]
@4000483dacfe2e3fa344 tcpserver: end 29436 status 0
@4000483dacfe2e3faefc tcpserver: status: 2/100
@4000483dad0520afb6c4 tcpserver: status: 3/100

/ end snip

I find this from the archive
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg16132.html


I have Not updated spamassassin or clamav  recently ( though I did do a
OS update on 5.17.2008 )
note this seemed to 'heal' itself - meaning the email started to come
through.
I did a Top  and did not see simscan up there.

so - why was email being rejected? - what can i look for?
I am just trying to get my head around this.
any assistance is appreciated - thanks!

and a sub - question - I think in the above snip I have given the
complete session from the
@4000483dacfe0598a7c4 tcpserver: pid 29436 from 12.34.55.55
to
@4000483dad0520afb6c4 tcpserver: status: 3/100

is that true is that all the log stuff for 1 pc of mail , 1 transaction
( if that is what it is called )
thanks!
jim





  


Re: [qmailtoaster] qq soft reject (mail server temporarily rejected message (#4.3.0))

2008-05-29 Thread Eric Shubert
The first couple 0.9x releases of clamav were a bit buggy, as there were
some major changes in the way that virus definitions are updated. I think
that 0.92 is ok, but you might as well go with 0.93 which is current.

I would upgrade all of your toaster packages using qtp-newmodel. That's the
easiest way, and if the unionfs sandbox works for you then you don't even
need that much extra disk space. You'll probably need to install a few perl
packages for spamassassin as well. The best way to do that seems to be to
configure yum to access the rpmforge repository then use yum to install them.

Jim Shupert wrote:
 Thanks for the reply!
 in regards to my version of clamav-toaster
 i did a rpm -qa | grep toaster
 
 and got back
 
 clamav-toaster-0.90-1.3.10
among many other things
 qmail-toaster-1.03-1.3.13
 qmailtoaster-plus-0.2.10-1.3.12
 spamassassin-toaster-3.1.7-1.3.6
 simscan-toaster-1.3.1-1.3.4
 
 Does that confirm anything?
 and how might one  ...updated by hand to the newer version of clamav ...
 I find this

 http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg18767.html
 ( looks scary )
 Should I update to qtp- new model?
 I suppose I can find a definitive how-to for the qtp-newmodel upgrade.
 ( my kernel vers is new and I have plenty of disk space)
 I suppose there may be other benefits ... honestly the email server has
 been so solid that i have sort of  'forgotten' about it.
 
 How can I confirm that i /need/ to upgrade clamav... i was thinking that
 if i did top during a time of soft reject
 that I would see clamav  -- would you agree with that ? -- and would
 that prove the problem?
 also what do we think happens if I do zero?-- will it get worse?
 Thanks again.
 
 jim shupert ( hey - change a letter and we are cousins )
 
 Eric Shubert wrote:
 Jim,

 You probably have the same problem as found here:
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg05228.html

 Which clamav-toaster version (specifically) are you running?

 You're pretty much right on with the log. You should try using qmlog though.
 Those date/time stamps aren't very user friendly, are they? ;)

 Jim Shupert wrote:
   
 Friends,
 yesterday -- for a period of time (~10-30 min) there seemed to be
 several emails that were sent to one of my domains that the sender
 emails were being bounced back.( the sender was outside my domain -
 sending to my domain )

 I looked in my logs
 i see this ::
 qq soft reject (mail server temporarily rejected message (#4.3.0))


 /snip from my smtp log :{{smtp-log-2008-05-28-15:07}}: i have changed
 some of the ip nums and user names::
 to hopefully - make it easier for you to diagnose


 @4000483dacfe0598a7c4 tcpserver: pid 29436 from 12.34.55.55
 @4000483dacfe059a595c tcpserver: ok 29436
 sifter.pps-inc.com:192.168.100.100:25 :12.34.55.55::55586
 @4000483dacfe1b9f115c CHKUSER accepted sender: from
 [EMAIL PROTECTED]:: remote mail1.ipsos.com:unknown:12.34.55.55
 rcpt  : sender accepted
 @4000483dacfe1c12d9fc CHKUSER accepted rcpt: from
 [EMAIL PROTECTED]:: remote mail1.ipsos.com:unknown:12.34.55.55
 rcpt [EMAIL PROTECTED] : found existing recipient
 @4000483dacfe2bf32ad4 connect(): Connection refused
 @4000483dacfe2bffe4a4 qmail-smtpd: qq soft reject (mail server
 temporarily rejected message (#4.3.0)):
 MAILFROM:[EMAIL PROTECTED] RCPTTO:[EMAIL PROTECTED]
 @4000483dacfe2e3fa344 tcpserver: end 29436 status 0
 @4000483dacfe2e3faefc tcpserver: status: 2/100
 @4000483dad0520afb6c4 tcpserver: status: 3/100

 / end snip

 I find this from the archive
 http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg16132.html


 I have Not updated spamassassin or clamav  recently ( though I did do a
 OS update on 5.17.2008 )
 note this seemed to 'heal' itself - meaning the email started to come
 through.
 I did a Top  and did not see simscan up there.

 so - why was email being rejected? - what can i look for?
 I am just trying to get my head around this.
 any assistance is appreciated - thanks!

 and a sub - question - I think in the above snip I have given the
 complete session from the
 @4000483dacfe0598a7c4 tcpserver: pid 29436 from 12.34.55.55
 to
 @4000483dad0520afb6c4 tcpserver: status: 3/100

 is that true is that all the log stuff for 1 pc of mail , 1 transaction
 ( if that is what it is called )
 thanks!
 jim

 


   


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] qq soft reject (mail server temporarily rejected message (#4.3.0)

2008-02-16 Thread David Campbell
I'm still stuck on this, anyone have any ideas?

On 15/02/2008, David Campbell [EMAIL PROTECTED] wrote:

 every single mail that comes from @anz.com gets rejected. I am alos having
 a TLS issue with this server sending to 1 other Exchange server that I know
 of.. the two issues could be related, its in another thread of this mailing
 list.

 On 14/02/2008, Jake Vickers [EMAIL PROTECTED] wrote:
 
   David Campbell wrote:
 
  Hi guys, I know you are all getting to love me, but I have a funny issue
  and I would like to see what you think
 
  I have a cleint that recieves emails daily from their accoutn manager at
  their bank, which they cannot recieve the isntant we switched over the
  qmailtoaster from hmailserver
 
  I checked the logs for anz.com and came up with this in the logs
 
  @400047b1ffb81b860734 qmail-smtpd: qq soft reject (mail server
  temporarily rejected message (#4.3.0)): MAILFROM:[EMAIL PROTECTED]
  RCPTTO:[EMAIL PROTECTED]
 
  I have checked spamd and clamd logs and there are no errors in there
  that I can find...
 
  This is only happening for this ONE domain so far that people have
  complained about, though there are other qq soft reject messages in the smtp
  log, what can be done to fix this?
 
  Does it happen all the time, or only intermittently?
 



-- 
David Campbell


E: [EMAIL PROTECTED]
W: http://www.bigbighuge.com

The information in this E-mail and any attachments is confidential. It is
intended solely for the attention and use of the named addressee(s). If you
are not the intended recipient, or person responsible for delivering this
information to the intended recipient, please notify the sender immediately.
Unless you are the intended recipient or his/her representative you are not
authorised to, and must not read, copy, distribute, use or retain this
message or any part of it. Opinions, conclusions and other information
expressed in this message are not given or endorsed by the sender unless
otherwise indicated by an authorised officer independent of this message.

...when was the last time you did a backup?...


Re: [qmailtoaster] qq soft reject (mail server temporarily rejected message (#4.3.0)

2008-02-14 Thread Jake Vickers

David Campbell wrote:
Hi guys, I know you are all getting to love me, but I have a funny 
issue and I would like to see what you think


I have a cleint that recieves emails daily from their accoutn manager 
at their bank, which they cannot recieve the isntant we switched over 
the qmailtoaster from hmailserver


I checked the logs for anz.com http://anz.com and came up with this 
in the logs


@400047b1ffb81b860734 qmail-smtpd: qq soft reject (mail server 
temporarily rejected message (#4.3.0)): 
MAILFROM:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
RCPTTO:[EMAIL PROTECTED] 
mailto:RCPTTO:[EMAIL PROTECTED]


I have checked spamd and clamd logs and there are no errors in there 
that I can find...


This is only happening for this ONE domain so far that people have 
complained about, though there are other qq soft reject messages in 
the smtp log, what can be done to fix this?

Does it happen all the time, or only intermittently?


Re: [qmailtoaster] qq soft reject (mail server temporarily rejected message (#4.3.0)

2008-02-14 Thread David Campbell
every single mail that comes from @anz.com gets rejected. I am alos having a
TLS issue with this server sending to 1 other Exchange server that I know
of.. the two issues could be related, its in another thread of this mailing
list.

On 14/02/2008, Jake Vickers [EMAIL PROTECTED] wrote:

  David Campbell wrote:

 Hi guys, I know you are all getting to love me, but I have a funny issue
 and I would like to see what you think

 I have a cleint that recieves emails daily from their accoutn manager at
 their bank, which they cannot recieve the isntant we switched over the
 qmailtoaster from hmailserver

 I checked the logs for anz.com and came up with this in the logs

 @400047b1ffb81b860734 qmail-smtpd: qq soft reject (mail server
 temporarily rejected message (#4.3.0)): MAILFROM:[EMAIL PROTECTED]
 RCPTTO:[EMAIL PROTECTED]

 I have checked spamd and clamd logs and there are no errors in there that
 I can find...

 This is only happening for this ONE domain so far that people have
 complained about, though there are other qq soft reject messages in the smtp
 log, what can be done to fix this?

 Does it happen all the time, or only intermittently?



[qmailtoaster] qq soft reject (mail server temporarily rejected message (#4.3.0)

2008-02-12 Thread David Campbell
Hi guys, I know you are all getting to love me, but I have a funny issue and
I would like to see what you think

I have a cleint that recieves emails daily from their accoutn manager at
their bank, which they cannot recieve the isntant we switched over the
qmailtoaster from hmailserver

I checked the logs for anz.com and came up with this in the logs

@400047b1ffb624a241fc CHKUSER accepted sender: from 
[EMAIL PROTECTED]:: remote anz.com:unknown:202.2.57.126 rcpt  :
sender accepted
@400047b1ffb62939e2ec CHKUSER accepted rcpt: from 
[EMAIL PROTECTED]:: remote anz.com:unknown:202.2.57.126 rcpt 
[EMAIL PROTECTED] : found existing recipient
@400047b1ffb62bddf524 CHKUSER accepted rcpt: from 
[EMAIL PROTECTED]:: remote anz.com:unknown:202.2.57.126 rcpt 
[EMAIL PROTECTED] : found existing recipient
@400047b1ffb62e59edbc CHKUSER accepted rcpt: from 
[EMAIL PROTECTED]:: remote anz.com:unknown:202.2.57.126 rcpt 
[EMAIL PROTECTED] : found existing recipient
. some other stuff unrelated
@400047b1ffb81b860734 qmail-smtpd: qq soft reject (mail server
temporarily rejected message (#4.3.0)): MAILFROM:[EMAIL PROTECTED]
RCPTTO:[EMAIL PROTECTED]

I have checked spamd and clamd logs and there are no errors in there that I
can find...

This is only happening for this ONE domain so far that people have
complained about, though there are other qq soft reject messages in the smtp
log, what can be done to fix this?


Re: [qmailtoaster] qq soft reject

2007-04-22 Thread Jim Rash
Fresh install

Nick Hemmesch [EMAIL PROTECTED] wrote: Hi Jim,

Was this a new install or an upgrade?

Regards,

Nick

 This is an excerpt from the log start to end of transaction:

 @40004628f7ae294d3ff4 tcpserver: status: 2/100
 @40004628f7ae294d72bc tcpserver: pid 6339 from 64.218.89.103
 @40004628f7ae294dc0dc tcpserver: ok 6339
 mail.pcs-r-us.com:207.230.35.78:25 :64.218.89.103::31594
 @40004628f7ae2c2b6944 CHKUSER accepted sender: from
  remote 
 rcpt  : sender accepted
 @40004628f7ae2f2af574 CHKUSER accepted rcpt: from 
 remote  rcpt 
 : found existing recipient
 @40004628f7af0530f4e4 qmail-smtpd: qq soft reject (mail server
 temporarily rejected message (#4.3.0)): MAILFROM:
 RCPTTO:[EMAIL PROTECTED]
 @40004628f80c0d499a8c tcpserver: end 6272 status 0
 @40004628f80c0d4d0974 tcpserver: status: 1/100
 @40004628f92724518604 tcpserver: end 6339 status 0



 Jake Vickers  wrote:Jim Rash wrote: I have just
 completed a QT install.  No matter what I have tried I always get the
 error:

  qmail-smtpd: qq soft reject (mail server temporarily rejected message
 (#4.3.0)):

   What does the smtp log show?





-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [qmailtoaster] qq soft reject

2007-04-22 Thread Nick Hemmesch
Hi Jim,

Which version of clamav-toaster do you have installed?

Did you build simscan-toaster against the clamav-toaster package that you
are currently using?

Regards,

Nick

 Fresh install

 Nick Hemmesch [EMAIL PROTECTED] wrote: Hi Jim,

 Was this a new install or an upgrade?

 Regards,

 Nick




-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] qq soft reject

2007-04-20 Thread Jim Rash
I have just completed a QT install.  No matter what I have tried I always get 
the error: 

qmail-smtpd: qq soft reject (mail server temporarily rejected message (#4.3.0)):

Here is my setup:

[EMAIL PROTECTED] ~]# rpm -qa | grep toaster | sort
autorespond-toaster-2.0.4-1.3.3
clamav-toaster-0.90.1-1.3.13
control-panel-toaster-0.5-1.3.4
courier-authlib-toaster-0.59.2-1.3.6
courier-imap-toaster-4.1.2-1.3.7
daemontools-toaster-0.76-1.3.3
ezmlm-cgi-toaster-0.53.324-1.3.3
ezmlm-toaster-0.53.324-1.3.3
isoqlog-toaster-2.1-1.3.4
libdomainkeys-toaster-0.68-1.3.3
libsrs2-toaster-1.0.18-1.3.3
qmailadmin-toaster-1.2.11-1.3.4
qmailmrtg-toaster-4.2-1.3.3
qmail-pop3d-toaster-1.03-1.3.15
qmail-toaster-1.03-1.3.15
ripmime-toaster-1.4.0.6-1.3.3
simscan-toaster-1.3.1-1.3.6
spamassassin-toaster-3.1.8-1.3.8
squirrelmail-toaster-1.4.9a-1.3.6
ucspi-tcp-toaster-0.88-1.3.5
vpopmail-toaster-5.4.17-1.3.4

[EMAIL PROTECTED] ~]# qmailctl stat
authlib: up (pid 1706) 5518 seconds
clamd: up (pid 1708) 5518 seconds
imap4: up (pid 1745) 5518 seconds
imap4-ssl: up (pid 1712) 5518 seconds
pop3: up (pid 1747) 5518 seconds
pop3-ssl: up (pid 1749) 5518 seconds
send: up (pid 1699) 5518 seconds
smtp: up (pid 1734) 5518 seconds
spamd: up (pid 1738) 5518 seconds
submission: up (pid 1729) 5518 seconds
authlib/log: up (pid 1728) 5518 seconds
clamd/log: up (pid 1710) 5518 seconds
imap4/log: up (pid 1732) 5518 seconds
imap4-ssl/log: up (pid 1714) 5518 seconds
pop3/log: up (pid 1752) 5518 seconds
pop3-ssl/log: up (pid 1751) 5518 seconds
send/log: up (pid 1701) 5518 seconds
smtp/log: up (pid 1736) 5518 seconds
spamd/log: up (pid 1746) 5518 seconds
submission/log: up (pid 1730) 5518 seconds

I can send email locally or externally but cannot receive email from external 
sites.

Looking forward to help.

Thanks,
Jim


Re: [qmailtoaster] qq soft reject

2007-04-20 Thread John Carlson


Check your /etc/tcprules.d/tcp.smtp file and check to see if the config 
is right and then if you have to change something make sure that you do 
a qmailctl cdb  to reload the cdb files..


I had the same problem.. and I had to change mine.. but I'm not sure if 
I even have mine setup correctly.. but I don't have problem anymore.


look here... : http://wiki.qmailtoaster.com/index.php/Tcp.smtp

John


Jim Rash wrote:
I have just completed a QT install.  No matter what I have tried I 
always get the error:


qmail-smtpd: qq soft reject (mail server temporarily rejected message 
(#4.3.0)):


Here is my setup:

[EMAIL PROTECTED] ~]# rpm -qa | grep toaster | sort
autorespond-toaster-2.0.4-1.3.3
clamav-toaster-0.90.1-1.3.13
control-panel-toaster-0.5-1.3.4
courier-authlib-toaster-0.59.2-1.3.6
courier-imap-toaster-4.1.2-1.3.7
daemontools-toaster-0.76-1.3.3
ezmlm-cgi-toaster-0.53.324-1.3.3
ezmlm-toaster-0.53.324-1.3.3
isoqlog-toaster-2.1-1.3.4
libdomainkeys-toaster-0.68-1.3.3
libsrs2-toaster-1.0.18-1.3.3
qmailadmin-toaster-1.2.11-1.3.4
qmailmrtg-toaster-4.2-1.3.3
qmail-pop3d-toaster-1.03-1.3.15
qmail-toaster-1.03-1.3.15
ripmime-toaster-1.4.0.6-1.3.3
simscan-toaster-1.3.1-1.3.6
spamassassin-toaster-3.1.8-1.3.8
squirrelmail-toaster-1.4.9a-1.3.6
ucspi-tcp-toaster-0.88-1.3.5
vpopmail-toaster-5.4.17-1.3.4

[EMAIL PROTECTED] ~]# qmailctl stat
authlib: up (pid 1706) 5518 seconds
clamd: up (pid 1708) 5518 seconds
imap4: up (pid 1745) 5518 seconds
imap4-ssl: up (pid 1712) 5518 seconds
pop3: up (pid 1747) 5518 seconds
pop3-ssl: up (pid 1749) 5518 seconds
send: up (pid 1699) 5518 seconds
smtp: up (pid 1734) 5518 seconds
spamd: up (pid 1738) 5518 seconds
submission: up (pid 1729) 5518 seconds
authlib/log: up (pid 1728) 5518 seconds
clamd/log: up (pid 1710) 5518 seconds
imap4/log: up (pid 1732) 5518 seconds
imap4-ssl/log: up (pid 1714) 5518 seconds
pop3/log: up (pid 1752) 5518 seconds
pop3-ssl/log: up (pid 1751) 5518 seconds
send/log: up (pid 1701) 5518 seconds
smtp/log: up (pid 1736) 5518 seconds
spamd/log: up (pid 1746) 5518 seconds
submission/log: up (pid 1730) 5518 seconds

I can send email locally or externally but cannot receive email from 
external sites.


Looking forward to help.

Thanks,
Jim


  1   2   >