Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 6th June 2006, 09:16
heygazeebo heygazeebo is offline
Junior Member
 
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default nope

nope, havent changed that file at all.. ill delete it and re-create it based on the HOW-TO... maybe i inadvertantly edited it...

I don't think this has anything to do with it, but if i do an saslauthd restart, it says saslauthd not running, and when it tries to restart it fails...
Code:
/etc/init.d/saslauthd restart
Stopping SASL Authentication Daemon: (not running).
Starting SASL Authentication Daemon: (failed)
Im not sure if that could have any relevence, i have been playing a lot with my install and when i ran that command it seemed a little odd...
Reply With Quote
Sponsored Links
  #12  
Old 6th June 2006, 09:41
heygazeebo heygazeebo is offline
Junior Member
 
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default amavisd

I redid the conf file amavisd.conf but it still does not appear to be invoking spamassassin...
Reply With Quote
  #13  
Old 6th June 2006, 12:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Is SpamAssassin in this path?
Code:
$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
Please edit /etc/init.d/saslauthd and change PIDFILE to

Code:
PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 7th June 2006, 11:53
heygazeebo heygazeebo is offline
Junior Member
 
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default ...

Thanks, that solved the SASL thing, i'm sorry i missed that in the How-To...

SpamAssassin is located in /usr/bin, and has the following permissions...

Code:
/usr/bin# ls -la spamassassin 
-r-xr-xr-x  1 root root 24717 2006-06-03 05:10 spamassassin
If i do a whereis spamassassin i get this:

Code:
whereis spamassassin
spamassassin: /usr/src/spamassassin-3.0.3/spamassassin.raw /usr/src/spamassassin-3.0.3/spamassassin.spec /usr/bin/spamassassin /etc/spamassassin /usr/share/spamassassin /usr/share/man/man1/spamassassin.1p.gz
Reply With Quote
  #15  
Old 7th June 2006, 14:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

What's in /var/log/mail.warn and /var/log/mail.err?

When you restart amavisd, do you see any errors in /var/log/mail.log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #16  
Old 8th June 2006, 15:30
heygazeebo heygazeebo is offline
Junior Member
 
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
Jun  8 11:44:26 localhost amavis[9849]: starting.  amavisd-new at danbury amavisd-new-20030616-p10, Unicode aware, LANG=en_US
Jun  8 11:44:26 localhost amavis[9849]: Perl version               5.008004
Jun  8 11:44:26 localhost amavis[9849]: Module Amavis::Conf        1.15
Jun  8 11:44:26 localhost amavis[9849]: Module Archive::Tar        1.23
Jun  8 11:44:26 localhost amavis[9849]: Module Archive::Zip        1.14
Jun  8 11:44:26 localhost amavis[9849]: Module Compress::Zlib      1.34
Jun  8 11:44:26 localhost amavis[9849]: Module Convert::TNEF       0.17
Jun  8 11:44:26 localhost amavis[9849]: Module Convert::UUlib      1.051
Jun  8 11:44:26 localhost amavis[9849]: Module DBI                 1.46
Jun  8 11:44:26 localhost amavis[9849]: Module DB_File             1.808
Jun  8 11:44:26 localhost amavis[9849]: Module MIME::Entity        5.417
Jun  8 11:44:26 localhost amavis[9849]: Module MIME::Parser        5.417
Jun  8 11:44:26 localhost amavis[9849]: Module MIME::Tools         5.417
Jun  8 11:44:26 localhost amavis[9849]: Module Mail::Header        1.62
Jun  8 11:44:26 localhost amavis[9849]: Module Mail::Internet      1.62
Jun  8 11:44:26 localhost amavis[9849]: Module Mail::SpamAssassin  3.001002
Jun  8 11:44:26 localhost amavis[9849]: Module Net::Cmd            2.26
Jun  8 11:44:26 localhost amavis[9849]: Module Net::DNS            0.48
Jun  8 11:44:26 localhost amavis[9849]: Module Net::SMTP           2.29
Jun  8 11:44:26 localhost amavis[9849]: Module Net::Server         0.87
Jun  8 11:44:26 localhost amavis[9849]: Module Time::HiRes         1.59
Jun  8 11:44:26 localhost amavis[9849]: Module Unix::Syslog        0.100
Jun  8 11:44:26 localhost amavis[9850]: Found $file       at /usr/bin/file
Jun  8 11:44:26 localhost amavis[9850]: No $arc,          not using it
Jun  8 11:44:26 localhost amavis[9850]: Found $gzip       at /bin/gzip
Jun  8 11:44:26 localhost amavis[9850]: Found $bzip2      at /usr/bin/bzip2
Jun  8 11:44:27 localhost amavis[9850]: No $lzop,         not using it
Jun  8 11:44:27 localhost amavis[9850]: No $lha,          not using it
Jun  8 11:44:27 localhost amavis[9850]: Found $unarj      at /usr/bin/arj
Jun  8 11:44:27 localhost amavis[9850]: Found $uncompress at /bin/uncompress
Jun  8 11:44:27 localhost amavis[9850]: No $unfreeze,     not using it
Jun  8 11:44:27 localhost amavis[9850]: No $unrar,        not using it
Jun  8 11:44:27 localhost amavis[9850]: Found $zoo        at /usr/bin/zoo
Jun  8 11:44:27 localhost amavis[9850]: Found $cpio       at /bin/cpio
Jun  8 11:44:27 localhost amavis[9850]: Using internal av scanner code for (primary) Clam Antivirus-clamd
Jun  8 11:44:27 localhost amavis[9850]: Found secondary av scanner Clam Antivirus - clamscan at /usr/bin/clamscan
I didn't see anything that looked out of the ordinary.. the only things that were mentioned in the .warn and .err files were disconnections from IMAP, saying i had logged off...
Reply With Quote
  #17  
