Posts

Showing posts from June, 2020

Proxy Server Install and Configure

4.1 Create Router   Step 1: # vim /etc/sysctl.conf  net.ipv4.ip_forward = 1 Step 2: run this command  # sysctl -p     4.2 Squid Configuration   #apt-get install squid Minimum Configuration: # vim /etc/squid/squid.conf edit        #http_port 8080            [default port 3128 ] # http_port 8080 transparent       [transparent help to force using proxy without putting proxy IP on browser] #cache_mem 8 MB #cache_dir ufs    /var/spool/squid 100 16 256     [or squid3]   acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 add        acl our_network src 192.168.200.0/24   Squid Squid3 Log : /var/log/squid/access.log Cache location : /var/spool/squid/   Log : /var/log/squid3/access.log Cache location : /var/spool/squid3/     In the part “# Recommended minimum configuration:”   http_access allow localhost add       http_access allow our_network http_acces

How to enable Email Client Mailing system on PoP server

At the Email Client Software (Outlook) change the authentication in your account settings from "Clear Text Authentication" to other option. Step:1 # vim /etc/dovecot/conf.d/10-auth.conf # allow plain text auth         disable_plaintext_auth = no # allowed authentication mechanism, at least these 2 options         auth_mechanisms = plain login Save & Exit Step:2 Restart dovecot   # /etc/init.d/dovecot                restart

Install and configure Dovecot (PoP Server)

Dovecot Configuration with postfix MTA Here I am going to show the basic installation and configuration of a Pop server with Postfix MTA. Step: 1 #apt-get install dovecot-common dovecot-imapd dovecot-pop3d –y Step: 3 # vim /etc/dovecot/conf.d/10-mail.conf Ø   Unhash and modify:    Mailbox MailDir mail_location = mbox:~/mail:INBOX=/var/mail/%u   [If you are using mailbox]   Ø   mail_location = maildir:~/Maildir [ If you are using Maildir ] Ø   vim /etc/postfix/main.cf home_mailbox = Maildir/     #   Mail_privileged_group = mail Step: 4 #/etc/init.d/dovecot restart

Install and configure Postfix (SMTP Server)

Image
Postfix Configuration: Here we are going to configure a SMTP mail server with Postfix.  Step: 1 # apt-get install postfix Ø   Select Internet side:     Ø   Put the domain name as like below: Step:2 # Ø   vim /etc/hosts   127.0.0.1          localhost 122.144.9.74    mail.tanjila.com            mail                      [Format: Server IPFQDN hostname] [Here 122.144.9.74 is mail server IP]   Ø   # vim /etc/hostname mail                                                                                [here mail is server’s hostname]   Ø   # vim /etc/resolve.conf   nameserver 202.84.32.22 nameserver 202.84.33.13   Step: 3 # cd /etc Ø   # mv /etc/aliases /etc/postfix   Step: 4 # cd /etc/postfix Ø   # touch transport Ø   # vim transport   tanjila.com                local:                                                        [Format: domain             local:] mail.tanjil