Configure Zimbra to use SendGrid as Smarthost Rumi, February 18, 2023September 12, 2023 Switch to user Zimbra su zimbra Add credentials to relay_password file: nano /opt/zimbra/conf/relay_password Add: smtp.sendgrid.net yourSendGridUsername:yourSendGridPassword Apply configuration to Zimbra postmap /opt/zimbra/conf/relay_password postmap -q smtp.sendgrid.net /opt/zimbra/conf/relay_password zmprov ms `zmhostname` zimbraMtaSmtpSaslPasswordMaps lmdb:/opt/zimbra/conf/relay_password zmprov ms `zmhostname` zimbraMtaSmtpSaslAuthEnable yes zmprov ms `zmhostname` zimbraMtaSmtpCnameOverridesServername no zmprov ms `zmhostname` zimbraMtaSmtpTlsSecurityLevel may zmprov ms `zmhostname` zimbraMtaSmtpSaslSecurityOptions noanonymous zmprov ms `zmhostname` zimbraMtaRelayHost smtp.sendgrid.net:587 Now wait for a couple of minutes and start testing it by sending out some test mails. Follow the log file to see if it works or not: tail -f /var/log/zimbra.log To undo, apply the command zmprov ms `zmhostname` zimbraMtaRelayHost "" Related Administrations Configurations (Linux) PostfixSendgridzimbra
Squid proxy server with user authentication June 28, 2009 If you are planning to set up proxy authentication program, using squid+webmin it’s quite simple- Click “Authentication Program” icon on webmin Enter the following infos in the right boxes- Basic authentication program- /usr/lib/squid/pam_auth Number of authentication programs- 5 Authentication cache time- 5 Hrs Back to squid index Click “Access Control”… Read More
Syslog server with Rsyslog and LogAnalyzer in Ubuntu 12 August 17, 2018 Installing Rsyslog from repository First make sure you have the latest update of Ubuntu 12.04 LTS sudo apt-get update && sudo apt-get upgrade Adding PPA repository sudo add-apt-repository ppa:adiscon/v8-devel If you get this error: “add-apt-repository: command not found” Try installing this python-software-properties package apt-get install python-software-properties Update your apt cache… Read More
Configure Additional IP Addresses January 18, 2009 Let’s assume our network interface is eth0. Then there is a file /etc/sysconfig/network-scripts/ifcfg-eth0 which contains the settings for eth0. We can use this as a sample for our new virtual network interface eth0:0: cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0 Now we want to use the IP address 192.168.0.101 on the virtual interface eth0:0…. Read More