Old 8th June 2006, 15:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

And spam filtering doesn't work at all? Is there nothing in the header of emails you receive that suggests that it went through SpamAssassin?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #18  
Old 12th June 2006, 17:05
heygazeebo heygazeebo is offline
Junior Member
 
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default spam

When i first installed it, i got this:

Code:
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at localhos
X-Spam-Status: Yes, hits=4.6 tagged_above=3.0 required=4.0 tests=AWL,
	HELO_EQ_NO_DOT, HOST_EQ_D_D_D_D, HOST_MISMATCH_NET, HTML_90_100,
	HTML_MESSAGE, IP_NOT_FRIENDLY, MSGID_FROM_MTA_ID
X-Spam-Level: ****
X-Spam-Flag: YES
Now:

Code:
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at localhost
and thats it, its like its skipping over SpamAssassin Completely...

I must have done somthing wrong somewhere or somthing, i am just at a total loss at the moment..
Reply With Quote
  #19  
Old 12th June 2006, 17:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Try to remember what you did before it stopped working...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #20  
Old 19th June 2006, 09:15
heygazeebo heygazeebo is offline
Junior Member
 
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default no idea

Quote:
Originally Posted by falko
Try to remember what you did before it stopped working...

Everything seemed to be working fine until i added the second how to, to add maildrop capabilities.. thats when spamassassin seems to have stopped working.

I think i am just going to completely redo a second box and see what happens. I am at a loss right now, im just not sure what i have done wrong. I find it extremely strange that there are no messages in any long files anywhere, and it seems that no matter what i do or upgrade everything works except spamassassin. I'm not sure, i will try and put together a second box ASAP and see what happens.

Thanks for all your help on this, i appreciate it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server name change stops webmail working shajazzi Installation/Configuration 3 16th May 2006 17:00
Installation stops in SpamAssassin aarocha Installation/Configuration 5 28th April 2006 01:37
amavis-new, spamassassin and virtual users - Logs amilcar HOWTO-Related Questions 1 14th February 2006 21:30
Daemonized version of Spamassassin ddelbia General 1 6th January 2006 17:09
Spamassassin configuration DarkBen Installation/Configuration 1 4th January 2006 11:58


All times are GMT +2. The time now is 23:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.