Re: [RCU] Does RCM support MIME Digests? ie so replying to an item in a digest doesn't break the thread . .

2018-02-11 Thread Philip Rhoades

A.L.E.C,


On 2018-02-11 20:03, A.L.E.C wrote:

On 02/10/2018 09:19 AM, Philip Rhoades wrote:

People,

IT looks like RCM can't do this?


Since Roundcube 1.3 it is possible to open attached messages. There you
have a Reply button. I just tested it now using git-master version and
such a reply has proper References header set.



I am supposed to be getting MIME digests but there are no "attached" 
emails eg here is the top of the most recent one I have received - the 
only difference between this and what I get with "Plain Text" digests is 
that the four header lines have a grey background but there is nothing 
to click on to reply to an individual message.  What is suspicious 
though is the line "(InvalidPath)" - it looks like (a) link(s) might be 
missing?:



Send users mailing list submissions to
us...@lists.fedoraproject.org

To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
users-requ...@lists.fedoraproject.org

You can reach the person managing the list at
users-ow...@lists.fedoraproject.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:

   1. Re: how to (re-?)construct grub menu? (Stephen Morris)
   2. Re: how to (re-?)construct grub menu? (Stephen Morris)
   3. Re: how to (re-?)construct grub menu? (Stephen Morris)
   4. Re: Replicating base server -> target server (Digital 
Ocean/Fed/Centos)

  (InvalidPath)
Subject Re: how to (re-?)construct grub menu?
FromStephen Morris
To  us...@lists.fedoraproject.org
DateToday 07:58
On 11/2/18 7:00 pm, Samuel Sieb wrote:


Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  p...@pricom.com.au
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] Security issue (possible?) (was: RE: Unknown user in users table, very odd, possible security hole)

2018-02-11 Thread Jorge Bastos
Alec,

> On 02/09/2018 09:28 PM, Jorge Bastos wrote:
> > Well yes, but now i'm thinking, i have the imap server set to be
> > dynamic it's filled with:
> >
> > mail. + domain.tld
> 
> You have a few options to deal with this
> 
> default_host
> username_domain
> username_domain_forced
> login_username_filter
> trusted_host_patterns
> 

What I want to achieve is, the result of mail . + domain.tld, will result in
two ip's (ex: 1.1.1.1 and 2.2.2.2), I want Roundcube to not connect to any
other than one of this.

Would this be achievable?

___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] LDAP address book - problem with groups

2018-02-11 Thread Franta Hanzlík
On Sun, 11 Feb 2018 10:23:09 +0100
"A.L.E.C"  wrote:

> On 02/10/2018 12:03 AM, Franta Hanzlík wrote:
> > 'groups'=> array(
> > 'base_dn' => '',
> > 'mail'=> '{Mail-Address}@mydomain.com',
> > 'filter'  => 
> > '(&(objectClass=groupOfNames)(Mail-Address=*))',
> > 'object_classes'  => array("top", "groupOfNames"),
> > 'class_member_attr' => array(
> >   'groupofnames'   => 'member',
> >   'groupofuniquenames' => 'uniquemember'
> > ),
> > ),  
> 
> Here's an example from defaults.inc.php file:
> 
> // definition for contact groups (uncomment if no groups are supported)
> // for the groups base_dn, the user replacements %fu, %u, %d and %dc
> work as for base_dn (see above)
> // if the groups base_dn is empty, the contact base_dn is used for the
> groups as well
> // -> in this case, assure that groups and contacts are separated due to
> the concernig filters!
>   'groups'  => array(
> 'base_dn'   => '',
> 'scope' => 'sub',   // Search mode: sub|base|list
> 'filter'=> '(objectClass=groupOfNames)',
> 'object_classes'=> array('top', 'groupOfNames'),   // Object
> classes to be assigned to new groups
> 'member_attr'   => 'member',   // Name of the default member
> attribute, e.g. uniqueMember
> 'name_attr' => 'cn',   // Attribute to be used as group name
> 'email_attr'=> 'mail', // Group email address attribute
> (e.g. for mailing lists)
> 'member_filter' => '(objectclass=*)',  // Optional filter to use
> when querying for group members
> 'vlv'   => false,  // Use VLV controls to list groups
> 'class_member_attr' => array(  // Mapping of group object class
> to member attribute used in these objects
>   'groupofnames'   => 'member',
>   'groupofuniquenames' => 'uniquemember'
> ),
>   ),
> 
> 
> So, there's no such thing as your "composite" 'mail' attribute
> specification. A group with an email_attr that contains an email address
> will not resolve to members' addresses.

