Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

23.2. Configure to tweak

Note: All the configuration files required for each software described in this book has been provided by us as a gzipped file, floppy.tgz for your convenience. This can be downloaded from this web address: https://www.openna.com/books/floppy.tgz You can unpack this to any location on your local machine, say for example /tmp, assuming you have done this your directory structure will be /tmp/floppy. Within this floppy directory each configuration file has its own directory for respective software. For example IMAP/POP configuration file are organised like this:

total 8
-rwx------    1 harrypotter    harrypotter         685 Jun  8 13:00 imap.sh*
drwxr-xr-x    2 harrypotter    harrypotter        4096 Jun  8 13:00 pam.d/
             
You can either cut and paste this directly if you are faithfully following our instructions from the begining or manually edit these to modify to your needs. This facility is there though as a convenience but please don't forget ultimately it will be your responsibility to check, verify, etc. before you use them whether modified or as it is.

To run the IMAP/POP server, the following files are required and must be created or copied to the appropriate directories on your server.

  • Copy the imap file to the /etc/pam.d/ directory if you intend to use imapd service.

  • Copy the pop file to the /etc/pam.d/ directory if you intend to use popd service.

Tip: You can obtain the configuration files listed below on our floppy.tgz archive. Copy the following files from the decompressed floppy.tgz archive to the appropriate places or copy and paste them directly from this book to the concerned file.

23.2.1. The /etc/pam.d/imap file

Configure your /etc/pam.d/imap file to use pam authentication, create the imap file touch /etc/pam.d/imap and add:
         #%PAM-1.0
         auth       	required     /lib/security/pam_pwdb.so shadow nullok
         account    	required     /lib/security/pam_pwdb.so
         

Note: This file is only required if you intend to use IMAP services.

23.2.1.1. The /etc/pam.d/pop file

Configure your /etc/pam.d/pop file to use pam authentication, create the pop file touch /etc/pam.d/pop and add:
         #%PAM-1.0
         auth       		required     /lib/security/pam_pwdb.so shadow nullok
         account    		required     /lib/security/pam_pwdb.so
         

Note: This file is only required if you intend to use POP services.

 
 
  Published under the terms of the Open Publication License Design by Interspire