Results 1 to 3 of 3

Thread: Receive email on Linux system

  1. #1
    Join Date
    Sep 2010
    Posts
    66

    Receive email on Linux system

    Linux servers are able to send emails to their directors to inform them of the good or bad operating system (result of a Crontab and logwatch...). By default, this feature is not enabled, here's how to implement it. To enable the sending of email system, simply edit the file / etc / aliases and to enter your email address at the end, like this:
    # Person Who should get root's mail
    root: [email protected]

  2. #2
    Join Date
    Sep 2010
    Posts
    66

    Re: Receive email on Linux system

    Then run this command, to take account of changes (it recreated the file / etc / aliases.db):
    newaliases
    System messages will now be redirected to your email account. Be careful though, so that they are properly dispatched, you need a mail server on your machine. I advise you to sendmail, which works very well with the basic configuration.

  3. #3
    Join Date
    Sep 2010
    Posts
    66

    Re: Receive email on Linux system

    Run the following command to install it on a distribution based on Debian:
    apt-get install sendmail
    update-rc.d sendmail defaults
    / Etc / init.d / sendmail start
    Or these for distribution based on RPM:
    yum install sendmail
    chkconfig sendmail one
    / Etc / init.d / sendmail start
    You can then check that emails go well with a command like this:
    echo-e "To: [email protected] \ nSubject: Test \ nTest \ n" | sendmail-bm-t-v
    The file that centralizes all the errors on sending emails is / var / log / maillog. It will consult in case of problems. Otherwise, remember to configure an email filter system for storing email in a special folder. The frequency of transmission of the latter is sometimes important, especially if your server has problems.

Similar Threads

  1. Windows live mail couldn't send email but can receive email
    By danielyen in forum Windows Software
    Replies: 1
    Last Post: 15-07-2010, 12:17 AM
  2. Cannot receive any email via outlook
    By Demi in forum Technology & Internet
    Replies: 6
    Last Post: 14-04-2009, 03:41 PM
  3. Microsoft Outlook can receive email but can not send email
    By jeffcoo in forum Technology & Internet
    Replies: 4
    Last Post: 17-02-2009, 08:42 PM
  4. I can receive email, but I can't send it!
    By Czack in forum Windows Vista Mail
    Replies: 3
    Last Post: 11-04-2008, 09:59 AM
  5. Can not send or receive email
    By CaspaR in forum Windows Vista Mail
    Replies: 4
    Last Post: 16-05-2007, 05:40 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,524,394.50330 seconds with 16 queries