mailscanner 4.55.10 Freebsd doesnt provide jobnumber in sendmail2 anymore or differently?

Hans Melgers hans at enem.nl
Thu Nov 9 22:09:32 GMT 2006



Scott Silva schreef:
> Hans Melgers spake the following on 11/9/2006 4:26 AM:
>   
>> Hi list,
>>
>> Im running MS for years now, ever running flawless on freebsd.
>> Now im updating (from ports) to 4.55.10 on freebsd 6.2 pre and see
>> something strange.
>>
>> Im using the sendmail2 with ms2cgp script to put MS output in my
>> Communigate submitted queue:
>>
>> Sendmail2 = /usr/local/etc/ms2cgp2
>>
>> However it seems MS is not providing the job number like it used too:
>>
>> Nov  9 13:11:06 fb1 MailScanner[51501]: Creating hardcoded struct_flock
>> subroutine for freebsd (BSD-type)
>> Nov  9 13:11:32 fb1 MailScanner[51430]: New Batch: Scanning 1 messages,
>> 622 bytes
>> Nov  9 13:11:32 fb1 MailScanner[51430]: Spam Checks: Starting
>> Nov  9 13:11:32 fb1 MailScanner[51430]: Looked up unknown string spam in
>> language translation file Nov  9 13:11:32 fb1 MailScanner[51430]: Looked
>> up unknown string notspam in language translation file Nov  9 13:11:32
>> fb1 MailScanner[51430]: Message 51551 from 84.107.145.164
>> (hans at fb1.enem.nl) is whitelisted
>> Nov  9 13:11:32 fb1 MailScanner[51430]: Looked up unknown string
>> mailscanner in language translation file Nov  9 13:11:32 fb1
>> MailScanner[51430]: Looked up unknown string unreadablearchive in
>> language translation file Nov  9 13:11:32 fb1 MailScanner[51430]: Looked
>> up unknown string passwordedarchive in language translation file Nov  9
>> 13:11:32 fb1 MailScanner[51430]: Looked up unknown string archivetoodeep
>> in language translation file Nov  9 13:11:32 fb1 MailScanner[51430]:
>> Virus and Content Scanning: Starting
>> Nov  9 13:11:34 fb1 MailScanner[51430]: Uninfected: Delivered 1 messages
>> Nov  9 13:11:34 fb1 ms2cgp[51564]: Job  writing to
>> /var/CommuniGate/Submitted/FB11.ms2cgp..51564.tmp
>>                                                                                                                                                   
>> ^^ no jobnumber
>> Nov  9 13:11:34 fb1 ms2cgp[51564]: Open input /var/spool/mqueue/qf
>> failed, dying
>>                                                                                                          
>> ^^ no jobnumber
>>
>> The ms2cgp script is unchanged, qf and df files are there.
>>
>> Anybody knows what's going on, hopefully a workaround ?
>>
>> Thanks,
>> Hans
>>
>>
>>     
> You need to upgrade your languages.conf file. That is where the unknown string
> errors are comming from.
>
>   
Thanks Scott, that language error is solved, However the problem still 
exists.
Could it be that anything has changed in how MS calls sendmail2 ?

All my script needs is a msg number corresponding with the df<number> 
and qf<number> files in mqueue. It just reads the -qI<number> argument 
MS (used to) sends with the sendmail command. Right now i only see -qI, 
without number..
I know there IS a number because the qf and df files are correct. And if 
i call my script from cli with that number everything works fine:

like:   /usr/local/etc/ms2cgp2 -qI23456  >> no problem.

I installed this version on another machine, same problem.

Nov  9 21:59:43 fb1 MailScanner[1573]: New Batch: Scanning 1 messages, 
602 bytes
Nov  9 21:59:43 fb1 MailScanner[1573]: Spam Checks: Starting
Nov  9 21:59:43 fb1 MailScanner[1573]: Message 1656 from 84.107.145.164 
(hans at fb1.enem.nl) is whitelisted
Nov  9 21:59:43 fb1 MailScanner[1573]: Virus and Content Scanning: Starting
Nov  9 21:59:45 fb1 MailScanner[1573]: Uninfected: Delivered 1 messages
Nov  9 21:59:45 fb1 ms2cgp[1670]: Job 
-qI                                                << changed script to 
show all arguments
Nov  9 21:59:45 fb1 ms2cgp[1670]: Job  writing to 
/var/CommuniGate/Submitted/FB11.ms2cgp..1670.tmp
Nov  9 21:59:45 fb1 ms2cgp[1670]: Open input /var/spool/mqueue/qf 
failed, dying


More information about the MailScanner mailing list