Results 1 to 2 of 2

Thread: problem with mail in terminal

Threaded View

  1. #1
    Join Date
    Jun 2012
    Beans
    18

    [SOLVED] problem with mail in terminal

    Hi
    I read about mail in linux and I installed mailutils to send mail in command lines.
    at first when I pressed ctrl+D to end the mail body, mail text ended. but the problem was that it didn't send mails at all. now moreover than that problem, even ctrl+D also does not work and after ctrl+D, I must use ctrl+C to end the mail. I dont know exactly what mistake I did during this time that now my ctrl+D does not work.
    hence 2 questions:
    1- when I want to send email is mailutils enough or I have to install any other service or do I need something like ssmtp?
    2- why ctrl+D does not work but at first it was working? on a virtualbox it works but i dont want to reinstall my ubuntu. is there any program locking my ctrl+D or stopping me after pressing ctrl+D? if there is a program that I should uninstall? how can I recognize it?

    thanks so much

    my terminal:
    Code:
    aran@arvb:~$ df -h | mail -s "disk space report" mymail@gmail.com
    the body of email
    ggghhhjkkk.
    ^D^D^D^D^D^D^D^D [^D does not work]
    ^C
    aran@arvb:~$
    in mail log the common error is:
    Code:
     stat=Deferred: Connection timed out with alt4.gmail-smtp-in.l.google.com.
    Last edited by mijonuha; July 15th, 2012 at 03:52 AM.

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
  •