Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.030 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; "subject:' ": 0.07; 'rewrite': 0.09; 'subject:position': 0.09; 'itself.': 0.14; 'changes': 0.15; '(there': 0.16; 'bind': 0.16; 'confuse': 0.16; 'former,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'latter,': 0.16; 'localhost': 0.16; 'outputs': 0.16; 'shorthand': 0.16; 'subject: \n ': 0.16; 'subject:start': 0.16; 'tool.': 0.16; 'utterly': 0.16; 'www': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'error': 0.23; "shouldn't": 0.24; "i've": 0.25; 'this:': 0.26; 'code:': 0.26; 'header:In-Reply-To:1': 0.27; 'record': 0.27; 'point': 0.28; 'points': 0.29; 'errors': 0.30; 'returned': 0.30; 'message-id:@mail.gmail.com': 0.30; 'program,': 0.31; 'code': 0.31; 'easier': 0.31; 'posting': 0.31; 'sep': 0.31; 'file': 0.32; 'up.': 0.33; 'are:': 0.33; 'problem': 0.35; 'problem.': 0.35; 'tool': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'options:': 0.36; 'entry': 0.36; 'two': 0.37; 'being': 0.38; 'problems': 0.38; 'gmail': 0.38; 'massive': 0.38; 'skip:[ 10': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'aside': 0.39; 'extremely': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'address.': 0.39; 'either': 0.39; 'according': 0.40; 'how': 0.40; 'remove': 0.60; 'read': 0.60; 'manually': 0.60; 'removing': 0.60; "you're": 0.61; 'you.': 0.62; 'address': 0.63; 'email addr:gmail.com': 0.63; 'skip:n 10': 0.64; 'default': 0.69; 'records,': 0.69; 'records': 0.73; 'cut': 0.74; 'other.': 0.75; 'duplication': 0.84; 'fortunately': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=QGClP99OR/hIi4KauXqaexYDcT09/TUPAEDc8fvWJlA=; b=Z6kwY49MeBWuMxEhZh18Pd7NUhE7LaweQ/2BzO/whIPjS4L6O4TRBoGnOMSTUTbbmD 6BrzDwsrDTef2YBwfZYha02APChRBmcKGEPlgacH2WQBPsGBAJ1DjFlVuh/+Re32/QIq fQKtOJoodR2myJAVOWZ/6NZZFYb5wL8kFQA1mqcQ5iO7yREuuWXgSVhzD8GJCCeLDjWQ nJ1XJKJ/TVwp2Q3BiLzHHocoCJLehnvC7Y/8yHqVNzQoAToe+phG8Q7I0deo6dg3MoOU lEO34MKtq+Wtp7ls6uVlukqlcqua8y8c2EKbqjzlHo2Wh2lrtVYJRfZlAiOsk0Ee+tG0 mzbA== MIME-Version: 1.0 X-Received: by 10.52.98.131 with SMTP id ei3mr14502658vdb.4.1380464389504; Sun, 29 Sep 2013 07:19:49 -0700 (PDT) In-Reply-To: References: <5247f6bb$0$29988$c3e8da3$5496439d@news.astraweb.com> Date: Mon, 30 Sep 2013 00:19:49 +1000 Subject: Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 68 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380464398 news.xs4all.nl 15926 [2001:888:2000:d::a6]:39402 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55020 On Sun, Sep 29, 2013 at 9:25 PM, =CE=9D=CE=AF=CE=BA=CE=BF=CF=82 wrote: > superhost.gr. 14400 IN MX 0 superhost.gr. > > mail 14400 IN CNAME superhost.gr. > > As for the mail iam afrid it outputs this: > Code: > Warning MX CNAME Check WARNING: CNAME was returned for the following MX > records: > mail.superhost.gr > The CNAME(s) that were returned are listed above. This is not ok per the > RFCs and can cause problems including mail being lost! > Error MX A request returns CNAME WARNING: MX records points to a > CNAME. CNAMEs are not allowed in MX records, according to RFC974, RFC1034 > 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are: > mail.superhost.gr points to ['superhost.gr'] Once again, you are posting code and errors that don't go with each other. Your MX record does not point to mail.superhost.gr but to superhost.gr itself. This makes it extremely difficult to help you. EXTREMELY. Two options: Either edit your bind file manually OR use some other tool for viewing and editing it. If the latter, the bindfile is utterly meaningless - look at the other tool. If the former, I would rewrite your zone file like this: -- cut -- $TTL 14400 @ 86400 IN SOA ns1.superhost.gr. nikosgr33k.gmail.com. = ( 2013092903 ;Serial Number 86400 ;refresh 7200 ;retry 3600000 ;expire 86400 ) @ 86400 IN NS ns1 @ 86400 IN NS ns2 @ IN A 84.200.17.58 @ IN MX 0 @ mail IN CNAME @ www IN CNAME @ ftp IN CNAME @ -- cut -- The changes I've made are: 1) Remove the massive duplication of your domain name, mainly by using the shorthand "@". (There are other shorthands you can use, too.) 2) Remove the dot from your email address. Currently your official address is nikos@gr33k.gmail.com which is flat-out wrong. Fortunately for you, Gmail will accept nikosgr33k@gmail.com no problem. 3) Eliding the TTLs where they're the same as your default 4) Removing the entry for localhost.superhost.gr which you shouldn't really be using - it'll only confuse matters. Use localhost as a TLD - that's how it's set up. Aside from #2 and #4, this shouldn't actually change your DNS records, but it'll make your bindfile that much easier to read and work with. Of course, if you're editing the file with some other program, don't do this at all. Just use that other program. ChrisA