Posts

Pop-before-smtp configuration with Postfix: (Mobile-Notebook)

At first install the following packages. Step 1: apt-get install libtimedate-perl libnet-netmask-perl libberkeleydb-perl   Step 2: apt-get install pop-before-smtp   Step 3: vim /etc/pop-before-smtp/pop-before-smtp.conf ( unhash the following lines) $logto = '/var/log/pop-before-smtp'; $dbfile = '/var/lib/pop-before-smtp/hosts'; and the 4 lines portion of the following for Dovecot POP3/IMAP when using syslog. (Unhash the following four lines) $pat = '^[LOGTIME] \S+ (?:dovecot: )?(?:imap|pop3)-login: ' .    'Login: .*? (?:\[|rip=)[:f]*(\d+\.\d+\.\d+\.\d+)[],]'; $out_pat = '^[LOGTIME] \S+ (?:dovecot: )?(?:imap|pop3)-login: ' .    'Disconnected.*? (?:\[|rip=)[:f]*(\d+\.\d+\.\d+\.\d+)[],]'; Step 4: Now integrate with postfix. vim /etc/postfix/main.cf hash:/var/lib/pop-before-smtp/hosts (add this line with my networks) Step 5: restart pop-before-smtp   restart postfix       Checking log: ta

How to restrict a user to send mail locally only

Image
Sometimes, we need to restrict a specific person to send mail inside your organization only. He will not be able to send mail outer domain except your allowed domain but S/He can receive mail from anywhere.  To implement this restriction, we have to configure the restriction which is given below:   Step:1 Specify the account for which the restriction is applied. echo "test@example.com restrict_sender" > /opt/zimbra/postfix/conf/restrict_senders  Note: If you would like to restrict all users of a domain, enter the domain name instead of email ids.  For example: echo "yourdomain.com restrict_sender" > /opt/zimbra/postfix/conf/restrict_senders   Step:2 postmap /opt/zimbra/postfix/conf/restrict_senders Step:3 Create a blank file in which no domain name is specified. touch /opt/zimbra/postfix/conf/restrict_recipients  Step: 4 postmap /opt/zimbra/postfix/conf/restrict_recipients  Step:5 vim /opt/zimbra/conf/zmconfigd.cf  Find the "SECTION mta DEPENDS amavis&quo

How to Change the Logo from Zimbra Admin Console

Image
To get a professional look, most of Mail Server Administrator wants to change the default Zimbra logo. Today I am going to show how to replace the Zimbra logo with  your own company logo.   Step:1 Firstly, logo size has to change as specified here, otherwise the image may not display correctly. ·          300x48 pixels (Login screen) ·          200x28 pixels (Zimbra interface, top left corner) Step: 2 Rename the logos as follows. LoginBanner_white.png AppBanner_white.png Step:3 Go to the Logo directory on zimbra and rename the existing default logos as backup: root@hmail:~# su zimbra zimbra@hmail:~$ /opt/zimbra/jetty_base/webapps/zimbra/skins/_base/logos$   LoginBanner_white_back.png AppBanner_white_back.png Step:4 Upload your own company images on Logo Directory and change the ownership permission of the images zimbra@hmail:~$ chown zimbra:zimbra LoginBanner_white.png zimbra@hmail:~$   chown zimbra:zimbra AppBanner_white.png   Yee!! Now refr

How to install Zimbra Mail Server on Ubuntu

Image
T he Zimbra Collaboration Server is a mail server that have a complete package of collaborative web application, web-based admin console and webmail client. It also includes antivirus, antispam, collaboration features with a simplified web interface. Its very easier to manage and maintain for administrators. There has t version of Zimbra server: ·          open-source Edition (Free) ·          Network Edition (Paid) It also provides desktop client in a user-friendly feature.   i)              System Requirements CPU: Intel/AMD 2.0 GHZ+ 64-bit RAM: 8 GB 10 GB free disk space And additional space for Mailbox   ii)            Zimbra Server Profile: Mail Domain: mail.serverwench.com IP: 192.168.0.23   iii)           Prerequisite before installation:   Step:1 Edit hostname and hosts #vim /etc/hosts   127.0.0.1        localhost 192.168.0.23     mail.serverwench.com      mail     #vim /etc/hostname     mail   Save & Exit Reboot