Forum Replies Created
-
AuthorPosts
-
uptimejeff
ParticipantYou can delete all mail in the queue with
sudo postsuper -d ALLJeff
uptimejeff
ParticipantTry replacing your /etc/amavisd.conf file with an original or known-good backup.
The issue could also be in your /etc/postfix/master.cf file.
ServerAdmin can hose that file.
You might as well post the contents of that file or email to jdj_at_mac.comJeff
uptimejeff
Participantamavisd is probably not running (various reasons that coul be)
Enable content filtering again, then stop/start mail service.
Then check in system.log and amavis.log when mail starts up. You may see a reason why amavis is not starting (usually an error in /etc/amavisd.conf). You could replace amavisd.conf with the default- that might start it also.FYI- you can test to see if amavisd is running through several methods
ps -aux | grep amavis-or I usually just telnet to it-
telnet localhost 10024
and check to see if there’s a responseJeff
uptimejeff
Participantthe sa-learn script often isn’t setup to actually run…
you are better off using spamtrainer. more control and it purges the mailboxes. download here:
http://osx.topicdesk.com/downloads
Jeff
uptimejeff
ParticipantI have a similar setup…
My mail is at mac.com but I retrieve it from my own server (after content filtering) and send through my own server also.
In my case, I just have mac.com forward the mail to my server. Check and see if you can forward (redirect) mail for your mail accounts. You could setup your server as mail2.domain.com and forward to [email protected]Jeff
uptimejeff
Participantuptimejeff
ParticipantCheck this page.
http://wiki.apache.org/spamassassin/ManualWhitelistJeff
uptimejeff
ParticipantTry just
mailqIs ALL of the mail stacking up in the queue?
Try disabling your content filter (/etc/postfix/main.cf content_filter =)Then try:
postsuper -r ALLIf no luck, please post the unedited output of ‘postconf -n’ run from terminal.
Jeff
uptimejeff
ParticipantTry an narrow down whether 587 is/isn’t working vs router not forwarding. Here’s my suggestion:
Only uncomment the single submission line from /etc/postfix/master.cf
Then do ‘sudo postfix reload’
Then (from the server) ‘telnet localhost 587’
You should receive an SMTP response. If you do, then the server is setup properly and you can look at connectivity (router).uptimejeff
ParticipantI finally got around to checking a couple of my servers which have the 10.4.3 standard install with SA/ClamAV enabled.
Both servers had the problem where:
sa_learn uses: /var/clamav/.spamassassin
auto-learning and analysis use: /var/amavis/.spamassassinI receive no bayes tags in mail headers.
So the fix seemed simple enough, install the symlink in one direction or the other. (with proper owner, permissions, etc)
— end result —
Still no bayes scoring for my servers.
I tried one with the symlink in /var/amavis and the other I tried the reverse.local.cf contains
auto_learn 1
use_bayes 1While moving the .spamassassin folder, creating symlinks, etc the mail server was stopped. I did a “diskutil repairpermissions /” before starting mail service.
Here are my directories:
x:/var/clamav jj$ ls -al
total 5472
drwxr-xr-x 5 clamav clamav 170 Jan 3 21:08 .
drwxr-xr-x 33 root wheel 1122 Jan 3 16:02 ..
drwxr-xr-x 5 clamav clamav 170 Jan 3 21:17 .spamassassin
-rw-r–r– 1 clamav clamav 237106 Jan 2 14:06 daily.cvd
-rw-r–r– 1 clamav clamav 2560365 Nov 22 13:27 main.cvdx:/var/amavis root# ls -l
total 16
drwx—— 5 clamav clamav 170 Jan 3 21:17 .spamassassin
drwxr-xr-x 5 root clamav 170 Jan 3 21:02 .spamassassin.bak
drwxr-x— 4 clamav clamav 136 Dec 22 23:34 amavis-20051222T233446-17248
drwxr-x— 4 clamav clamav 136 Dec 23 20:44 amavis-20051223T204439-03812
drwxr-x— 4 clamav clamav 136 Jan 3 10:14 amavis-20060103T071430-18613
drwxr-x— 4 clamav clamav 136 Jan 3 21:17 amavis-20060103T211743-08375
-rw-r—– 1 clamav clamav 0 Nov 22 13:29 amavisd.lock
-rw-r—– 1 clamav clamav 5 Jan 3 21:17 amavisd.pid
srwxr-x— 1 clamav clamav 0 Jan 3 21:17 amavisd.sock
-rw-r–r– 1 clamav clamav 3 Jun 24 2005 whitelist_senderAnd my headers look like:
X-Virus-Scanned: by amavisd-new at mac007.com
X-Spam-Status: No, hits=0 tagged_above=-999 required=2 tests=
X-Spam-Level:Any suggestions?
This is absolutely ridiculous and now I understand why training hasn’t had the effect it should.Jeff
June 17, 2005 at 2:55 am in reply to: switched from public to private ip, all hell breaks loose #362010uptimejeff
ParticipantAs MacTroll mentioned, it’s likely your DNS.
You went from a real IP which should have proper reverse resolution to a private IP that does not (unless you specifically set it up).
Your contacts the DNS server, says ‘Hey- my ip is x.x.x.x, what is my host name” and gets a dead-end answer.
uptimejeff
ParticipantThe forward should have taken care of it.
Otherwise…
You can add zone files for any domain you choose.
Add a Master Zone for domain.edu and create A records (without reverse) pointing the name to the IP address.If you know someone with the school, you could ask for a copy of the entire zone file.
One note…
If you add a zone file for domain.edu and the “only” record you add is:
big.domain.edu
If you try to resolve any other host for that domain (small.domain.edu), you will get an error.
Your DNS server thinks it’s authoratative for the domain, so if the host record doesn’t exist, it doesn’t exist (as far as it’s concerned). So you do need to be careful that you add all records for the domain and they are accurate. -
AuthorPosts
Recent Comments