1 |
Hi there, |
2 |
|
3 |
Has anyone here got a Postfix server set up to relay through Yahoo's |
4 |
SMTP service, please? |
5 |
|
6 |
Normally when I send mail, postfix on the server under the stairs |
7 |
connects directly to the addressee's mailserver (normal SMTP then) or |
8 |
uses my ISP's mailserver as a relayhost. Until recently this |
9 |
configuration has depended upon my mood - if I see a delivery failure |
10 |
I muck about with things until I get it right, but from my desktop PC |
11 |
I have recently started using the server-under-the-stairs more |
12 |
frequently, so I am having to look more closely at its configuration |
13 |
when things go wrong. |
14 |
|
15 |
In this case I am getting a bounce message from a mailing-list server |
16 |
that says: |
17 |
|
18 |
<listserv@×××××××.edu>: host mg1.uky.edu[128.163.184.178] said: 554 |
19 |
5.7.1 Mail |
20 |
from domain yahoo.co.uk not accepted from host |
21 |
compaq.stroller.uk.eu.org |
22 |
(213.152.39.90) - see http://www.uky.edu/email/ (in reply to |
23 |
RCPT TO |
24 |
command) |
25 |
|
26 |
I want to sign up to this list using my @yahoo.co.uk address, you |
27 |
see, so the logical thing to do is have postfix deliver everything |
28 |
with a from address @yahoo.co.uk using yahoo's SMTP server as |
29 |
relayhost. I understand that this is at least a little bit of a pain |
30 |
<http://archives.neohapsis.com/archives/postfix/2004-08/0618.html> so |
31 |
for me it's easier to send everything going to lsv.uky.edu via Yahoo. |
32 |
|
33 |
I had expected this to be easy enough. Yahoo tells me that my server |
34 |
settings are: |
35 |
Outgoing Mail Server (SMTP): smtp.mail.yahoo.co.uk |
36 |
|
37 |
So: |
38 |
$ cat /etc/postfix/transport |
39 |
lsv.uky.edu :smtp.mail.yahoo.co.uk |
40 |
$ sudo cat /etc/postfix/sasl_passwd |
41 |
smtp.mail.yahoo.co.uk my_yahoo_id:verysecret |
42 |
$ sudo postmap hash:/etc/postfix/sasl_passwd |
43 |
$ sudo postmap /etc/postfix/transport |
44 |
$ sudo /etc/init.d/postfix restart |
45 |
|
46 |
I then send the subscription mail again & look at the logs: |
47 |
Jun 22 02:56:20 compaq postfix/smtpd[6213]: connect from unknown |
48 |
[192.168.1.103] |
49 |
Jun 22 02:56:20 compaq postfix/smtpd[6213]: 309B31263BB: |
50 |
client=unknown[192.168.1.103] |
51 |
Jun 22 02:56:20 compaq postfix/cleanup[6216]: 309B31263BB: message- |
52 |
id=<0CEB75CF-67BC-45FA-9B62-0DE7D2472775@××××××××.uk> |
53 |
Jun 22 02:56:20 compaq postfix/qmgr[6174]: 309B31263BB: |
54 |
from=<my_yahoo_id@××××××××.uk>, size=579, nrcpt=1 (queue active) |
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 smtp.mail.yahoo.co.uk: |
59 |
Jun 22 02:56:20 compaq postfix/smtp[6217]: warning: |
60 |
valid_hostname: empty hostname |
61 |
Jun 22 02:56:20 compaq postfix/smtp[6217]: warning: malformed |
62 |
domain name in resource data of MX record for |
63 |
smtp1.mail.vip.ukl.yahoo.com: |
64 |
Jun 22 02:56:20 compaq postfix/smtp[6217]: 309B31263BB: |
65 |
to=<listserv@×××××××.edu>, relay=none, delay=0, status=deferred (Name |
66 |
service error for name=smtp1.mail.vip.ukl.yahoo.com type=MX: |
67 |
Malformed name server reply) |
68 |
|
69 |
$ postqueue -p |
70 |
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- |
71 |
309B31263BB 579 Thu Jun 22 02:56:20 strolls_uk@××××××××.uk |
72 |
(Name service error for name=smtp1.mail.vip.ukl.yahoo.com type=MX: |
73 |
Malformed name server reply) |
74 |
listserv@×××××××.edu |
75 |
|
76 |
I'd be very grateful for any illumination on this one. I'm actually |
77 |
using a somewhat dated release of Postfix but this software is mature |
78 |
enough that I'm inclined to blame my own configuration rather than a |
79 |
bug. |
80 |
|
81 |
Thanks in advance for any suggestions, |
82 |
|
83 |
Stroller. |
84 |
|
85 |
-- |
86 |
gentoo-user@g.o mailing list |