cname replace in mail address? [off-topic] (Re: Attn Ronald Klop)

2010-08-27 Thread Ronald Klop

offtopic, but why do some mailers replace a CNAME in a mail-address?

r...@sheeva2:/var/vmail# host klop.yi.org
klop.yi.org CNAME   thuis.klop.ws
thuis.klop.ws   A   212.123.145.58

It is not the first time that I'm bitten by this, but I never understood  
it.


Ronald.

On Tue, 24 Aug 2010 22:05:46 +0200, Andriy Gapon a...@icyb.net.ua wrote:



Ronald,

your email address bounces, that's inconvenient.


 Original Message 
Subject: Returned mail: Service unavailable
Date: Tue, 24 Aug 2010 23:03:33 +0300 (EEST)
From: Mail Delivery Subsystem mailer-dae...@citadel.icyb.net.ua
To: a...@icyb.net.ua

The original message was received at Tue, 24 Aug 2010 23:03:27 +0300  
(EEST)

from porto-e.starpoint.kiev.ua [212.40.38.100]

   - The following addresses had permanent fatal errors -
ronald-freeb...@thuis.klop.ws

   - Transcript of session follows -
... while talking to thuis.klop.ws.:

RCPT To:ronald-freeb...@thuis.klop.ws

 554 5.7.1 ronald-freeb...@thuis.klop.ws: Relay access denied
554 ronald-freeb...@thuis.klop.ws... Service unavailable

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: cname replace in mail address? [off-topic] (Re: Attn Ronald Klop)

2010-08-27 Thread Mark Andrews

In message op.vh27cqoy852...@212-123-145-58.ip.telfort.nl, Ronald Klop writ
es:
 offtopic, but why do some mailers replace a CNAME in a mail-address?

Because it used to be manditory to do so.  If you don't want it to
be done use a MX record.

klop.yi.org MX 0 thuis.klop.ws

If you need klop.yi.org to have a address record then give it one.

klop.yi.org A 212.123.145.58

Mark

 r...@sheeva2:/var/vmail# host klop.yi.org
 klop.yi.org CNAME   thuis.klop.ws
 thuis.klop.ws   A   212.123.145.58
 
 It is not the first time that I'm bitten by this, but I never understood =
 =20
 it.
 
 Ronald.
 
 On Tue, 24 Aug 2010 22:05:46 +0200, Andriy Gapon a...@icyb.net.ua wrote:
 
 
  Ronald,
 
  your email address bounces, that's inconvenient.
 
 
   Original Message 
  Subject: Returned mail: Service unavailable
  Date: Tue, 24 Aug 2010 23:03:33 +0300 (EEST)
  From: Mail Delivery Subsystem mailer-dae...@citadel.icyb.net.ua
  To: a...@icyb.net.ua
 
  The original message was received at Tue, 24 Aug 2010 23:03:27 +0300 =20
  (EEST)
  from porto-e.starpoint.kiev.ua [212.40.38.100]
 
 - The following addresses had permanent fatal errors -
  ronald-freeb...@thuis.klop.ws
 
 - Transcript of session follows -
  ... while talking to thuis.klop.ws.:
  RCPT To:ronald-freeb...@thuis.klop.ws
   554 5.7.1 ronald-freeb...@thuis.klop.ws: Relay access denied
  554 ronald-freeb...@thuis.klop.ws... Service unavailable
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: cname replace in mail address? [off-topic] (Re: Attn Ronald Klop)

2010-08-27 Thread Ronald Klop
Mandatory? I'm googling, but can't find a document that declares it  
mandatory and only sendmail seems to do it.
I think it is lame to use DNS info to rewrite e-mail addresses, but the  
person who made it 'mandatory' will have good reasons for it.


Does somebody have a pointer to the specs about this?

Ronald.

On Fri, 27 Aug 2010 10:21:27 +0200, Mark Andrews ma...@isc.org wrote:



In message op.vh27cqoy852...@212-123-145-58.ip.telfort.nl, Ronald  
Klop writ

es:

offtopic, but why do some mailers replace a CNAME in a mail-address?


Because it used to be manditory to do so.  If you don't want it to
be done use a MX record.

