Forum Replies Created

Viewing 12 posts - 16 through 27 (of 27 total)
  • Author
    Posts
  • in reply to: How to delete lots of mails #366957
    uptimejeff
    Participant

    You can delete all mail in the queue with
    sudo postsuper -d ALL

    Jeff

    in reply to: Mail Server Problems #366914
    uptimejeff
    Participant

    Try 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.com

    Jeff

    in reply to: Mail Server Problems #366841
    uptimejeff
    Participant

    amavisd 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 response

    Jeff

    in reply to: Junkmail Training #366840
    uptimejeff
    Participant

    the 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

    in reply to: Mail server setup #366746
    uptimejeff
    Participant

    I 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

    in reply to: Mail Server Setup #366728
    uptimejeff
    Participant

    Start with the documentation.

    http://www.apple.com/server/documentation/

    Jeff

    in reply to: spamassassin whitelist problem #366678
    uptimejeff
    Participant
    in reply to: Mail Server Problems #366660
    uptimejeff
    Participant

    Try just
    mailq

    Is ALL of the mail stacking up in the queue?
    Try disabling your content filter (/etc/postfix/main.cf content_filter =)

    Then try:
    postsuper -r ALL

    If no luck, please post the unedited output of ‘postconf -n’ run from terminal.

    Jeff

    in reply to: smtp Port 25 issue #366659
    uptimejeff
    Participant

    Try 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).

    in reply to: Is Bayesian filtering turned on? #364626
    uptimejeff
    Participant

    I 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/.spamassassin

    I 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 1

    While 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.cvd

    x:/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_sender

    And 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

    uptimejeff
    Participant

    As 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.

    in reply to: DNS Forwarding 10.3.9 Server #362009
    uptimejeff
    Participant

    The 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.

Viewing 12 posts - 16 through 27 (of 27 total)