Mail In SPAM

Discussion in 'General' started by kkonline, Dec 26, 2008.

  1. kkonline

    kkonline New Member

    Hi,
    I am using bind9 on debian etch vps server. Have postfix installed. I noticed one thing that incase a mail is sent with smtp server localhost it goes to spam but incase it is sent from any other smtp server like gmail for example then it reaches inbox.
    xxx.x.xxx.rev
    Code:
    $TTL 1d ;
    $ORIGIN xxx.x.xxx.IN-ADDR.ARPA.
    @       IN      SOA     ns1.net4india.com.    (
                                           2007011501
                                           7200
                                           120
                                           2419200
                                           604800
    )
            IN      NS      ns1.net4india.com.
            IN      NS      ns2.net4india.com.
    1       IN      PTR     ns1.net4india.com.
    2       IN      PTR     ns2.net4india.com.
    mydomain.org.db
    Code:
    ;
    ; BIND data file for mysite.org
    ;
    $TTL    604800
    @       IN      SOA     mysite.org. (
                                2007011501         ; Serial
                                      7200         ; Refresh
                                       120         ; Retry
                                   2419200         ; Expire
                                    604800)        ; Default TTL
    ;
    @       IN      NS      ns1.net4india.com.
    @       IN      NS      ns2.net4india.com.
    mysite.org.    IN      MX      10      mail.mysite.org.
    mysite.org.    IN      A       xxx.x.xxx.xxx
    www                     IN      CNAME   mysite.org.
    mail                    IN      A       xxx.x.xxx.xxx
    ftp                     IN      CNAME   mysite.org.
    mysite.org.         IN      TXT     "v=spf1 ip4:xxx.x.xxx.xxx a mx ~all"
    mail                    IN      TXT     "v=spf1 a -all"
    Your suggestions required on the same
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please take a look at the email header. SpamAssassin should add something to the header that indicates why the mail got marked as spam.

    Also, make sure your server has proper PTR records, and that your domains have SPF records.
     

Share This Page