> >> Each of my systems sends alerts to my mail server for delivery to my email address through a special user account > >> on my mail server with no shell account which is only used for this purpose. Can I limit all mail sent by > >> authenticating through this user account so that it can only be delivered to my email address? The user's password > >> is stored in plain text in ssmtp.conf on each of my systems but I figure that doesn't matter if it can only be used > >> to send mail to my address. > > do you mean a catch-all address? > > sorry but the decription of your goal is weird > > > > maybe OP is trying to say: this sender can only send to a specifc email > address. if so, restriction classes can help: > http://www.postfix.org/RESTRICTION_CLASS_README.html > > if not, OP is invited to state his goal with an example.
I'm sorry for the weird description. I want to send email alerts from each of my systems to my own email address. To do this, I've created a special user on my mail server and put that user's password in ssmtp.conf on each of my systems. Since this is not a secure way to store a password, I'd like to lock down the special user on my mail server so that any mail client authenticating as that user can only send email to my email address. That way the password doesn't need to be secure. - Grant