public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Anyone using Yahoo as Postfix relay?      (Name service error for name=smtp1.mail.vip.ukl.yahoo.com type=MX: Malformed name server reply)
Date: Thu, 29 Jun 2006 23:39:07 +0100	[thread overview]
Message-ID: <1948E732-35C7-4176-BE36-236B0C0F4719@stellar.eclipse.co.uk> (raw)
In-Reply-To: <20060628205825.GA13541@nibiru.local>


On 28 Jun 2006, at 21:58, Enrico Weigelt wrote:
>> ...
>> <listserv@lsv.uky.edu>: host mg1.uky.edu[128.163.184.178] said: 554
>> 5.7.1 Mail
>>     from domain yahoo.co.uk not accepted from host
>> compaq.stroller.uk.eu.org
>>     (213.152.39.90) - see http://www.uky.edu/email/ (in reply to
>> RCPT TO
>>     command)
>
> maybe he only accepts only authenticated users to relay ?

There's a link on the webpage which explains the reason - apparently  
they would only accept messages with a From: address like  
user@stroller.uk.eu.org from my host. Anything which I've addressed  
from@yahoo.com has to reach them via yahoo.com's servers.

>> I want to sign up to this list using my @yahoo.co.uk address, you
>> see, so the logical thing to do is have postfix deliver everything
>> with a from address @yahoo.co.uk using yahoo's SMTP server as  
>> relayhost.
>
> Please do not mix up (outgoing) relay of some provider and  
> (incoming) MX
> for some domain. They're completely different things (which only *may*
> point to the same host).

Sorry... I'm not sure that I understand.

My Yahoo account allows me to use their servers for outgoing STMP.  
This is what I'm trying to configure Postfix to do.

> Doesn't postfix have some feature like sendmail's mailertable ?

Yes. On Googling "mailertable" I am able to tell you that this  
appears to be exactly the same as /etc/postfix/transport

So:
   $ cat /etc/postfix/transport
   lsv.uky.edu     :smtp.mail.yahoo.co.uk
tells my server that anything going to lsv.uky.edu should relay via  
my outgoing SMTP account at smtp.mail.yahoo.co.uk. This is a _little_  
clumsy for my purposes, but adequate.

>>   Jun 22 02:56:20 compaq postfix/smtpd[6213]: 309B31263BB:
>> client=unknown[192.168.1.103]
>>   Jun 22 02:56:20 compaq postfix/cleanup[6216]: 309B31263BB: message-
>> id=<0CEB75CF-67BC-45FA-9B62-0DE7D2472775@yahoo.co.uk>
>>   Jun 22 02:56:20 compaq postfix/qmgr[6174]: 309B31263BB:
>> from=<my_yahoo_id@yahoo.co.uk>, size=579, nrcpt=1 (queue active)
>>   Jun 22 02:56:20 compaq postfix/smtp[6217]: warning:
>> valid_hostname: empty hostname
>>   Jun 22 02:56:20 compaq postfix/smtp[6217]: warning: malformed
>> domain name in resource data of MX record for smtp.mail.yahoo.co.uk:
>>   Jun 22 02:56:20 compaq postfix/smtp[6217]: warning:
>> valid_hostname: empty hostname
>>   Jun 22 02:56:20 compaq postfix/smtp[6217]: warning: malformed
>> domain name in resource data of MX record for
>> smtp1.mail.vip.ukl.yahoo.com:
>
> yeah, postfix gets confused by the "." MX reference for the domain
> smtp1.mail.vip.ukl.yahoo.com. Although it is an unclean configuration,
> I do not see what this has to do with your relay ... your postfix
> just has to pull its mails (for yahoo.co.uk) to smtp.mail.yahoo.co.uk,
> and it has an proper A record, so what does it need the MX record  
> for ?

Ah, looking up <http://www.mob.net/~ted/tools/mx.php3? 
domain=smtp.mail.yahoo.co.uk> I see what you mean.

I don't see why postfix is looking up the MX record for it, either.  :(

My immediate reaction is: what if I host a fake MX record for  
smtp.mail.yahoo.co.uk on my internal DNS? I'm not sure of the  
implications of that.

> BTW: if you don't get it fixed, you may get an UUCP account for
> relay at my site.

I think this would only satisfy mg1.uky.edu if you yourself relayed  
anything to its domain via Yahoo. And for that you would require an  
SMTP account with Yahoo.

Stroller.

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-06-29 22:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22  2:32 [gentoo-user] Anyone using Yahoo as Postfix relay? (Name service error for name=smtp1.mail.vip.ukl.yahoo.com type=MX: Malformed name server reply) Stroller
2006-06-28 20:58 ` Enrico Weigelt
2006-06-29 22:39   ` Stroller [this message]
2006-06-30 14:23     ` Enrico Weigelt
2006-06-30 20:58       ` Stroller
2006-07-04 17:18         ` Enrico Weigelt
2006-07-05 17:26         ` kashani
2006-07-06  0:52           ` Enrico Weigelt
2006-07-06  2:13             ` [gentoo-user] Anyone using Yahoo as Postfix relay? kashani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1948E732-35C7-4176-BE36-236B0C0F4719@stellar.eclipse.co.uk \
    --to=stroller@stellar.eclipse.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox