
16th September 2008, 17:24
|
|
Junior Member
|
|
Join Date: Aug 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Postfix Spam Filter using Ubuntu Dapper, MailScanner, SpamAssassin, Razor, Pyzor, DCC
Hello I followed this howto:
Postfix Spam Filter using Ubuntu Dapper, MailScanner, SpamAssassin, Razor, Pyzor, DCC and ClamAV
Everything worked fine but since I got mailscanner on board mails dont get delivered anymore ...
Code:
Sep 16 17:17:20 gate postfix/smtpd[3997]: connect from mail-gx0-f19.google.com[209.85.217.19]
Sep 16 17:17:20 gate postfix/smtpd[3997]: BBAB9B7DBF: client=mail-gx0-f19.google.com[209.85.217.19]
Sep 16 17:17:21 gate postfix/cleanup[3999]: BBAB9B7DBF: hold: header Received: from mail-gx0-f19.google.com (mail-gx0-f19.google.com [209.85.217.19])??by gate.myhome.fr (Postfix) with ESMTP id BBAB9B7DBF??for <test@myhome.com>; Tue, 16 Sep 2008 17:17:20 +0200 (CE from mail-gx0-f19.google.com[209.85.217.19]; from=<me@gmail.com> to=<test@myhome.com> proto=ESMTP helo=<mail-gx0-f19.google.com>
Sep 16 17:17:21 gate postfix/cleanup[3999]: BBAB9B7DBF: message-id=<548d37030809160817s89973b6v9e8c619630378cd@mail.gmail.com>
Sep 16 17:17:21 gate MailScanner[2211]: New Batch: Scanning 1 messages, 3869 bytes
Sep 16 17:17:26 gate MailScanner[2211]: Virus and Content Scanning: Starting
but nothing more... It looks like the mail scanner starts but never ends ..
Has anyone an idea about this issue ?
Thank you for your help
Julien
|

17th September 2008, 17:44
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Do the other logs contain any errors?
|

18th September 2008, 11:02
|
|
Junior Member
|
|
Join Date: Aug 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi falko,
I just figured out that the system was trying to acces to the mount point /var/spool
so i added a new partition and mounted it properly on /var/spool
I ran the LINUX2 command again, set right permissions according to the "postfix check" command and now I'm in another trap:
Code:
Sep 18 10:52:48 gate postfix/master[2643]: warning: master_wakeup_timer_event: service qmgr(public/qmgr): Permission denied
Sep 18 10:52:48 gate postfix/master[2643]: warning: master_wakeup_timer_event: service pickup(public/pickup): Permission denied
Sep 18 10:53:48 gate postfix/master[2643]: warning: master_wakeup_timer_event: service pickup(public/pickup): Permission denied
Sep 18 10:54:48 gate postfix/master[2643]: warning: master_wakeup_timer_event: service pickup(public/pickup): Permission denied
Sep 18 10:55:48 gate postfix/master[2643]: warning: master_wakeup_timer_event: service pickup(public/pickup): Permission denied
Sep 18 10:56:48 gate postfix/master[2643]: warning: master_wakeup_timer_event: service pickup(public/pickup): Permission denied
Sep 18 10:57:49 gate postfix/master[2643]: warning: master_wakeup_timer_event: service qmgr(public/qmgr): Permission denied
Sep 18 10:57:49 gate postfix/master[2643]: warning: master_wakeup_timer_event: service pickup(public/pickup): Permission denied
Sep 18 10:58:49 gate postfix/master[2643]: warning: master_wakeup_timer_event: service pickup(public/pickup): Permission denied
Sep 18 10:59:49 gate postfix/master[2643]: warning: master_wakeup_timer_event: service pickup(public/pickup): Permission denied
Sep 18 11:00:49 gate postfix/master[2643]: warning: master_wakeup_timer_event: service pickup(public/pickup): Permission denied
I'll go through the howto once again and recheck everything, but if you have any idea, please let me know !
Cheers,
Julien
Ps: thanks for your time ;-)
Last edited by rapidos; 18th September 2008 at 11:22.
|

18th September 2008, 12:05
|
|
Junior Member
|
|
Join Date: Aug 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I also tried to run
postfix set-permissions
but It always asks me for files that doesn't exist on my system.
I tried to download many of them, but I just not stop to ask me more and more files ...
|

18th September 2008, 12:35
|
|
Junior Member
|
|
Join Date: Aug 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok,
never mind !
I reverted to an eralier snapshot (thanks vmware)
I moved everything from /var/spool to a backup dir
and then mounted /var/spool
and removed everything into the proper directory.
Now I'm still running in the trap that I encountered at the beggining of the post :'(
Thanks for everything
Last edited by rapidos; 18th September 2008 at 12:42.
|

19th September 2008, 18:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
I'm sorry, but I don't know where this problem comes from.
|

20th September 2008, 01:03
|
|
Junior Member
|
|
Join Date: Aug 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hey falko,
I tried to run freshclam and the update failed, so I tried to upgrade it but it didn't work.
So I uninstalled clamav and now emails are getting delivered.
The only problem is that an email containing words such as viagra is not detected as spam .... How could I be sure that spamassassin, pyzor, and dcc are really working ? Is there a delay before spamassassin starts to notify an email as spam ?
Thanks a lot for your help
|

20th September 2008, 13:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
Originally Posted by rapidos
Is there a delay before spamassassin starts to notify an email as spam ?
|
No, but SpamAssassin is learning from your emails, so it will become better over time.
|

20th September 2008, 14:13
|
|
Junior Member
|
|
Join Date: Aug 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ok,
so, just to be sure, it is normal that spamassassin doesn't mark one single e-mail that contains the word viagra because it just doesn't know what it is (yet) ?
I thought that some basic rules would have been implemented to prevent from such e-mail that just can't be false positive ...
Thanks for your help falko
|

21st September 2008, 19:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
If you simply write an email with the word viagra in it, it would hardly count as spam. SpamAssassin runs hundreds of tests to find out if an email is spam or not. The existence of a single word is not enough.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 15:04.
|
Recent comments
12 hours 40 min ago
17 hours 39 min ago
19 hours 5 min ago
19 hours 58 min ago
21 hours 41 min ago
1 day 2 hours ago
1 day 2 hours ago
1 day 5 hours ago
1 day 18 hours ago
1 day 19 hours ago