Henrik Friedrichsen wrote:
Hey,
a .ws sender? oh welcome!!
I have set up a postfix server on FreeBSD 7.0. Almost everything works fine, but there are a few issues I need to sort out: 1) I want postfix to enforce the sender domain to one of ~3 domains. If the sender address domain set by the client is in the list postfix uses, use it, if not, enforce a default one. 2) I want postfix to enforce the sender user to the username the mail originated from. Mutt users on my servers shouldn't be able to set the sender username to someone else's, just to their own. Is this possible? Help is appreciated!
not clear enough. if you run a public MX, then you must accept mail from public senders.
so is this a na "MSA only" setup or you want to do the restirctions only for submission while allow public mail?
you can restrict the sender domain using check_sender_domain. how to do that depends on the answer to the previous question. better show output of your current 'postconf -n'.
you can also require that authenticated senders match the login (you can say that [EMAIL PROTECTED] requires users foo1, foo2, ...).