On 07-02-16 01:07, Jeremy Hansen wrote: > Let me reword what I'm trying to accomplish. > > We have corporate addresses that relay off our internal mail server > straight to Google. We wanted encryption on anything that was > outgoing. This is working beautifully, although I haven't quite > figured out how to get signatures working yet. Encryption is working > fine. > > I have some accounts on the local mail server that use an internal > domain name and I would like mail addressed to those internal users > to be delivered to the local mail server, i.e., I don't want these > mails to relay. They should end up in the local mbox. > > So things addressed to [email protected] should stay local, things > addressed to [email protected] should go outbound to Google. > Outbound is working great. Local is not. > > How do I achieve this configuration with the ciphermail interface. > I'd like to avoid custom configs if possible so they don't get wiped > out if someone happens to use the MTA configuration on the Ciphermail > interface.
You need to tell Postfix which domains are local domains (i.e., which are handled by the local_transport mail delivery transport). You do this by adding the domains to the mydestination setting (http://www.postfix.org/postconf.5.html#mydestination). You can edit the "raw" Postfix config directly via the GUI interface. Any changes you make in the Postfix config will be kept and not overwritten when using the "normal" MTA config page. If you prefer a web GUI edit box for mydestination, it is possible to configure CipherMail to allow editing mydestination from the MTA settings gui page by setting a Java system property. You need to set the following Java system property in the Tomcat config files: mta.enableMyDestination=true So add the following line somewhere in the Tomcat startup properties: JAVA_OPTS="$JAVA_OPTS -Dmta.enableMyDestination=true" Then restart Tomcat It should also be noted that the default Postfix main config that comes with CipherMail disabled local delivery. You should therefore remove the following line from main.cf: local_transport = error:local mail delivery is disabled Kind regards, Martijn Brinkers > Thank you very much for your help. > > And by the way, I tried many encryption gateways, which was the > primary goal and Ciphermail was the only thing that didn't destroy > html mail. So kudos for that. -- CipherMail email encryption Email encryption with support for S/MIME, OpenPGP, PDF encryption and secure webmail pull. https://www.ciphermail.com Twitter: http://twitter.com/CipherMail _______________________________________________ Users mailing list [email protected] https://lists.djigzo.com/lists/listinfo/users