klop.yi.org MX 0 thuis.klop.ws

If you need klop.yi.org to have a address record then give it one.

klop.yi.org A 212.123.145.58

Mark


r...@sheeva2:/var/vmail# host klop.yi.org
klop.yi.org CNAME   thuis.klop.ws
thuis.klop.ws   A   212.123.145.58

It is not the first time that I'm bitten by this, but I never  
understood =

=20
it.

Ronald.

On Tue, 24 Aug 2010 22:05:46 +0200, Andriy Gapon a...@icyb.net.ua  
wrote:



 Ronald,

 your email address bounces, that's inconvenient.


  Original Message 
 Subject: Returned mail: Service unavailable
 Date: Tue, 24 Aug 2010 23:03:33 +0300 (EEST)
 From: Mail Delivery Subsystem mailer-dae...@citadel.icyb.net.ua
 To: a...@icyb.net.ua

 The original message was received at Tue, 24 Aug 2010 23:03:27 +0300  
=20

 (EEST)
 from porto-e.starpoint.kiev.ua [212.40.38.100]

- The following addresses had permanent fatal errors -
 ronald-freeb...@thuis.klop.ws

- Transcript of session follows -
 ... while talking to thuis.klop.ws.:
 RCPT To:ronald-freeb...@thuis.klop.ws
  554 5.7.1 ronald-freeb...@thuis.klop.ws: Relay access denied
 554 ronald-freeb...@thuis.klop.ws... Service unavailable
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to  
freebsd-stable-unsubscr...@freebsd.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: cname replace in mail address? [off-topic] (Re: Attn Ronald Klop)

2010-08-27 Thread Jeremy Chadwick
On Fri, Aug 27, 2010 at 11:22:05AM +0200, Ronald Klop wrote:
 Mandatory? I'm googling, but can't find a document that declares it
 mandatory and only sendmail seems to do it.
 I think it is lame to use DNS info to rewrite e-mail addresses, but
 the person who made it 'mandatory' will have good reasons for it.
 
 Does somebody have a pointer to the specs about this?

First hit on Google:

http://www.ferris.com/2008/09/08/why-you-shouldnt-mix-cname-and-mx/

Bottom line: don't use CNAMEs, ever, unless you know ***exactly*** what
you're doing.  It's been like this for a very long time.

-- 
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: cname replace in mail address? [off-topic] (Re: Attn Ronald Klop)

2010-08-27 Thread Pete French
 Mandatory? I'm googling, but can't find a document that declares it  
 mandatory and only sendmail seems to do it.
 I think it is lame to use DNS info to rewrite e-mail addresses, but the  
 person who made it 'mandatory' will have good reasons for it.

Rewiting may not be mandatory, but it is certainly true that a domain
needs to have either an A record or an MX record to recieve email
according to the spec. Your has neither, and given the presence of
a CNAME then rewriting the address to use that CNAME doesnt seem like
an unreasonable thing to do.

You should add an MX record to that domain - but mixing MX and CNAME
is a fairly bad idea too (and that should be easily found in google).

-pete.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: cname replace in mail address? [off-topic] (Re: Attn Ronald Klop)

2010-08-27 Thread Matthias Andree
Am 27.08.2010 11:22, schrieb Ronald Klop:
 Mandatory? I'm googling, but can't find a document that declares it  
 mandatory and only sendmail seems to do it.
 I think it is lame to use DNS info to rewrite e-mail addresses, but the  
 person who made it 'mandatory' will have good reasons for it.

May have been RFC0974, perhaps in connection with others - January 1986...

-- 
Matthias Andree
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: cname replace in mail address? [off-topic] (Re: Attn Ronald Klop)

2010-08-27 Thread Peter C. Lai
Does the recipient MTA actually receive for both klop.yi.org *and*
thuis.klop.ws? The recipient MTA will dereference the CNAME and rewrite the
envelope for the reason that it can only relay to an RR that points to a 
real host.

You might be able to fix it if you configure the mta on thuis.klop.ws to 
accept mail for the thuis.klop.ws domain in addition to klop.yi.org (which I 
assume is how you have it setup).

