Qmail Installation. Build Qmail tar zxvf qmailrocks.tar.gz tar zxvf qmailrocks.tar.gz Edit and Run : Edit and Run : /test/qmailrocks/scripts/install/qmr_install_linux-s1.script.

Slides:



Advertisements
Similar presentations
Pakiti.
Advertisements

Mukesh Pund Scientist, NISCAIR, New Delhi
HTTPS/SSL Oleh: Idris Winarno. Persiapan Pastikan repository debian # vim /etc/apt/sources.list deb etch main contrib non-freehttp://kebo.vlsm.org/debian.
Apache2 HTTPS. 1. Install webserver Apache # apt-get install apache2 2. Buat direktori untuk menyimpan file https # mkdir /var/www/secure 3. Instalasi.
Dan Fleck.  WAMP – Windows Apache MySQL PHP -  LAMP – Linux Apache MySQL PHP ◦ There are.
Protecting Documents on the Web Friday Tech Briefing Timely Info for Power Users and Stanford's Technology Support Community Mark Branom ITSS Technology.
Protocols and Troubleshooting Brandon Checketts.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Apache ssl Objectives Contents Practical Summary Setup Apache + ssl
Install WordPress with Xampp. By With Thanks to: Rupesh Kumar.
Access control and user management in Apache 1WUCM1.
Click it Apache Service will start If Skype is on, then Quit Skype and exit from Skype. Does not work if Skype is On. You can start Skype later on.
Your address will be the first letter of your first name, combined with your last name. (eg. John Smith : ) To login to webmail,
POP Configuration Microsoft Outlook Express 6.x.
Setting up in Outlook Express. Select “Tools” from the toolbar menu.
SquirrelMail for Webmail AfNOG 2012 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Serrekunda, Gambia (Original Materials by Joelja)
APACHE SERVER By Innovationframes.com »
SquirrelMail for Webmail AfNOG 2013 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Lusaka, Zambia (Original Materials by Joelja)
UNIT - III. Installing Samba Windows uses Sever Message Block(SMB) to communicate with each other using sharing services like file and printer. Samba.
Zach Miller Condor Project Computer Sciences Department University of Wisconsin-Madison Securing Your Condor Pool With SSL.
Web Technology – Web Server Setup : Chris Uriarte Meeting 4: Advanced Topics, Continued: Securing the Apache Server and Apache Performance Tuning Rutgers.
Hosted Exchange The purpose of this Startup Guide is to familiarize you with ExchangeDefender's Exchange and SharePoint Hosting. ExchangeDefender.
Web Programming Week 10 Old Dominion University Department of Computer Science CS 418/518 Fall 2010 Martin Klein 11/02/10.
Implementing POP3 and IMAP4 Using Dovecot
Appendix: Installing AMP (Apache + MySQL + PHP). Training Course, CS, NCTU 2 AMP  AMP A – Apache Web Server M – MySQL Database Server P – PHP Language.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Mail Services.
Sending and Receiving Mails
An introduction to Apache. Different Types of Web Servers Apache is the default web server for may Unix servers. IIS is Microsoft’s default web server.
FTP (File Transfer Protocol) & Telnet
ISQS server attacks Presented by Deven Patel.
Once you have contacted me to set up a new account, your computer needs to be configured to dial into.DevlinEx and use our servers for things like .
Set 13: Web Servers (configuration and security) (Chapter 21) IT452 Advanced Web and Internet Systems.
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG 11 Kigali, Rwanda May 2010 Dorcas Muthoni Courtesy: Hervey Allen.
User authentication, passwords
Network Security: Lab#3 Transport-Level Security Tools J. H. Wang May 12, 2011.
Hands On Networking Network Applications Ram P Rustagi, ISE Dept Kundan Kumar, MCA Dept Manini Sahoor, MCA Dept Ravi Teja, MCA Dept Sourav.
Web Site Access Control with Apache Fort Collins, CO Copyright © XTR Systems, LLC Web Site Access Control Using the Apache Web Server Instructor: Joseph.
Apache Security Travis Jeffries. Introduction Authentication and Authorization Strict Access Methods Defending against Attacks Bad CGI Programs Apache.
How to install Office 2007  Step 1: Insert the Microsoft Office 2007 Enterprise CD. If the Setup Wizard does not automatically begin, then click Start.
Data Encryption using SSL Topic 5, Chapter 15 Network Programming Kansas State University at Salina.
Jabberd Quick Installation Guide. The jabberd server is the original open-source server implementation of the Jabber protocol, and is the most popular.
Securing the Apache Server and Apache Performance Tuning 1.
Topics Sending an Multipart message Storing images Getting confirmation Session tracking using PHP Graphics Input Validators Cookies.
Chapter 3 & 6 Root Status and users File Ownership Every file has a owner and group –These give read,write, and execute priv’s to the owner, group, and.
1 Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG X Cairo, Egypt May 2009 Hervey Allen.
Unzip the attachment and double click to run it..
LinuxChix Apache. Serving Webpages The layer 7 protocol (HTTP) is what our browsers talk to get us the websites we can't seem to live without. HTTP is.
DHP Agenda: How to Access Web Interface of the DHP-1320 on Access Point Mode How to Access Web Interface of the DHP-1320 on Router Mode How to Change.
Advanced Sendmail Part 1
Authentication Names and Passwords Names and Passwords Also can use Groups Also can use Groups Webmaster can “require” authentication Webmaster can “require”
Web Technology – Web Server Setup : Chris Uriarte Meeting 4: Advanced Topics, Continued: Securing the Apache Server and Apache Performance Tuning Rutgers.
1 Web Server Administration Chapter 8 Providing Services.
Presented by Lonnye Bower Fardin Khan Chris Orona APACHE WEB SERVER.
LINUXCHIX WEBMAIL. Software run by an ISP or online service that provides access to send, receive, and review using only your Web browser. Users.
Building Your Own Website Using:. Install & configure LAMP. Download WordPress and run it as a local website on your Raspberry Pi. Configure WordPress.
Choctaw Nation of Oklahoma WEBMAIL Bobby J. Shults 3/4/2003.
(c) Elizabeth Sterling * Please copy, share and reuse * sparkthing.com What Is Apache? ● A “Patchy” Web Server ● The most common HTTP server on the 'Net.
Authentication & Authorisation Is the user allowed to access the site?
Understanding POP3 / IMAP Created by : Ashish Shah, J. M. Patel College of Commerce 1.
Installation of MySQL Objectives Contents Practical Summary
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess
LINUX ADMINISTRATION 1
Web Server Design Week 11 Old Dominion University
Exchange Configuration on Outlook Express
7 Steps to Set Up AT&T on MS Outlook | Customer Support Number
System & Network Administration (MCSA & RHCSA)
Web Server Design Week 10 Old Dominion University
Web Server Design Week 11 Old Dominion University
On the off chance that your business utilizes Roadrunner as your Internet specialist organization, you will have at least one accounts. While you.
Presentation transcript:

