Sendmail Configuration

download Sendmail Configuration

of 41

Transcript of Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    1/41

  • 8/14/2019 Sendmail Configuration

    2/41

    Open the Virtusertable file,for mapping user virtual

    domain addresses.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    3/41

  • 8/14/2019 Sendmail Configuration

    4/41

    Open a local-host-file.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    5/41

    The local-host-file is formultiple hosts using the

    same mail server. Enter thedomain name as given

    above.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    6/41

    Service for the

    sendmail is

    restarted

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    7/41

    Inorder to determine if

    send mail is identifying

    your station hostnamecorrectly, use sendmail

    -d0.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    8/41

    The ipop3 protocol enables

    to receive the messages

    from mail server. Open the

    pop3 file .

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    9/41

    Disable = yes, the pop3

    service is disabled then themails cannot be received.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    10/41

    To Enable the ipop3 Disable is

    changed to no.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    11/41

    The xinetdservice is

    restarted.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    12/41

    The root user send a mail to the

    user joe using mail command.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    13/41

    The mail sent by the rootis received by the user

    joe as shown above.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    14/41

    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

  • 8/14/2019 Sendmail Configuration

    15/41

    Running evolution inthe background.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    16/41

    The evolution

    welcome wizard get

    opened and click

    forward to continue.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    17/41

    Enter the user name and email

    address and click forward tocontinue .

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    18/41

    The pop option is chosen to

    receive mails from the mail

    server and click forward.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    19/41

    Specify the server

    hostname and the

    username .

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    20/41

    The time given as 10 will

    update the mail in every 10

    seconds .

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    21/41

    Select the SMTP protocol to

    transfer the mail to the mail serverand specify a server address.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    22/41

    A name is given to

    represent the mail

    account.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    23/41

    Location is specified in the

    timezone setting for the

    sendmail configuration .

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    24/41

    Evolution process is done by

    entering the information

    needed.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    25/41

    Tom the user sends a

    mail by selecting New

    button .

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    26/41

    The user tom sends the

    mail to the user root as

    shown above .

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    27/41

    The root user view the

    mail received from the

    user tom using the

    command mail.

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    28/41

    Sendmail Configuration

    The user root sends the

    mail to the user tom as

    shown above. .

  • 8/14/2019 Sendmail Configuration

    29/41

    The tom views the mailreceived from the use root as

    shown above .

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    30/41

    dig command shows ip address

    of the specified fully-qualified

    domain name .

    Sendmail Configuration

  • 8/14/2019 Sendmail Configuration

    31/41

    Sendmail Configuration

    The access file is opened to set

    the restriction for accessing the

    sendmail server .

  • 8/14/2019 Sendmail Configuration

    32/41

  • 8/14/2019 Sendmail Configuration

    33/41

    Internet mail Access Protocol

    It allows a remote server to hold mail for userwho can then login into access their mail.

    Unlike the POP servers, IMAP servers retainuser mail messages.

    User can even save their mails on the IMAPmail server.

    IMAP also supports the use of shared folder towhich several user can access mail on giventopic.

    Certificates for IMAP

  • 8/14/2019 Sendmail Configuration

    34/41

    Certificates for imap

    To create the imap certificate

    first remove the fileimapd.pem.

  • 8/14/2019 Sendmail Configuration

    35/41

    The imap certificate can

    created using the command

    make imapd.pem.

    Certificates for imap

  • 8/14/2019 Sendmail Configuration

    36/41

    While creating imap certificate it

    will prompts for following, just

    enter the corresponding details.

    Certificates for imap

  • 8/14/2019 Sendmail Configuration

    37/41

    The imaps protocol enables

    to receive and save the mails

    from mail server. Open the

    imaps3 file.

    Certificates for imap

  • 8/14/2019 Sendmail Configuration

    38/41

    Setting disable=no will

    enables imaps services.

    Certificates for imap

  • 8/14/2019 Sendmail Configuration

    39/41

    The xinetdservice is

    restarted.

    Certificates for imap

    ifi f i

  • 8/14/2019 Sendmail Configuration

    40/41

    The issued certificate

    information cab be viewed

    using the command mutt.

    Certificates for imap

    C ifi f i

  • 8/14/2019 Sendmail Configuration

    41/41

    Here you can see the

    certificate information's.

    Certificates for imap