Hi there,

Has anyone here got a Postfix server set up to relay through Yahoo's SMTP service, please?

Normally when I send mail, postfix on the server under the stairs connects directly to the addressee's mailserver (normal SMTP then) or uses my ISP's mailserver as a relayhost. Until recently this configuration has depended upon my mood - if I see a delivery failure I muck about with things until I get it right, but from my desktop PC I have recently started using the server-under-the-stairs more frequently, so I am having to look more closely at its configuration when things go wrong.

In this case I am getting a bounce message from a mailing-list server that says:

<[EMAIL PROTECTED]>: 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)

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. I understand that this is at least a little bit of a pain <http://archives.neohapsis.com/archives/postfix/2004-08/0618.html> so for me it's easier to send everything going to lsv.uky.edu via Yahoo.

I had expected this to be easy enough. Yahoo tells me that my server settings are:
  Outgoing Mail Server (SMTP):   smtp.mail.yahoo.co.uk

So:
  $ cat /etc/postfix/transport
  lsv.uky.edu     :smtp.mail.yahoo.co.uk
  $ sudo cat /etc/postfix/sasl_passwd
  smtp.mail.yahoo.co.uk   my_yahoo_id:verysecret
  $ sudo postmap hash:/etc/postfix/sasl_passwd
  $ sudo postmap /etc/postfix/transport
  $ sudo /etc/init.d/postfix restart

I then send the subscription mail again & look at the logs:
Jun 22 02:56:20 compaq postfix/smtpd[6213]: connect from unknown [192.168.1.103] 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=<[EMAIL PROTECTED]> Jun 22 02:56:20 compaq postfix/qmgr[6174]: 309B31263BB: from=<[EMAIL PROTECTED]>, 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: Jun 22 02:56:20 compaq postfix/smtp[6217]: 309B31263BB: to=<[EMAIL PROTECTED]>, relay=none, delay=0, status=deferred (Name service error for name=smtp1.mail.vip.ukl.yahoo.com type=MX: Malformed name server reply)

  $ postqueue -p
  -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
  309B31263BB      579 Thu Jun 22 02:56:20  [EMAIL PROTECTED]
(Name service error for name=smtp1.mail.vip.ukl.yahoo.com type=MX: Malformed name server reply)
                                         [EMAIL PROTECTED]

I'd be very grateful for any illumination on this one. I'm actually using a somewhat dated release of Postfix but this software is mature enough that I'm inclined to blame my own configuration rather than a bug.

Thanks in advance for any suggestions,

Stroller.

--
[email protected] mailing list

Reply via email to