Qmail Installation

Build Qmail tar zxvf qmailrocks.tar.gz tar zxvf qmailrocks.tar.gz Edit and Run : Edit and Run : /test/qmailrocks/scripts/install/qmr_install_linux-s1.script /test/qmailrocks/scripts/install/qmr_install_linux-s1.script Edit and Run : Edit and Run : /test/qmailrocks/scripts/util/qmail_big_patches.script /test/qmailrocks/scripts/util/qmail_big_patches.script cd /usr/src/qmail/qmail-1.03 cd /usr/src/qmail/qmail-1.03 make man && make setup check make man && make setup check./config-fast your_fqdn_hostname (ex:./config-fast mail.mydomain.com)./config-fast your_fqdn_hostname (ex:./config-fast mail.mydomain.com) make cert make cert

Build Qmail Country Name (2 letter code) [GB]:US State or Province Name (full name) [Berkshire]:Georgia Locality Name (eg, city) [Newbury]:Atlanta Organization Name (eg, company) [My Company Ltd]:qmailrocks.org Organizational Unit Name (eg, section) []:mail Common Name (eg, your name or your server's hostname) []:mail.qmailrocks.org Address Country Name (2 letter code) [GB]:US State or Province Name (full name) [Berkshire]:Georgia Locality Name (eg, city) [Newbury]:Atlanta Organization Name (eg, company) [My Company Ltd]:qmailrocks.org Organizational Unit Name (eg, section) []:mail Common Name (eg, your name or your server's hostname) []:mail.qmailrocks.org Address

Build ucspi-tcp chown -R vpopmail:qmail /var/qmail/control/clientcert.pem /var/qmail/control/servercert.pem chown -R vpopmail:qmail /var/qmail/control/clientcert.pem /var/qmail/control/servercert.pem cd /usr/src/qmail/ucspi-tcp-0.88/ cd /usr/src/qmail/ucspi-tcp-0.88/ patch < /downloads/qmailrocks/patches/ucspi-tcp errno.patch patch < /downloads/qmailrocks/patches/ucspi-tcp errno.patch make && make setup check make && make setup check

Build Mdaemontools cd /package/admin/daemontools-0.76 cd /package/admin/daemontools-0.76 cd /package/admin/daemontools-0.76/src cd /package/admin/daemontools-0.76/src patch < /downloads/qmailrocks/patches/daemontools errno.patch patch < /downloads/qmailrocks/patches/daemontools errno.patch cd /package/admin/daemontools-0.76 cd /package/admin/daemontools-0.76 package/install package/install Check Svscanboot

