Is there a way to block a local/unix user (or a list of local users) from sending mails via mail command (or maybe even in postfix, which is the MTA I have).
Take the 2-minute tour
×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
||||
|
As suggested by @Gilles, I'm leaving here what I did so others can benefit from it. My machine's host is I ended up creating
Then I compiled it with Finally, I added this to my Postfix configuration:
|
||||
|
|
hash:<path>line. I fixed that but it's still not working. And by "not working" I mean I can "su gitolite" and then "mail -s Test [email protected]" and the mail gets to the queue. – alexandernst Mar 20 at 0:02mailcommand is run? – clement Mar 20 at 6:06