On 03/25/14 06:07, Bill Oliver wrote:
>
> This may not be a "fedora" problem, so if you know where I should ask this, 
> please let me know.  This is a mail problem, but I suspect that the "real" 
> problem is named or something else.  I don't know.
>
> OK, here goes.  I have a personal machine that has 5 static ip addresses.  
> Here's my hosts file:
>
> % cat hosts
>
> # Automatically generated by OnApp (2.3.3)
> 127.0.0.1       localhost
> 50.7.12.26      www.forensicpath.biz forensicpath.biz forensicpath
> 50.7.12.27      hope.billoblog.com billoblog.com billoblog
> 50.7.12.28      www.bill-oliver.com bill-oliver.com bill-oliver
> 50.7.12.29      www.cindyo.net cindyo.net cindyo
> 50.7.12.30      www.forensicsurveys.com forensicsurveys.com forensicsurveys
>
> Here's some hostname fun:
>
> %hostname
> hope.billoblog.com
>
> %hostname -A
> forensicpath.biz billoblog.com bill-oliver.com cindyo.net
> forensicsurveys.com
>
> %hostname -I
> 50.7.12.26 50.7.12.27 50.7.12.28 50.7.12.29 50.7.12.30
>
> All of these have virtual hosts wrt apache, though only a couple actually 
> have web pages, and, it all seems to work well enough, web-wise.
>
> But here's the rub.  I use sendmail for my MTA, and I use billoblog.com as my 
> SMART_HOST.  Sendmail relays all these domains without a problem, AFAIK.  All 
> the users on this machine have <user>@billoblog.com as their email address 
> except my wife, who uses "ci...@cindyo.net."
>
> But...  Cindy (my wife, ci...@cindyo.net) is having her mail rejected by 
> SuddenLink. If she sends mail to <user>@suddenlink.com, it gets bounced.  The 
> error sent by SuddenLink is simply "You cannot send email to this domain." 
> Mail will send fine everywhere else -- aol, verizon, amazon, etc.
>
> Oddly, if *I* send email **from the same machine** as "ven...@billoblog.com", 
> SuddenLink will accept and deliver the mail.
>
> So, I'm thinking, what's the difference between me sending email as 
> "ven...@billoblog.com" and "ci...@cindyo.net" from the same server?  One is 
> relayed and one is not. The mail is seen by SuddenLink as being delivered by 
> "hope.billoblog.com," which is my mailserver's hostname.  So, the only thing 
> I can thing of is that SuddenLink is seeing a relay and assuming it's being 
> spoofed.  But I don't know -- I called SuddenLink and they had no idea why 
> they were bouncing the mail, didn't care,  and said that they didn't support 
> personal servers so go away.
>
> So, I thought, hmmmm...  I wonder if it would be possible to have a different 
> hostname for different ip addresses?  In other words, could I, on the same 
> machine, serve mail as "hope.billoblog.com" when the user was 
> "ven...@billoblog.com" and be "www.cindyo.net" when the user was 
> "ci...@cindyo.net?"
>
> I tried the kneejerk thing of simply adding www.cindyo.net to the
> sendmail SMART_HOST, i.e. changing
>
> define(`SMART_HOST', `hope.billoblog.com')dnl
>
> to
>
> define(`SMART_HOST', `hope.billoblog.com:www.cindyo.net')dnl
>
> That just started giving me DNS MX loop errors.
>
>
> Any pointers?
>
>
> If there's a postfix fix, I'll happily switch over...
>
>

Making changes to your MTA isn't going to affect how the receiving side views 
the incoming email.

There are 2 things to try....

A.  Create a second PTR record for your SMART host with a cindyo.net hostname.  
 This way, when suddenlink does a lookup of 50.7.12.26 it will get a cindyo.net 
hostname.  You should also create a CNAME for that hostname so it too returns 
50.7.12.26.

B.  Create spf records to indicate that billoblog.com is an authorized sender 
for cindyo.net.

I'm letting google manage my domain for email.  So, if you did a "host 
greshko.com" you'd see that MX records are google hosts.  Now, since google is 
also sending emails out for my domain if you did "dig txt greshko.com" you'd 
see....

greshko.com.            1199    IN      TXT     "v=spf1 include:_spf.google.com 
~all"

to tell receiving hosts that google is authorized to send email for greshko.com

I'd go with A first as this is more likely the case that suddenlink is doing 
double reverse lookups to decide if should accept emails.




-- 
Getting tired of non-Fedora discussions and self-serving posts
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to