MailScanner & Postfix
Gerhard Mourani
gmourani at privalodc.com
Wed Oct 18 16:34:57 IST 2006
> You can also use the in-built MailScanner ...
Thanks for the tips, seem to run fine now, here the output of the command,
I'll wait to see if users will report Spam to me or not today.
[root at primul gmourani]# /usr/sbin/MailScanner --lint
Read 755 hostnames from the phishing whitelist
MailScanner setting GID to (89)
MailScanner setting UID to (89)
Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
SpamAssassin reported no errors.
Using locktype = flock
MailScanner.conf says "Virus Scanners = clamav"
Found these virus scanners installed: clamav
> Umm no.. never, a '/sbin/nologin' is just fine.
Yes, that's what I thinking too.
> are you the same 'Gerhard Mourani' as the one who ...
Yes is me, I please to see that people recognise my name ;)
Regards,
> Gerhard Mourani wrote:
>> Hi,
>>
>> Thanks for your reply, I've see that the spamassassin binary was in mode
>> 511 and changed this to mode 555. After that Mailscanner seem to work
>> and
>> generated the output message you've see below.
>
> You can also use the in-built 'MailScanner --lint or --debug-sa' to
> check if everything is normal.
>
>> Another question (maybe you can help). Does the postfix user need to
>> have
>> a shell access to the system for Mailscanner to work?
>
> Umm no.. never, a '/sbin/nologin' is just fine.
>
> - dhawal
>
> PS: are you the same 'Gerhard Mourani' as the one who wrote 'securing
> and optimizing linux'?
>
>>> On 17 Oct 2006, at 23:59, Gerhard Mourani wrote:
>>>
>>>> Here is my output of the /usr/bin/spamassassin --lint -D command
>>>> run as
>>>> user postfix, maybe you can see something that is not correctely set.
>>>>
>>>> bash-3.1$ /usr/bin/spamassassin --lint -D
>>>>
>>>> [13265] dbg: bayes: tie-ing to DB file R/O
>>>> /var/spool/MailScanner/spamassassin/bayes_seen
>>>> [13265] dbg: bayes: found bayes db version 3
>>>> [13265] dbg: bayes: DB journal sync: last sync: 0
>>>> [13265] dbg: bayes: not available for scanning, only 190 spam(s) in
>>>> bayes
>>>> DB < 200
>>> There you go then. Another 10 Spam messages learnt and bayes will
>>> start kicking in. I suspect that your previous SA set up used a
>>> different user so you could always copy over it's bayes database
>>> (Don't forget files permissions) so you are running quicker or just
>>> teach it 10 more Spam messages using sa-learn.
>>>
>>> Drew
> --
> 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!
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
--
PrivalODC
Cel: (514) 726-3766
Tel: (450) 761-9973 ext 634
Ce message électronique ainsi que tous les documents annexés sadressent
exclusivement à la personne ou à lentité inscrite dans la rubrique
destinataire ; il peut contenir des renseignements de nature
confidentielle ou
privilégiée aux termes des lois applicables. Nulle autre personne ne doit y
avoir accès. Si vous nêtes pas le destinataire convenu, nous vous avisons
par la présente qu'il est strictement interdit d'en divulguer le contenu, de
le distribuer, le copier ou lutiliser. Veuillez aviser lexpéditeur
immédiatement par retour de courrier électronique et supprimer ce message de
votre système. Toute diffusion ou reproduction de ce document ainsi que tout
mesure prise à légard de la présente sont formellement interdites .
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list