Migrating from MDaemon to nethserver-mail

mail
v7
mailserver

(Juan Carlos Fernandez) #1

NethServer Version: 7.4.1708
Module: Email

I’m migrating an old MDaemon server to nethserver-mail. Right now I stumbling from page to page trying to figure out how can I have my current setup. First thing I’m trying to do is restrict some users to an adress (e.g. restrict to *.cu mail addresses ). So far I can only restrict to local addresses by using the check-box Local network only. Any help is welcome.


Howto install NethServer as Samba AD domain controller v0.2
(Markus Neuberger) #2

Hello @jfernandez,

do you want to restrict the users to send as or send to specific mail addresses?

Both should be possible with postfix but I think we have to create some custom templates:

http://www.linuxmail.info/postfix-restrict-sender-recipient/

http://docs.nethserver.org/projects/nethserver-devel/en/v7/templates.html


(Juan Carlos Fernandez) #3

I want to restrict users from either receiving or sending mails to anyone but a list, e.g.
Restrict them to sending mails only to Cuba (*.cu)


(Juan Carlos Fernandez) #4

@mrmarkuz thanks for the help, I never had done anything in Perl, but I’m willing to learn. Seeing as there is no option for doing this from the web interface, and since MDaemon and Exchange has this feature added to his GUI, I think Nethserver could also implement it.