Re: quick alpine config question?

2023-11-25 Thread David Wright
On Sat 25 Nov 2023 at 13:35:05 (-0500), Karen Lewellen wrote:
> Hi folks,
> floating back on screen with the latest and a question.
> My knight of mailbox creation has done a fine job so far.
> The issue is, I am being asked to provide my password for every task,
> even after doing so and logging into the imap setup the first time.
> Is there a line anywhere that has a timeout for this anywhere that can
> be adjusted?
> Or something else covering  how long alpine decides you are good to go
> where imap is concerned?
> for the record, he is using Ubuntu 22 plus, with Alpine being 2.5 plus
> I believe.

The symptom you describe might suggest that disable-password-caching
is set somewhere.

To save a password, you type N (for new-password) and it gets stored
in .pine-passfile in an obfuscated form. You should
chmod go=   that file as otherwise it is completely unprotected from
revealing your password to anyone reading it..

When you try that, you'll find out (a) whether the ubuntu version
allows this to be done, and (b) whether that's the correct filename.

There are other nasties like: nowrite_password_cache,
disable-password-file-saving and disable-password-cmd,
but I don't know the details. It looks as though there's a lot of
help information in the binary (assuming it's compiled in).

Cheers,
David.



Re: quick alpine config question?

2023-11-25 Thread Karen Lewellen

Hi folks,
floating back on screen with the latest and a question.
My knight of mailbox creation has done a fine job so far.
The issue is, I am being asked to provide my password for every task, even 
after doing so and logging into the imap setup the first time.
Is there a line anywhere that has a timeout for this anywhere that can be 
adjusted?
Or something else covering  how long alpine decides you are good to go 
where imap is concerned?
for the record, he is using Ubuntu 22 plus, with Alpine being 2.5 plus  I 
believe.


Thanks,
Kare





Re: quick alpine config question?

2023-11-25 Thread David Wright
On Sat 25 Nov 2023 at 11:46:39 (+), Tim Woodall wrote:
> OK. This is weird! Something is joining those two lines.

Your post's headers contained the following line:

  Content-Type: text/plain; format=flowed; charset=US-ASCII
↑

A fix is to diff > output-file and attach the output file.

> I've tried removing the trailing space on the original commented
> separator =

Trailing spaces are significant to format=flowed.

Cheers,
David.



Re: quick alpine config question?

2023-11-25 Thread Tim Woodall

On Sat, 25 Nov 2023, Tixy wrote:


On Sat, 2023-11-25 at 13:49 +, Tixy wrote:

On Sat, 2023-11-25 at 11:46 +, Tim Woodall wrote:

OK. This is weird! Something is joining those two lines.


Not at this end it isn't. For me, all 3 of your diffs look the same on
screen and are binary the same apart from the space you deleted in the
third one.

Perhaps your MUA is treating it as being in quoted-printable encoding?


I've just looked at the message on the web archive [1] and see that
shows the lines joined before you removed the space after the '=',
perhaps that's what you were looking at?

[1] https://lists.debian.org/debian-user/2023/11/msg00898.html



I wasn't looking at that but yes, that's exactly what I was seeing.

When I view them in alpine, both the versions in sent-mail and the
versions in debian-user look like that, with the lines joined.

If I "postpone" the message and then continue editing the lines do not
get merged (I tested this while composing the previous messages)

After your email (thanks) I went and checked the Maildir. All the
messages are correct with the linebreak - so they've gone out from
alpine, thirough various mailservers to debian-user and then back
through more to my Maildir and nothing has corrupted them.

Interestingly, and I didn't think to try this before because my emails
are plain text, hitting `H' (full header mode) does display the message
correctly with the linebreak.

My guess is that it's an unfortunate interaction of using vim as my
editor, alpine setting format=flowed and that diff having a trailing
space.

I think, therefore, alpine (and the webserver you linked to) are
correctly reflowing these two lines. At some point I need to see if
there's a way to get alpine (or vim) to warn about this situation or
maybe a different header would be more appropriate as I do not have
:set fo+=w so I do not normally have trailing spaces (and vim does
highlight them for me so I knew it was there but I left it in
deliberately.

Now I know about this I can avoid it - but a better header would seem to
be appropriate given that I do not use this feature.

https://stackoverflow.com/questions/16282728/how-do-i-compose-format-flowed-emails-that-include-hanging-indents-with-vim

Tim.


Re: quick alpine config question?

2023-11-25 Thread Tixy
On Sat, 2023-11-25 at 13:49 +, Tixy wrote:
> On Sat, 2023-11-25 at 11:46 +, Tim Woodall wrote:
> > OK. This is weird! Something is joining those two lines.
> 
> Not at this end it isn't. For me, all 3 of your diffs look the same on
> screen and are binary the same apart from the space you deleted in the
> third one.
> 
> Perhaps your MUA is treating it as being in quoted-printable encoding?

I've just looked at the message on the web archive [1] and see that
shows the lines joined before you removed the space after the '=',
perhaps that's what you were looking at?

[1] https://lists.debian.org/debian-user/2023/11/msg00898.html 

-- 
Tixy



Re: quick alpine config question?

2023-11-25 Thread Tixy
On Sat, 2023-11-25 at 11:46 +, Tim Woodall wrote:
> OK. This is weird! Something is joining those two lines.

Not at this end it isn't. For me, all 3 of your diffs look the same on
screen and are binary the same apart from the space you deleted in the
third one.

Perhaps your MUA is treating it as being in quoted-printable encoding?
Though looking at the RFC for that, it looks like deleting the trailing
space should have caused the problem (by turning it into a soft line
break) not fixed it. So it's perhaps some other quirk.

-- 
Tixy

 



Re: quick alpine config question?

2023-11-25 Thread Tim Woodall

OK. This is weird! Something is joining those two lines.

diff --git a/dovecot/conf.d/10-mail.conf b/dovecot/conf.d/10-mail.conf
index b47235f..5b20997 100644
--- a/dovecot/conf.d/10-mail.conf
+++ b/dovecot/conf.d/10-mail.conf
@@ -27,7 +27,8 @@
 #
 # 
 #
-mail_location = mbox:~/mail:INBOX=/var/mail/%u
+#mail_location = mbox:~/mail:INBOX=/var/mail/%u
+mail_location = maildir:~/Maildir:INBOX=~/Maildir/INBOX:LAYOUT=fs

 # If you need to set multiple mailbox locations or want to change default
 # namespace settings, you can do it by defining namespace sections.
@@ -47,6 +48,7 @@ namespace inbox {
   # namespaces or some clients get confused. '/' is usually a good one.
   # The default however depends on the underlying mail storage format.
   #separator =
+  separator = /

   # Prefix required to access this namespace. This needs to be different for
   # all namespaces. For example "Public/".

I've tried removing the trailing space on the original commented
separator =



Re: quick alpine config question?

2023-11-25 Thread Tim Woodall

On Sat, 25 Nov 2023, Tim Woodall wrote:


On Fri, 24 Nov 2023, Tim Woodall wrote:


On Thu, 23 Nov 2023, Karen Lewellen wrote:


Hi folks,
We have a member of the greater Toronto Linux Users group, who rather 
enjoys setting up email accounts,hosting allot of them personally.
He is new to alpine though, our test of roundcube was almost, but not 
quite successful due to sloppy JavaScript coding on the send button.
where he is stuck at the moment is how to get alpine to display imap 
things like the sent mail folder int he folders list.
Dreamhost is having the same problem with some of our new office email 
accounts.
is there a specific imap server config file, or a choice from the main 
settings s, config c options?
Also, what about the imap aspect of certificates? I recall there is a new 
way to create the aph thing google requires.

Thanks for ideas.
Kare




Are you using mbox or Maildir? And is inbox in /home or /var/spool/mail?

I have this working with dovecot. Maildir with INBOX in /home.

I'll look up the config but it will probably be Saturday. I vaguely
recall having ti tweak something in the dovecot configs.

Tim.




These are the two changes I made to /etc/dovecot/conf.d/10-mail.conf


Sorry, don't know what happened there: I must have accidentally deleted the 
extra line!

diff --git a/dovecot/conf.d/10-mail.conf b/dovecot/conf.d/10-mail.conf
index b47235f..5b20997 100644
--- a/dovecot/conf.d/10-mail.conf
+++ b/dovecot/conf.d/10-mail.conf
@@ -27,7 +27,8 @@
 #
 # 
 #
-mail_location = mbox:~/mail:INBOX=/var/mail/%u
+#mail_location = mbox:~/mail:INBOX=/var/mail/%u
+mail_location = maildir:~/Maildir:INBOX=~/Maildir/INBOX:LAYOUT=fs

 # If you need to set multiple mailbox locations or want to change default
 # namespace settings, you can do it by defining namespace sections.
@@ -47,6 +48,7 @@ namespace inbox {
   # namespaces or some clients get confused. '/' is usually a good one.
   # The default however depends on the underlying mail storage format.
   #separator = 
+  separator = /


   # Prefix required to access this namespace. This needs to be different for
   # all namespaces. For example "Public/".



Re: quick alpine config question?

2023-11-25 Thread Tim Woodall

On Fri, 24 Nov 2023, Tim Woodall wrote:


On Thu, 23 Nov 2023, Karen Lewellen wrote:


Hi folks,
We have a member of the greater Toronto Linux Users group, who rather 
enjoys setting up email accounts,hosting allot of them personally.
He is new to alpine though, our test of roundcube was almost, but not quite 
successful due to sloppy JavaScript coding on the send button.
where he is stuck at the moment is how to get alpine to display imap things 
like the sent mail folder int he folders list.
Dreamhost is having the same problem with some of our new office email 
accounts.
is there a specific imap server config file, or a choice from the main 
settings s, config c options?
Also, what about the imap aspect of certificates? I recall there is a new 
way to create the aph thing google requires.

Thanks for ideas.
Kare




Are you using mbox or Maildir? And is inbox in /home or /var/spool/mail?

I have this working with dovecot. Maildir with INBOX in /home.

I'll look up the config but it will probably be Saturday. I vaguely
recall having ti tweak something in the dovecot configs.

Tim.




These are the two changes I made to /etc/dovecot/conf.d/10-mail.conf

diff --git a/dovecot/conf.d/10-mail.conf b/dovecot/conf.d/10-mail.conf
index b47235f..5b20997 100644
--- a/dovecot/conf.d/10-mail.conf
+++ b/dovecot/conf.d/10-mail.conf
@@ -27,7 +27,8 @@
 #
 # 
 #
-mail_location = mbox:~/mail:INBOX=/var/mail/%u
+#mail_location = mbox:~/mail:INBOX=/var/mail/%u
+mail_location = maildir:~/Maildir:INBOX=~/Maildir/INBOX:LAYOUT=fs

 # If you need to set multiple mailbox locations or want to change default
 # namespace settings, you can do it by defining namespace sections.
@@ -47,6 +48,7 @@ namespace inbox {
   # namespaces or some clients get confused. '/' is usually a good one.
   # The default however depends on the underlying mail storage format.
   #separator = 
+  separator = /


   # Prefix required to access this namespace. This needs to be different for
   # all namespaces. For example "Public/".



Re: quick alpine config question?

2023-11-23 Thread Tim Woodall

On Thu, 23 Nov 2023, Karen Lewellen wrote:


Hi folks,
We have a member of the greater Toronto Linux Users group, who rather enjoys 
setting up email accounts,hosting allot of them personally.
He is new to alpine though, our test of roundcube was almost, but not quite 
successful due to sloppy JavaScript coding on the send button.
where he is stuck at the moment is how to get alpine to display imap things 
like the sent mail folder int he folders list.
Dreamhost is having the same problem with some of our new office email 
accounts.
is there a specific imap server config file, or a choice from the main 
settings s, config c options?
Also, what about the imap aspect of certificates? I recall there is a new way 
to create the aph thing google requires.

Thanks for ideas.
Kare




Are you using mbox or Maildir? And is inbox in /home or /var/spool/mail?

I have this working with dovecot. Maildir with INBOX in /home.

I'll look up the config but it will probably be Saturday. I vaguely
recall having ti tweak something in the dovecot configs.

Tim.



quick alpine config question?

2023-11-23 Thread Karen Lewellen

Hi folks,
We have a member of the greater Toronto Linux Users group, who rather 
enjoys setting up email accounts,hosting allot of them personally.
He is new to alpine though, our test of roundcube was almost, but not 
quite successful due to sloppy JavaScript coding on the send button.
where he is stuck at the moment is how to get alpine to display imap 
things like the sent mail folder int he folders list.
Dreamhost is having the same problem with some of our new office email 
accounts.
is there a specific imap server config file, or a choice from the main 
settings s, config c options?
Also, what about the imap aspect of certificates? I recall there is a new 
way to create the aph thing google requires.

Thanks for ideas.
Kare