Re: [OT-ish] Want command line program to selectively delete emails

2023-09-17 Thread Sean Greenslade
On Mon, Aug 07, 2023 at 01:57:04AM +1000, Nemo Thorx wrote: > Quoting Ed Blackman from 04 Aug (a Friday in 2023) at 1434 hours... > > Any suggestions for a command line program to select emails for > > deletion based on command line options? I specifically want one that > &

Re: [OT-ish] Want command line program to selectively delete emails

2023-09-07 Thread David Haguenauer
Answering late: * Ed Blackman , 2023-08-04 14:34:44 Fri: > Any suggestions for a command line program to select emails for > deletion based on command line options? I specifically want one > that can remove emails that were received more than X days ago, but > can also express "

Re: [OT-ish] Want command line program to selectively delete emails

2023-08-07 Thread Mark H. Wood
Would 'mu find' and 'mu remove' from mu/maildir-utils help? You'd have to do a bit of scripting around them. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749

Re: [OT-ish] Want command line program to selectively delete emails

2023-08-06 Thread Ed Blackman
On Sun, Aug 06, 2023 at 06:41:30PM +0100, Darac Marjal wrote: > On 04/08/2023 19:34, Ed Blackman wrote: > > I could probably port archivemail to Python3 with enough time. > > I had a go at rewriting archivemail into python3 (partly because I wanted to > pipe messages into spam learning as I

Re: [OT-ish] Want command line program to selectively delete emails

2023-08-06 Thread Ed Blackman
On Mon, Aug 07, 2023 at 01:57:04AM +1000, Nemo Thorx wrote: > Quoting Ed Blackman from 04 Aug (a Friday in 2023) at 1434 hours... > > Any suggestions for a command line program to select emails for > > deletion based on command line options? I specifically want one that > &

Re: [OT-ish] Want command line program to selectively delete emails

2023-08-06 Thread Ed Blackman
On Fri, Aug 04, 2023 at 03:15:41PM -0400, Jon LaBadie wrote: > On Fri, Aug 04, 2023 at 02:34:44PM -0400, Ed Blackman wrote: > > I could probably port archivemail to Python3 with enough time. > > I make extensive, but very basic, use of archivemail. I'm concerned about > its going away. Does

Re: [OT-ish] Want command line program to selectively delete emails

2023-08-06 Thread Darac Marjal
On 04/08/2023 19:34, Ed Blackman wrote: Any suggestions for a command line program to select emails for deletion based on command line options? I specifically want one that can remove emails that were received more than X days ago, but can also express "but don't delete if they're fl

Re: Want command line program to selectively delete emails

2023-08-06 Thread googly . negotiator862
On Sun, Aug 06, 2023 at 04:04:34PM +0200, Marcus C. Gottwald wrote: > > I think for a true date received test, you have to look at the > > timestamp part of the filename. > Well, it looks like both mtime and timestamp-as-part-of-filename may > change when copying messages between Maildirs, at

Re: [OT-ish] Want command line program to selectively delete emails

2023-08-06 Thread Nemo Thorx
Quoting Ed Blackman from 04 Aug (a Friday in 2023) at 1434 hours... > Any suggestions for a command line program to select emails for > deletion based on command line options? I specifically want one that > can remove emails that were received more than X days ago, but can >

Re: Want command line program to selectively delete emails

2023-08-05 Thread googly . negotiator862
On Fri, Aug 04, 2023 at 10:56:18PM +0200, Marcus C. Gottwald wrote: >find ~/mail/folder1/cur/ -maxdepth 1 -type f -not -name '.*' \ > -mtime +30 \ > -not -name '*:2,*F*' \ > -delete > The conditions in the

Re: [OT-ish] Want command line program to selectively delete emails

2023-08-04 Thread Marcus C. Gottwald
Ed Blackman wrote (Fri 2023-Aug-04 14:34:44 -0400): > ... remove emails that were received more than X days ago, but can also > express "but don't delete if they're flagged". .. > I could give up on using the message headers to determine the message date, > learn how filenames are constructed

Re: [OT-ish] Want command line program to selectively delete emails

2023-08-04 Thread Jon LaBadie
On Fri, Aug 04, 2023 at 02:34:44PM -0400, Ed Blackman wrote: Any suggestions for a command line program to select emails for deletion based on command line options? I specifically want one that can remove emails that were received more than X days ago, but can also express "but don't d

[OT-ish] Want command line program to selectively delete emails

2023-08-04 Thread Ed Blackman
Any suggestions for a command line program to select emails for deletion based on command line options? I specifically want one that can remove emails that were received more than X days ago, but can also express "but don't delete if they're flagged". I had been using archivema

Re: Can Bounce command be used from the command line?

2021-06-10 Thread Jon LaBadie
ommands. The usual approach is to "push" the requisite keystrokes, which then get played. However, to "bounce" a message from the command line it is far more expedient to just go: sendmail -oi addr addr addr ... < message which is all mutt will be doing. Drops the same m

Re: Can Bounce command be used from the command line?

2021-06-07 Thread Cameron Simpson
On 08Jun2021 09:06, Cameron Simpson wrote: >The usual approach is to "push" the requisite keystrokes, which then >get played. Example from one of my scripts: mutt -f "$folder" -e "push '$pattern'" I still recommend just using sendmail directly though. I thought procmail had some

Re: Can Bounce command be used from the command line?

2021-06-07 Thread Cameron Simpson
site keystrokes, which then get played. However, to "bounce" a message from the command line it is far more expedient to just go: sendmail -oi addr addr addr ... < message which is all mutt will be doing. Drops the same messages straight into the local mail system for deliver to the specified addrs. Cheers, Cameron Simpson

Can Bounce command be used from the command line?

2021-06-07 Thread Jon LaBadie
Some messages I receive my wife should see also. Rather than "Forward" ("f" command) them, I typically "Bounce" ("B" command) them to her. I would like to automate this procedure for certain sender addresses so I'm developing a procmail recipie. Is there a way to use mutt from the command like

Re: Search and limit from command line

2021-03-20 Thread Jens John
ail using mbsync. For example, I run a systemd timer every 15minutes in the background which downloads all email and updates notmuch. This way, you do not need to ever worry about the sync. But then you're free to just use notmuch on the command line, or make some macros to use notm

Re: Search and limit from command line

2021-03-20 Thread ಚಿರಾಗ್ ನಟರಾಜ್
12021/01/38 06:41.76 ನಲ್ಲಿ, Julius Hamilton ಬರೆದರು: > > Thanks very much. > I'm a beginner to this, so I'd appreciate being able to ask a few > questions about setting this up. > It asked for the path to my email archive. I had a folder on my desktop > called Mail, but it's empty, and not

Re: Search and limit from command line

2021-03-20 Thread Julius Hamilton
m:Julius Hamilton' > thread:000000015cd4 25 mins. ago [1/1] Julius Hamilton; Search and limit > from command line (inbox unread) > > $ notmuch search --format=json 'from:Julius Hamilton' > [{"thread": "00015cd4", "timestamp": 161622, &quo

Re: Search and limit from command line

2021-03-20 Thread Andy Spiegl
> Use notmuch. ... > I have integrated it with my mutt like so BTW, are there any plans to integrate notmuch into mutt? (like neomutt does) Cheers, Andy -- If you see someone without a smile, give 'em one of yours. (anonymous)

Re: Search and limit from command line

2021-03-20 Thread Ulrich Lauther
On Sat, Mar 20, 2021 at 11:11:43AM +0100, Jens John wrote: > On Sat, 20 Mar 2021, at 10:42, Julius Hamilton wrote: > > Hello Mutt users, > > > > I would like to know if there is a way to retrieve a list of emails from > > a particular user at stdout in bash, rather than launching the mutt > >

Re: Search and limit from command line

2021-03-20 Thread Jens John
rch and limit from command line (inbox unread) $ notmuch search --format=json 'from:Julius Hamilton' [{"thread": "00015cd4", "timestamp": 161622, "date_relative": "26 mins. ago", "matched": 1, "total

Search and limit from command line

2021-03-20 Thread Julius Hamilton
Hello Mutt users, I would like to know if there is a way to retrieve a list of emails from a particular user at stdout in bash, rather than launching the mutt application. Or, if one can launch mutt with the search already executed. I currently know how to launch mutt, and then search for a

Re: Sending all mail in IMAP folder from command line

2020-11-22 Thread Cameron Simpson
On 21Nov2020 23:42, Kurt Hackenberg wrote: >On 2020-11-21 21:31, Cameron Simpson wrote: >> The draft file is expected to contain just an RFC822 email: >> headers and a body. Although it is not an mbox file, if an mbox "From >> " line is present, it will be silently discarded. > >Good.

Re: Sending all mail in IMAP folder from command line

2020-11-21 Thread Kurt Hackenberg
On 2020-11-21 21:31, Cameron Simpson wrote: This then? The draft file is expected to contain just an RFC822 email: headers and a body. Although it is not an mbox file, if an mbox "From " line is present, it will be silently discarded. Good. I'll figure out how to do a *roff

Re: Sending all mail in IMAP folder from command line

2020-11-21 Thread Cameron Simpson
On 21Nov2020 16:37, Kurt Hackenberg wrote: >On 2020-11-21 00:10, Cameron Simpson wrote: >>How about: >> >>The draft file is expected to contain just an RFC822 email: >>headers and a body. Although it is not an mbox file, if an mbox "From >>" pseudo-header is present, it will be

Re: Sending all mail in IMAP folder from command line

2020-11-21 Thread raf
On Sat, Nov 21, 2020 at 04:10:24PM +1100, Cameron Simpson wrote: > On 21Nov2020 13:07, raf wrote: > >On Sat, Nov 21, 2020 at 10:32:03AM +1100, Cameron Simpson > >wrote: > >> New ticket for amending the manual entry here: > >> https://gitlab.com/muttmua/mutt/-/issues/302 > >> Comments on

Re: Sending all mail in IMAP folder from command line

2020-11-21 Thread Kurt Hackenberg
On 2020-11-21 00:10, Cameron Simpson wrote: How about something like this: The draft file is expected to contain just the email. It is not an mbox file. However, if an mbox From_ header is present, it will be accepted. Hmm. Pretty wordy. But not bad. How about: The draft file is

Re: Sending all mail in IMAP folder from command line

2020-11-20 Thread Cameron Simpson
On 21Nov2020 13:07, raf wrote: >On Sat, Nov 21, 2020 at 10:32:03AM +1100, Cameron Simpson >wrote: >> New ticket for amending the manual entry here: >> https://gitlab.com/muttmua/mutt/-/issues/302 >> Comments on wording/clarity welcome. > >In general, I usually think saying "ignored" is

Re: Sending all mail in IMAP folder from command line

2020-11-20 Thread raf
On Sat, Nov 21, 2020 at 10:32:03AM +1100, Cameron Simpson wrote: > On 19Nov2020 14:14, raf wrote: > >Just a thought: if it needs to have a From_ mbox > >message header (or if it needs to not have that), it > >might be worth mentioning. Even if the mbox message > >header is optional, it might

Re: Sending all mail in IMAP folder from command line

2020-11-20 Thread Cameron Simpson
On 19Nov2020 14:14, raf wrote: >Just a thought: if it needs to have a From_ mbox >message header (or if it needs to not have that), it >might be worth mentioning. Even if the mbox message >header is optional, it might be worth mentioning that >it's optional. And I think there are several

Re: Sending all mail in IMAP folder from command line

2020-11-19 Thread Kurt Hackenberg
On 2020-11-19 04:29, Cameron Simpson wrote: ‐H draft Specify a draft file which contains header and body to use to send a message. ... Just a thought: if it needs to have a From_ mbox message header (or if it needs to not have that)... I'm pretty sure no From_

Re: Sending all mail in IMAP folder from command line

2020-11-19 Thread Cameron Simpson
On 19Nov2020 14:14, raf wrote: >On Thu, Nov 19, 2020 at 10:40:43AM +1100, Cameron Simpson >wrote: >> The man page says: >> >>‐H draft Specify a draft file which contains header and body >> to use to send a message. >> >> Aside from saying that the message includes

Re: Sending all mail in IMAP folder from command line

2020-11-18 Thread raf
On Thu, Nov 19, 2020 at 10:40:43AM +1100, Cameron Simpson wrote: > On 18Nov2020 12:08, Olli Savolainen wrote: > >> You could for this: > >> - save all the messages to a local filesystem maildir folder > >> - write a short shell loop to run mutt -H for each message file in the > >> maildir > >

Re: Sending all mail in IMAP folder from command line

2020-11-18 Thread Cameron Simpson
On 18Nov2020 12:08, Olli Savolainen wrote: >> You could for this: >> - save all the messages to a local filesystem maildir folder >> - write a short shell loop to run mutt -H for each message file in the >> maildir > >Thanks! This is what I was looking for. Couldn’t find any documentation >on

Re: Sending all mail in IMAP folder from command line

2020-11-18 Thread Olli Savolainen
On Sun, Nov 15, 2020 at 23:19, Cameron Simpson wrote: > On 15Nov2020 09:56, Olli Savolainen wrote: >>I have draft messages appearing in an imap folder. I would like to >>write a script that reads a message (or all messages) from that folder >>and sends it as it is, then moving the message to

Re: Sending all mail in IMAP folder from command line

2020-11-15 Thread Gregory Heytings
I have draft messages appearing in an imap folder. I would like to write a script that reads a message (or all messages) from that folder and sends it as it is, then moving the message to imap Sent folder. It seems something like mutt -H would do the job, just can’t figure out how to get

Re: Sending all mail in IMAP folder from command line

2020-11-15 Thread raf
On Mon, Nov 16, 2020 at 08:19:21AM +1100, Cameron Simpson wrote: > On 15Nov2020 09:56, Olli Savolainen wrote: > >I have draft messages appearing in an imap folder. I would like to > >write a script that reads a message (or all messages) from that folder > >and sends it as it is, then moving

Re: Sending all mail in IMAP folder from command line

2020-11-15 Thread Cameron Simpson
On 15Nov2020 09:56, Olli Savolainen wrote: >I have draft messages appearing in an imap folder. I would like to >write a script that reads a message (or all messages) from that folder >and sends it as it is, then moving the message to imap Sent folder. > >It seems something like mutt -H would do

Re: Sending all mail in IMAP folder from command line

2020-11-15 Thread Olli Savolainen
>> >> I have draft messages appearing in an imap folder. I would like to write >> a script that reads a message (or all messages) from that folder and >> sends it as it is, then moving the message to imap Sent folder. >> >> It seems something like mutt -H would do the job, just can’t figure out >>

Sending all mail in IMAP folder from command line

2020-11-15 Thread Olli Savolainen
Hi, I have draft messages appearing in an imap folder. I would like to write a script that reads a message (or all messages) from that folder and sends it as it is, then moving the message to imap Sent folder. It seems something like mutt -H would do the job, just can’t figure out how to get

Re: Sending via command line and $record

2018-12-01 Thread Dave Woodfall
sing a separate > > startup file. > > Does adding -e 'set record="=Sent"' to the command line help? > > -- > Kevin J. McCarthy > GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA It does indeed do the trick. Thanks very much. Dave -- Kansas sta

Re: Sending via command line and $record

2018-12-01 Thread Kevin J. McCarthy
On Sat, Dec 01, 2018 at 11:31:38PM +, Dave Woodfall wrote: Is there a way to make sure that all mail sent via CLI saves a copy in =Sent? The only way I can see at the moment is by using a separate startup file. Does adding -e 'set record="=Sent"' to the command line help?

Sending via command line and $record

2018-12-01 Thread Dave Woodfall
Hi I have been using a script for a while now that uses mutt to send emails out. I've just noticed today that it no longer saves in =Sent, and I suspect it's since I started using a dynamic record setting - i.e. ^ for most mail, but =Sent for mailing lists. I can't see any option for fcc'ing

mutt and gpg in command line

2018-05-27 Thread Alain Reymond
Hello, mutt 1.5.21 under Centos 7 gpg 2.0.22 under Centos 7 I have been trying to send encrypted messages via mutt in command line. The email arrives at destination but is never encrypted. If I send the same thing using mutt interactively, the message arrives encrypted. Any idea where I could

Re: [SPAM?] Re: [SPAM?] How to allow mutt to send from different accounts on the command line?

2016-08-12 Thread lists
On Fri, Aug 12, 2016 at 08:22:17AM +0100, spaceman wrote: > Having just been looking at a similar problem it might better to use > > set sendmail = "/usr/bin/msmtp --read-envelope-from" > > Which removes the need to specify an account completely with msmtp so long as > it can find a matching

[SPAM?] Re: [SPAM?] How to allow mutt to send from different accounts on the command line?

2016-08-12 Thread spaceman
Hi, A more mutt-like solution could be to use send-hooks to set the $sendmail variable every time the From: header of an email changes. msmtp accepts the account to be used on the command line as -a $account, send-hook "~f o...@example.com" 'set sendmail = "/usr/bin/msmtp -a

Re: [SPAM?] How to allow mutt to send from different accounts on the command line?

2016-08-12 Thread lists
On Thu, Aug 11, 2016 at 05:48:01PM -0500, Peng Yu wrote: > Hi, I have msmtp set up on my computer. But I don't find how to > specify different accounts to send email from mutt command line. Does > anybody know how to do it? Thanks. I am also using msmtp, but in a way so that differ

Re: [SPAM?] How to allow mutt to send from different accounts on the command line?

2016-08-11 Thread Patrick Shanahan
* Peng Yu <pengyu...@gmail.com> [08-11-16 18:54]: > Hi, I have msmtp set up on my computer. But I don't find how to > specify different accounts to send email from mutt command line. Does > anybody know how to do it? Thanks. copy your ~/.muttrc to another filename and then

[SPAM?] How to allow mutt to send from different accounts on the command line?

2016-08-11 Thread Peng Yu
Hi, I have msmtp set up on my computer. But I don't find how to specify different accounts to send email from mutt command line. Does anybody know how to do it? Thanks. -- Regards, Peng

S/MIME from the command line?

2015-08-31 Thread Ralf Hildebrandt
I found: http://comments.gmane.org/gmane.mail.mutt.user/40965 And right now I'm trying to send S/MIME signed mails from the command line. Invoking mutt interactively using my custom config: % mutt -F ~/muttrc works as expected (mail is being signed, sender is set correctly and so on) Invoking

Re: Send message as inline using mutt command line in script

2015-06-20 Thread David Woodfall
On Sat, Jun 20, 2015 at 04:52:11AM +0100, David Woodfall wrote: I have a script that emails a cover.txt message plus a pdf attachment, but the message, while being readable, shows as an attachment too: [-- Attachment #1 --] [-- Type: text/plain, Encoding: 7bit, Size: 0.4K --] Is there a way

Re: Send message as inline using mutt command line in script

2015-06-19 Thread Will Yardley
On Sat, Jun 20, 2015 at 04:52:11AM +0100, David Woodfall wrote: I have a script that emails a cover.txt message plus a pdf attachment, but the message, while being readable, shows as an attachment too: [-- Attachment #1 --] [-- Type: text/plain, Encoding: 7bit, Size: 0.4K --] Is there

Send message as inline using mutt command line in script

2015-06-19 Thread David Woodfall
Hi, I have a script that emails a cover.txt message plus a pdf attachment, but the message, while being readable, shows as an attachment too: [-- Attachment #1 --] [-- Type: text/plain, Encoding: 7bit, Size: 0.4K --] Is there a way of having it send inline? The command I am using at the

Re: Send message as inline using mutt command line in script

2015-06-19 Thread Ian Zimmerman
On 2015-06-20 04:52 +0100, David Woodfall wrote: I have a script that emails a cover.txt message plus a pdf attachment, but the message, while being readable, shows as an attachment too: This seems to be a common application (I'm aware of the pun). I do it with a shell script involving

Re: setting flag from command line

2015-06-04 Thread Cameron Simpson
_or_ using the my_hdr mutt command, via mutt's -e command line option. I considered, and tried, message-hook. But that seems to only take effect as the message is read, not while viewing the index. BTW, this sounds like you need this only for yourself. In which case I would advocate doing

setting flag from command line

2015-06-04 Thread Jon LaBadie
When using mutt in a shell script to send notices, I would like for important notices to stand out when viewed in the mutt index. Turning on the flag status would be sufficient if I could do it when sending the mail rather than after I receive it. I considered, and tried, message-hook. But that

mutt/PGP works interactively but not on command line, what's going wrong?

2015-01-06 Thread manu.ca...@ethical-hacking.de
Dear all, I am obviously doing something wrong but can't find out what... I configured mutt to PGP-sign/encrypt (~/.muttrc and ~/.gpg.rc). When sending out an email interactively, everything works fine: emails get signed and encrypted by mutt. But if I am sending a mail via the command line

Re: Sending via command line and record/sent

2013-05-21 Thread David Woodfall
On (20/05/13 20:33), Patrick Shanahan ptilopt...@gmail.com put forth the proposition: * David Woodfall d...@dawoodfall.net [05-20-13 20:01]: I've found that sending mail as root saves a copy in /root/mail/Sent/, whereas sending as my user doesn't seem to keep a record at all. The only

Re: Sending via command line and record/sent

2013-05-21 Thread Paul Hoffman
On Tue, May 21, 2013 at 06:56:56AM +0100, David Woodfall wrote: On (20/05/13 20:33), Patrick Shanahan ptilopt...@gmail.com put forth the proposition: * David Woodfall d...@dawoodfall.net [05-20-13 20:01]: I've found that sending mail as root saves a copy in /root/mail/Sent/, whereas sending

Sending via command line and record/sent

2013-05-20 Thread David Woodfall
I've found that sending mail as root saves a copy in /root/mail/Sent/, whereas sending as my user doesn't seem to keep a record at all. The only difference between root and user is that root is using mbox and user is maildir. Is there some way around this? D.

Re: Sending via command line and record/sent

2013-05-20 Thread Patrick Shanahan
* David Woodfall d...@dawoodfall.net [05-20-13 20:01]: I've found that sending mail as root saves a copy in /root/mail/Sent/, whereas sending as my user doesn't seem to keep a record at all. The only difference between root and user is that root is using mbox and user is maildir. Is there

Re: Sending via command line and record/sent

2013-05-20 Thread David Woodfall
On (20/05/13 20:33), Patrick Shanahan ptilopt...@gmail.com put forth the proposition: * David Woodfall d...@dawoodfall.net [05-20-13 20:01]: I've found that sending mail as root saves a copy in /root/mail/Sent/, whereas sending as my user doesn't seem to keep a record at all. The only

Re: S/MIME from command-line

2013-03-06 Thread Kunszt Árpád
2013/3/6 Andre Klärner kan...@ak-online.be: Hi Kunszt, On Tue, Mar 05, 2013 at 09:05:06AM +0100, Kunszt Árpád wrote: When I'm using the interactive user-interface everything works fine, but from the command line it doesn't work. I tried a lot of things, googled half of the day, but I didn't

S/MIME from command-line

2013-03-05 Thread Kunszt Árpád
Hi! I want to use Mutt to send S/MIME encrypted (no signing is planned at the moment, so just encrypting) e-mails from command line. The e-mails consists of a short body and a variable number of attached files. The content is generated by a cron job. When I'm using the interactive user-interface

Re: S/MIME from command-line

2013-03-05 Thread Andre Klärner
Hi Kunszt, On Tue, Mar 05, 2013 at 09:05:06AM +0100, Kunszt Árpád wrote: When I'm using the interactive user-interface everything works fine, but from the command line it doesn't work. I tried a lot of things, googled half of the day, but I didn't found any working solution. Is it possible

Re: Record Sent Mesages to IMAP Folder when Using Mutt on Command Line

2013-03-02 Thread Elias Diem
Hi Thomas On 2013-02-22, Reim, Thomas wrote: What do I miss? I don't know, but make sure that in both cases (interactive and command line) you use the same configuration file. Maybe using mutt's -F option. -- Greetings Elias

Record Sent Mesages to IMAP Folder when Using Mutt on Command Line

2013-02-22 Thread Reim, Thomas
Dear all, I've succesfully configured mutt to receive messages via IMAP and send messages via SMTP from/to a mail server (Dovecot, Postfix) in the network. If I send mails using Mutt's user interface, sent mails are saved in the relevant IMAP folder Sent. But if I use the command-line mode

Re: Using .muttrc while sending messages from command line

2012-12-04 Thread Michael Elkins
On Tue, Dec 04, 2012 at 05:26:34PM -0500, Spangler, Tim wrote: I have several automated processes that send e-mail from the command line, and I'd like each one to use its own .muttrc. This would allow me to specify the return address for each of these sets of e-mails based on the process

Re: Using .muttrc while sending messages from command line

2012-12-04 Thread Grant Edwards
On 2012-12-04, Spangler, Tim tim.spang...@adp.com wrote: I have several automated processes that send e-mail from the command line, and I'd like each one to use its own .muttrc. This would allow me to specify the return address for each of these sets of e-mails based on the process sending

Re: Using .muttrc while sending messages from command line

2012-12-04 Thread Michael Elkins
On Tue, Dec 04, 2012 at 06:41:28PM -0500, Spangler, Tim wrote: The Muttrc_client files look similar to this (file name for this one is Muttrc_batch): set realname=Batch Reports set from =donotre...@adpselect.com set use_from=yes Which version of Mutt are you using?

Re: Using .muttrc while sending messages from command line

2012-12-04 Thread Michael Elkins
On Tue, Dec 04, 2012 at 11:50:47PM +, Grant Edwards wrote: Are you sure that the -n is needed? -n Causes Mutt to bypass the system configuration file. That may be telling mutt to ignore the configuration file that you're specifying with the -F options. The -n option only controls

Re: Using .muttrc while sending messages from command line

2012-12-04 Thread Michael Elkins
On Tue, Dec 04, 2012 at 06:41:28PM -0500, Spangler, Tim wrote: The Muttrc_client files look similar to this (file name for this one is Muttrc_batch): set realname=Batch Reports set from =donotre...@adpselect.com set use_from=yes I put the above in 'testrc' and then ran: $ echo 'hello world'

Re: Mac Command Line and mutt

2011-09-15 Thread Cameron Simpson
On 13Sep2011 03:43, Michael Graham mich...@skky.org wrote: | On Mon, Sep 12, 2011 at 17:07, Leo Vegoda wrote: | […] In my experience it works the same on whichever OS you choose as long as you build in all the bits and pieces you need. | | That’s my experience too. I use it on my Mac, and also

Re: Mac Command Line and mutt

2011-09-15 Thread Cameron Simpson
On 13Sep2011 10:06, Tom Baker tba...@tbaker.de wrote: | I have a related problem since moving from XP to Mac last May. I save email | threads as MBOX files and reference them on the (local) home page of my | browser, Firefox. The home page is my to-do list, and it contains references | along the

Re: Mac Command Line and mutt

2011-09-15 Thread Tom Baker
On Thu, Sep 15, 2011 at 10:58:08PM +1000, Cameron Simpson wrote: | I have a related problem since moving from XP to Mac last May. I save email | threads as MBOX files and reference them on the (local) home page of my | browser, Firefox. The home page is my to-do list, and it contains

Re: Mac Command Line and mutt

2011-09-13 Thread Michael Graham
On Mon, Sep 12, 2011 at 17:07, Leo Vegoda wrote: […] In my experience it works the same on whichever OS you choose as long as you build in all the bits and pieces you need. That’s my experience too. I use it on my Mac, and also on a Linux VPS (which I’m using now), and I haven’t had any

Re: Mac Command Line and mutt

2011-09-13 Thread Tom Baker
On Mon, Sep 12, 2011 at 02:56:08PM -0800, Tim Johnson wrote: Not so much a mutt question as a request for a reference. FYI: I have used mutt for years on linux. I am considering getting a mac mini. Some time ago, I queried this list about using mutt on a mac and from the responses, it

Re: Mac Command Line and mutt

2011-09-13 Thread Tim Gray
On Sep 13, 2011 at 10:06 AM -0400, Tom Baker wrote: If I could solve this problem, then presumably I could configure the Mac to open mutt when I click on a file such as important-email-exchange.mbox in the Mac Finder. I have tried everything I could think of, even looked into Emacs's Rmail, but

Re: Mac Command Line and mutt

2011-09-13 Thread Tim Gray
On Sep 12, 2011 at 04:39 PM -0800, Tim Johnson wrote: Ah! Package systems, that is valuable info. I'd definitely recommend homebrew over the others. A lot less messy and easier to install and manage in my mind. As far as installing mutt, even though I have a lot of stuff installed with

Re: Mac Command Line and mutt

2011-09-13 Thread Tom Baker
Wow - this is great. Thanks! Options to work with :-) I installed iTerm, configured it for /sw/bin/mutt -f $$URL$$ and tried clicking on: A HREF=wais://Users/tbaker/mboxmbox - 2 slashes/A A HREF=wais:///Users/tbaker/mboxmbox - 3 slashes/A Firefox prompted me to choose a program, with

Mac Command Line and mutt

2011-09-12 Thread Tim Johnson
Not so much a mutt question as a request for a reference. FYI: I have used mutt for years on linux. I am considering getting a mac mini. Some time ago, I queried this list about using mutt on a mac and from the responses, it appears that some of you do just that. What I am most interested in at

Re: Mac Command Line and mutt

2011-09-12 Thread Ravi Pina
On Mon, Sep 12, 2011 at 02:56:08PM -0800, Tim Johnson wrote: Not so much a mutt question as a request for a reference. FYI: I have used mutt for years on linux. I am considering getting a mac mini. Some time ago, I queried this list about using mutt on a mac and from the responses, it

Re: Mac Command Line and mutt

2011-09-12 Thread Tim Johnson
* Ravi Pina r...@cow.org [110912 15:15]: On Mon, Sep 12, 2011 at 02:56:08PM -0800, Tim Johnson wrote: Not so much a mutt question as a request for a reference. FYI: I have used mutt for years on linux. I am considering getting a mac mini. Some time ago, I queried this list about using

Re: Mac Command Line and mutt

2011-09-12 Thread Leo Vegoda
On Mon, Sep 12, 2011 at 03:28:30PM -0800, Tim Johnson wrote: [...] I'm not sure what you're looking for. Terminal.app and iTerm.app are just a means for running your preferred shell that you would otherwise use to launch Mutt. I would be looking for (initially) something that I could

Re: Mac Command Line and mutt

2011-09-12 Thread Tim Johnson
* Leo Vegoda l...@bind.org [110912 16:16]: On Mon, Sep 12, 2011 at 03:28:30PM -0800, Tim Johnson wrote: [...] I'm not sure what you're looking for. Terminal.app and iTerm.app are just a means for running your preferred shell that you would otherwise use to launch Mutt. I would

Re: command-line recipients limit

2011-08-14 Thread afshin afzali
Hi Patrick, Thanks to your advise. Do you expect that sending to 1000 recipients on one SMTP session be less than invoking sendmail for 20 time? -- afshin On Sun, Aug 14, 2011 at 1:37 AM, Patrick Ben Koetter p...@state-of-mind.de wrote: * afshin afzali a.afzali2...@gmail.com: I'm using

Re: command-line recipients limit

2011-08-14 Thread Patrick Ben Koetter
* afshin afzali a.afzali2...@gmail.com: Thanks to your advise. Do you expect that sending to 1000 recipients on one SMTP session be less than invoking sendmail for 20 time? Invoking the sendmail command is much slower, compared to a SMTP Session. p@rick -- afshin On Sun, Aug 14, 2011

Re: command-line recipients limit

2011-08-14 Thread afshin afzali
The SMTP support is implemented in 1.5.x versions. As stated in mutt.org the stable version still is 1.4.2.3! Do you recommend use of 1.5.x in production enviroments? Thanks, -- afshin On Sun, Aug 14, 2011 at 6:42 PM, Patrick Ben Koetter p...@state-of-mind.de wrote: * afshin afzali

Re: command-line recipients limit

2011-08-14 Thread Patrick Ben Koetter
* afshin afzali a.afzali2...@gmail.com: The SMTP support is implemented in 1.5.x versions. As stated in mutt.org the stable version still is 1.4.2.3! Do you recommend use of 1.5.x in production enviroments? Yes, I recommend using the production version. I use it myself everyday: p@x220:~$

Re: command-line recipients limit

2011-08-14 Thread afshin afzali
The last thing, I could not find last release RPM package for EL5. Would you address me where I would find it or mutt.spec to build it by myself? -- afshin On Sun, Aug 14, 2011 at 9:16 PM, afshin afzali a.afzali2...@gmail.com wrote: The SMTP support is implemented in 1.5.x versions. As stated

Re: command-line recipients limit

2011-08-14 Thread Patrick Ben Koetter
* afshin afzali a.afzali2...@gmail.com: The last thing, I could not find last release RPM package for EL5. Would you address me where I would find it or mutt.spec to build it by myself? Can't help with that. I switched to Debian/Ubuntu a few years ago. p@rick -- afshin On Sun, Aug

Re: command-line recipients limit

2011-08-14 Thread afshin afzali
Thanks for your help :) On Sun, Aug 14, 2011 at 10:47 PM, Patrick Ben Koetter p...@state-of-mind.de wrote: * afshin afzali a.afzali2...@gmail.com: The last thing, I could not find last release RPM package for EL5. Would you address me where I would find it or mutt.spec to build it by myself?

command-line recipients limit

2011-08-13 Thread afshin afzali
Hi there, I'm using mutt to send bulk emails by postfix. I'll appreciate if know there is any limitation on recipients count. BEST, -- afshin

Re: command-line recipients limit

2011-08-13 Thread Patrick Ben Koetter
* afshin afzali a.afzali2...@gmail.com: I'm using mutt to send bulk emails by postfix. I'll appreciate if know there is any limitation on recipients count. You could use a script to invoke mutt in batches of 50 recipients and have mutt use the sendmail command. You could also configure mutt to

Is it possible form the command line to run a mutt macro

2011-04-20 Thread Eric Smith
Hi I want mutt to startup and run imediately a macro. Is this possible? -- - Eric Smith

Re: Is it possible form the command line to run a mutt macro

2011-04-20 Thread Richard
On Wed, Apr 20, 2011 at 10:51:52AM +0200, Eric Smith wrote: Hi I want mutt to startup and run imediately a macro. Is this possible? would that work? mutt -e 'push m'' Richard --- Name and OpenPGP keys available from pgp key servers

Re: Is it possible form the command line to run a mutt macro

2011-04-20 Thread Eric Smith
Richard said: would that work? mutt -e 'push m'' Yehee, and so it does, thanks Richard.

Re: Open a specific message from the command line

2010-09-29 Thread Tim Gray
On Sep 27, 2010 at 11:59 AM +0200, Jostein Berntsen wrote: If you install the mu search utility, you can open mails directly with the mu view file path command. To find the file path for a specific mail you can use mu find search criteria --fields l, d, f, s to get this displayed on stdout.

  1   2   3   >