2011-06-18 8 views
0

私はちょうど私のウェブサーバ、レールアプリ、ポストフィックス、およびdovecotを設定しました。メーラーをテストしているときはうまくいきますが、Gmailは自動的に送信メールをその迷惑メールフォルダに入れています。私のメールがGoogleの迷惑メールフォルダに送信されています

私は

...私はメールログをチェックし、驚くべき何もありません、私のIPアドレスと、何のためSpamhausのリストを確認し誰も私に私が探してしなければならない他に何のためのガイダンスを提供することができますか?

ありがとうございます!ここ

更新

は、メールヘッダである:

Delivered-To: [email protected] 
Received: by 10.52.113.230 with SMTP id jb6cs31694vdb; 
     Sat, 18 Jun 2011 05:42:32 -0700 (PDT) 
Received: by 10.227.198.133 with SMTP id eo5mr3183668wbb.38.1308400951575; 
     Sat, 18 Jun 2011 05:42:31 -0700 (PDT) 
Return-Path: 
Received: from mail.example.com (mail.example.com [123.45.678.910]) 
     by mx.google.com with ESMTP id fs8si5078709wbb.140.2011.06.18.05.42.29; 
     Sat, 18 Jun 2011 05:42:30 -0700 (PDT) 
Received-SPF: pass (google.com: best guess record for domain of [email protected] designates 123.45.678.910 as permitted sender) client-ip=123.45.678.910; 
Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of [email protected] designates 123.45.678.910 as permitted sender) [email protected] 
Received: from example.com (localhost.localdomain [127.0.0.1]) 
    (Authenticated sender: [email protected]) 
    by mail.example.com (Postfix) with ESMTPA id CCB602AFCF 
    for ; Sat, 18 Jun 2011 14:42:29 +0200 (CEST)
+0

を確認することができ、あなたの電子メールの内容は何ですか?どのヘッダーが送信されていますか? – hammar

+0

更新された質問をチェックして、私はヘッダーを含めました –

答えて

0

あなたはカスタムドメインを使用する必要があります。あなたは?理論上誰でもカスタムメールサーバーを設定してスパムを送信することができます

また、ヘッダーにあまりにも珍しいものを置かないでください。私がチェックします

+0

メールサーバーがこれまでにこれまでどのようになったのだろうかと思います。ところで、google、yahoo、aol、 '誰か'だった。 – sitilge

2

最初にすることは、電子メールでのご:from value:user_nameここ

config.action_mailer.smtp_settingsに例があります、私はあなたの電子メールのdidntがDKIMを持っていたことがわかり

# config/development.rb 
config.action_mailer.smtp_settings = { 
    :address    => "smtp.gmail.com", 
    :port     => 587, 
    :domain    => 'gmail.com', 
    :user_name   => '[email protected]', 
    :password    => SECRET[:email_password], 
    :authentication  => 'plain' 
    # :enable_starttls_auto => true 
    } 

# app/mailers/user_mailer.rb 
class UserMailer < ActionMailer::Base 

    default :from => "[email protected]" 

    def welcome_email(user) 
    @user = user 
    mail(:to => user.profile.email, 
     :subject => "Registration Successful") 
    end 
end 
+0

ここで(そしてその中のリンクを見て)http://stackoverflow.com/questions/4704137/how-to-avoid-my-sent-email-not-be-classified-as-spam – ecoologic

+0

ありがとうございます提案、私はこれを試みたが、それはまだ迷惑メールになる.... –

0

に気付くのと同じであるということですスパムに電子メールを載せる理由の1つである可能性もあります。また、熟練者の評判やドメインの評判によるものかもしれません。

あなたはブラックリストのためのIPおよびドメインreputaion場合here

関連する問題