On 28 Jun 2006, at 21:58, Enrico Weigelt wrote:
...
<[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)
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
[EMAIL PROTECTED] from my host. Anything which I've addressed
[EMAIL PROTECTED] 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=<[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:
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