-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Here goes another one. In "SASL_README.html" I read:
Postfix version 2.3 supports-per-sender SASL password information. To
search the Postfix SASL password by sender before it searches by
destination, specify:
/etc/postfix/main.cf:
smtp_sender_dependent_authentication = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
/etc/postfix/sasl_passwd:
user@example.com username:password
bar.com username
[mail.myisp.net] username:password
[mail.myisp.net]:submission username:password
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!
For instance, using my telefonica account, the one that I got working in
another email, I can send if my from is the one above, but not if I'm
using my sourceforge alias:
]: > smtp.telefonica.net[213.4.149.66]: MAIL FROM: SIZE=1000 BODY=8BITMIME AUTH=<>
]: > smtp.telefonica.net[213.4.149.66]: RCPT TO: ORCPT=rfc822;myaddress@somewhere
]: > smtp.telefonica.net[213.4.149.66]: DATA
]: < smtp.telefonica.net[213.4.149.66]: 553 MAIL FROM: 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.
(very unfortunate, because the only means I have to send using my
sourceforge alias is to send it myself; if rejected, I can't send at
all, plain and simple).
So, my needs are:
To send via a transport when the destination is on a list, and chose
that transport based on my from address.
Example:
If I want to send to someone in "t-online.de", use
smtp:smtp.telefonica.net if the from is *@telefonica.net, and use
smtp:smtp.tiscali.es if my from is *@tiscali.es
Elsewhere (for example, to *@opensuse.org), send using the default
transport, ie, use postfix own means.
Is this possible? I don't know, because I don't understand how postfix
supports "per-sender" password information.
perhaps it means:
user@example.com username:password
when the user is "user@example.com" use that data. But that only applies
to a certain smtp server, not the rest!
What I need, thus, is choosing a transport based both on destination and
sender, and choose a password based on user and server.
I wonder if I managed to explain myself... :-?
- --
Cheers,
Carlos Robinson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFGJRU/tTMYHG2NR9URAp6eAJ9EQ/ZClC51NJnqxAJ+OVC76powEQCfctKm
UZ+n/wWBt6XpWaYOmJ5xZ/M=
=ItfM
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org