Sunteți pe pagina 1din 41

Sendmail Configuration

M4 is a macro language that can


help to configure the sendmail.cf
file, using sendmail.mc
Sendmail Configuration

Open the Virtusertable file,


for mapping user virtual
domain addresses.
Sendmail Configuration

The virutusertable configuration


helps to define the domain name
along with fully qualified
domain name.
Sendmail Configuration

Open a local-
host-file.
Sendmail Configuration

The local-host-file is for


multiple hosts using the
same mail server. Enter the
domain name as given
above.
Sendmail Configuration

Service for the


sendmail is
restarted
Sendmail Configuration

Inorder to determine if
send mail is identifying
your station hostname
correctly, use sendmail
-d0.
Sendmail Configuration

The ipop3 protocol enables


to receive the messages
from mail server. Open the
pop3 file .
Sendmail Configuration

Disable = yes, the pop3


service is disabled then the
mails cannot be received.
Sendmail Configuration

To Enable the ipop3 Disable is


changed to no.
Sendmail Configuration

The xinetd
service is
restarted.
Sendmail Configuration

The root user send a mail to the


user joe using mail command.
Sendmail Configuration

The mail sent by the root


is received by the user
joe as shown above.
Sendmail Configuration
• Evolution:
• Evolution is the primary mail client for
redhat.

• It is the powerful tool with supports


numerous protocol (smtp, pop and imap)

• It includes calendar, address book ,


multiple mail accounts and encryption.

• It is supported by both gnome and kde


Sendmail Configuration

Running evolution in
the background.
Sendmail Configuration

The evolution
welcome wizard get
opened and click
forward to continue.
Sendmail Configuration

Enter the user name and email


address and click forward to
continue .
Sendmail Configuration

The pop option is chosen to


receive mails from the mail
server and click forward.
Sendmail Configuration

Specify the server


hostname and the
username .
Sendmail Configuration

The time given as 10 will


update the mail in every 10
seconds .
Sendmail Configuration

Select the SMTP protocol to


transfer the mail to the mail server
and specify a server address.
Sendmail Configuration

A name is given to
represent the mail
account.
Sendmail Configuration

Location is specified in the


timezone setting for the
sendmail configuration .
Sendmail Configuration
Evolution process is done by
entering the information
needed.
Sendmail Configuration

Tom the user sends a


mail by selecting New
button .
Sendmail Configuration

The user tom sends the


mail to the user root as
shown above .
Sendmail Configuration

The root user view the


mail received from the
user tom using the
command mail.
Sendmail Configuration

The user root sends the


mail to the user tom as
shown above. .
Sendmail Configuration

The tom views the mail


received from the use root as
shown above .
Sendmail Configuration

dig command shows ip address


of the specified fully-qualified
domain name .
Sendmail Configuration

The access file is opened to set


the restriction for accessing the
sendmail server .
Sendmail Configuration

Except the example.com all


others are restricted to access .
Certificates for IMAP
• Internet mail Access Protocol

– It allows a remote server to hold mail for user


who can then login into access their mail.

– Unlike the POP servers, IMAP servers retain


user mail messages.

– User can even save their mails on the IMAP


mail server.

– IMAP also supports the use of shared folder to


which several user can access mail on given
topic.
Certificates for imap

To create the imap certificate


first remove the file
imapd.pem.
Certificates for imap

The imap certificate can


created using the command
make imapd.pem.
Certificates for imap

While creating imap certificate it


will prompts for following, just
enter the corresponding details.
Certificates for imap

The imaps protocol enables


to receive and save the mails
from mail server. Open the
imaps3 file.
Certificates for imap

Setting disable=no will


enables imaps services.
Certificates for imap

The xinetd
service is
restarted.
Certificates for imap

The issued certificate


information cab be viewed
using the command mutt.
Certificates for imap

Here you can see the


certific
ate information's.

S-ar putea să vă placă și