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
ADVERTISEMENT
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 = "kostas123@gmail.com"
set realname = "Kostas xxxxx"
set imap_user = "kostas123@gmail.com"
set imap_pass = "xxxxxxxxxx"
set folder = "imaps://imap.gmail.com:993"
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://kostas123@smtp.gmail.com:587/"
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
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 = "dagoss@gmail.com"
set realname = "David"
set imap_user = "dagoss@gmail.com"
set imap_pass = "mypassword"
set folder = "imaps://imap.gmail.com:993"
code....
View 10 Replies
View Related
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
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
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.
i.e.:
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
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
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:
# SENDING MAIL
set copy=yes
set smtp_url = "smtp://mymail@smtp.gmail.com:587/"
[code]...
View 14 Replies
View Related
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
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 main.cf file for postfix, I've got the relay server listed. But to test multiple servers, I have to change the main.cf, 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 10.1.0.63 -s "test" user@email.com < main.cf
That syntax doesn't give me an error but it still routes the message off the smtp server listed in main.cf which is not 10.1.0.63.
View 3 Replies
View Related
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 user@gmail.com
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)
code....
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
Dec 10, 2010
Ubuntu Lucid amd64, mutt-1.5.20-7ubuntu1
I'm pretty sure the following used to work:
Code:
$ 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
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
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
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
Apr 7, 2010
When running MUTT on a RHEL 5.4 box, I get the message:
------------------------------------------------------
Server certificate has expired
This certificate belongs to:
localhost.localdomain
Unknown
SomeOrganization
SomeOrganizationalUnit
[URL]
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
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:
Code:
sendmail="/usr/sbin/sendmail"
to /Users/me/.mutt/muttrc
But now when i start mutt i get an error saying:
Code:
/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
Code:
telnet serverhost 25
etc
View 3 Replies
View Related
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
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
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
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
Code:
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:
[Code]....
View 1 Replies
View Related
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
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
Oct 15, 2010
I'm trying to set up mutt for my hushmail account. I've compiled my own mutt package:
Code:
System: Linux 2.6.35.7 (x86_64)
ncurses: ncurses 5.7.20081102 (compiled with 5.7)
[code]....
View 3 Replies
View Related
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:
Code:
#####.muttrc#####
set realname= '<REAL NAME>'
[code]....
View 1 Replies
View Related
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
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
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:
Code:
#####.muttrc#####
set realname= '<REAL NAME>'
set from= <USER>
set imap_user= [user]@lavabit.com
[Code].....
View 1 Replies
View Related
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
Nov 15, 2010
I'm trying to use mutt to send all faxes that we do receive in a folder on an email address.
Code:
mutt -a fax.tiff -s "test 1 mutt" someone@somedomain.com < MessageBody
I always get the following error:
[code]....
View 2 Replies
View Related