Postfix, and DNS corrent settings? for mail sending

2 posts / 0 new
Last post
#1 Fri, 04/12/2013 - 16:29
ngohtomi

Postfix, and DNS corrent settings? for mail sending

Hi everybody!

First of all thank you for this first class hosting panel.

Sorry for my bad english. :)

I have got a domain - mydomain.com - and subdomain - sup.mydomain.com, and additional IP address.

mydomain.com - ipn.umb.er1 sup.mydomain.com - ipn.umb.er2

I've got an email address with parent domain - mydomain.com -> email@mydomain.com

When I sending an email from sup.mydomain.com, and sender address is email@mydomain.com, my email already arriving from IP1, just the second Received contains IP2.

And the SPF record says neither permitted.

I configured sender_dependent on virtualmin ( postfix 2.9 ).

Email header is:

Delivered-To: testemail@gmail.com Received: by 10.204.25.70 with SMTP id y6csp114868bkb; Fri, 12 Apr 2013 14:05:16 -0700 (PDT) X-Received: by 10.58.229.69 with SMTP id so5mr9729707vec.6.1365800715596; Fri, 12 Apr 2013 14:05:15 -0700 (PDT) Return-Path: email@mydomain.com Received: from mydomain.com (mydomain.com. [ipn.umb.er1]) by mx.google.com with ESMTP id sx2si7545142vdc.32.2013.04.12.14.05.15; Fri, 12 Apr 2013 14:05:15 -0700 (PDT) Received-SPF: neutral (google.com: 199.101.50.166 is neither permitted nor denied by best guess record for domain of mail@mydomain.com) client-ip=199.101.50.166; Authentication-Results: mx.google.com; spf=neutral (google.com: 199.101.50.166 is neither permitted nor denied by best guess record for domain of mail@mydomain.com) smtp.mail=mail@mydomain.com; dkim=neutral (bad format) header.i=@mydomain.com Received: from sup.mail@mydomain.com (mail@mydomain.com [ipn.umb.er2]) by navigareyachting.eu (Postfix) with ESMTPA id 184C01E2F40 for testemail@gmail.com; Sat, 13 Apr 2013 23:05:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mydomain.com; s=2013; t=1365887107; bh=T7rGVjpjB3XjC7UctEQf5lzq5G1WhxFbihpsRbwgQhI=; h=To:Subject:Date:From:Reply-To:List-Unsubscribe; b=TbRebs7iPCnpCopnz8c45MfadCGJv+T0UP8C+ZaEr5rtptBrrtIEBRVaDMS/IaahC V7Zj3OOqbZURymjwBfWufWTR6vOeMa1kWg2oic7M6pog4wVEKwmwXYHMdCsPtencYS JVwcXAazDybfdD/ZPGBX0B0McJwhSKf7RMTSUlDzJbyUNMqOe10SmVov+EVU6DKVgf Vj/aVUZoZTf7uLU5/ARUgzqY8ONNQ2nnwUX3+sYhNeZuVdr7/1PtlzWhunVHlMD1cW I291GjyiDD1IKNOm5We50x0d6MZ96Ln24CbyEhmPK4bLyv1oy9BgTxvW7ou+YuPeB+ aOuTfND11HfsA==

So I have to send email with IP2, hostname sup.mydomain.com from email@mydomain.com.

What have to config?

Thank for helps.

Fri, 07/26/2013 - 04:33
faceonline

Hiya,

you might need to check your rdns settings / ask your hosting provider to create an rdns record for you. Whilst you can send from multiple domains, unless your rdns record points to the canonical name of your server ie. sup.domain.com (if you want it to be that) then you'll have difficulty sending emails from various accounts.

A quick check to make sure your rdns is correct is sending an email from your server to Gmail -- if it's correct, Gmail will list the email as being user@domain.com via canonical.domain.com.

Hope this helps!

Topic locked