OpenSUSE :: Mutt And Gmail Smtp Relay / Using Mutt From Command Line Getting Error?

Feb 2, 2011

I have installed and configured mutt with gmail with no issues, following this documentation.Mutt with Gmail/IMAP [CrunchBang Linux Wiki]

I can send emails from mutt, but now I need to send email using scripts.If I try to use mutt from cmd line I have the following error.

trst:~ # echo "TESTING MUTT AND GMAIL SMTP RELAY" | mutt -s "url"

SSL connection using TLSv1/SSLv3 (RC4-MD5)
Interactive SMTP authentication not supported
Could not send the message.

The OS version: OPEN SUSE 11.3 Server installation (NO-GUI)

View 3 Replies


CentOS 5 :: How To Configure Mutt For SMTP (Gmail) Account

Dec 29, 2010

# uname -a
Linux newserver 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:40 EST 2010 i686 i686 i386 GNU/Linux

The configuration file for mutt (.muttrc ) :
root@newserver ~]# cat .muttrc
set from = ""
set realname = "Kostas xxxxx"
set imap_user = ""
set imap_pass = "xxxxxxxxxx"
set folder = "imaps://"
set spoolfile = "+INBOX"
set postponed ="+[Gmail]/Drafts"
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates
set smtp_url = "smtp://"
set smtp_pass = "xxxxxxxxxx"
set move = no
set imap_keepalive = 900

root@newserver ~]# service sendmail status
sendmail (pid 6428) is running...
root@newserver ~]# mutt
Error in /root/.muttrc, line 8: header_cache: unknown variable
Error in /root/.muttrc, line 9: message_cachedir: unknown variable
Error in /root/.muttrc, line 11: smtp_url: unknown variable
Error in /root/.muttrc, line 12: smtp_pass: unknown variable
source: errors in /root/.muttrc
Press any key to continue...

Mutt can only read email's from my gmail account, but no emails can be send through gmail to the Internet. I need some guide for Mutt , don't know how to configure it , for sending emails via my gmail account. I tried many muttrc conf files from the Internet and even tried to configure my own muttrc file , but still no luck. My windows xp box ( Outlook Express ) is configured and works with gmail account , but I would like to explore the power of Linux.

View 3 Replies View Related

Debian :: Gmail And Mutt Smtp / "No Authenticators Available" Getting Error?

Jun 25, 2011

I am trying to set up Mutt to use my Gmail account. I've followed this tutorial, and I've been able to use IMAP to download and view my messages, however, when I try to send a message I get a error message, "No authenticators available". I've tried using 587 and 465 for the smtp port. 465 results in Mutt freezing and only being closed with kill. Does anyone have any idea? Anyone currently using Mutt with Gmail without the issue's I'm experiencing?

Here is my .muttrc:

set from = ""
set realname = "David"
set imap_user = ""
set imap_pass = "mypassword"
set folder = "imaps://"

View 10 Replies View Related

OpenSUSE :: Mutt On 10.3 Without SMTP Support?

Jun 2, 2009

mutt-1.5.16-36 on opensuse 10.3 lacks SMTP support as shown in mutt -v ("-USE_SMTP"). Does anyone know which version of mutt would have it for opensuse 10.3 and where can I download it from? I don't want to compile from source or use an external program.

View 3 Replies View Related

OpenSUSE Network :: Use Gmail Smtp Relay / Send Emails Form Server Using Gmail Account?

Oct 28, 2010

I would like to send emails form my server using my gmail account.Does anybody know how to do it?

OS = OPENSUSE 11.3 server installation - NO GUI....

View 9 Replies View Related

Applications :: Automatic Gmail Labels Creation (mutt + Fetchmail + Procmail)?

Jan 9, 2011

when a new email arrives on my gmail account, i want to be labelled (=tagged), letting an external bash script read the message and choose the right label.

from: ebay
to: me

dear matteo, congratulations! BILL_GATES has just bought one of your items! regards, mr. ebay i can easily write a script to calculate the right label (BILL_GATES) but how can i create it (if not already existing) and apply it to the processed message?

it took me 2 minutes to find a guide on how to configure mutt to view my gmail account, but i can't go any further... mutt has a kind of patch or extension to manage labels (view, edit, apply, etc), but i can't figure out how i could make it an automatic procedure... fetchmail + procmail seems to be the best solution, but (before spending a night with any effort)

View 1 Replies View Related

Software :: Configuration Files For: MUTT + GMAIL + MSMTP + IMAP + FETCHMAIL + SENDMAIL?

