Re: abook to lbdb (OT?)
* Peter P.[10-15-15 18:28]: > * Patrick Shanahan [2015-10-15 18:04]: > > * Peter P. [10-15-15 16:30]: > > > Hi list, > > > > > > please excuse me if this is slightly offtopic, nevertheless this seems a > > > propoer community to ask. > > > > > > Does anyone know if/how I can export an abook data file to a format that > > > can be merged with lbdb's m_inmail.list file? > > > > lbdb can read abook, /usr/lib64/lbdb/m_abook > > > > I believe if configured that it will automatically include abook addresses > > and will provide them when queried. > > Thank you, this is what I am already doing successfully. I would just > like to uninstall abook altogether (I am not using it really) and rely > only on lbdb, hence I would like to import/merge abook's datafile into > ~/.lbdb/m_inmail.list lbdbq > m_inmail.list.new cat m_inmail.list > m_inmail.list.new sort m_inmail.list.new | sort | uniq > m_inmail.list.new2 inspect m_inmail.list.new2 If satisfied, mv m_inmail.list m_inmail.list.old mv m_inmail.list.new2 m_inmail.list When happy with new list, rm m_inmail.list.old -- (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: Manual use of different account to send e-mails
* Alan Leoni[10-15-15 14:08]: [...] > The question is: How do I choose the correct e-mail address? Is there a > macro to do that? So you are not worried about the tranmission but the "From:" address? Somewhat confusing the way you asked. In .muttrc you can set a "default" from with: set from="email addr" You can also set the from addr based on a condition using send-hook: send-hook 'my_hdr From: Alan Leoni ' send-hook mutt-users 'my_hdr From: Alan Leoni ' Is this what you are asking or are you wanting to specify the ip for smtp? If you are wanting to direct the smtp, that's not mutt's job, but that of your smtp client, ie: postfix. -- (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
abook to lbdb (OT?)
Hi list, please excuse me if this is slightly offtopic, nevertheless this seems a propoer community to ask. Does anyone know if/how I can export an abook data file to a format that can be merged with lbdb's m_inmail.list file? Thank you for all ideas! P
Re: abook to lbdb (OT?)
* Patrick Shanahan[2015-10-15 18:04]: > * Peter P. [10-15-15 16:30]: > > Hi list, > > > > please excuse me if this is slightly offtopic, nevertheless this seems a > > propoer community to ask. > > > > Does anyone know if/how I can export an abook data file to a format that > > can be merged with lbdb's m_inmail.list file? > > lbdb can read abook, /usr/lib64/lbdb/m_abook > > I believe if configured that it will automatically include abook addresses > and will provide them when queried. Thank you, this is what I am already doing successfully. I would just like to uninstall abook altogether (I am not using it really) and rely only on lbdb, hence I would like to import/merge abook's datafile into ~/.lbdb/m_inmail.list
Re: abook to lbdb (OT?)
* Peter P.[10-15-15 16:30]: > Hi list, > > please excuse me if this is slightly offtopic, nevertheless this seems a > propoer community to ask. > > Does anyone know if/how I can export an abook data file to a format that > can be merged with lbdb's m_inmail.list file? lbdb can read abook, /usr/lib64/lbdb/m_abook I believe if configured that it will automatically include abook addresses and will provide them when queried. -- (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: abook to lbdb (OT?)
On Thu, Oct 15, 2015 at 11:06:34PM -0400, Patrick Shanahan wrote: > * Peter P.[10-15-15 18:28]: > > * Patrick Shanahan [2015-10-15 18:04]: > > > * Peter P. [10-15-15 16:30]: > > > > Hi list, > > > > > > > > please excuse me if this is slightly offtopic, nevertheless this seems a > > > > propoer community to ask. > > > > > > > > Does anyone know if/how I can export an abook data file to a format that > > > > can be merged with lbdb's m_inmail.list file? > > > > > > lbdb can read abook, /usr/lib64/lbdb/m_abook > > > > > > I believe if configured that it will automatically include abook addresses > > > and will provide them when queried. > > > > Thank you, this is what I am already doing successfully. I would just > > like to uninstall abook altogether (I am not using it really) and rely > > only on lbdb, hence I would like to import/merge abook's datafile into > > ~/.lbdb/m_inmail.list > > lbdbq > m_inmail.list.new > > cat m_inmail.list > m_inmail.list.new Shouldn't that be: cat m_inmail.list >> m_inmail.list.new otherwise it just overwrites previous output of previous instruction? > sort m_inmail.list.new | sort | uniq > m_inmail.list.new2 > > inspect m_inmail.list.new2 > > If satisfied, mv m_inmail.list m_inmail.list.old > mv m_inmail.list.new2 m_inmail.list > > When happy with new list, rm m_inmail.list.old -- "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: Compressed maildirs possible?
On 2015-09-17 18:22 -0500, David Champion wrote: > > Can the compressed folder code handle the case where the archived file > > is something like .zip or .tar, and contains a whole maildir? From > > reading that part of the manual it seems it should be possible, but I > > thought I'd check before playing with my precious archives. > > Yes. (Just tar, make copies, and experiment.) Your hook event can > be anything -- even bulk folder encryption is an option. > > I've done both these in the past, but not at present so I'm afraid I > don't have any specific examples. I finally decided that compress-hook > was suboptimal, and instead I use dynamic compression and deduplication > at the filesystem layer. It's delightful. It mostly works, but there is a small problem: the temprary directory is not cleaned up. Looking at the code in compress.c, I see this: /* remove the temporary mailbox */ void remove_file (CONTEXT* ctx) { if (ctx->magic == M_MBOX || ctx->magic == M_MMDF) remove (ctx->path); } So, looks like the case of a maildir wasn't considered, at least not in the version I have. Is yours different? Looks like this should be easy to patch, would there be interest in such a patch? -- Please *no* private copies of mailing list or newsgroup messages. Rule 420: All persons more than eight miles high to leave the court.
Manual use of different account to send e-mails
Hi everybody, I'm bettering my mutt configuration and I've a problem. I can't choose manually which e-mail account I want to use to send e-mails. In my muttrc I've the following configuration: folder-hook ~/Mail/gmail/* source ~/.mutt/account/gmailrc folder-hook ~/Mail/edu/* source ~/.mutt/account/edurc To be clear, this configuration runs. When I want to send an e-mail with gmail I go into gmail folders, and the same for the other account. What now I wan to do is: - Adding a new account only for smtp and than be able to choose with which account send e-mails (with a macro?). Or: - Adding a new account, saving the e-mails I get and I send in the gmail account, always being able to choose with which account send the message. Thanks for your help:) Cheers :) -- Alan Leoni
Re: Manual use of different account to send e-mails
* Alan Leoni[10-15-15 13:03]: > Hi everybody, > > I'm bettering my mutt configuration and I've a problem. I can't choose > manually which e-mail account I want to use to send e-mails. > > In my muttrc I've the following configuration: > > folder-hook ~/Mail/gmail/* source ~/.mutt/account/gmailrc > folder-hook ~/Mail/edu/* source ~/.mutt/account/edurc > > To be clear, this configuration runs. When I want to send an e-mail with > gmail I go into gmail folders, and the same for the other account. > > What now I wan to do is: > - Adding a new account only for smtp and than be able to choose with > which account send e-mails (with a macro?). > > Or: > - Adding a new account, saving the e-mails I get and I send in the gmail > account, always being able to choose with which account send the > message. You fail to mention what you are using for smtp? Which is where you would normally designate the "account" for transmission. -- (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: Manual use of different account to send e-mails
On 15 Oct 13:20, Patrick Shanahan wrote: > You fail to mention what you are using for smtp? Which is where you would > normally designate the "account" for transmission. Right. I use mutt as the sender. In my ~/.mutt/account/gmailrc I've this configuration: set folder = ~/Mail/gmail set spoolfile = +GMAIL_inbox set mbox = +GMAIL_inbox set postponed = +GMAIL_postponed set record = +GMAIL_sent set my_pass="my password" set my_user=a...@alanleoni.ch set smtp_url=smtps://$my_user:$my_p...@smtp.gmail.com set realname="Alan Leoni" set from=a...@alanleoni.ch Now I want to create another account like this: set folder = ~/Mail/gmail set spoolfile = +GMAIL_inbox set mbox = +GMAIL_inbox set move=no set postponed = +GMAIL_postponed set record = +GMAIL_sent ## Send options. set my_pass="my password2" set my_user=alanle...@gmail.com set smtp_url=smtps://$my_user:$my_p...@smtp.gmail.com set realname="Alan Leoni" set from=alanle...@gmail.com I want that the folders where I save the messages (inbox, postponed and sent ) remain the same (I use POP to get email), but they are sent from different addresses. The question is: How do I choose the correct e-mail address? Is there a macro to do that? Thanks a lot, Alan -- Alan Leoni