
6th June 2006, 08:16
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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...
|

6th June 2006, 08:41
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
amavisd
I redid the conf file amavisd.conf but it still does not appear to be invoking spamassassin...
|

6th June 2006, 11:47
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
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"
|

7th June 2006, 10:53
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
...
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
|

7th June 2006, 13:04
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
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?
|

8th June 2006, 14:30
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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...
|

8th June 2006, 14:51
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
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?
|

12th June 2006, 16:05
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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..
|

12th June 2006, 16:53
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
Try to remember what you did before it stopped working...
|

19th June 2006, 08:15
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
| 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 08:46.
|
|
Recent comments
1 day 8 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 17 hours ago
1 day 18 hours ago
2 days 10 hours ago
2 days 11 hours ago
2 days 14 hours ago