<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 15/04/2019 16:34, Larry Rosenman via
dovecot wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+S=X76ykM5YzM-oDG=UHLmOuqU+SO2grQTH2wYD6YxhCbtOyw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">yes, either with or without the domain.
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Apr 15, 2019 at 9:33
AM John Fawcett via dovecot <<a
href="mailto:dovecot@dovecot.org" moz-do-not-send="true">dovecot@dovecot.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div class="gmail-m_2265182015958693737moz-cite-prefix">On
15/04/2019 16:05, Larry Rosenman via dovecot wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I have normal system users, some and some
virtual domains (2 different flavors).
<div><br>
</div>
<div>I have this job that runs from cron on my own
userid to archive mail</div>
<div>I want Dovecot to use my system password for mail
authentication.</div>
<div>I, therefore, use PAM to authenticate system users</div>
<div>Everything works great, modulo getting the
auto-index to be visible using RoundCube (which if I
log into roundcube using <user>@<domain>
it does). </div>
<div>by default if I'm logged in as my normal OS user,
default doveadm commands (as issued from the shell or
from my archive script) use the user I'm logged in as
*WITHOUT A DOMAIN*.</div>
<div><br>
</div>
<div>I want to default PAM auth'd users to append @<a
href="http://lerctr.org" target="_blank"
moz-do-not-send="true">lerctr.org</a> (DOMAIN) to
the OS user.</div>
<div><br>
</div>
</div>
</blockquote>
<p>when they log in to roundcube as the OS user, right?<br>
</p>
<p>John<br>
</p>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Larry Rosenman <a
href="http://www.lerctr.org/~ler"
target="_blank" moz-do-not-send="true">http://www.lerctr.org/~ler</a><br>
<span>Phone: <span title="Call with Google Voice"><span
title="Call with Google Voice"><span
title="Call with Google Voice">+1
214-642-9640</span></span></span> (c)
E-Mail: </span><a
href="mailto:larryrtx@gmail.com" target="_blank"
moz-do-not-send="true">larryrtx@gmail.com</a><br>
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p>So if all works fine when you specify user@domain in roundcube,
but you want to be able to specify only username in roundcube and
have roundcube login as user@domain, then one solution would be to
configure roundcube to add a default domain to bare usernames. As
far as I remember (it's a while since I used roundcube) it is one
of the configuration options.<br>
</p>
<p>John<br>
</p>
</body>
</html>