May 29, 2010

I found this page to have the configuration of : but I have to adapt and get always errors. [URL] What are the minimum configurations so that one can do : echo test | mutt me and it sends it via msmtp and mutt one can read his emails using hte imap enabled on the account?

View 1 Replies View Related

General :: Configure Mutt Mail Client For Mail Server Other That Gmail?

Jan 9, 2011

I am trying to configure mutt to send email via command line . It works fine when I configure it for gmail as follows:Quote:

set copy=yes
set smtp_url = "smtp://"


View 14 Replies View Related

Server :: Postfix Not Relay Mail Via Gmail Account SMTP

Feb 11, 2011

I'm trying to set up my postfix server to relay mail (via a php cms) using Gmail's smtp on my account, but for some reason, Gmail returns an error code that StartTLS must be sent first, my postfix main.cnf file can be found at pastebin, because of this forum's text length I cannot paste my postfix main.cnf file as can be seen I have everything set and configured for Gmail, but postfix (for some unseen reason) can not send StartTLS. [URL].

View 4 Replies View Related

OpenSUSE Network :: Specifying Smtp Relay On Commandline Of Mail Command?

Aug 9, 2011

On my opensuse 11.4 box (although I assume the version is irrelevant), I'm trying to figure out how to do something with the mail command. We have multiple smtp relay servers and sometimes I have to test to verify that mail is bouncing off of them successfully. On my laptop, in my file for postfix, I've got the relay server listed. But to test multiple servers, I have to change the, restart postfix, send message, and then repeat for each test.

I'm trying to figure out a way to specify the smtp relay on the command line. I've been playing with the -S option which is supposed to allow variables and one of the variables in the man page is 'smtp'. I've tried several different syntaxes but nothing seems to work.

The closest I've come is:
mail -S smtp -s "test" <

That syntax doesn't give me an error but it still routes the message off the smtp server listed in which is not

View 3 Replies View Related

Ubuntu :: Gmail Relay And Post Fix / Send Emails With Postfix And Gmail As The Mail Relay?

Apr 29, 2011

My issue is that i'm trying to send emails with postfix and gmail as the mail relay,i'm trying to send emails to my self by sendmail -bv

In the logs, i can understand that it been delivered to the destination,
taken from: /var/log/mail.log:
Apr 30 00:05:23 moni postfix/pickup[10490]: 9C7552170C: uid=0 from=<root>
Apr 30 00:05:23 moni postfix/cleanup[10495]: 9C7552170C: message-id=<20110429210523.9C7552170C@moni.localdomain>
Apr 30 00:05:23 moni postfix/qmgr[10491]: 9C7552170C: from=<root@moni.localdomain>, size=283, nrcpt=1 (queue active)

When login in my gmail account i can't see nothing under the sent / inbox / spam folder.

it's seems like the mail are been sent.. but nothing is happening.

View 1 Replies View Related

Ubuntu :: Mutt Not Handling Mailto: URLs / Getting Error?

Dec 10, 2010

Ubuntu Lucid amd64, mutt-1.5.20-7ubuntu1

I'm pretty sure the following used to work:

$ mutt mailto:url?subject="Whoop dee doo"
Now mutt exits silently with status=1. Tried setting EDITOR/VISUAL, no difference.

Edit: I had tempdir pointed at a non-existent directory in my .muttrc. Still annoying that there was no error message, but at least things are working again.

View 1 Replies View Related

Ubuntu :: Does MUTT Support SSL Or TLS

Mar 7, 2010

I am trying to find a good text based email client for an older machine, which will not run the GUI correctly due to min. hardware; however, I want to be able to use it with Text based email clients.Can anyone recommend a good text based email client that supports TLS/SSL for securied connections for IMAP, or even POP3?Does MUTT support SSL/TLS?

View 2 Replies View Related

General :: Using Dropbox With Mutt

Oct 28, 2010

Have you used dropbox to sync your mail dirs? Was it a disaster? ... ? I have been using dropbox to sync across three ubuntu machines (two with 9.04, one with 10.04) and a windows vista machine, for about six months. I've seen a couple of oddities but am basically very happy with it. I pay for their 50GB store.

For email I use mutt and download (fetchmail) separately onto two of the ubuntu machines, outside the dropbox folders. It's a bit irritating maintaining two different mail dirs, but it does make for more security. I'm now thinking about putting the mail dirs into the dropbox folder. But if something then goes wrong with the syncing, it will be serious.

View 2 Replies View Related

General :: Cannot Send Email Via Mutt?

