Hello to everyone!
I need to setup an office mail server to store locally a group of mail accounts for people working on that office. In this way I can centralize backup and synchronize using IMAP protocol all messages on all device of a user.
I’ll setup this server with domain companyname.local, because it will not manage completely all mail account of the company domain companyname.com
Server will download (and remove) external mail using fetchmail from main external mail server.
Mail delivery will be done using a smarthost, the ISP’s SMTP server.
I have a problem only on mail sending: I’d like to add to local users with email username@companyname.local an alias username@companyname.com (corrresponding to its real mail address on external mailserver)
In this way mailserver should deliver directly an email sent from its office without sending it through SMTP and then downloading it again using fetchmail.
I can’t setup Nethserver with companyname.com domain name to make possible to send mail to mailboxes not managed by this server (external users of same company located in other offices)
In the past I was able to realize this mechanism adding a transport rule for postfix, but I don’t know how can I do that in Nethserver.
Have you a solution?
Thanks and regards
Mauro