Mail In SPAM

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

  1. kkonline

    kkonline New Member

    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.
    $TTL 1d ;
    @       IN      SOA    (
            IN      NS
            IN      NS
    1       IN      PTR
    2       IN      PTR
    ; BIND data file for
    $TTL    604800
    @       IN      SOA (
                                2007011501         ; Serial
                                      7200         ; Refresh
                                       120         ; Retry
                                   2419200         ; Expire
                                    604800)        ; Default TTL
    @       IN      NS
    @       IN      NS    IN      MX      10    IN      A
    www                     IN      CNAME
    mail                    IN      A
    ftp                     IN      CNAME         IN      TXT     "v=spf1 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