Mar 24, 2010

I use CentOS 5.3 and I am trying to send a simple email through mutt.My command is:echo "test" | mutt -s "test email" myemail addressI have no errors displayed but the email never goes out of the machine. Also the /var/log/maillog is empty.I can see the queued email with:sendmail -bpSo emails never go out.This PC is connected to a network which the gateway is another Linux machine which is configured to be the default gateway in my /etc/resolv.conf as nameserver.

View 2 Replies View Related

Security :: Getting Rid Of Certificate Requirement In MUTT

Apr 7, 2010

When running MUTT on a RHEL 5.4 box, I get the message:
Server certificate has expired

This certificate belongs to:



I choose "accept always", but the same message appears next time. I do not wish to have a certificate requirement for MUTT and did not intentionally set the program up to include this feature. How can I get rid of it? My second choice would be to get a new certificate, but then I have to go through this every year. I have MUTT working on two other servers and this does not happen.

View 3 Replies View Related

Server :: Can't Sen Mail Over LAN From Mutt To Postfix

Jun 4, 2011

I'm trying to get my network set up. There is an internal network separated, by a dedicated firewall, from the DMZ. I'm trying to send mail from the internal network, using mutt, to the postfix server on the DMZ.No firewall is set up yet on the dedicated firewall(the whole network is, at the moment, protected by the border router) Mutt was installed with the smtp, pop,imap,ssl,sasl,gdbm options.

I thought the fact that it was compiled with the SMTP flag set would enable me to either send mail without an MTA on the same machine that mutt is installed on(internal network host) Or that i could just specify the path to the sendmail binary and not have to start postfix as a daemon ?I've found out that sendmail is supposed to be a postfix command. So i added:


to /Users/me/.mutt/muttrc

But now when i start mutt i get an error saying:


/usr/sbin/sendmail: Unknown command

Obviously i started postfix before firing up mutt The permissions say that i should be able to execute sendmail as a normal user.But mutt isn't dealing with it, even though permissions appear to be correct.What do i need to do to get mail, from a normal user, over my LAN working(with mutt and postfix)?Once i have this working then i can get a proper domain name and configure postfix on the DMZ for SASL+TLS etc etcBTW i can send mail to postfix from internal network using


telnet serverhost 25

View 3 Replies View Related

Server :: Change Email From Name When Used By 'mutt'?

Mar 24, 2010

I am currently using a shell script to run a java app which performs some integration logic. The shell then continues to compile a file with all stats resulting from the java app. I then send this compiled stats file to several emails. The email is from 'root'. Is there anyway to change this without having to create a new user and running this app as them instead.

View 5 Replies View Related

Debian :: Can Mutt Read Icedove Profile?

Aug 29, 2015

I have been using icedove for quite sometime. Now I feel I need to also use the flexibility that mutt allows. In such a case, is there a way that mutt can read icedove mails, maybe via some plugin or other. I do not want to do the import icedove mails to mutt as there would be duplication of metadata and space.

View 1 Replies View Related

General :: Mutt Nested Mailboxes Navigation Possible?

Feb 18, 2010

I receive a lot of emails daily, and with the ever-growing amount of maildirs I'm in need to structure/optimize the browsing in mutt. My maildirs follow this naming scheme: .domain.category.sub_category

My goal is to break domain, category and sub_category into nested levels when browsing through the mailboxes. This is sort of achieved through the use of imap. But I stumble upon a few snags, so my questions are:

Is this nested mailboxes view possible by directly accessing ~/Mail and not using IMAP?
E.g. set folder="~/Mail" and set spoolfile="~/Mail/.INBOX"
When I start mutt I'm presented with all mailboxes available, which is what I want to get away from. I want to get directed directly into my default/main inbox like I do when accessing ~/Mail directly. How?

When hitting c (a defined macro, see configuration below) I again get presented with all the mailboxes available, and not the mailboxes at the current browsing level, e.g. mailboxes containing a specific category. To get this view I need to hit c+TAB. I've solved this by adding a <tab> to the c macro's. When finally getting mutt to present me mailboxes in nested levels they are only enumerated and not annotated with N, indicating new mail, or even better, total number of new mails in or under a folder. I know it's possible to define format on the different views, but is there one for this view? If so, which?

My mutt configuration:
set autoedit
set edit_headers
set reverse_name
set from='blapp'
set realname='Blapp'
set use_from .....

# Automatic viewing of html mail, but always prefer text/plain
set implicit_autoview
alternative_order text/plain text/html