Hi Aleksander,
thanks for Your reply - now it is clear. The problem is that group e-mail
address is stored in LDAP DB in form as user part only (without '@domain),
and I perhaps cannot change this. It is solvable somehow?

(something that would replace my "composite" expression. Dovecot server has
for it this:
https://wiki.dovecot.org/AuthDatabase/LDAP/Userdb?highlight=%28You+can+mix+static+text+with+the+value+returned+from+LDAP%29

Some form of GAWK gensub() (regexp based substitution) would be IMO best...

And, please, is some page, where are those RC '*_attr' listed/described,
or it is necessary to search in RC php code?
-- 
Thanks, Franta Hanzlik
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

Re: [RCU] Security issue (possible?) (was: RE: Unknown user in users table, very odd, possible security hole)

2018-02-11 Thread A.L.E.C
On 02/09/2018 09:28 PM, Jorge Bastos wrote:
> Well yes, but now i'm thinking, i have the imap server set to be dynamic
> it's filled with:
> 
> mail. + domain.tld
> 
> ok this option in Roundcube is grrreeeaaattt, but I think it makes people
> use my server for webmail! Damn!
> 
> How would I tell Roundcube, to connect just to my ip's?
> I could do this via iptables but is some shared hosting user wants to
> connect to any imap server he would be blocked

You have a few options to deal with this

default_host
username_domain
username_domain_forced
login_username_filter
trusted_host_patterns

How to use them will depend on what you want to achieve and your environment. 
You can
always create a plugin that checks the host before connecting to it.

-- 
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer [http://kolab.org]
Roundcube Webmail Developer   [http://roundcube.net]

PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] LDAP address book - problem with groups

2018-02-11 Thread A.L.E.C
On 02/10/2018 12:03 AM, Franta Hanzlík wrote:
> 'groups'=> array(
> 'base_dn' => '',
> 'mail'=> '{Mail-Address}@mydomain.com',
> 'filter'  => '(&(objectClass=groupOfNames)(Mail-Address=*))',
> 'object_classes'  => array("top", "groupOfNames"),
> 'class_member_attr' => array(
>   'groupofnames'   => 'member',
>   'groupofuniquenames' => 'uniquemember'
> ),
> ),

Here's an example from defaults.inc.php file:

// definition for contact groups (uncomment if no groups are supported)
// for the groups base_dn, the user replacements %fu, %u, %d and %dc
work as for base_dn (see above)
// if the groups base_dn is empty, the contact base_dn is used for the
groups as well
// -> in this case, assure that groups and contacts are separated due to
the concernig filters!
  'groups'  => array(
'base_dn'   => '',
'scope' => 'sub',   // Search mode: sub|base|list
'filter'=> '(objectClass=groupOfNames)',
'object_classes'=> array('top', 'groupOfNames'),   // Object
classes to be assigned to new groups
'member_attr'   => 'member',   // Name of the default member
attribute, e.g. uniqueMember
'name_attr' => 'cn',   // Attribute to be used as group name
'email_attr'=> 'mail', // Group email address attribute
(e.g. for mailing lists)
'member_filter' => '(objectclass=*)',  // Optional filter to use
when querying for group members
'vlv'   => false,  // Use VLV controls to list groups
'class_member_attr' => array(  // Mapping of group object class
to member attribute used in these objects
  'groupofnames'   => 'member',
  'groupofuniquenames' => 'uniquemember'
),
  ),


So, there's no such thing as your "composite" 'mail' attribute
specification. A group with an email_attr that contains an email address
will not resolve to members' addresses.

-- 
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer [http://kolab.org]
Roundcube Webmail Developer   [http://roundcube.net]

PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

Re: [RCU] Does RCM support MIME Digests? ie so replying to an item in a digest doesn't break the thread . .

2018-02-11 Thread A.L.E.C
On 02/10/2018 09:19 AM, Philip Rhoades wrote:
> People,
> 
> IT looks like RCM can't do this?

Since Roundcube 1.3 it is possible to open attached messages. There you
have a Reply button. I just tested it now using git-master version and
such a reply has proper References header set.

-- 
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer [http://kolab.org]
Roundcube Webmail Developer   [http://roundcube.net]

PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users