Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]
I am not a Lua expert but imapfilter has its limitations. There are situations where imafilter can not parse headers properly and emails from the mailing lists are not properly sorted. If I was about to re-do my email delivery flow, I would probably avoid imapfilter do to detailed work completely. On the other hand, Lua is pretty straight forward language so if there are any objections (like mine for instance) you can still fix things at home. I guess I am just too lazy to do that :-). On Sun, Feb 14, 2021 at 06:16:48PM +0100, Angel M Alganza wrote: On Sun, Feb 14, 2021 at 04:36:07PM +, Sam Kuper wrote: https://pypi.org/project/cs.app.mailfiler/ which monitors multiple Maildirs for new messages, and files them according to per-folder rules. Nice. I've bookmarked this as a procmail alternative :) Have a look at imapfilter, too. It does the same but through the IMAP protocol in the server. Then you can synchronize to your local folder structure with mbsync, as discussed in another thread. They work very nicely together. Cheers, Ángel -- Daniel Ciprus .:|:.:|:. CONSULTING ENGINEER.CUSTOMER DELIVERY Cisco Systems Inc. dcip...@cisco.com tel: +1-703-484-0205 mob: +1-540-223-7098 signature.asc Description: PGP signature
Re: Resolved!![unixbhas...@gmail.com: Notify-send pop up for specific mails]
On 09:36 Fri 12 Feb 2021, Kevin J. McCarthy wrote: On Fri, Feb 12, 2021 at 09:59:38AM +0530, Bhaskar Chowdhury wrote: The problem it pops up for every new mail arrive. All I need to know about when I am in the TO or CC field or received mail from some specific individuals, then only the notify send pop up. Any clue? I saw some rexexes but couldn't figure out how to apply them. More over is there any "in-built" way of getting that?? No, $new_mail_command doesn't provide anything sophisticated. It operates at the same time as $beep_new - running when Mutt detects new mail in the open mailbox or any of the monitored mailboxes. For more sophisticated notification, you'll need to use another tool. Well, after bit internet searching I have stumbled upon on this page and it solved what I was looking for. http://enricorossi.org/blog/2016/mail_notify_with_procmail/ ...I do have mutt+fetchmail+procmail setup..just take the essence out of those.. Thanks, Bhaskar -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]
On Sun, Feb 14, 2021 at 04:36:07PM +, Sam Kuper wrote: https://pypi.org/project/cs.app.mailfiler/ which monitors multiple Maildirs for new messages, and files them according to per-folder rules. Nice. I've bookmarked this as a procmail alternative :) Have a look at imapfilter, too. It does the same but through the IMAP protocol in the server. Then you can synchronize to your local folder structure with mbsync, as discussed in another thread. They work very nicely together. Cheers, Ángel
Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]
On Sun, Feb 14, 2021 at 11:24:59AM +1100, Cameron Simpson wrote: > On 13Feb2021 19:29, Bhaskar Chowdhury wrote: >> How?? Show us...share with the people .. > > I collect my email with getmail, deliver to my local "+spool" mail > folder, a Maildir (~/mail/spool). > > I filter my messages using mailfer: > > https://pypi.org/project/cs.app.mailfiler/ > > which monitors multiple Maildirs for new messages, and files them > according to per-folder rules. Nice. I've bookmarked this as a procmail alternative :) > The desktop popup comes from my "alert"r script: > > https://hg.sr.ht/~cameron-simpson/css/browse/bin/alert?rev=tip > > That will issue alerts to a variety of places depending on envvars and > options particularly my dlog (a timestamped text log I use for > reviewing things, since my invoicing system is a ghastly hack held > together with string) and to the desktop. > > The "desktop alert" part of that script is in the $to_desktop > if-statement at the bottom. Presently I'm on a Mac and use the > "terminal-notifier" command to issue a normal Mac Notification popup. > I'd be using whatever Linux desktop notification command line were > suitable were I on Linux. > > I presume there _is_ a standard way to issue a popup alert on Linux > systems these days? I used to just always run a permanent very short > full-width terminal across the top of the screen tailing a log file > myself, crude but effective. The same terminal also accepted commands > if you typed them. This is an interesting bunch of workarounds. Again, thank you for sharing :) -- A: When it messes up the order in which people normally read text. Q: When is top-posting a bad thing? () ASCII ribbon campaign. Please avoid HTML emails & proprietary /\ file formats. (Why? See e.g. https://v.gd/jrmGbS ). Thank you.
Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]
On 14Feb2021 06:48, Bhaskar Chowdhury wrote: >.but depending too much of other software makes it fragile and >prone to >error and least to say it is complex. Aye. But you asked. You can see from the opening comment of the alert script: # Write a possibly-colourised string to the alert log. that it has evolved a bit over time. >Ordinary mortals(i.e me) who has less technical bend of mind, will run >away from this. The core point here is the flow: - getmail => folder - mailfiler to file messages from the folder - some messages run the alert script, which contains whatever platform-specific popup incantation is required All the rest has to do with my environment. If you're using fetchmail+procmail, for example, you just need an "alert" rule at the right points in your rules. >I do understand simplicity can not achieved without by digging and >getting into the rabbit >hole...again but...how many are willing(including me, I am an truest sense lazy >person) ... You can use all my code of course. I'm well aware that even taking what's needed (==> implied, the box of tissues effect) and putting it into your own setup is not necessarily trivial. >Not to deny, I do fall on fetchmail , procmail et al along with >mutt(the love for something do wonder) , but more to it ...nope... > >>The "desktop alert" part of that script is in the $to_desktop >>if-statement at the bottom. Presently I'm on a Mac and use the >>"terminal-notifier" command to issue a normal Mac Notification popup. >>I'd be using whatever Linux desktop notification command line were >>suitable were I on Linux. >> >notify-send is the "lightest" and "efficient" way of doing it on Linux. Thanks. I'll look it up and stick it in. The whole point of the script is to remove platform "how do I alert" from everything else. >Finally, I don't have the ability to create something native(think of >it as >excuse not to put effort,if you like :) ) OR we don't want mutt to be >convoluted >with some "airy-fairy" stuff. > >I am happy with it's limitation(partly because of my lack of understanding and >as mentioned ability to extends it,being using it for long time >though). Incremental change. Start with something basic. Modify it to better fit what you actually desire as its shortcomings become apparent. That's what I do. I've just been doing it a bit longer. For example, your own "alert" script might just directly invoke notify-send and do nothing else. Mine started by writing coloured alerts to a text file, nothing else. Then stick your own "alert" in your rules, and modify alert separately without needing to hack outside the script. Cheers, Cameron Simpson
Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]
On 11:24 Sun 14 Feb 2021, Cameron Simpson wrote: On 13Feb2021 19:29, Bhaskar Chowdhury wrote: On 07:40 Sat 13 Feb 2021, Cameron Simpson wrote: On 12Feb2021 09:36, Kevin J. McCarthy wrote: On Fri, Feb 12, 2021 at 09:59:38AM +0530, Bhaskar Chowdhury wrote: The problem it pops up for every new mail arrive. [...] For more sophisticated notification, you'll need to use another tool. For xample, my own new mail desktop notifications happen from my mail filer, not from mutt. This has the advantage that they still happen when mutt is closed (if you can call that an advantage). How?? Show us...share with the people .. Ok I collect my email with getmail, deliver to my local "+spool" mail folder, a Maildir (~/mail/spool). I filter my messages using mailfer: https://pypi.org/project/cs.app.mailfiler/ which monitors multiple Maildirs for new messages, and files them according to per-folder rules. So it watches spool, spool-in, spool-out, spool-to-phone etc. "spool" winnows some spam and lets the rest through to spool-in. spool-in files to my inbox, various mailing list folders etc. Anything not matched lands in +UNKNOWN. It is mostly spam. spool-out is what mutt's $record is set to - mutt saves sent mail there and mailfiler refiles it. spool-to-phone just has a rule to forward to my phone's email account. So, alerts. Mailfiler rules are usually quite simple, like this: !me Work from:(ALERT) which says to match messages from addresses in the group "alert" and do 2 things: - "me" save a copy in my +me folder, my "priority inbox" - "!" run the $ALERT command with the message and save a copy to the targets named in $ALERT_TARGETS They're set like this: ALERT=alert ALERT_TARGETS="F,spool-to-phone" So $ALERT runs my "alert" command, a script. Details below. $ALERT_TARGETS says: - "F" (F)lag the message (same as mutt's (F)lag command) so that it is highlighted in mutt's index - "spool-to-phone" save a copy in my +spool-to-phone folder, which mailfiler also monitors (its rules say forward a copy to my phone's email account) The desktop popup comes from my "alert"r script: https://hg.sr.ht/~cameron-simpson/css/browse/bin/alert?rev=tip That will issue alerts to a variety of places depending on envvars and options particularly my dlog (a timestamped text log I use for reviewing things, since my invoicing system is a ghastly hack held together with string) and to the desktop. Thanks! .but depending too much of other software makes it fragile and prone to error and least to say it is complex. Ordinary mortals(i.e me) who has less technical bend of mind, will run away from this. I do understand simplicity can not achieved without by digging and getting into the rabbit hole...again but...how many are willing(including me, I am an truest sense lazy person) ... Anyway, your manipulation to get the simple task done very commanding ,alas! If I could follow. Not to deny, I do fall on fetchmail , procmail et al along with mutt(the love for something do wonder) , but more to it ...nope... The "desktop alert" part of that script is in the $to_desktop if-statement at the bottom. Presently I'm on a Mac and use the "terminal-notifier" command to issue a normal Mac Notification popup. I'd be using whatever Linux desktop notification command line were suitable were I on Linux. notify-send is the "lightest" and "efficient" way of doing it on Linux. I presume there _is_ a standard way to issue a popup alert on Linux systems these days? I used to just always run a permanent very short full-width terminal across the top of the screen tailing a log file myself, crude but effective. The same terminal also accepted commands if you typed them. Anyway, that is how this is hooked into my email. Suggestions for current Linux or other UNIX desktop popup command line tools welcomed. As mentioned use notify-send. Finally, I don't have the ability to create something native(think of it as excuse not to put effort,if you like :) ) OR we don't want mutt to be convoluted with some "airy-fairy" stuff. I am happy with it's limitation(partly because of my lack of understanding and as mentioned ability to extends it,being using it for long time though). Cheers, Cameron Simpson signature.asc Description: PGP signature
Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]
On 13Feb2021 19:29, Bhaskar Chowdhury wrote: >On 07:40 Sat 13 Feb 2021, Cameron Simpson wrote: >>On 12Feb2021 09:36, Kevin J. McCarthy wrote: >>>On Fri, Feb 12, 2021 at 09:59:38AM +0530, Bhaskar Chowdhury wrote: The problem it pops up for every new mail arrive. [...] >>>For more sophisticated notification, you'll need to use another tool. >> >>For xample, my own new mail desktop notifications happen from my mail >>filer, not from mutt. This has the advantage that they still happen when >>mutt is closed (if you can call that an advantage). >> >How?? Show us...share with the people .. Ok I collect my email with getmail, deliver to my local "+spool" mail folder, a Maildir (~/mail/spool). I filter my messages using mailfer: https://pypi.org/project/cs.app.mailfiler/ which monitors multiple Maildirs for new messages, and files them according to per-folder rules. So it watches spool, spool-in, spool-out, spool-to-phone etc. "spool" winnows some spam and lets the rest through to spool-in. spool-in files to my inbox, various mailing list folders etc. Anything not matched lands in +UNKNOWN. It is mostly spam. spool-out is what mutt's $record is set to - mutt saves sent mail there and mailfiler refiles it. spool-to-phone just has a rule to forward to my phone's email account. So, alerts. Mailfiler rules are usually quite simple, like this: !me Work from:(ALERT) which says to match messages from addresses in the group "alert" and do 2 things: - "me" save a copy in my +me folder, my "priority inbox" - "!" run the $ALERT command with the message and save a copy to the targets named in $ALERT_TARGETS They're set like this: ALERT=alert ALERT_TARGETS="F,spool-to-phone" So $ALERT runs my "alert" command, a script. Details below. $ALERT_TARGETS says: - "F" (F)lag the message (same as mutt's (F)lag command) so that it is highlighted in mutt's index - "spool-to-phone" save a copy in my +spool-to-phone folder, which mailfiler also monitors (its rules say forward a copy to my phone's email account) The desktop popup comes from my "alert"r script: https://hg.sr.ht/~cameron-simpson/css/browse/bin/alert?rev=tip That will issue alerts to a variety of places depending on envvars and options particularly my dlog (a timestamped text log I use for reviewing things, since my invoicing system is a ghastly hack held together with string) and to the desktop. The "desktop alert" part of that script is in the $to_desktop if-statement at the bottom. Presently I'm on a Mac and use the "terminal-notifier" command to issue a normal Mac Notification popup. I'd be using whatever Linux desktop notification command line were suitable were I on Linux. I presume there _is_ a standard way to issue a popup alert on Linux systems these days? I used to just always run a permanent very short full-width terminal across the top of the screen tailing a log file myself, crude but effective. The same terminal also accepted commands if you typed them. Anyway, that is how this is hooked into my email. Suggestions for current Linux or other UNIX desktop popup command line tools welcomed. Cheers, Cameron Simpson
Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]
On 07:40 Sat 13 Feb 2021, Cameron Simpson wrote: On 12Feb2021 09:36, Kevin J. McCarthy wrote: On Fri, Feb 12, 2021 at 09:59:38AM +0530, Bhaskar Chowdhury wrote: The problem it pops up for every new mail arrive. [...] For more sophisticated notification, you'll need to use another tool. For xample, my own new mail desktop notifications happen from my mail filer, not from mutt. This has the advantage that they still happen when mutt is closed (if you can call that an advantage). How?? Show us...share with the people .. Cheers, Cameron Simpson signature.asc Description: PGP signature
Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]
On 12Feb2021 09:36, Kevin J. McCarthy wrote: >On Fri, Feb 12, 2021 at 09:59:38AM +0530, Bhaskar Chowdhury wrote: >>The problem it pops up for every new mail arrive. [...] >For more sophisticated notification, you'll need to use another tool. For xample, my own new mail desktop notifications happen from my mail filer, not from mutt. This has the advantage that they still happen when mutt is closed (if you can call that an advantage). Cheers, Cameron Simpson
Re: [unixbhas...@gmail.com: Notify-send pop up for specific mails]
On Fri, Feb 12, 2021 at 09:59:38AM +0530, Bhaskar Chowdhury wrote: The problem it pops up for every new mail arrive. All I need to know about when I am in the TO or CC field or received mail from some specific individuals, then only the notify send pop up. Any clue? I saw some rexexes but couldn't figure out how to apply them. More over is there any "in-built" way of getting that?? No, $new_mail_command doesn't provide anything sophisticated. It operates at the same time as $beep_new - running when Mutt detects new mail in the open mailbox or any of the monitored mailboxes. For more sophisticated notification, you'll need to use another tool. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
[unixbhas...@gmail.com: Notify-send pop up for specific mails]
- Forwarded message from Bhaskar Chowdhury - Kindly throw some light. Date: Fri, 12 Feb 2021 09:41:28 +0530 From: Bhaskar Chowdhury To: ke...@8t8.us Subject: Notify-send pop up for specific mails Hey Kevin, I was wondering and hovering through the manual pages ,it failed to come to eyes, so asking you .. I have a line like this in my muttrc : set new_mail_command="notify-send --icon='/home/bhaskar/Pictures/neomutt.png' \ 1 'New Emails' '%n new messages, %u unread.' &" The problem it pops up for every new mail arrive. All I need to know about when I am in the TO or CC field or received mail from some specific individuals, then only the notify send pop up. Any clue? I saw some rexexes but couldn't figure out how to apply them. More over is there any "in-built" way of getting that?? Thanks, Bhaskar - End forwarded message - signature.asc Description: PGP signature
Re: mutt smtp/pop
On 07/28/2016 09:00 PM, Nathan Stratton Treadway wrote: On Thu, Jul 28, 2016 at 20:23:49 -0400, dale wrote: On 07/28/2016 07:39 PM, dale wrote: On 07/28/2016 04:10 PM, Grant Edwards wrote: On 2016-07-28, dalewrote: I get a reply from my ISP when I try to directly send, no message when I use SMTP How do you "directly send" without using SMTP? with the default sending mechanism that came with it before I configured SMTP variables I believe the default is to use the "sendmail" command to submit the message to the local mail delivery system. (But it sounds like the local delivery system is unable to actually send the outgoing message, presumably because it is trying to use the smtp port in its delivery attempts, too.) note that I can use the same SMTP configuration in thunderbird, icedove and agent If those programs are able to send outgoing email successfully, check their configuration carefully. Most likely they are configured to use the "submission" port (587) instead of the "smtp" port (25) (and your ISP allows traffic to the former but not the latter). Nathan the following link led me to use port 465 and specify smtps http://unix.stackexchange.com/questions/128004/mutt-not-sending-email-when-specifying-smtp-server this is the line in my .muttrc that made it work set smtp_url="smtps://d...@dalekelly.org@smtpout.secureserver.net:465" hope it doesn't change ... thanks for all the help -- dale http://www.dalekelly.org
Re: mutt smtp/pop
On 07/28/2016 09:00 PM, Nathan Stratton Treadway wrote: On Thu, Jul 28, 2016 at 20:23:49 -0400, dale wrote: On 07/28/2016 07:39 PM, dale wrote: On 07/28/2016 04:10 PM, Grant Edwards wrote: On 2016-07-28, dale <d...@dalekelly.org> wrote: I get a reply from my ISP when I try to directly send, no message when I use SMTP How do you "directly send" without using SMTP? with the default sending mechanism that came with it before I configured SMTP variables I believe the default is to use the "sendmail" command to submit the message to the local mail delivery system. (But it sounds like the local delivery system is unable to actually send the outgoing message, presumably because it is trying to use the smtp port in its delivery attempts, too.) note that I can use the same SMTP configuration in thunderbird, icedove and agent If those programs are able to send outgoing email successfully, check their configuration carefully. Most likely they are configured to use the "submission" port (587) instead of the "smtp" port (25) (and your ISP allows traffic to the former but not the latter). Nathan Thanks, got a routing error with port 587, pressed q a lot of times than cancelled the terminal because I want to start over and see any progression of messages and copy them besides just the routing error, now regardless of many times I switch the port my ,muttrc back and forth can't get the routing error to pop up, same with no port might not have a fully qualified domain name set up in my /etc/hosts and /etc/hostname , I recall a good Ubuntu Forums guide for this but during reconfigs didn't save the link, I'll look around Thanks again, -- Dale http://www.dalekelly.org
Re: mutt smtp/pop
On Thu, Jul 28, 2016 at 20:23:49 -0400, dale wrote: > On 07/28/2016 07:39 PM, dale wrote: > >On 07/28/2016 04:10 PM, Grant Edwards wrote: > >>On 2016-07-28, dalewrote: > >> > >>>I get a reply from my ISP when I try to directly send, no message when I > >>>use SMTP > >> > >>How do you "directly send" without using SMTP? > >> > > > >with the default sending mechanism that came with it before I configured > >SMTP variables I believe the default is to use the "sendmail" command to submit the message to the local mail delivery system. (But it sounds like the local delivery system is unable to actually send the outgoing message, presumably because it is trying to use the smtp port in its delivery attempts, too.) > > note that I can use the same SMTP configuration in thunderbird, icedove > and agent If those programs are able to send outgoing email successfully, check their configuration carefully. Most likely they are configured to use the "submission" port (587) instead of the "smtp" port (25) (and your ISP allows traffic to the former but not the latter). Nathan
Re: mutt smtp/pop
On 07/28/2016 07:39 PM, dale wrote: On 07/28/2016 04:10 PM, Grant Edwards wrote: On 2016-07-28, dalewrote: I get a reply from my ISP when I try to directly send, no message when I use SMTP How do you "directly send" without using SMTP? with the default sending mechanism that came with it before I configured SMTP variables Debian GNU/Linux 8 (jessie) 64-bit and Mutt 1.5.23-3 which came installed as I saw in the package manager mentioned ESMTP in description ... I'm probably wrong note that I can use the same SMTP configuration in thunderbird, icedove and agent -- Dale http://www.dalekelly.org
Re: mutt smtp/pop
On 07/28/2016 04:10 PM, Grant Edwards wrote: On 2016-07-28, dalewrote: I get a reply from my ISP when I try to directly send, no message when I use SMTP How do you "directly send" without using SMTP? with the default sending mechanism that came with it before I configured SMTP variables Debian GNU/Linux 8 (jessie) 64-bit and Mutt 1.5.23-3 which came installed as I saw in the package manager mentioned ESMTP in description ... I'm probably wrong -- Dale http://www.dalekelly.org
Re: mutt smtp/pop
On 2016-07-28, dalewrote: > I get a reply from my ISP when I try to directly send, no message when I > use SMTP How do you "directly send" without using SMTP? -- Grant Edwards grant.b.edwardsYow! I don't understand at the HUMOUR of the THREE gmail.comSTOOGES!!
Re: mutt smtp/pop
On 07/28/2016 01:46 PM, hy...@lactose.homelinux.net wrote: dale writes: my ISP doesn't allow direct email set smtp_url="smtp://d...@dalekelly.org@smtpout.secureserver.net:25" I get the following messages Connecting to smtpout.secureserver.net... Could not connect to smtpout.secureserver.net (Interrupted system call). It's very likely that your ISP is blocking access to port 25. Many of them do. --hymie! http://lactose.homelinux.net/~hymiehy...@lactose.homelinux.net I get a reply from my ISP when I try to directly send, no message when I use SMTP I can use SMTP in other programs -- Dale http://www.dalekelly.org
Re: mutt smtp/pop
dale writes: >my ISP doesn't allow direct email >set smtp_url="smtp://d...@dalekelly.org@smtpout.secureserver.net:25" >I get the following messages >Connecting to smtpout.secureserver.net... >Could not connect to smtpout.secureserver.net (Interrupted system call). It's very likely that your ISP is blocking access to port 25. Many of them do. --hymie! http://lactose.homelinux.net/~hymiehy...@lactose.homelinux.net
mutt smtp/pop
I used to use Mutt on Ubuntu from the repository and got it to work except for smtp TLS, my ISP doesn't allow direct email, still doesn't I get a reply mail saying so I am now using Debian GNU/Linux 8 (jessie) 64-bit and Mutt 1.5.23-3 which came installed as I saw in the package manager I copied /etc/Muttrc to ~/.muttrc and like before added set realname="Dale" set from="d...@dalekelly.org" set smtp_url="smtp://d...@dalekelly.org@smtpout.secureserver.net:25" set smtp_pass="password" set pop_host="pop://d...@dalekelly.org@pop.secureserver.net:110" set pop_pass="password" I get the following messages Connecting to smtpout.secureserver.net... Could not connect to smtpout.secureserver.net (Interrupted system call). pop works I noticed ESMTP support declaration in the package manager description, could there be a conflict? -- Dale http://www.dalekelly.org
Re: POP? (read some docs first)
On Mon, Nov 10, 2014 at 08:41:05PM -0600, Russell Harris wrote: On Mon, November 10, 2014 5:29 pm, DaleKelly wrote: On 11/10/2014 05:58 PM, DaleKelly wrote: Login failed. Command USER is not supported by server. APOP authentication failed. Where is this coming out? Only on debug output or somewhere else? proceeds the above error although it works!!! don't like errors, any help appreciated much So don't try authenticating with APOP. You should not be specifying any pop_authenticators unless you specifically need to. That doesn't happen often. OTOH if you didn't mess this up with some config error then perhaps it is normal as mutt tries various authentication methods (see doc) from most secure to least secure. If I recall correctly, POP interface was added to Mutt as an afterthought. A search on mutt retrieve pop reveals that others have found Mutt in the role of retrieving messages from a POP server to be problematic. I use Mutt with POP heavily (few thousand mails per week from mailing lists) and it works absolutely fine, no issues. I've used it over the years with at least 5 email providers. People just seem to have problems setting up email clients, I don't think mutt is any harder than usual. I mean getting mutt to do exactly what you want is harder but the mail server connection stuff is pretty much the same with every client. Even MS Outhouse needs to have your creds and mail server addresses. But why waste time with a Mutt function which is questionable, when a good POP solution is available in getmail? Switch to getmail and be done with it. Please, Russell ;-) Remember who we're talking to. Simple is good. And mutt's pop support is totally fine. /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04
Re: Now Pop...
Why use an MTA when Mutt can do SMTP? This is way simpler than the alternatives. Just lett mutt do it all! i'm halfway there (i can get things from my ISP, but i haven't figured out exim4 to my ISP connection yet). Totally unnecessary unless you feel like being a mail server admin in addition to your day job. /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04
Re: POP? (read some docs first)
On Mon, Nov 10, 2014 at 06:29:12PM -0500, DaleKelly wrote: On 11/10/2014 05:58 PM, DaleKelly wrote: Login failed. Command USER is not supported by server. APOP authentication failed. proceeds the above error although it works!!! don't like errors, any help appreciated much I'll write a full HOWTO on Ubuntu Mutt on my website below and post it to the mailing list and usenet group Please don't bother. Just post the link to it if you feel you must. -- If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing. --- Malcolm X
Re: now POP ...
On Sun, November 9, 2014 11:36 pm, DaleKelly wrote: On 11/10/2014 12:20 AM, Francesco Ariis wrote: On Sun, Nov 09, 2014 at 11:54:19PM -0500, DaleKelly wrote: I use getmail [1] to obtain what you wrote above. Sample pop3 configuration for getmail just in case you are interested: thanks, I'll archive this in case I can't get the POP in mutt to work, especially want to leave a copy of the messages on the server That is the function of the delete command; simply specify delete=false'. Getmail is a marvelous package which provides excellent control, such as limiting the number of messages downloaded in a single session. And getmail can log each transaction (which is to say, each message downloaded). Also, getmail can pass downloaded messages to maildrop for sorting. RLH
Re: now POP ...
On Mon, November 10, 2014 4:24 am, Russell Harris wrote: On Sun, November 9, 2014 11:36 pm, DaleKelly wrote: On 11/10/2014 12:20 AM, Francesco Ariis wrote: On Sun, Nov 09, 2014 at 11:54:19PM -0500, DaleKelly wrote: I use getmail [1] to obtain what you wrote above. Sample pop3 configuration for getmail just in case you are interested: thanks, I'll archive this in case I can't get the POP in mutt to work, especially want to leave a copy of the messages on the server That is the function of the delete command; simply specify delete=false. Getmail is a marvelous package which provides excellent control, such as limiting the number of messages downloaded in a single session. And getmail can log each transaction (which is to say, each message downloaded). Also, getmail can pass downloaded messages to maildrop for sorting. An additional consideration: Strive for both simplicity and reliability, and consider the difficulty of diagnostic and future expansion of functionality. And do not make the mistake of equating simplicity with a minimal number of packages. From the standpoint of ease of maintenance and diagnostics, a collection of single-function tools often is a better solution than is a single multi-function tool; this is true of the combination of getmail and Mutt, as opposed to Mutt configured to fetch messages from a POP3 server. And the use of maildrop to categorize messages into different directories is a great time-saver, because Mutt can open only the directories (such as mutt-users) in which you are interested at the moment, eliminating the necessity of looking at every incoming message each time you stop to check mail. RLH
POP? (read some docs first)
read ? on mutt read POP in Mutt docs searched Ubuntu wiki searched google I get Login failed. Command USER is not supported by server. SSL/TLS seemes to make a connection before the error comes up SMTP with SSL/TLS works fine abook is working fine ? on my Ubuntu repository version, says G launches fetch-mail Ubuntu version 14.04 LTS repository Mutt 1.5.21-6.4ubuntu2 grep -v ^# /etc/Muttrc is at the bottom -- here is what I added to my Muttrc set realname=Dale set from=d...@dalekelly.org set smtp_url=smtps://d...@dalekelly.org@smtpout.secureserver.net:465 set smtp_pass=mypassword set pop_host=pops://d...@dalekelly.org@pop.secureserver.net:995 set pop_pass=mypassword set signature=~/.signature macro index I !abook\n macro pager I !abook\n specifying pop_user gives me the same error, I currently have it separate (pop_port gives an error, so I put in in the pop_host) dale@dale-W3653:~$ grep -v ^# /etc/Muttrc ignore * unignore from: subject to cc date x-mailer x-url user-agent hdr_order date from to cc subject bind editor\edeletekill-word bind editor\ebackspace kill-word bind editor delete delete-char set sort=threads unset bounce_delivered set mixmaster=mixmaster-filter set ssl_ca_certificates_file=/etc/ssl/certs/ca-certificates.crt macro index \eb search~b search in message bodies macro index,pager,attach,compose \cb \ enter-command set my_pipe_decode=\$pipe_decode pipe_decodeEnter\ pipe-message urlviewEnter\ enter-command set pipe_decode=\$my_pipe_decode; unset my_pipe_decodeEnter \ call urlview to extract URLs out of a message macro generic,pager F1 shell-escape zcat /usr/share/doc/mutt/manual.txt.gz | sensible-pagerenter show Mutt documentation macro index,pager y change-folder?toggle-mailboxes show incoming mailboxes list bind browser y exit mime_lookup application/octet-stream set time_inc=250 attachments +A */.* attachments -A text/x-vcard application/pgp.* attachments -A application/x-pkcs7-.* attachments +I text/plain attachments -A message/external-body attachments -I message/external-body source /usr/lib/mutt/source-muttrc.d| set realname=Dale set from=d...@dalekelly.org set smtp_url=smtps://d...@dalekelly.org@smtpout.secureserver.net:465 set smtp_pass=mypassword set pop_host=pops://pop.secureserver.net:995 set pop_user=d...@dalekelly.org set pop_pass=mypassword set signature=~/.signature macro index I !abook\n macro pager I !abook\n -- (my whereabouts below) http://www.dalekelly.org/
Re: POP? (read some docs first)
On 11/10/2014 05:58 PM, DaleKelly wrote: Login failed. Command USER is not supported by server. APOP authentication failed. proceeds the above error although it works!!! don't like errors, any help appreciated much I'll write a full HOWTO on Ubuntu Mutt on my website below and post it to the mailing list and usenet group thanks again, I'm off to bother the slrn folk now, already got a version of ircii running, when slrn is done I can shut Thunderbird down -- (my whereabouts below) http://www.dalekelly.org/
Re: POP? (read some docs first)
On Mon, November 10, 2014 5:29 pm, DaleKelly wrote: On 11/10/2014 05:58 PM, DaleKelly wrote: Login failed. Command USER is not supported by server. APOP authentication failed. proceeds the above error although it works!!! don't like errors, any help appreciated much If I recall correctly, POP interface was added to Mutt as an afterthought. A search on mutt retrieve pop reveals that others have found Mutt in the role of retrieving messages from a POP server to be problematic. But why waste time with a Mutt function which is questionable, when a good POP solution is available in getmail? Switch to getmail and be done with it. getmail knows how to retrieve mail from most types of mail server. getmail is reliable. And getmail can provide a log of each transaction; this facilitates diagnostics. RLH
Re: now POP ...
On Mon, Nov 10, 2014 at 04:24:33AM -0600, Russell Harris wrote: On Sun, November 9, 2014 11:36 pm, DaleKelly wrote: On 11/10/2014 12:20 AM, Francesco Ariis wrote: On Sun, Nov 09, 2014 at 11:54:19PM -0500, DaleKelly wrote: I use getmail [1] to obtain what you wrote above. Sample pop3 configuration for getmail just in case you are interested: thanks, I'll archive this in case I can't get the POP in mutt to work, especially want to leave a copy of the messages on the server That is the function of the delete command; simply specify delete=false'. Getmail is a marvelous package which provides excellent control, such as limiting the number of messages downloaded in a single session. And getmail can log each transaction (which is to say, each message downloaded). Also, getmail can pass downloaded messages to maildrop for sorting. As does fetchmail. :) -- If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing. --- Malcolm X
Re: Now Pop...
On Mon, November 10, 2014 10:25 pm, beni wrote: hello, thank you for your answers regarding mutt and pop3 mail in mutt.user, they've given me at least a chance of getting everything working that i need to get going. :) i'm halfway there (i can get things from my ISP, but i haven't figured out exim4 to my ISP connection yet). one step at a time... What distribution are you running? In Debian, the default Mail Transfer Agent (MTA) is Exim4; your distribution may use Sendmail or some other MTA. The Debian maintainer of Mutt compiles Mutt to hand outgoing messages to Exim4 for transmission; no user configuration of Mutt is needed for this function. During installation (or afterward, using dpkg-reconfigure exim4.config), one of the details which you as the user specify is whether to use a smarthost for outgoing mail. The smarthost typically is the SMTP server of your ISP. If you specify that a smarthost is to be used, the reconfiguration dialogue asks you to specify the URL of the smarthost -- something such as smtp.myisp.com. And that should be all that is required to configure the system for sending mail. RLH
now POP ...
got my SMTP working as I want, except debugging why SSL/TLS doesn't work, I'm waiting for a reply as to how to debug may as well ask about POP while I am reading docs I am using mutt 1.5.21-6.4ubuntu2 from the repository before I read any mail I want configure to make sure copies are left on the server side want to pull the mail want to store/open old messages on the client side nothing fancy have the pop_host and pop_pass set in my Muttrc file, no errors when I launch mutt -- (my whereabouts below) http://www.dalekelly.org/
Re: now POP ...
On Sun, Nov 09, 2014 at 11:54:19PM -0500, DaleKelly wrote: want to pull the mail want to store/open old messages on the client side nothing fancy I use getmail [1] to obtain what you wrote above. Sample pop3 configuration for getmail just in case you are interested: [options] verbose = 1 delete = true [retriever] type = SimplePOP3SSLRetriever server = mail.something.com username = france...@something.com port = 995 password = somepassword [destination] type = Maildir path = ~/somfolder/somebox Don't forget that ~/somfolder/somebox should of course conform to Maildir standard (i.e. contain new/ cur/ new/ tmp/ subfolders). [1] http://pyropus.ca/software/getmail/
Re: now POP ...
On 11/10/2014 12:20 AM, Francesco Ariis wrote: On Sun, Nov 09, 2014 at 11:54:19PM -0500, DaleKelly wrote: want to pull the mail want to store/open old messages on the client side nothing fancy I use getmail [1] to obtain what you wrote above. Sample pop3 configuration for getmail just in case you are interested: thanks, I'll archive this in case I cn't get the POP in mutt to work, especially want to leave a copy of the messages on the server -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On Mon, Nov 03, 2014 at 08:40:57PM -0500, DaleKelly wrote: On 11/03/2014 05:18 PM, Grant Edwards wrote: You'll need to re-do the configure, build, install steps: [cd to mutt source directory] $ ./configure --enable-smtp $ make $ sudo make install previous errors are gone, but it now says smtp needs SASL You have to install the SASL package. It is used for authenticating your password (and maybe your userid, I forget) so you password is transmitted encrypted rather than as normal text. /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04
Re: pop(s),smtp(s)
On 11/04/2014 01:37 AM, John Niendorf wrote: Install from the repository and configure the .muttrc file (I would put that file in ~/) This should avoid any problems like mutt not being configured for SMTP. Ubuntu 14.04 LTS the repository doesn't work either I'm down to just: smtp_user SASL authentication error (if smtp_user is commented out) -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On 11/04/2014 06:56 AM, John Long wrote: On Mon, Nov 03, 2014 at 08:40:57PM -0500, DaleKelly wrote: On 11/03/2014 05:18 PM, Grant Edwards wrote: You'll need to re-do the configure, build, install steps: [cd to mutt source directory] $ ./configure --enable-smtp $ make $ sudo make install previous errors are gone, but it now says smtp needs SASL You have to install the SASL package. It is used for authenticating your password (and maybe your userid, I forget) so you password is transmitted encrypted rather than as normal text. /jl sasl2 was already installed I put it in some configure statement too -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
The version of mutt available from the ubuntu 14.04 repos _DOES_ include smtp support. I am suing it now: jsmith@jsmith:~$ mutt -v | grep -i smtp Configure options: '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-docdir=/usr/share/doc' '--with-mailpath=/var/mail' '--disable-dependency-tracking' '--enable-compressed' '--enable-debug' '--enable-fcntl' '--enable-hcache' '--enable-gpgme' '--enable-imap' '--enable-smtp' '--enable-pop' '--with-curses' '--with-gnutls' '--with-gss' '--with-idn' '--with-mixmaster' '--with-sasl' '--without-gdbm' '--without-bdb' '--without-qdbm' '--build' 'x86_64-linux-gnu' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2 -I/usr/include/qdbm' +USE_POP +USE_IMAP +USE_SMTP On Tue, Nov 04, 2014 at 07:49:45AM -0500, DaleKelly wrote: On 11/04/2014 01:37 AM, John Niendorf wrote: Install from the repository and configure the .muttrc file (I would put that file in ~/) This should avoid any problems like mutt not being configured for SMTP. Ubuntu 14.04 LTS the repository doesn't work either I'm down to just: smtp_user SASL authentication error (if smtp_user is commented out) -- (my whereabouts below) http://www.dalekelly.org/ -- Joshua Smith Lead Systems Administrator WVNET (304)293-5192 x247
Re: pop(s),smtp(s)
On 11/04/2014 09:19 AM, Joshua Smith wrote: mutt -v | grep -i smtp I get this mutt -v | grep -i smtp Configure options: '--enable-pop' '--enable-smtp' '--with-sasl' '--with-ssl' +USE_POP -USE_IMAP +USE_SMTP -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On Tue, Nov 04, 2014 at 12:31:26PM -0500, DaleKelly wrote: On 11/04/2014 09:19 AM, Joshua Smith wrote: mutt -v | grep -i smtp I get this mutt -v | grep -i smtp Configure options: '--enable-pop' '--enable-smtp' '--with-sasl' '--with-ssl' +USE_POP -USE_IMAP +USE_SMTP Is that from the mutt you built by hand or the mutt from apt? At this point its not exactly clear what you've done with regards to installing from the repo or building from source. -- (my whereabouts below) http://www.dalekelly.org/ -- Joshua Smith Lead Systems Administrator WVNET (304)293-5192 x247
Re: pop(s),smtp(s)
On 11/04/2014 12:37 PM, Joshua Smith wrote: On Tue, Nov 04, 2014 at 12:31:26PM -0500, DaleKelly wrote: On 11/04/2014 09:19 AM, Joshua Smith wrote: mutt -v | grep -i smtp I get this mutt -v | grep -i smtp Configure options: '--enable-pop' '--enable-smtp' '--with-sasl' '--with-ssl' +USE_POP -USE_IMAP +USE_SMTP Is that from the mutt you built by hand or the mutt from apt? At this point its not exactly clear what you've done with regards to installing from the repo or building from source. the one from hand, I tried the repository but it didn't work and I removed it, and did my configure/make/make install of the source one over I think I need to investigate authentication settings in my ~/.muttrc file, and might have to configure SASL since it has a configuration file too SSL seems to work, but I get this error with SASL SASL authentication failed my be as easy as I don't have smtp_user smtp_pass set to the wrong user/pass, or might be the wrong usage of the statements haven't even got into POP yet, I want my messages left on the server -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On Tue, Nov 04, 2014 at 06:33:10PM -0500, DaleKelly wrote: On 11/04/2014 12:37 PM, Joshua Smith wrote: On Tue, Nov 04, 2014 at 12:31:26PM -0500, DaleKelly wrote: On 11/04/2014 09:19 AM, Joshua Smith wrote: mutt -v | grep -i smtp I get this mutt -v | grep -i smtp Configure options: '--enable-pop' '--enable-smtp' '--with-sasl' '--with-ssl' +USE_POP -USE_IMAP +USE_SMTP Is that from the mutt you built by hand or the mutt from apt? At this point its not exactly clear what you've done with regards to installing from the repo or building from source. the one from hand, I tried the repository but it didn't work and I removed it, and did my configure/make/make install of the source one over The repository version has been found to be suitable by many, many different users. No one has been able to get your hand built version to work. Please consider the likelyhood that your previous problems with the repository version were due to your unfamiliarity with mutt configuration. Using the repository version would eliminate one large source of uncertainty. BTW just to be sure, when you say you add things like set pop_host=pop://u...@pop.secureserver.net:110 to your ~/.muttrc file, that is not literal is it? I.e. it contains your actual pop server's URL and your actual user name at that server, correct? Jon -- Jon H. LaBadie j...@jgcomp.com 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (609) 477-8330 (C)
Re: pop(s),smtp(s)
On 11/04/2014 07:02 PM, Jon LaBadie wrote: The repository version has been found to be suitable by many, many different users. No one has been able to get your hand built version to work. Please consider the likelyhood that your previous problems with the repository version were due to your unfamiliarity with mutt configuration. Using the repository version would eliminate one large source of uncertainty. Jon, thanks for your recommendation I had the same configuration problems with the Ubuntu repository one, like the source I have to edit ~/.muttrc , kind of the same problems SSL seems to work SASL either isn't finding an authentication method, or I am not specifying my user/pass correctly in ~/.muttrc I am getting this digest-md5 authentication failed, trying next method SASL authentication failed I originally wanted to switch from Thunderbird since I was having freezes when I used my desktop switcher and mutt/slrn seemed to be some memory footprint I could gain going to put this on the back burner, I slimmed down my Thunderbird, thanks EVERYONE for all the help, and any future recommendations I find no freezes if I select an icon from the icon bar which takes me to the desktop it is on, rather than going to the desktop with the switcher moving a window to a different desktop is the worst freezer, so all I can do is configure my desktops and avoid it, or shut down the window and open it on a new desktop -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
* DaleKelly d...@dalekelly.org [11-04-14 20:43]: On 11/04/2014 07:02 PM, Jon LaBadie wrote: The repository version has been found to be suitable by many, many different users. No one has been able to get your hand built version to work. Please consider the likelyhood that your previous problems with the repository version were due to your unfamiliarity with mutt configuration. Using the repository version would eliminate one large source of uncertainty. Jon, thanks for your recommendation I had the same configuration problems with the Ubuntu repository one, like the source I have to edit ~/.muttrc , kind of the same problems Everyone who installs mutt *must* edit muttrc, it's the nature of the beast. SSL seems to work SASL either isn't finding an authentication method, or I am not specifying my user/pass correctly in ~/.muttrc We will never be able to help you as you decline to give direct and specific answers to *all* of the questions we post. And your password does not have to reside in .muttrc, it will be questioned when necessary. Your claims of many years of linux history are very suspect. Much time is being wasted. :^( -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: pop(s),smtp(s)
On 11/04/2014 09:16 PM, Patrick Shanahan wrote: Your claims of many years of linux history are very suspect. I said I was a hack ... -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On Sun, Nov 02, 2014 at 06:56:35PM -0500, DaleKelly wrote: On 11/02/2014 06:19 PM, Patrick Shanahan wrote: *Should* be ~/.muttrc but if that does not exist, mutt will default to /etc/muttrc My openSUSE system does not have /etc/muttrc can't gedit ~/.muttrc (nothing there) no /muttrc folder in /etc Remember that mutt will also try to find:- ~/.mutt/muttrc -- Chris Green
Re: pop(s),smtp(s)
On Sun, Nov 02, 2014 at 07:28:06PM -0500, DaleKelly wrote: On 11/02/2014 06:53 PM, John Niendorf wrote: Dale, For what it is worth I have this in my .muttrc file and I am able to send and receive securly to my server. I am using muttrc rather than .muttrc so you should check for both files. set smtp_url=smtps://j...@jfniendorf.org@secure_server.com/465 Thanks John, I have been working off my Muttrc file, I can't find my .muttrc file (might have edited it before, can't remember now) You need to resolve this issue or you will have no idea what mutt is using for config info. Try the following: $ cd $ find ./ -name muttrc $ find ./ -name .muttrc tried your suggestion for smtp_url, didn't work If this post hits the list then This Works For Me: set pop_pass=blahblah set pop_user=y...@your.com set pop_host=pops://your.pop.server set smtp_url=smtp://y...@your.smtp.server set smtp_pass=blahblah I see I am not using smtps, will try that shortly. It seems like it has been using TLS on sends but who knows. also reinstalled a couple times Don't do that unless you're on Windows (didn't read the whole thread). /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04
Re: pop(s),smtp(s)
On 11/03/2014 04:51 AM, John Long wrote: You need to resolve this issue or you will have no idea what mutt is using for config info. made a .muttrc file, out of sample.muttrc, with your input on pop/smtp, does not deliver mail, probably have to look at where this file should be, put it where sample.muttrc was I forgot one thing, I had a problem installing mutt-1.5.1.23 as a user make[2]: Leaving directory `/home/dale/Downloads/mutt-1.5.23/intl' Making install in doc make[2]: Entering directory `/home/dale/Downloads/mutt-1.5.23/doc' make[3]: Entering directory `/home/dale/Downloads/mutt-1.5.23/doc' make[3]: Nothing to be done for `install-exec-am'. xsltproc --nonet -o manual.html ./html.xsl manual.xml /bin/bash: xsltproc: command not found make[3]: [manual.html] Error 127 (ignored) cat instdoc.sh instdoc /bin/bash: instdoc: Permission denied make[3]: *** [instdoc] Error 1 make[3]: Leaving directory `/home/dale/Downloads/mutt-1.5.23/doc' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/dale/Downloads/mutt-1.5.23/doc' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/dale/Downloads/mutt-1.5.23' make: *** [install] Error 2 as root, it installs okay, but still does not deliver mail -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
* DaleKelly d...@dalekelly.org [11-03-14 11:23]: On 11/03/2014 04:51 AM, John Long wrote: You need to resolve this issue or you will have no idea what mutt is using for config info. made a .muttrc file, out of sample.muttrc, with your input on pop/smtp, does not deliver mail, probably have to look at where this file should be, put it where sample.muttrc was yes, you are very confused. You need ~/.muttrc or ~/.mutt/.muttrc either will work. I forgot one thing, I had a problem installing mutt-1.5.1.23 as a user make[2]: Leaving directory `/home/dale/Downloads/mutt-1.5.23/intl' Making install in doc make[2]: Entering directory `/home/dale/Downloads/mutt-1.5.23/doc' make[3]: Entering directory `/home/dale/Downloads/mutt-1.5.23/doc' make[3]: Nothing to be done for `install-exec-am'. xsltproc --nonet -o manual.html ./html.xsl manual.xml /bin/bash: xsltproc: command not found make[3]: [manual.html] Error 127 (ignored) cat instdoc.sh instdoc /bin/bash: instdoc: Permission denied make[3]: *** [instdoc] Error 1 make[3]: Leaving directory `/home/dale/Downloads/mutt-1.5.23/doc' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/dale/Downloads/mutt-1.5.23/doc' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/dale/Downloads/mutt-1.5.23' make: *** [install] Error 2 as root, it installs okay, but still does not deliver mail user does not have permissions to install outside of /home/user Are you perhaps somewhat new to linux/unix? If so, questions or some study should preceed actions unless you have no problem with reinstalling your *entire* system as much can and does go amiss with incorrect actions. ps: happens even for knowledgable users :^( -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: pop(s),smtp(s)
Just a note: ~/ is shorthand for /home/dale/ John On 03 Nov 2014, at 17:29, Patrick Shanahan ptilopt...@gmail.com wrote: * DaleKelly d...@dalekelly.org [11-03-14 11:23]: On 11/03/2014 04:51 AM, John Long wrote: You need to resolve this issue or you will have no idea what mutt is using for config info. made a .muttrc file, out of sample.muttrc, with your input on pop/smtp, does not deliver mail, probably have to look at where this file should be, put it where sample.muttrc was yes, you are very confused. You need ~/.muttrc or ~/.mutt/.muttrc either will work. I forgot one thing, I had a problem installing mutt-1.5.1.23 as a user make[2]: Leaving directory `/home/dale/Downloads/mutt-1.5.23/intl' Making install in doc make[2]: Entering directory `/home/dale/Downloads/mutt-1.5.23/doc' make[3]: Entering directory `/home/dale/Downloads/mutt-1.5.23/doc' make[3]: Nothing to be done for `install-exec-am'. xsltproc --nonet -o manual.html ./html.xsl manual.xml /bin/bash: xsltproc: command not found make[3]: [manual.html] Error 127 (ignored) cat instdoc.sh instdoc /bin/bash: instdoc: Permission denied make[3]: *** [instdoc] Error 1 make[3]: Leaving directory `/home/dale/Downloads/mutt-1.5.23/doc' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/dale/Downloads/mutt-1.5.23/doc' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/dale/Downloads/mutt-1.5.23' make: *** [install] Error 2 as root, it installs okay, but still does not deliver mail user does not have permissions to install outside of /home/user Are you perhaps somewhat new to linux/unix? If so, questions or some study should preceed actions unless you have no problem with reinstalling your *entire* system as much can and does go amiss with incorrect actions. ps: happens even for knowledgable users :^( -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: pop(s),smtp(s)
On 11/03/2014 11:41 AM, John Niendorf wrote: Just a note: ~/ is shorthand for/home/dale/ thanks John, I had a little on the job Unix, and have been hacking at Linux for about 15 years, but my attention span isn't as good as it used to be -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On Mon, Nov 03, 2014 at 11:29:51AM -0500, Patrick Shanahan wrote: * DaleKelly d...@dalekelly.org [11-03-14 11:23]: On 11/03/2014 04:51 AM, John Long wrote: You need to resolve this issue or you will have no idea what mutt is using for config info. made a .muttrc file, out of sample.muttrc, with your input on pop/smtp, does not deliver mail, probably have to look at where this file should be, put it where sample.muttrc was yes, you are very confused. You need ~/.muttrc or ~/.mutt/.muttrc either will work. It's ~/.mutt/muttrc -- Chris Green
Re: pop(s),smtp(s)
On 11/03/2014 11:41 AM, John Niendorf wrote: Just a note: ~/ is shorthand for/home/dale/ installed from repository, more recent set up my ~/.muttrc file with these additions set smtp_host=smtp://u...@smtpout.secureserver.net:80 set pop_host=pop://u...@pop.secureserver.net:110 (can't use port 25 for my SMTP server, 80 works on Thunderbird, trying to get a lower memory footprint for email/news, have problems with desktop switcher) get these errors dale@dale-W3653:~$ mutt Error in /home/dale/.muttrc, line 136: smtp_host: unknown variable source: errors in /home/dale/.muttrc Press any key to continue... (mutt loads but emails sent are not received) -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On 11/03/2014 12:55 PM, DaleKelly wrote: On 11/03/2014 11:41 AM, John Niendorf wrote: Just a note: ~/ is shorthand for/home/dale/ installed from repository, more recent set up my ~/.muttrc file with these additions set smtp_host=smtp://u...@smtpout.secureserver.net:80 set pop_host=pop://u...@pop.secureserver.net:110 (can't use port 25 for my SMTP server, 80 works on Thunderbird, trying to get a lower memory footprint for email/news, have problems with desktop switcher) get these errors dale@dale-W3653:~$ mutt Error in /home/dale/.muttrc, line 136: smtp_host: unknown variable source: errors in /home/dale/.muttrc Press any key to continue... (mutt loads but emails sent are not received) this page http://superuser.com/questions/403694/setting-up-mutt-for-gmail says check mutt's environment variables to see if SMTP is in my installation by executing mutt -v I don't see SMTP anywhere says POP was enabled in installation, and doesn't have an error from .muttrc when I run, like SMTP I am running version 1.5.1.6 my repository (was 1.5.1.23 from mutt source) anyone know how to set this variable, +USE_SMTP ? -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
* DaleKelly d...@dalekelly.org [11-03-14 14:34]: On 11/03/2014 12:55 PM, DaleKelly wrote: On 11/03/2014 11:41 AM, John Niendorf wrote: Just a note: ~/ is shorthand for/home/dale/ installed from repository, more recent set up my ~/.muttrc file with these additions set smtp_host=smtp://u...@smtpout.secureserver.net:80 set pop_host=pop://u...@pop.secureserver.net:110 (can't use port 25 for my SMTP server, 80 works on Thunderbird, trying to get a lower memory footprint for email/news, have problems with desktop switcher) get these errors dale@dale-W3653:~$ mutt Error in /home/dale/.muttrc, line 136: smtp_host: unknown variable source: errors in /home/dale/.muttrc Press any key to continue... (mutt loads but emails sent are not received) this page http://superuser.com/questions/403694/setting-up-mutt-for-gmail says check mutt's environment variables to see if SMTP is in my installation by executing mutt -v I don't see SMTP anywhere says POP was enabled in installation, and doesn't have an error from .muttrc when I run, like SMTP I am running version 1.5.1.6 my repository (was 1.5.1.23 from mutt source) anyone know how to set this variable, +USE_SMTP ? You are rolling your own, did you compile it in ??? I have: +USE_POP +USE_IMAP +USE_SMTP but I install a package built for my distro. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: pop(s),smtp(s)
On Mon, Nov 03, 2014 at 12:55:07PM -0500, DaleKelly wrote: On 11/03/2014 11:41 AM, John Niendorf wrote: Just a note: ~/ is shorthand for/home/dale/ installed from repository, more recent set up my ~/.muttrc file with these additions set smtp_host=smtp://u...@smtpout.secureserver.net:80 set pop_host=pop://u...@pop.secureserver.net:110 (can't use port 25 for my SMTP server, 80 works on Thunderbird, trying to get a lower memory footprint for email/news, have problems with desktop switcher) get these errors dale@dale-W3653:~$ mutt Error in /home/dale/.muttrc, line 136: smtp_host: unknown variable source: errors in /home/dale/.muttrc Press any key to continue... This is pointing to the problem. Look at line 136. Is line 136 the one you give above:- set smtp_host=smtp://u...@smtpout.secureserver.net:80 Do you have to replace user with your user name? When you type mutt -v at the prompt, do you get +USE_SMTP in the output, or do you get -USE_SMTP? If you get the latter you have not compiled mutt with SMTP support so it will not recognise smtp_host. You have the error message. You have the manual. Just search until you debug this problem. Brian. (mutt loads but emails sent are not received) -- (my whereabouts below) http://www.dalekelly.org/ --
Re: pop(s),smtp(s)
On 11/03/2014 02:45 PM, Patrick Shanahan wrote: You are rolling your own, did you compile it in ??? I did with POP and IMAP enabled, 1.5.1.23 I have: +USE_POP +USE_IMAP +USE_SMTP but I install a package built for my distro. I am using one from distribution, its 1.5.1.6 when I do, mutt -v, it says pop enabled, no ,+ USE POP, or ,+USE SMTP, no USE at all shows up just (+) or (-) tied doing ,mutt USE_SMTP, no errors that I could't do USE_SMTP, nut same errors as before -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On 11/03/2014 02:51 PM, Brian Salter-Duke wrote: On Mon, Nov 03, 2014 at 12:55:07PM -0500, DaleKelly wrote: On 11/03/2014 11:41 AM, John Niendorf wrote: Just a note: ~/ is shorthand for/home/dale/ installed from repository, more recent set up my ~/.muttrc file with these additions set smtp_host=smtp://u...@smtpout.secureserver.net:80 set pop_host=pop://u...@pop.secureserver.net:110 (can't use port 25 for my SMTP server, 80 works on Thunderbird, trying to get a lower memory footprint for email/news, have problems with desktop switcher) get these errors dale@dale-W3653:~$ mutt Error in /home/dale/.muttrc, line 136: smtp_host: unknown variable source: errors in /home/dale/.muttrc Press any key to continue... This is pointing to the problem. Look at line 136. Is line 136 the one you give above:- yes the line numbers match those listed in the errors set smtp_host=smtp://u...@smtpout.secureserver.net:80 Do you have to replace user with your user name? When you type mutt -v at the prompt, do you get +USE_SMTP in the output, or do you get -USE_SMTP? If you get the latter you have not compiled mutt with SMTP support so it will not recognise smtp_host. no, doesn't look like SMTP support and all it says is that pop is enabled no +USE_POP or +USE_POP or -USE_POP You have the error message. You have the manual. Just search until you debug this problem. Brian. (mutt loads but emails sent are not received) -- (my whereabouts below) http://www.dalekelly.org/ -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On 2014-11-03, DaleKelly d...@dalekelly.org wrote: no, doesn't look like SMTP support and all it says is that pop is enabled no +USE_POP or +USE_POP or -USE_POP You'll need to re-do the configure, build, install steps: [cd to mutt source directory] $ ./configure --enable-smtp $ make $ sudo make install -- Grant Edwards grant.b.edwardsYow! Am I in GRADUATE at SCHOOL yet? gmail.com
Re: pop(s),smtp(s)
* DaleKelly d...@dalekelly.org [11-03-14 16:33]: On 11/03/2014 02:45 PM, Patrick Shanahan wrote: You are rolling your own, did you compile it in ??? I did with POP and IMAP enabled, 1.5.1.23 I have: +USE_POP +USE_IMAP +USE_SMTP but I install a package built for my distro. I am using one from distribution, its 1.5.1.6 when I do, mutt -v, it says pop enabled, no ,+ USE POP, or ,+USE SMTP, no USE at all shows up just (+) or (-) tied doing ,mutt USE_SMTP, no errors that I could't do USE_SMTP, nut same errors as before http://dev.mutt.org/trac/wiki/MuttGuide/Setup especially: ./configure --help For an explanation of all the features use ./configure --help of the mutt source distribution. Most important are USE_POP, USE_IMAP USE_SSL for the respective support (recommended), USE_FCNTL USE_FLOCK for the file-locking type, HOMESPOOL when delivering new mail to home-dir instead of system spool-dir, HAVE_COLOR for helpful highlighting of items, and the [using ncurses...] for the library you want mutt to use to draw its interface. You need to look for *definition* of what you want to do. You are stabbing in the dark rather than taking a rational approach. And you explanations may be very descriptive to you but those trying to help are trying to fill in blanks w/o knowing actually what you have done. You haven't even bothered to provide the step-by-step you use in compiling mutt. mutt USE_SMTP really means nothing to me and certainly isn't a configure line parameter. What distro are you running? Do they provide packages? Have you tried a provided package of mutt? Above you say you are using one from the distribution but just before you say you compiled I did with POP and IMAP enabled. Did you or did you not? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: pop(s),smtp(s)
On Mon, Nov 03, 2014 at 04:32:32PM -0500, DaleKelly wrote: I did with POP and IMAP enabled, 1.5.1.23 Do you mean 1.5.23? This is the latest version available. I am using one from distribution, its 1.5.1.6 Do you mean 1.5.16, or 1.5.6i? Version 1.5.16 is from around 2007, 1.5.6i is from around 2004. If you are building 1.5.23 ignore everything about the older versions mentioned here. Cheers, Tom -- Yesterday upon the stair I met a man who wasn't there. He wasn't there again today -- I think he's from the CIA. signature.asc Description: Digital signature
Re: pop(s),smtp(s)
On 11/03/2014 05:18 PM, Grant Edwards wrote: You'll need to re-do the configure, build, install steps: [cd to mutt source directory] $ ./configure --enable-smtp $ make $ sudo make install previous errors are gone, but it now says smtp needs SASL -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On 11/03/2014 08:35 PM, Tom Furie wrote: If you are building 1.5.23 ignore everything about the older versions mentioned here. everything in 1.5.1.23 working except SMTP authentication requires SASL -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On 11/03/2014 05:21 PM, Patrick Shanahan wrote: * DaleKelly d...@dalekelly.org [11-03-14 16:33]: On 11/03/2014 02:45 PM, Patrick Shanahan wrote: You are rolling your own, did you compile it in ??? I did with POP and IMAP enabled, 1.5.1.23 I have: +USE_POP +USE_IMAP +USE_SMTP but I install a package built for my distro. I am using one from distribution, its 1.5.1.6 when I do, mutt -v, it says pop enabled, no ,+ USE POP, or ,+USE SMTP, no USE at all shows up just (+) or (-) tied doing ,mutt USE_SMTP, no errors that I could't do USE_SMTP, nut same errors as before http://dev.mutt.org/trac/wiki/MuttGuide/Setup especially: ./configure --help For an explanation of all the features use ./configure --help of the mutt source distribution. Most important are USE_POP, USE_IMAP USE_SSL for the respective support (recommended), USE_FCNTL USE_FLOCK for the file-locking type, HOMESPOOL when delivering new mail to home-dir instead of system spool-dir, HAVE_COLOR for helpful highlighting of items, and the [using ncurses...] for the library you want mutt to use to draw its interface. You need to look for *definition* of what you want to do. You are stabbing in the dark rather than taking a rational approach. And you explanations may be very descriptive to you but those trying to help are trying to fill in blanks w/o knowing actually what you have done. You haven't even bothered to provide the step-by-step you use in compiling mutt. mutt USE_SMTP really means nothing to me and certainly isn't a configure line parameter. What distro are you running? Do they provide packages? Have you tried a provided package of mutt? Above you say you are using one from the distribution but just before you say you compiled I did with POP and IMAP enabled. Did you or did you not? apologies Patrick, I have a short attention span and tend to hack at some point -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
* DaleKelly d...@dalekelly.org [11-03-14 20:52]: [...] apologies Patrick, I have a short attention span and tend to hack at some point And we still have no knowledge :^( You have not answered the questons that provide information necessary to assist you. ??? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: pop(s),smtp(s)
On 11/03/2014 08:44 PM, DaleKelly wrote: On 11/03/2014 08:35 PM, Tom Furie wrote: If you are building 1.5.23 ignore everything about the older versions mentioned here. everything in 1.5.1.23 working except SMTP authentication requires SASL sudo apt-get install libsasl2-2 Reading package lists... Done Building dependency tree Reading state information... Done libsasl2-2 is already the newest version. already there, maybe need a link in my .muttrc -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On 11/03/2014 09:43 PM, DaleKelly wrote: sudo apt-get install libsasl2-2 Reading package lists... Done Building dependency tree Reading state information... Done libsasl2-2 is already the newest version. already there, maybe need a link in my .muttrc tried --with-sasl[=PFX] on configure tried PFX tried various locations where sasl was listed (might have to find where sasl is listed) get the following error: configure: error: could not find sasl lib -- (my whereabouts below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
I have to ask. Dale what distro are you using? Why are you trying to install mutt from scratch when there is probably a fine version in the repository? Install from the repository and configure the .muttrc file (I would put that file in ~/) This should avoid any problems like mutt not being configured for SMTP. John On 11/04/2014 04:41 AM, DaleKelly wrote: On 11/03/2014 09:43 PM, DaleKelly wrote: sudo apt-get install libsasl2-2 Reading package lists... Done Building dependency tree Reading state information... Done libsasl2-2 is already the newest version. already there, maybe need a link in my .muttrc tried --with-sasl[=PFX] on configure tried PFX tried various locations where sasl was listed (might have to find where sasl is listed) get the following error: configure: error: could not find sasl lib
pop(s),smtp(s)
I tried on the #mutt channel with no answer I tried the suggestions on comp.mail.mutt group I am trying to add secure pop and secure smtp in my 1.5.23 Muttrc file (I can't find my .muttrc file and I think I may have edited before) here are the only lines I added to my Muttrc file that was there on installation: set realname = dale set from = d...@dalekelly.org set use_from = no set envelope_from =yes smtps://[user[:password]@]smtpout.secureserver.net[:465] pops://[user[:password]@]pop.secureserver.net[:995] I read man mutt I read the doc(s) in my mutt-1.5.23/doc folder any assistance? -- Dale (contact below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
* DaleKelly d...@dalekelly.org [11-02-14 18:00]: I tried on the #mutt channel with no answer I tried the suggestions on comp.mail.mutt group I am trying to add secure pop and secure smtp in my 1.5.23 Muttrc file (I can't find my .muttrc file and I think I may have edited before) *Should* be ~/.muttrc but if that does not exist, mutt will default to /etc/muttrc My openSUSE system does not have /etc/muttrc here are the only lines I added to my Muttrc file that was there on installation: set realname = dale set from = d...@dalekelly.org set use_from = no set envelope_from =yes smtps://[user[:password]@]smtpout.secureserver.net[:465] pops://[user[:password]@]pop.secureserver.net[:995] I read man mutt I read the doc(s) in my mutt-1.5.23/doc folder any assistance? probably: mailboxes smtps://[user[:password]@]smtpout.secureserver.net[:465] mailboxes pops://[user[:password]@]pop.secureserver.net[:995] -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: pop(s),smtp(s)
Dale, For what it is worth I have this in my .muttrc file and I am able to send and receive securly to my server. set smtp_url=smtps://j...@jfniendorf.org@secure_server.com/465 -- John
Re: pop(s),smtp(s)
On 11/02/2014 06:19 PM, Patrick Shanahan wrote: *Should* be ~/.muttrc but if that does not exist, mutt will default to /etc/muttrc My openSUSE system does not have /etc/muttrc can't gedit ~/.muttrc (nothing there) no /muttrc folder in /etc tried putting the mailboxes edit in from of my smtps and pops lines but still I get no email where I send it, no error message I can see where are error messages? I looked a little at configuring debug, but I don't know ... trying to get a smaller memory footprint than my GUI email/news -- Dale (contact below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
On 11/02/2014 06:53 PM, John Niendorf wrote: Dale, For what it is worth I have this in my .muttrc file and I am able to send and receive securly to my server. set smtp_url=smtps://j...@jfniendorf.org@secure_server.com/465 Thanks John, I have been working off my Muttrc file, I can't find my .muttrc file (might have edited it before, can't remember now) tried your suggestion for smtp_url, didn't work I install 1.5.23 with pop and IMAP enabled, I didn't see an enable for smtp in the README or INSTALL file also reinstalled a couple times -- Dale (contact below) http://www.dalekelly.org/
Re: pop(s),smtp(s)
* DaleKelly d...@dalekelly.org [11-02-14 18:59]: On 11/02/2014 06:19 PM, Patrick Shanahan wrote: *Should* be ~/.muttrc but if that does not exist, mutt will default to /etc/muttrc My openSUSE system does not have /etc/muttrc can't gedit ~/.muttrc (nothing there) no /muttrc folder in /etc tried putting the mailboxes edit in from of my smtps and pops lines but still I get no email where I send it, no error message I can see where are error messages? I looked a little at configuring debug, but I don't know ... trying to get a smaller memory footprint than my GUI email/news My err, it is not /etc/muttrc, but /etc/Muttrc. And case is important in linux. You more than likely do not have ~/.muttrc unless you copied it there or constructed it from scratch. Copy /etc/Muttrc to ~/.muttrc change permissions to your user and users then edit it to suit. google for muttrc and use the examples to make your ~/.muttrc suit your particular preferences. There are *many* samples but take the time to understand what you do. The mutt man pages are quite good. Pay particular attention to: man muttrc -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
inbuilt pop and procmail
Hello, I am using the inbuilt pop and smtp for gmail. Is there a way to forward all received emails from pop server to procmail instead of putting those to the spoolfile? Thanks Sri
Re: inbuilt pop and procmail
* Srikrishan Malik srikrishanma...@gmail.com [06-24-14 02:02]: I am using the inbuilt pop and smtp for gmail. Is there a way to forward all received emails from pop server to procmail instead of putting those to the spoolfile? Not directly using mutt, but a simple matter using fetchmail or another mail retrieval agent. I use fetchmail. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: inbuilt pop and procmail
On Tue, Jun 24, 2014 at 04:47:45PM -0400, Patrick Shanahan wrote: * Srikrishan Malik srikrishanma...@gmail.com [06-24-14 02:02]: I am using the inbuilt pop and smtp for gmail. Is there a way to forward all received emails from pop server to procmail instead of putting those to the spoolfile? Not directly using mutt, but a simple matter using fetchmail or another mail retrieval agent. I use fetchmail. Yeah, I shifted to that mode last night. I tried to change code to call procmail after a mail is fetched, but it does not seem that simple. I will try again when I get some time. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: inbuilt pop and procmail
* Srikrishan Malik srikrishanma...@gmail.com [06-24-14 23:30]: On Tue, Jun 24, 2014 at 04:47:45PM -0400, Patrick Shanahan wrote: * Srikrishan Malik srikrishanma...@gmail.com [06-24-14 02:02]: I am using the inbuilt pop and smtp for gmail. Is there a way to forward all received emails from pop server to procmail instead of putting those to the spoolfile? Not directly using mutt, but a simple matter using fetchmail or another mail retrieval agent. I use fetchmail. Yeah, I shifted to that mode last night. I tried to change code to call procmail after a mail is fetched, but it does not seem that simple. I will try again when I get some time. iiuc, mutt's internal pop is actually reading mail on the server somewhat similar to imap, ie: you do not really have a local copy stored, ie: mutt is not a MRA, but a mail reader/client. I guess you could pipe the current email to procmail for local storage, ie: | formail -ds procmail this would use the procmail recipies and store mail accordingly. But you can save or copy the current email to the file/directory of your choice, also . -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: inbuilt pop and procmail
On Wed, Jun 25, 2014 at 08:59:59AM +0530, Srikrishan Malik wrote: On Tue, Jun 24, 2014 at 04:47:45PM -0400, Patrick Shanahan wrote: * Srikrishan Malik srikrishanma...@gmail.com [06-24-14 02:02]: I am using the inbuilt pop and smtp for gmail. Is there a way to forward all received emails from pop server to procmail instead of putting those to the spoolfile? Not directly using mutt, but a simple matter using fetchmail or another mail retrieval agent. I use fetchmail. Yeah, I shifted to that mode last night. I tried to change code to call procmail after a mail is fetched, but it does not seem that simple. I will try again when I get some time. I use fetchmail to get email from a pop server. It is fed to procmail via a ~/.forward file. The contents are | /usr/bin/procmail. HTH, Jon -- Jon H. LaBadie j...@jgcomp.com 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (609) 477-8330 (C)
Retrieve POP mail automatically?
Is there any way to retrieve pop mail automatically in mutt itself rather than using fetchmail etc.? Thanks. /jl -- ASCII ribbon campaign ( ) Powered by Lemote Fuloong against HTML e-mail X Loongson MIPS and OpenBSD and proprietary/ \http://www.mutt.org attachments / \ Code Blue or Go Home! Encrypted email preferred PGP Key 2048R/DA65BC04
Re: Retrieve POP mail automatically?
On 12/16/2012 10:37 AM, John Long wrote: Is there any way to retrieve pop mail automatically in mutt itself rather than using fetchmail etc.? Thanks. /jl The short answer is yes. The long answer is, maybe, if your particular Mutt is compiled with the POP support option. You will also have to have the proper entries in your .muttrc file. Google up mutt, pop support. There are all kinds of websites out there that detail the setup. You might wish to consider using IMAP instead. This protocol keeps the message on the server where you can access it again from, say, the computer at the public library. POP3 will also allow this, but it is not the default behavior in most cases. Good luck in training your Mutt. It can be challenging, but is usually worth the effort, even if, as in my case, you don't always use it. Dale signature.asc Description: OpenPGP digital signature
Re: Retrieve POP mail automatically?
On Sun, Dec 16, 2012 at 11:37:29AM -0600, Dale Raby wrote: On 12/16/2012 10:37 AM, John Long wrote: Is there any way to retrieve pop mail automatically in mutt itself rather than using fetchmail etc.? Thanks. /jl The short answer is yes. The long answer is, maybe, if your particular Mutt is compiled with the POP support option. I compiled Mutt with POP and can fetch and send mail no problem. What I don't know how to do is make Mutt fetch the mail automatically. I tried set mail_check=600 thinking every ten minutes it would try to pull mail from the pop server. This doesn't seem to happen. I guess that setting has to do with Mutt checking the folders for new mail. Is there a way to get Mutt to fetch pop mail automatically at intervals?
Re: Retrieve POP mail automatically?
* Dale Raby daler...@gmail.com [12-16-12 12:40]: [...] You might wish to consider using IMAP instead. This protocol keeps the message on the server where you can access it again from, say, the computer at the public library. POP3 will also allow this, but it is not the default behavior in most cases. Or an alternative to imap and/or retaining pop mail on server. I dl *all* mail to my local box and ssh from outside to an active screen/tmux session. This way I can keep all my mail in a manner I want and still see it from anywhere from any internet connected computer. And the persistent screen/tmux session retains my mutt session as I left it. My local tmux session provides me instant access to five local computers merely by accessing the session. And I carry a usb flash stick with cygwin that provides me an xterm screen on windowz boxes. -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535@ http://linuxcounter.net
Re: Retrieve POP mail automatically?
Dale wrote: http://www.mutt.org/doc/manual/manual-4.html Item 4.10 I think the item you want is the pop_checkinterval variable The default is 60 seconds Thanks I just tried that after I posted my previous response. It doesn't work either (but it sure looked like it should!)
Odd keymapping after failed /aborted attempt to open POP account
I have a multi-account scenario where I use an IMAP folder as main account and have several POP accounts for minor communication / spam box. Assumme that opening the IMAP folder is mapped to the F2 key and opening the POP accounts to some other F-keys. Recently, the POP provider changed its certificates and the name in the cert no longer matches the URL. Being slightly cautious, I abort opening the pop account(rejecting the cert). Now, that raises several problems: 1) Pressing F2 (to get back to the main account) won't work. Mutt says that no mailbox is opened. So I need to type the mailbox name: imaps://accountname 2) In my main account some key mappings are changed and show very odd behavior: Pressing c ? should give the list of all folders, but Mutt rather gives me an errno = 2. However, I can open a folder when typing its name directly, e.g. c =Sent. Pressing q should quit the index view (and also list all folders), but rather it a) tags the message that is currently under the cursor and b) opens the pager to compose a reply message. The only way I figured out so far to help me here is pressing C-c which is obviously not very desireable. I use mutt 1.5.20-7ubuntu1.1 Best regards signature.asc Description: Digital signature
server pop
Hello, I'm a french and novice user of mutt. I would like to know how to configure mutt for received messages from two server pop. I've put in my muttrc : set pop_host=pop.free.fr:110 account-hook . 'unset pop_user; unset pop_pass; unset tunnel' account-hook pop://pop.free.fr:110/ 'set pop_user=USER1 pop_pass=***' #account-hook pop://pop.free.fr:110/ 'set pop_user=USER2 pop_pass=***' but I received messages from only one server... Could you help me please ? -- Stéphane Ortega Apiculteur Le clos des Rosiers 33160 Saint Aubin de Médoc stephaneortega.fr - 06.84.04.13.50
Re: server pop
Hello, if you have two accounts on the same server, you may set the account-hooks like this, account-hook pop://us...@pop.free.fr:110/ 'set pop_user=USER1 pop_pass=***' account-hook pop://us...@pop.free.fr:110/ 'set pop_user=USER1 pop_pass=***' hope it could help you. - du yang On Thu, Jan 06, 2011 at 18:04 +0100, St閜hane Ortega wrote: Hello, I'm a french and novice user of mutt. I would like to know how to configure mutt for received messages from two server pop. I've put in my muttrc : set pop_host=pop.free.fr:110 account-hook . 'unset pop_user; unset pop_pass; unset tunnel' account-hook pop://pop.free.fr:110/ 'set pop_user=USER1 pop_pass=***' #account-hook pop://pop.free.fr:110/ 'set pop_user=USER2 pop_pass=***' but I received messages from only one server... Could you help me please ? -- oooO: (..): :\.(:::Oooo:: ::\_)::(..):: :::)./::: ::(_/
Re: server pop
Hi, sorry for a typing error in the last post. it should be, account-hook pop://us...@pop.free.fr:110/ 'set pop_user=USER1 pop_pass=***' account-hook pop://us...@pop.free.fr:110/ 'set pop_user=USER2 pop_pass=***' - du yang On Thu, Jan 06, 2011 at 18:04 +0100, St閜hane Ortega wrote: Hello, I'm a french and novice user of mutt. I would like to know how to configure mutt for received messages from two server pop. I've put in my muttrc : set pop_host=pop.free.fr:110 account-hook . 'unset pop_user; unset pop_pass; unset tunnel' account-hook pop://pop.free.fr:110/ 'set pop_user=USER1 pop_pass=***' #account-hook pop://pop.free.fr:110/ 'set pop_user=USER2 pop_pass=***' but I received messages from only one server... Could you help me please ? -- 子曰:“君子矜而不争,群而不党。” --《论语》
configuring POP server access
I need advice on setting the pop_host variable. I have fetchmail working and successfully downloading email, but for complex reasons of personal taste, I want to be able to use the G command. The URL of the server is pop.everyone.com My email address is pecon...@mesanetworks.net When using fetchmail I use the fully qualified email address as my userID I know my password for sure because it is passed the fetchmail command, and that works. I have tried :set pop_host=pop://pecon...@mesanetworks.net@pop.everyone.com and then uppercase G command. I get a request for my password, which I answer (proves that Pop support is compiled into my particular Mutt) Some progress reports ending in PASS: Authorization failed. I have also tried inserting the password into set_host per the User Manual, but this also fails. I think Mutt may be confused by the TWO @s in the string. But that is puzzling because it seems to be collecting to a pop server which asks for a password. I'd be happy to run some debuging, but need to be told exactly what to type. -- Paul E Condon pecon...@mesanetworks.net
Re: configuring POP server access [SOLVED] Stupid typing error
Replace a comma with a dot and it works. My Bad. On 20100524_141522, Paul E Condon wrote: I need advice on setting the pop_host variable. I have fetchmail working and successfully downloading email, but for complex reasons of personal taste, I want to be able to use the G command. The URL of the server is pop.everyone.com My email address is pecon...@mesanetworks.net When using fetchmail I use the fully qualified email address as my userID I know my password for sure because it is passed the fetchmail command, and that works. I have tried :set pop_host=pop://pecon...@mesanetworks.net@pop.everyone.com and then uppercase G command. I get a request for my password, which I answer (proves that Pop support is compiled into my particular Mutt) Some progress reports ending in PASS: Authorization failed. I have also tried inserting the password into set_host per the User Manual, but this also fails. I think Mutt may be confused by the TWO @s in the string. But that is puzzling because it seems to be collecting to a pop server which asks for a password. I'd be happy to run some debuging, but need to be told exactly what to type. -- Paul E Condon pecon...@mesanetworks.net -- Paul E Condon pecon...@mesanetworks.net
Re: configuring POP server access
Paul E Condon [24.Mai.2010 22:15]: I need advice on setting the pop_host variable. I have fetchmail working and successfully downloading email, but for complex reasons of personal taste, I want to be able to use the G command. The URL of the server is pop.everyone.com My email address is pecon...@mesanetworks.net When using fetchmail I use the fully qualified email address as my userID I know my password for sure because it is passed the fetchmail command, and that works. I have something similar, that is, an email as a username. I have tried :set pop_host=pop://pecon...@mesanetworks.net@pop.everyone.com and then uppercase G command. I get a request for my password, which I answer (proves that Pop support is compiled into my particular Mutt) Some progress reports ending in PASS: Authorization failed. I have also tried inserting the password into set_host per the User Manual, but this also fails. I think Mutt may be confused by the TWO @s in the string. But that is puzzling because it seems to be collecting to a pop server which asks for a password. I'd be happy to run some debuging, but need to be told exactly what to type. That very same problem occurs here, too. I got around it by specifying pop_user=u...@domain and never thought about it again. Just a legit workaround I guess. Would be nice to know why there is a hickup with the loginwit...@pop.domain anyway or how to solve that. JP
Re: configuring POP server access
On 05/24/2010 03:48 PM, JP Bruns wrote: Paul E Condon [24.Mai.2010 22:15]: I need advice on setting the pop_host variable. I have fetchmail working and successfully downloading email, but for complex reasons of personal taste, I want to be able to use the G command. The URL of the server is pop.everyone.com My email address is pecon...@mesanetworks.net When using fetchmail I use the fully qualified email address as my userID I know my password for sure because it is passed the fetchmail command, and that works. I have something similar, that is, an email as a username. I have tried :set pop_host=pop://pecon...@mesanetworks.net@pop.everyone.com and then uppercase G command. I get a request for my password, which I answer (proves that Pop support is compiled into my particular Mutt) Some progress reports ending in PASS: Authorization failed. I have also tried inserting the password into set_host per the User Manual, but this also fails. I think Mutt may be confused by the TWO @s in the string. But that is puzzling because it seems to be collecting to a pop server which asks for a password. I'd be happy to run some debuging, but need to be told exactly what to type. That very same problem occurs here, too. I got around it by specifying pop_user=u...@domain and never thought about it again. Just a legit workaround I guess. Would be nice to know why there is a hickup with the loginwit...@pop.domain anyway or how to solve that. JP Thanks. It works for me to. I guess less info. helps sometimes.
Re: pop-last=yes isn't working?
* Russell Urquhart russurquha...@verizon.net [2009-04-19 11:28:23 -0500]: I doubt many people use the fetch-mail function to download POP mail using mutt since there're some specialized mail download tools. Why not use of them? So if i used something like fetchmail to get the mail and then let mutt view the mails, would more less enable to do what i am trying to do? For the moment, using mutt to fetch the mail, and deleting them from the server, really isn't a deal breaker for me. If fetchmail is pretty straight forward i might try looking at that. Thanks, Russ getmail and fetchmail both can work that way with proper switches. I have used them both and then set them up with a crontab. Mike
Re: pop-last=yes isn't working?
Hi, * Kyle Wheeler wrote: On Saturday, April 18 at 03:29 PM, quoth Russell Urquhart: I read through the docs and set the pop_last = yes, thinking this would force mutt not to redownload messages it already has downloaded. Generally, mutt should avoid downloading messages it knows about... but I don't know how good mutt's POP3 UIDL support is. If it has broken UIDL support, then yes, $pop_last would help. Or, I should rephrase that: COULD help. Well, it supports UIDL only for normal folder operations. LAST is only used for the fetch-mail function. For UIDL to work with fetch-mail, mutt would need to cache all UIDLs it already saw. It doesn't even support body cache, which could be helpful here since messages are numbered by UIDL there. It's not implemented because fewer users than the critical mass seem to miss this feature and want to see fetch-mail work... :) Rocco
Re: pop-last=yes isn't working?
On Sun, Apr 19, 2009 at 02:46:39PM +0200, Rocco Rutte wrote: Hi, Well, it supports UIDL only for normal folder operations. LAST is only used for the fetch-mail function. For UIDL to work with fetch-mail, mutt would need to cache all UIDLs it already saw. It doesn't even support body cache, which could be helpful here since messages are numbered by UIDL there. It's not implemented because fewer users than the critical mass seem to miss this feature and want to see fetch-mail work... :) As i was telling Kyle, off list, the default Apple Mail client, as well as other mail clients i have tried, handle this. I just thought with all the functionality that mutt does provide, this would be a no brainer. But from what you and Kyle have told me, there is no way to have mutt pull a copy of the messages from the server, leave them there for other applicaations, and then not pull down messages it has already downloaded? Are other applications handling this within the software itself? Thanks, Russ
Re: pop-last=yes isn't working?
Hi, * Russell Urquhart wrote: On Sun, Apr 19, 2009 at 02:46:39PM +0200, Rocco Rutte wrote: It doesn't even support body cache, which could be helpful here since messages are numbered by UIDL there. It's not implemented because fewer users than the critical mass seem to miss this feature and want to see fetch-mail work... :) As i was telling Kyle, off list, the default Apple Mail client, as well as other mail clients i have tried, handle this. Yes, probably because they have caches. They view the mailbox and leave the mail on the server if one configures them to. In mutt, when you open a POP mailbox, it does the same thing: leave mail on the server (except you delete it), fetch messages just once (with header and/or body caching) etc. It even should support distinction between unread and new messages which other clients don't support, with an updateable hcache it can easily support flagging and other message status flags. When hitting 'G' to fetch mail from a POP server, this something totally different and not the same as viewing a mailbox as in other clients. I just thought with all the functionality that mutt does provide, this would be a no brainer. I doubt many people use the fetch-mail function to download POP mail using mutt since there're some specialized mail download tools. Why not use of them? Remembering which messages are really new is basically easy to solve except one thing: mutt already supports two very different types of optional caches. I don't know whether it makes sense to add yet another one just to cache UIDLs for fetch-mail that is rarely used. Rocco
pop-last=yes isn't working?
Hi All, I am accessing my pop via smtp and everything is working fine. Whenever i download mail, it asks if i want to delete them from the server. If i don't the next time i check, mutt has downlaoded them again. If i DO remove them from the server, my phone, or web access cannot find those mails. I read through the docs and set the pop_last = yes, thinking this would force mutt not to redownload messages it already has downloaded. When i tried this however, it doesn't seem to make difference. Can anyone shed some light on this? Thanks, Russ
Bug in send-hook? Offline mode for pop?
I actually have two questions: 1. Is there an offline mode for pop? Something similar to kmail -- where it doesn't connect to the server unless you *explicitly* tell it to? It seems that mutt always connects to the pop server even after changing the pop_checkinterval to 10 minutes. 2. I added a send-hook as per a tutorial on the web and tips on the irc channel. However, it doesn't work as expected. It only works the *2nd* time you try to send a message. Let me explain more clearly: I want a send-hook that changes the content type whenever I send a message to foo. HOWEVER, the 1st time that I send a message to foo, it does *not* change the content type. If I try to send another message, the content type is changed. Any ideas? Is this a bug? This is the rule that I'm using: send-hook '^foo.*$' 'set content_type=text/plain' I have no other send-hooks. I'm using Mutt 1.5.18. --Thanks and God bless! Uriel Avalos
Re: Bug in send-hook? Offline mode for pop?
=- [EMAIL PROTECTED] wrote on Wed 15.Oct'08 at 7:18:33 -0700 -= 2. I added a send-hook as per a tutorial on the web and tips on the irc channel. It only works the *2nd* time you try to send a message. send-hook vs. send2-hook. -- © Rado S. -- You must provide YOUR effort for your goal! EVERY effort counts: at least to show your attitude. You're responsible for ALL you do: you get what you give.
Re: Bug in send-hook? Offline mode for pop?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, October 15 at 07:18 AM, quoth [EMAIL PROTECTED]: 1. Is there an offline mode for pop? Something similar to kmail -- where it doesn't connect to the server unless you *explicitly* tell it to? It seems that mutt always connects to the pop server even after changing the pop_checkinterval to 10 minutes. Not really. The way to think about mutt is that it's a mailbox viewer. If you want to see the contents of a POP3 mailbox, you have to connect. And then, once connected, there's no reason to *close* the connection if you're still looking at messages stored on the server. Mutt doesn't have an offline mode for *anything*. However, you can probably get what you want using multiple tools. For example, you could use something like fetchmail to periodically copy the contents of your pop3 server to a local folder, and then use mutt to view the contents of that folder. send-hook '^foo.*$' 'set content_type=text/plain' The reason this isn't doing what you want is that mutt is consulting the contents of the $content_type variable BEFORE running the send-hook. So the send-hook is changing the value of $content_type, but since mutt's already used the contents of that variable for something, the change isn't reflected in the message you're sending. (This is probably a bug - you can report it to http://bugs.mutt.org) Then, when you send a second message, the $content_type variable has already been changed, so it is applied to this second message. You can work around this like so: send-hook '^foo' 'push edit-typekill-linetext/plainenter' I have no other send-hooks. That's *probably* a mistake. Send-hooks do not set up a temporary environment that disappears as soon as the message is sent. Send-hooks execute commands whenever a message is sent that matches their pattern. Thus, if you want to change some setting for just some recipients, you have to change it back for all other recipients. The usual way to do this is with two send-hooks: one to change the setting, and one to change it back. Like so: send-hook . 'set setting=defaultvalue' send-hook '^foo' 'set setting=foovalue' ~Kyle - -- The answers may be in The Book, but we're expected to show our work. That's the only way that we can enjoy the fruits of DOING the work. -- Howard Tayler -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iEYEARECAAYFAkj2Bw8ACgkQBkIOoMqOI15KTACg3phnlhNka46QoL9etB1RZ3td N8AAoLwVYkaDMa/FJCG8cfYPCKh8irRi =oJ+1 -END PGP SIGNATURE-
Problems with mutt and POP
At present, mail is delivered to ~user/mbox on the same box that we all log into for our normal computation. We are shortly due to split the mail function off to a dedicated mailer (running dovecot), and users will then have to retrieve their email by imap or pop from it. Pop would seem to give us an easy way of keeping our mail folders on the local login machine, just as we have at present, and to just retrieve the new stuff from the new mailer. I've been experimenting with mutt using pop on the new system, and have a problem: I cant get it to automatically delete read mail from the remote spoolfile. It wont even prompt me with a yes-no option. I've tried setting pop_delete and/or delete to 'yes' and 'ask-yes' but no joy. Any suggestions? Thanks, Terry My .muttrc is: set pop_delete = yes set askcc = yes set use_domain = no ###set confirmappend = no set editor = nano -w set sort = reverse-date-received ###set delete = yes set folder = ~/mail ###set spoolfile = ~/mbox set spoolfile = pop://[EMAIL PROTECTED] set mbox = =r set print = ask-yes set print_command = a2ps -1 -f8.0 -o - | lpr -Plaser1 set record = =s mailboxes ~/mbox =s =r =DELETED ###set move = yes set include = yes #these macros define: #the key 'd' to mean 'put the message into the DELETED folder' #the key 'D' to mean 'throw the message away' #thus 'D' is the way to delete a single message from the DELETED folder #(rather than delete the whole folder) macro index d save-message=DELETEDenterenter macro index D delete-message --