View 1 Replies View Related

General :: Let MUTT Create 10 TXT Files Of The Last Emails?

Mar 7, 2010

I am coding some scripts for sending via irda to my PDA with another irda that has a triggering on the remote control. OK. What I would need is as follows. With MUTT, I configured it so that I can read my emails with the IMAP and gmail. It is cool. It is working with the last

mutt --version
mutt: invalid option -- '-'
Mutt 1.5.20 (2009-06-14)

which is annoying with "--" but ok, it works. I would like that a script export the last 10 emails to 10 x TXT files with in it:


View 1 Replies View Related

Software :: Setting Up A Digital Certificate In Mutt?

Apr 3, 2010

I have a certificate froma CA that I want to use with Mutt. I have been using this certificate to sign emails in thunderbird and I don't want to send emails from mutt without it. I looked on Mutts website, but I wasn't able to make heads or tails of it. I found something on Google about gpgp certificates and wanted to know if that would be the same type of instructions.

View 2 Replies View Related

Software :: Mutt Mail Client Replacement?

Feb 20, 2011

I am looking for a mutt like mail client that completely be command line simple an low memory usage because some body told me it has bug, in this [URL](if you have different answer write it in that post please) would any body tell me a good known with simple configuration for sending mail with smtp configuration.

View 2 Replies View Related

Software :: Mutt Sasl Authentication Failed?

Oct 15, 2010

I'm trying to set up mutt for my hushmail account. I've compiled my own mutt package:

System: Linux (x86_64)
ncurses: ncurses 5.7.20081102 (compiled with 5.7)


View 3 Replies View Related

Ubuntu :: Accessing Lavabit's IMAP Folder With Mutt?

Jul 2, 2010

I'm having some issues accessing any folders besides INBOX on the lavabit IMAP server using mutt. I'm not sure if it's something I'm doing wrong specifically or if lavabit just has some funky folder setup and I don't know how to use it.Here's the server setup:[URL]though I don't think that'll do much good for my issue (more specifically: I can log in, send messages and read my inbox, but not use other folders).Here's my .muttrc:

set realname= '<REAL NAME>'


View 1 Replies View Related

Ubuntu :: Using Mutt And Lynx To View Html Stuff ?

Aug 14, 2010

I have a slight problem with using Mutt and Lynx to view html stuff that people send.

The problem is that mutt now seems to think almost everything is html!

So receiving mail from, say a gmail user, will give me a lynx dump, rather than just displaying the plain text.

My muttrc is:

And my .mailcap file is:

View 3 Replies View Related

General :: Mutt Mail Client Segmentation Fault?

Feb 20, 2011

I have a post on [URL].. with "how to configure mutt mail client for mail server other that gmail" subject and it has no good result and at the end the person who answered me said it may be a mutt bug that I had to report it ,but I thing mutt is old enough to not to has this such a big bug. My problem is when I configure mutt with gmail it works fine but when I configure it with mine it returne segmentation fault error.and don not want to use other mail client in place of mutt. why mutt mail client get such this error with my configuration?

View 3 Replies View Related

Software :: Accessing IMAP Folders Using Mutt With Lavabit?

Jul 1, 2010

I'm having some issues accessing any folders besides INBOX on the lavabit IMAP server using mutt. I'm not sure if it's something I'm doing wrong specifically or if lavabit just has some funky folder setup and I don't know how to use it. here's the basic server info, though I don't think that'll do much good for my issue (more specifically: I can log in, send messages and read my inbox, but not use other folders).

Here's my .muttrc:

set realname= '<REAL NAME>'
set from= <USER>
set imap_user= [user]


View 1 Replies View Related

Software :: Insert An Image Inline With Mutt By Using Attach?

Jan 23, 2011

I can insert an image inline with mutt by using attach, then using ctl+d to make the image appear inline. However, it appears below my signature. If anyone knows of a way to make the image appear above the signature, I'd be grateful for their input. (This is with mutt 1.5.21--usually sent from a Fedora 14 machine, but I haven't found the behavior to change with the platform.)

Unfortunately, it's necessary to do this at work, for a particular daily email. The workaround is to use Thunderbird for this particular email, but I'd much prefer to use mutt.

View 5 Replies View Related

Software :: Mutt : Unable To Attach File?

Nov 15, 2010

I'm trying to use mutt to send all faxes that we do receive in a folder on an email address.

mutt -a fax.tiff -s "test 1 mutt" < MessageBody
I always get the following error:


View 2 Replies View Related

Copyrights 2005-15, All rights reserved