Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
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 22:50:38
Message-Id: 1948E732-35C7-4176-BE36-236B0C0F4719@stellar.eclipse.co.uk
In Reply to: 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) by Enrico Weigelt
1 On 28 Jun 2006, at 21:58, Enrico Weigelt wrote:
2 >> ...
3 >> <listserv@×××××××.edu>: host mg1.uky.edu[128.163.184.178] said: 554
4 >> 5.7.1 Mail
5 >> from domain yahoo.co.uk not accepted from host
6 >> compaq.stroller.uk.eu.org
7 >> (213.152.39.90) - see http://www.uky.edu/email/ (in reply to
8 >> RCPT TO
9 >> command)
10 >
11 > maybe he only accepts only authenticated users to relay ?
12
13 There's a link on the webpage which explains the reason - apparently
14 they would only accept messages with a From: address like
15 user@××××××××××××××.org from my host. Anything which I've addressed
16 from@×××××.com has to reach them via yahoo.com's servers.
17
18 >> I want to sign up to this list using my @yahoo.co.uk address, you
19 >> see, so the logical thing to do is have postfix deliver everything
20 >> with a from address @yahoo.co.uk using yahoo's SMTP server as
21 >> relayhost.
22 >
23 > Please do not mix up (outgoing) relay of some provider and
24 > (incoming) MX
25 > for some domain. They're completely different things (which only *may*
26 > point to the same host).
27
28 Sorry... I'm not sure that I understand.
29
30 My Yahoo account allows me to use their servers for outgoing STMP.
31 This is what I'm trying to configure Postfix to do.
32
33 > Doesn't postfix have some feature like sendmail's mailertable ?
34
35 Yes. On Googling "mailertable" I am able to tell you that this
36 appears to be exactly the same as /etc/postfix/transport
37
38 So:
39 $ cat /etc/postfix/transport
40 lsv.uky.edu :smtp.mail.yahoo.co.uk
41 tells my server that anything going to lsv.uky.edu should relay via
42 my outgoing SMTP account at smtp.mail.yahoo.co.uk. This is a _little_
43 clumsy for my purposes, but adequate.
44
45 >> Jun 22 02:56:20 compaq postfix/smtpd[6213]: 309B31263BB:
46 >> client=unknown[192.168.1.103]
47 >> Jun 22 02:56:20 compaq postfix/cleanup[6216]: 309B31263BB: message-
48 >> id=<0CEB75CF-67BC-45FA-9B62-0DE7D2472775@××××××××.uk>
49 >> Jun 22 02:56:20 compaq postfix/qmgr[6174]: 309B31263BB:
50 >> from=<my_yahoo_id@××××××××.uk>, size=579, nrcpt=1 (queue active)
51 >> Jun 22 02:56:20 compaq postfix/smtp[6217]: warning:
52 >> valid_hostname: empty hostname
53 >> Jun 22 02:56:20 compaq postfix/smtp[6217]: warning: malformed
54 >> domain name in resource data of MX record for smtp.mail.yahoo.co.uk:
55 >> Jun 22 02:56:20 compaq postfix/smtp[6217]: warning:
56 >> valid_hostname: empty hostname
57 >> Jun 22 02:56:20 compaq postfix/smtp[6217]: warning: malformed
58 >> domain name in resource data of MX record for
59 >> smtp1.mail.vip.ukl.yahoo.com:
60 >
61 > yeah, postfix gets confused by the "." MX reference for the domain
62 > smtp1.mail.vip.ukl.yahoo.com. Although it is an unclean configuration,
63 > I do not see what this has to do with your relay ... your postfix
64 > just has to pull its mails (for yahoo.co.uk) to smtp.mail.yahoo.co.uk,
65 > and it has an proper A record, so what does it need the MX record
66 > for ?
67
68 Ah, looking up <http://www.mob.net/~ted/tools/mx.php3?
69 domain=smtp.mail.yahoo.co.uk> I see what you mean.
70
71 I don't see why postfix is looking up the MX record for it, either. :(
72
73 My immediate reaction is: what if I host a fake MX record for
74 smtp.mail.yahoo.co.uk on my internal DNS? I'm not sure of the
75 implications of that.
76
77 > BTW: if you don't get it fixed, you may get an UUCP account for
78 > relay at my site.
79
80 I think this would only satisfy mg1.uky.edu if you yourself relayed
81 anything to its domain via Yahoo. And for that you would require an
82 SMTP account with Yahoo.
83
84 Stroller.
85
86 --
87 gentoo-user@g.o mailing list

Replies