Build Ezmlm cd /downloads/qmailrocks/ cd /downloads/qmailrocks/ tar zxvf ezmlm-0.53-idx-0.41.tar.gz tar zxvf ezmlm-0.53-idx-0.41.tar.gz cd ezmlm-0.53-idx-0.41 cd ezmlm-0.53-idx-0.41 make && make setup make && make setup

Build Autoresponder cd /downloads/qmailrocks cd /downloads/qmailrocks tar zxvf autorespond tar.gz tar zxvf autorespond tar.gz cd autorespond cd autorespond make && make install make && make install

Build Vpopmail cd /downloads/qmailrocks cd /downloads/qmailrocks tar zxvf vpopmail tar.gz tar zxvf vpopmail tar.gz cd vpopmail cd vpopmail /configure --enable-logging=p./configure --enable-logging=p make && make install-strip make && make install-strip

Build Vqadmin cd /downloads/qmailrocks cd /downloads/qmailrocks tar zxvf vqadmin tar.gz tar zxvf vqadmin tar.gz cd vqadmin cd vqadmin /configure --enable-cgibindir=/path/to/your/cgi-bin -- enable-htmldir=/path/to/your/html/directory./configure --enable-cgibindir=/path/to/your/cgi-bin -- enable-htmldir=/path/to/your/html/directory (Example:./configure --enable-cgibindir=/var/www/cgi- bin --enable-htmldir=/var/www/html ) (Example:./configure --enable-cgibindir=/var/www/cgi- bin --enable-htmldir=/var/www/html ) make && make install-strip make && make install-strip

Build Vqadmin Now you will need to add the following to your server's Apache configuration file (usually httpd.conf) deny from all Options ExecCGI AllowOverride AuthConfig Order deny,allow Now you will need to add the following to your server's Apache configuration file (usually httpd.conf) deny from all Options ExecCGI AllowOverride AuthConfig Order deny,allow In addition, within the Apache master config file you will want to set the "AllowOveride" option to "All". Example: AllowOverride All In addition, within the Apache master config file you will want to set the "AllowOveride" option to "All". Example: AllowOverride All

Build Vqadmin cd /path/to/your/cgi-bin/vqadmin cd /path/to/your/cgi-bin/vqadmin vi.htaccess vi.htaccess AuthType Basic AuthUserFile /path/to/where/you/want/to/store/the/password/file/.ht passwd AuthName vQadmin require valid-user satisfy any AuthType Basic AuthUserFile /path/to/where/you/want/to/store/the/password/file/.ht passwd AuthName vQadmin require valid-user satisfy any

Build Vqadmin chown apache.htaccess (you may need to change the chown to either "nobody", "apache" or "www" etc., depending on what user your installation of Apache is running as) chown apache.htaccess (you may need to change the chown to either "nobody", "apache" or "www" etc., depending on what user your installation of Apache is running as) chmod 644.htaccess chmod 644.htaccess htpasswd -bc /path/to/where/you/want/to/store/the/password/file/.ht passwd admin admin_password htpasswd -bc /path/to/where/you/want/to/store/the/password/file/.ht passwd admin admin_password chmod 644 /path/to/where/you/want/to/store/the/password/file/.ht passwd chmod 644 /path/to/where/you/want/to/store/the/password/file/.ht passwd

Build Vqadmin apachectl stop apachectl stop apachectl start apachectl start If all has gone well, you should now be able to browse (in your web browser) to: bin/vqadmin/vqadmin.cgi If all has gone well, you should now be able to browse (in your web browser) to: bin/vqadmin/vqadmin.cgi

Build Maildrop cd /downloads/qmailrocks cd /downloads/qmailrocks tar zxvf maildrop tar.gz tar zxvf maildrop tar.gz cd maildrop cd maildrop /configure --prefix=/usr/local --exec- prefix=/usr/local --enabl drop- uid=root --enabl drop-gid=vchkpw -- enabl dirquota./configure --prefix=/usr/local --exec- prefix=/usr/local --enabl drop- uid=root --enabl drop-gid=vchkpw -- enabl dirquota make && make install-strip && make install-man make && make install-strip && make install-man

Build Qmailadmin cd /downloads/qmailrocks cd /downloads/qmailrocks tar zxvf qmailadmin tar.gz tar zxvf qmailadmin tar.gz cd qmailadmin cd qmailadmin /configure --enable-cgibindir=/path/to/your/cgi-bin -- enable-htmldir=/path/to/your/html/directory./configure --enable-cgibindir=/path/to/your/cgi-bin -- enable-htmldir=/path/to/your/html/directory make && make install-strip make && make install-strip

