[opensuse] Another problem authenticating with postfix.



-----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@xxxxxxxxxxx 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:<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.

(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@xxxxxxxxxxx username:password

when the user is "user@xxxxxxxxxxx" 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [SLE] Relaying.
    ... >> How on earth do I tell postfix to use diferent relays based on destination ... You use /etc/postfix/transports for choosing a transport based on ... If you want to send to a different relay based on what ISP you're ...
    (SuSE)
  • Re: OT: Setting up a forwarding mail domain in DMZ without pinhole.
    ... Admin/User of RedHat EL ES v 3 for 7 months. ... This is with postfix, ... >>>postmap transport after your finished. ... >a qmail implementation of this....though I dont think any exists. ...
    (Fedora)
  • Re: [opensuse] Another problem authenticating with postfix.
    ... Postfix version 2.3 supports-per-sender SASL password information. ... is chosen by the sender address. ...
    (SuSE)
  • Re: postfix cant send and receive mails
    ... Postfix is final destination for the specified list ... tual_transport mail delivery transport. ... final destination is to be obtained from virtual_mailbox_domains. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: OT: Setting up a forwarding mail domain in DMZ without pinhole.
    ... >> machine to answer for your domains, then use transport maps to send ... This is with postfix, ... >> postmap transport after your finished. ... a qmail implementation of this....though I dont think any exists. ...
    (Fedora)