Problems with huge messages

Alex Neuman alex at nkpanama.com
Tue Oct 24 20:13:13 IST 2006


No, you need to make sure you're installing MailScanner correctly. With 
apologies to the rest of the list, here goes:

Henry,

Necesitas instalar bien el MailScanner. Tienes que apagar el sendmail 
(incluyendo hacer que no arranque solo) y prender el MailScanner pa que 
el agarre y llame una instancia de sendmail pa que apañe los correos, 
los mande pa la cola en /var/spool/mqueue.in, y ENTONCES MailScanner lo 
agarre pa chequearlo de todas las maneras posibles para luego moverlo de 
ahi pa /var/spool/mqueue, donde el sendmail (segunda instancia) lo 
recoge y lo manda pa donde tiene que ir (buzon de tu usuario, o pa fuera).

Si arrancas MailScanner y no te detiene los mensajes, significa que el 
sendmail que el mailscanner arranca no esta usando los mismos settings 
que el sendmail "pelado" que corres supuestamente sin problemas.

Asegurate que tengas algo como:

define(`MAX_MESSAGE_SIZE', `3000000')dnl

en tu sendmail.mc y que lo compiles correctamente, de modo que no te puedan destruir tu servidor cuando se le antoje a cualquiera mandandote un mensaje de chorrocientos gigabytes.




Henry Burbano escribió:
> Sorry I explain in a wrong way,  you have the reason, first sendmail , then
> MailScanner and  sendmail again, but sendmail stop the messages after
> MailScanner has processed the message.  I have enable message size
> restrictions in sendmail. When I work only with sendmail all works fine, the
> huge messages are stopped and deleted, but when I enable Mailscanner, I have
> problems.
>
> I need your help to configure the MailScanner to skip the scanning.
>
>
>
>
>
> ----- Original Message -----
> From: "Alex Neuman" <alex at nkpanama.com>
> To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
> Sent: Tuesday, October 24, 2006 1:37 PM
> Subject: Re: Problems with huge messages
>
>
>   
>> Then you have it wrong.
>>
>> Sendmail processes messages FIRST, then MailScanner, then Sendmail
>> again. You should enable message size restrictions in sendmail,
>> otherwise MailScanner will have to process the message.
>>
>>
>> enry Burbano escribió:
>>     
>>> Yes, that is the reason that I need to stop huge messages, I have set
>>> restrictions in sendmail (5 M), but the mail first is processed by
>>> MailScanner and then sendmail stop the message but it causes that
>>> MailScanner waste a lot of time scanning the message.
>>>
>>> I am trying to configure the MailScanner to skip scanning huge messages
>>>
>>>
>>> ----- Original Message -----
>>> From: "Alex Neuman" <alex at nkpanama.com>
>>> To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
>>> Sent: Tuesday, October 24, 2006 11:25 AM
>>> Subject: Re: Problems with huge messages
>>>
>>>
>>>
>>>       
>>>> SMTP/POP/IMAP is not well suited for messages that size. You should
>>>> consider alternatives.
>>>>
>>>> Your server is just probably taking too long to process the message
>>>> because messages this large  - and/or MailScanner ;) - can cause
>>>>         
> swapping.
>   
>>>> Henry Burbano escribió:
>>>>
>>>>         
>>>>> Hi everybody
>>>>>
>>>>> I am having problems when I send huge messages (100M ), I dont know
>>>>> how limit the max size to be scanned.
>>>>> The logs show it
>>>>>
>>>>> Oct 23 09:02:48 kypus MailScanner[15708]: New Batch: Found 2 messages
>>>>> waiting
>>>>> Oct 23 09:02:48 kypus MailScanner[15708]: New Batch: Scanning 1
>>>>> messages, 172369169 bytes
>>>>> Oct 23 09:02:48 kypus MailScanner[15708]: MCP Checks: Starting
>>>>> Oct 23 09:02:48 kypus MailScanner[15708]: Spam Checks: Starting
>>>>> Oct 23 09:02:48 kypus MailScanner[15708]: Message k9NE02sE015712 from
>>>>> 10.0.10.23 (hburbano at novadevices.com
>>>>> <mailto:hburbano at novadevices.com>) is whitelisted
>>>>> Oct 23 09:02:49 kypus MailScanner[16213]: MailScanner E-Mail Virus
>>>>> Scanner version 4.54.6 starting...
>>>>> Oct 23 09:02:49 kypus MailScanner[16213]: Read 748 hostnames from the
>>>>> phishing whitelist
>>>>> Oct 23 09:02:49 kypus MailScanner[16213]: Config: calling custom init
>>>>> function InternalActions
>>>>> Oct 23 09:02:49 kypus MailScanner[16213]: Initialising Internal
>>>>> account list
>>>>> Oct 23 09:02:49 kypus MailScanner[16213]: Internal Account List read 0
>>>>> domains and 0 accounts
>>>>> Oct 23 09:02:50 kypus MailScanner[16213]: Using SpamAssassin results
>>>>> cache
>>>>> Oct 23 09:02:50 kypus MailScanner[16213]: Connected to SpamAssassin
>>>>> cache database
>>>>> Oct 23 09:02:50 kypus MailScanner[16213]: Expired 1 records from the
>>>>> SpamAssassin cache
>>>>> Oct 23 09:02:50 kypus MailScanner[16213]: Using locktype = flock
>>>>> Oct 23 09:02:50 kypus MailScanner[16213]: New Batch: Found 2 messages
>>>>> waiting
>>>>> Oct 23 09:02:50 kypus MailScanner[16213]: New Batch: Scanning 1
>>>>> messages, 172369169 bytes
>>>>> Oct 23 09:02:50 kypus MailScanner[16213]: MCP Checks: Starting
>>>>> Oct 23 09:02:51 kypus MailScanner[16213]: Spam Checks: Starting
>>>>>
>>>>> And no more mails are proccessed
>>>>>
>>>>> The parameters that I have configured are:
>>>>>
>>>>> Max SpamAssassin Size = 30000
>>>>>
>>>>>
>>>>> I am using
>>>>>
>>>>>
>>>>>
>>>>> Thanks in advance
>>>>>
>>>>>           
>>>> --
>>>> MailScanner mailing list
>>>> mailscanner at lists.mailscanner.info
>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>>
>>>> Before posting, read http://wiki.mailscanner.info/posting
>>>>
>>>> Support MailScanner development - buy the book off the website!
>>>>
>>>>
>>>>         
>> --------------------------------------------------------------------------
>>     
> --
>   
>>> ----
>>> I am using the free version of SPAMfighter for private users.
>>> It has removed 842 spam emails to date.
>>> Paying users do not have this message in their emails.
>>> Try SPAMfighter for free now!
>>>
>>>
>>>
>>>
>>>       
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>>     
>
>
>   



More information about the MailScanner mailing list