Re: [opensuse] Another problem authenticating with postfix.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Tuesday 2007-04-17 at 21:00 +0200, Sandy Drobic wrote:

/etc/postfix/sasl_passwd:
user@xxxxxxxxxxx username:password
bar.com username
[mail.myisp.net] username:password
[mail.myisp.net]:submission username:password

Looks a bit weird. I once had sender_dependent_relayhost_maps working, but
it didn't look like that.

I'm starting to understand it :-)

Now, I can't make head or tails of that brief explanation; perhaps there
is another file that explains it in more detail, but meanwhile I'm stuck.

My problem is thus:

I normally use my own postfix (on a dynamic IP) to send everywhere.
Sometimes it is rejected, and then I send via a relay. And then I have new
problems: none of my mail account provider accept emails if the "from"
address in the email is not one of theirs!

In that case you need to use sender_dependent_relayhost_maps. Usually
Postfix decides the relayhost respectively the nexthop based on the
recipient address. In case of sender_dependent_relayhost_maps the nexthop
is chosen by the sender address.

This is probably what you need here.

Interesting!

But...

]: > smtp.telefonica.net[213.4.149.66]: MAIL FROM:<myaddress@sourceforge> SIZE=1000 BODY=8BITMIME AUTH=<>
]: > smtp.telefonica.net[213.4.149.66]: RCPT TO:<myaddress@somewhere> ORCPT=rfc822;myaddress@somewhere
]: > smtp.telefonica.net[213.4.149.66]: DATA
]: < smtp.telefonica.net[213.4.149.66]: 553 MAIL FROM:<myaddress@sourceforge> domain not accepted

It doesn't even ask for authentification, and my IP is from telefonica.net
at the moment. I know that this will give rise to some eyebrows, but it is
an unfortunate fact.

Auth should have happened before mail from.

I believe they do it on purpose :-(

Worse, all Spanish ISP's and mail accounts I have do the same, meaning I
can't relay any of my redirector addreses like sourceforge or ieee.


Is this possible? I don't know, because I don't understand how postfix
supports "per-sender" password information.

perhaps it means:

That's it. For the sender address "user@xxxxxxxxxxx" you need to set up
two settings:

sasl_passwd:
user@xxxxxxxxxxx username:password

sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relayhosts

/etc/postfix/sender_relayhosts:
user@xxxxxxxxxxx [relayhost]


But... I have a doubt. Will that relayhost be used for all mail sent from
user@xxxxxxxxxxx, or only to those destinations in the transport file?

Meaning, I want to send all my email direct, except to those destinations
I define in the transport file which sould use a relay choosed on the from.

Alternatively, send always via relay defined in sender_relayhosts, except
to some destinations I want to send direct.



By the way, I don't know if your ISP deleted my direct mail to you or
shoved it into the spamfolder or whatever, but I sent you a private mail
to tell you that you posted your auth data... :-/

Got it, thanks. :-)


- --
Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGJSahtTMYHG2NR9URAthxAJ4jUXWB9el36XXfeKObgMS4QArsEACgkoH6
9ziuoh1xaZfSnfU06ngr0JI=
=zD3t
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] Another problem authenticating with postfix.
    ... I define in the transport file which sould use a relay choosed on the from. ... to some destinations I want to send direct. ... the problem of sending emails with redirector aliasses. ... Okay, unfortunately I've seen too many ISPs who silently delete unwanted ...
    (SuSE)
  • Re: rmo r.i.p.
    ... also too old and too fat to get away with Pinkerton in a filmed relay.. ... dozens of "invisible" extras moving>walls around? ... La Bollmann, ... there was no meaning at all; ...
    (rec.music.opera)
  • Re: great idea -- explain own bids
    ... Today, RHO opened 1NT, I overcalled, and LHO bid 2NT. ... this was described as "relay to 3C". ... that because I know Lebensohl, that single word tells me a whole lot ... about what is going on -- I know the meaning of the other bids LHO ...
    (rec.games.bridge)
  • Re: [opensuse] Another problem authenticating with postfix.
    ... I define in the transport file which sould use a relay choosed on the from. ... theoretically set up two instances of Postfix, ... Okay, unfortunately I've seen too many ISPs who silently delete unwanted ...
    (SuSE)
  • Re: access db problem
    ... Are your meaning the Kaccess of /etc/mail/sendmail.cf ... and we should omit "-o" option. ... > Connect:222.123 RELAY ...
    (comp.mail.sendmail)