Skip to main content

Posts

Showing posts from 2011

Linux User creation

How to add a user in Linux ? useradd is the command to adduser in Linux useradd is having following option: (1) useradd -d "/home/user1" --> user home directory -c " THIS IS  a test user" ---> Comment about the user -s "/bin/bash"   --->Shell for the user other option are /bin/csh,/sbin/nologin -g "Group name"-->Group name for user User name #useradd -d /home/dir -c "this is a admin user " -s /bin/bash -G staff user1

sendmail complete cofiguration with pop3 and squirrelmail

Sendmail Introduction Sendmail implements a general purpose internetwork mail routing facility. This document explain how to install sendmail and run an email server which will send and receive mail using the SMTP protocol. An IMAP or POP3 server is required to retrieve mail using Eudora or MS Outlook. Sendmail does not offer POP3 or IMAP services. Installation Prerequisites You should have a basic knowledge of UNIX and DNS. The server should allow incoming connections to the SMTP service which will be listening on TCP port 25. The server should have a fully qualified hostname (FQDN) such as mail.example.net. The hostname should resolve to an A record. It should not be a CNAME. The MX record for the domain for which you wish to receive mail should point to the hostname of your server. There should a PTR record for the IP address of your server. Mail from your server may be rejected if there is no reverse DNS. Installing sendmail Download the sendmail