Wietse Venema schrieb: > tobi: > [ Charset ISO-8859-1 unsupported, converting... ] > >> Wietse Venema schrieb: >> >>> Tobi: >>> >>> >>>> Hello >>>> >>>> I just wonder whether my idea is technically possible to fullfill with >>>> Postfix. I already use sender based relaying which works fine. >>>> My problem is that I'm running a Postfix Server on my dynamic IP-Address. I >>>> would say for 80% of the receivers is no problem to send the emails >>>> directly (direct-mx). Some domains or receivers do not accept this due to >>>> dynamic IP block. No problem I thought I could set up a receiver-based >>>> relay, but unfortunatly I did not find anything about it in Postfix doc >>>> (maybe I looked for the wrong keywords). >>>> >>> See this URL: http://www.postfix.org/transport.5.html >>> >>> If I am not mistaken, this has precedence over sender-dependent features. >>> >> I tried according to Wietse's link to the manual and it works 50% ;-) >> The email is properly forwarded according to receivers domain with the >> values in transport conf file >> But now Postfix has no user details to perform a SMTP Authentication at >> the defined relay server. smtp tries to relay without auth which my >> providers server don't like. If I'm using sender_dependent_relay then >> > > Then you made too many transport map entries. > > Wietse > > Thanks for your patience :-) But I only have two entries in transport which look like this
cat /opt/etc/postfix/transport | grep -v "#" postfix.org smtp:[smtp.mysip.ch]:587 domain.tld smtp:[smtp.myotherisp.ch]:587 And only once in the config (main.cf transport_maps...). I can see the unauthorized relay attempts with myisp.ch/myotherisp.ch in the Postfix logs. So I assume that no login credentials were used. Is transport meant to use the data from sender_relay and sasl_passwd files to login to the relay servers? Regards tobi