In a situation like this if you have domain CNAME originaldomain then
you better make sure that someone can send to either 
@domain AND @originaldomain otherwise it doesn't make sense.

On 2010-08-27 10:03:52AM +0200, Ronald Klop wrote:
 offtopic, but why do some mailers replace a CNAME in a mail-address?
 
 r...@sheeva2:/var/vmail# host klop.yi.org
 klop.yi.org CNAME   thuis.klop.ws
 thuis.klop.ws   A   212.123.145.58
 
 It is not the first time that I'm bitten by this, but I never understood  
 it.
 
 Ronald.
 
 On Tue, 24 Aug 2010 22:05:46 +0200, Andriy Gapon a...@icyb.net.ua wrote:
 
 
  Ronald,
 
  your email address bounces, that's inconvenient.
 
 
   Original Message 
  Subject: Returned mail: Service unavailable
  Date: Tue, 24 Aug 2010 23:03:33 +0300 (EEST)
  From: Mail Delivery Subsystem mailer-dae...@citadel.icyb.net.ua
  To: a...@icyb.net.ua
 
  The original message was received at Tue, 24 Aug 2010 23:03:27 +0300  
  (EEST)
  from porto-e.starpoint.kiev.ua [212.40.38.100]
 
 - The following addresses had permanent fatal errors -
  ronald-freeb...@thuis.klop.ws
 
 - Transcript of session follows -
  ... while talking to thuis.klop.ws.:
  RCPT To:ronald-freeb...@thuis.klop.ws
   554 5.7.1 ronald-freeb...@thuis.klop.ws: Relay access denied
  554 ronald-freeb...@thuis.klop.ws... Service unavailable
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

-- 
===
Peter C. Lai | Bard College at Simon's Rock
Systems Administrator| 84 Alford Rd.
Information Technology Svcs. | Gt. Barrington, MA 01230 USA
peter AT simons-rock.edu | (413) 528-7428
===

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: cname replace in mail address? [off-topic] (Re: Attn Ronald Klop)

2010-08-27 Thread Doug Barton

On 08/27/2010 01:03 AM, Ronald Klop wrote:

offtopic, but why do some mailers replace a CNAME in a mail-address?

r...@sheeva2:/var/vmail# host klop.yi.org
klop.yi.org CNAME thuis.klop.ws
thuis.klop.ws A 212.123.145.58

It is not the first time that I'm bitten by this, but I never understood
it.


You've already received all the right answers but I figured I'd respond 
too since this is my area. Given that klop.yi.org is a CNAME, and that 
the target hostname (thuis.klop.ws) has no MX record, the fact that you 
receive any mail at all is a tribute to the robustness principle. :)


If you're going to receive mail at thuis.klop.ws then you should really 
have an MX record for it. See http://dougbarton.us/DNS/MX.html for more 
information if you need more information or references to the standards. 
The simplest way to solve your mail delivery problem is to have the 
@hostname refer to a canonical host (I.e., with an A and/or  record) 
which also has an MX record. If you insist on using klop.yi.org the 
_best_ way to do that would be to duplicate those 2 records from 
thuis.klop.ws. By adding an MX to thuis you are more likely to get mail 
if klop.yi.org is a CNAME to it, even though it's still not right.



hth,

Doug

--

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

Computers are useless. They can only give you answers.
-- Pablo Picasso

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: cname replace in mail address? [off-topic] (Re: Attn Ronald Klop)

2010-08-27 Thread Don Lewis
On 27 Aug, Ronald Klop wrote:
 Mandatory? I'm googling, but can't find a document that declares it  
 mandatory and only sendmail seems to do it.
 I think it is lame to use DNS info to rewrite e-mail addresses, but the  
 person who made it 'mandatory' will have good reasons for it.
 
 Does somebody have a pointer to the specs about this?

http://www.rfc-editor.org/rfc/rfc1123.txt

  5.2.2  Canonicalization: RFC-821 Section 3.1

 The domain names that a Sender-SMTP sends in MAIL and RCPT
 commands MUST have been  canonicalized, i.e., they must be
 fully-qualified principal names or domain literals, not
 nicknames or domain abbreviations.  A canonicalized name either
 identifies a host directly or is an MX name; it cannot be a
 CNAME.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org