Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to configure mutt to send emails on Linux.?


    Hello,

    I am trying to use mutt in order to send emails. I have installed mutt using yum and pasted some details about it later in

    the post.

    When I try to run:



    echo test | mutt -s "Test Email" emailid

    "emailid" (is an example email id)

    It doesn't do anything. I dont receive any emails. I have the SMTP details for the mail server however i am not sure how

    can i configure mutt to utilize these details. After i searched I found about "muttrc" file however I can't see any such

    file on the server currently.

    Could you please help me on how to setup mutt and how can I make it work for my emails?





    [oracle host-name ~]$ mutt -v

    Mutt 1.5.21 (2010-09-15)

    Copyright (C) 1996-2009 Michael R. Elkins and others.

    Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.

    Mutt is free software, and you are welcome to redistribute it

    under certain conditions; type `mutt -vv' for details.

    System: Linux 3.8.13-118.10.2.el7uek.x86_64 (x86_64)

    ncurses: ncurses 5.9.20130511 (compiled with 5.9)

    libidn: 1.28 (compiled with 1.2

    hcache backend: tokyocabinet 1.4.48

    Compile options:

    -DOMAIN

    -DEBUG

    -HOMESPOOL -USE_SETGID -USE_DOTLOCK -DL_STANDALONE +USE_FCNTL -USE_FLOCK

    +USE_POP +USE_IMAP +USE_SMTP

    -USE_SSL_OPENSSL +USE_SSL_GNUTLS +USE_SASL +USE_GSS +HAVE_GETADDRINFO

    +HAVE_REGCOMP -USE_GNU_REGEX

    +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET

    +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM

    +CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME +CRYPT_BACKEND_GPGME

    -EXACT_ADDRESS -SUN_ATTACHMENT

    +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR

    +HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE

    ISPELL="/usr/bin/hunspell"

    SENDMAIL="/usr/sbin/sendmail"

    MAILPATH="/var/mail"

    PKGDATADIR="/usr/share/mutt"

    SYSCONFDIR="/etc"

    EXECSHELL="/bin/sh"

    -MIXMASTER







    Thanks for you time and patience!

    Vaibhav

  2. #2
    Just Joined!
    Join Date
    Nov 2016
    Location
    <5mi from Red Hat HQ
    Posts
    10
    -->
    Does anything show up in /var/log/maillog when you try to send a message?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •