Just finished setting up my Nethserver and I’m very happy so far. However, I’m having one tricky issue with email. I’ve read a number of posts describing very similar issues but haven’t been able to find anyone who resolves exactly what I’m struggling with.
I’m hosting a small email server (approx 12 accounts) on my business internet line (no smart host, port 25 is open). Most of the users are family members, but I have three work colleagues on a separate domain for our business.
Currently, I have three domains configured, we’ll call them family1.tld, family2.tld and work.tld. Family1.tld is the default domain. I don’t mind if my work colleagues login with user@family1.tld, but they need to be able to send messages as user@work.tld and that doesn’t seem to work. While they can receive messages at user@work.tld, all of the outgoing messages come from user@family.tld. Is there a way to assign a user a different outgoing mail domain? Surely, I’m not the only person wanting users to be able to send mail from a mail alias?
I notice that main.cf has an “autogenerated” warning. Do you know where I can make these changes in Nethserver and not have them overwritten? Is there an overrides file or something?