Dear list My apologies if my question has been answered before.
I want to relay outgoing messages depending on the sender. So far I have created 2 tables containing the SMTP relay addresses and the passwords respectively. >From my main.cf: sender_dependent_relayhost_maps = hash:/etc/postfix/relayhosts smtp_sasl_password_maps = hash:/etc/postfix/relaypasswd I am concerned about having the passwords stored in plaintext in relaypasswd. Of course, it is converted to a non human readable form by postmap, although it might still somehow be converted back to plain. (It should, or else how postfix 'knows' what password to login with to the relay?) Apart from making the file readable by root (0400 permissions), is there a way to store the password's hash and *somehow* login to the relay using it? (I am emphasizing the word 'somehow' because I can't imagine how it can be done, if it can be done at all). Thank you very much and apologies for the rookie questions. I am still learning. Regards, Stavros