Finalizing Qmail Edit and Run : Edit and Run : /test/qmailrocks/scripts/finalize/linux/finalize_linux.script /test/qmailrocks/scripts/finalize/linux/finalize_linux.script vi /var/qmail/supervise/qmail-pop3d/run vi /var/qmail/supervise/qmail-pop3d/run Find "mail.example.com" and change it to your server's hostname. For example: mail.mydomain.com Find "mail.example.com" and change it to your server's hostname. For example: mail.mydomain.com vi /var/qmail/supervise/qmail-smtpd/run vi /var/qmail/supervise/qmail-smtpd/run Find "mail.example.com" and change it to your server's hostname. For example: mail.mydomain.com Find "mail.example.com" and change it to your server's hostname. For example: mail.mydomain.com

Finalizing Qmail qmailctl stop qmailctl stop echo '127.:allow,RELAYCLIENT="“' >> /etc/tcp.smtp echo '127.:allow,RELAYCLIENT="“' >> /etc/tcp.smtp qmailctl cdb qmailctl cdb

Finalizing Qmail echo some_address > /var/qmail/alias/.qmail-root echo some_address > /var/qmail/alias/.qmail-root echo some_address > /var/qmail/alias/.qmail- postmaster echo some_address > /var/qmail/alias/.qmail- postmaster echo some_address > /var/qmail/alias/.qmail-mailer- daemon echo some_address > /var/qmail/alias/.qmail-mailer- daemon ln -s /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-anonymous ln -s /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-anonymous chmod 644 /var/qmail/alias/.qmail* chmod 644 /var/qmail/alias/.qmail*

Removing Sendmail rpm -qa | grep sendmail rpm -qa | grep sendmail /etc/rc.d/init.d/sendmail stop (to stop Sendmail) /etc/rc.d/init.d/sendmail stop (to stop Sendmail) rpm -e --nodeps sendmail-x.x.x.x rpm -e --nodeps sendmail-x.x.x.x

Removing PostFix rpm -qa | grep postfix rpm -qa | grep postfix /etc/rc.d/init.d/postfix stop /etc/rc.d/init.d/postfix stop rpm -e --nodeps postfix-x.x-x rpm -e --nodeps postfix-x.x-x ln -s /var/qmail/bin/sendmail /usr/lib/sendmail ln -s /var/qmail/bin/sendmail /usr/lib/sendmail ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

Starting Qmail Run : Run : /test/qmailrocks/scripts/util/qmr_inst_check /test/qmailrocks/scripts/util/qmr_inst_check qmailctl stop qmailctl stop qmailctl start qmailctl start qmailctl stat qmailctl stat

Starting Qmail service/qmail-send: up (pid 29956) 2 seconds /service/qmail-send/log: up (pid 29960) 2 seconds /service/qmail-smtpd: up (pid 29963) 2 seconds /service/qmail-smtpd/log: up (pid 29968) 2 seconds /service/qmail-pop3d: up (pid 29971) 2 seconds /service/qmail-pop3d/log: up (pid 29972) 2 seconds messages in queue: 0 messages in queue but not yet preprocessed: 0 service/qmail-send: up (pid 29956) 2 seconds /service/qmail-send/log: up (pid 29960) 2 seconds /service/qmail-smtpd: up (pid 29963) 2 seconds /service/qmail-smtpd/log: up (pid 29968) 2 seconds /service/qmail-pop3d: up (pid 29971) 2 seconds /service/qmail-pop3d/log: up (pid 29972) 2 seconds messages in queue: 0 messages in queue but not yet preprocessed: 0

Testing Qmail Telnet to localhost 110 Telnet to localhost 110 Trying Connected to Escape character is '^]'. +OK user (enter your username here. remember to use the full address) +OK pass your_password +OK quit +OK Connection closed by foreign host. Trying Connected to Escape character is '^]'. +OK user (enter your username here. remember to use the full address) +OK pass your_password +OK quit +OK Connection closed by foreign host.

Testing Qmail Telnet to localhost 25 Telnet to localhost 25 Trying Connected to localhost. Escape character is '^]'. 220 somewhere.anywhere.com ESMTP ehlo localhost 250-somewhere.anywhere.com 250-AUTH LOGIN CRAM-MD5 PLAIN 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-STARTTLS 250-PIPELINING 250 8BITMIME starttls 220 ready for tls quit quit Connection closed by foreign host. control]# Trying Connected to localhost. Escape character is '^]'. 220 somewhere.anywhere.com ESMTP ehlo localhost 250-somewhere.anywhere.com 250-AUTH LOGIN CRAM-MD5 PLAIN 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-STARTTLS 250-PIPELINING 250 8BITMIME starttls 220 ready for tls quit quit Connection closed by foreign host. control]#

Testing Qmail Testing on Microsoft Outlook Testing on Microsoft Outlook

FINISH > Continue to webmail configuration Continue to webmail configuration <