-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Friday 2008-01-25 at 21:17 +0100, Sandy Drobic wrote:
...
Either they (telefonica) require that you use their domain as sender domain
or they fubared their dns servers and used something like
reject_unknown_sender_domain with broken dns. Only the postmaster of
smtp.telefonica.net can tell you.
It seems the former. I was told that they had dropped this policy, and for
some time I was able to relay some mail, but either it didn't last, or it
is random. As to asking the postmaster, that's impossible: you have to
phone customer service which is attended by very nice voices that know
nothing aside from the very usual.
So I want to attempt sending again from my local postfix (yes, on dynamic
IP). I remove the "relayhost = [smtp.telefonica.net]" line, and edit the
transport file:
localhost smtp:
valinor smtp:
nimrodel.valinor smtp:
Don't you want to send mails for these recipients to your own host? In that
case you should tell your box to use "local:" as transport.
Though I wonder why that should be necessary. Postfix uses the default
transport for the domain class if the domain is member of mydestination,
relay_domains or virtual_mailbox_domains:
mydestination local_transport
relay_domains relay_transport
virtual_mailbox_domains virtual_transport
I got that part running this way:
lists.sourceforge.net :
users.sourceforge.net :
localhost :
valinor :
nimrodel.valinor :
.localhost :
.valinor :
.nimrodel.valinor :
#Default:
* smtp:[smtp.telefonica.net]
Now, what I want to get working is this:
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
But there is no sample sender_relay file, so I'm stuck. I'm googling it,
and so far what I have found are questions but no answers. I only found
this:
sender_relay:
@example.com [thisrelay.example.com]
@example.net [thatrelay.example.com]
Some people have complained that with this setup they have another
problem: when an email is rejected, the bounced mail is attempted to be
sent through the relay host (empty envelope from) and it is dutifully
rejected by the relay, obviously. The bounced should use the local
transport instead. So far I haven't deduced how to avoid that (and I have
suffered that problem in my tests, too).
For instance, I found a thread in
<http://tech.groups.yahoo.com/group/postfix-users/messages/206197?threaded=1&m=e&var=1&tidx=1>
where finally they say:
] If I can do it, anybody can. Go back about two weeks in the archives.
] Victor gave me some pretty good advice on how it was done.
and I'm trying to locate that message with no luck so far.
...
I think I also need to define my transport based on the "FROM" address,
not the destination, but I don't know or rather forgot if this is
possible. Guess I'll have to RTFM. O:-)
Yes, this is possible with "sender_dependent_relayhost = yes", but please
define first, what sender address should use what host as nexthop.
That's no problem. Each from address gets a different relay host, except
two redirectors that have none and I have to attempt to send from my
postfix directly.
The above solution in "transport" is a temporary workaround while I find
some docu about "sender_relay"
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFHmmAjtTMYHG2NR9URAqcOAJ42URJaV7kf8hLy6+IWgnHdMYRJwgCdFPjv
S08piMG0peOMobpN1lZPatE=
=gao6
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]