Re: [RCU] header and footers

2012-09-11 Thread Benny Pedersen

Den 2012-09-10 20:12, i...@1-limitededition.co.uk skrev:

I need to insert header to my email how do i do this so it will
appear on every email


see plugins, there is one for this job


I am using windows 7 if it makes an difference


i am on android here :=)



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


[RCU] how to set auto forward

2012-09-11 Thread leon

Hi,

Is here some one can tell me how to set auto forward,or where can 
download the plugin?

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


Re: [RCU] how to set auto forward

2012-09-11 Thread Reindl Harald


Am 11.09.2012 17:23, schrieb leon:
> Hi,
> 
> Is here some one can tell me how to set auto forward,or where can download 
> the plugin?

rouncube is a MAIL-CLIENT
forwarding is a server feature



signature.asc
Description: OpenPGP digital signature
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

Re: [RCU] how to set auto forward

2012-09-11 Thread leon

Hi,

I use postfix+dovecot+mysql.I want my email user can use roundcube mail 
client to setting forward just as gmail,hotmail.


I think maybe somewhere has the plugin i can use.

Regards

On 09/11/2012 11:25 PM, Reindl Harald wrote:


Am 11.09.2012 17:23, schrieb leon:

Hi,

Is here some one can tell me how to set auto forward,or where can download the 
plugin?

rouncube is a MAIL-CLIENT
forwarding is a server feature



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


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

Re: [RCU] how to set auto forward

2012-09-11 Thread emilio brambilla

hello,

On 09/11/2012 05:29 PM, leon wrote:

Hi,

I use postfix+dovecot+mysql.I want my email user can use roundcube mail
client to setting forward just as gmail,hotmail.


you can use roundcube with managesieve plugin to instruct your lda to 
forward mail and do other funny server-side filtering


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


Re: [RCU] how to set auto forward

2012-09-11 Thread leon


Nice to talk to you.
Thank you very much!


On 09/11/2012 11:32 PM, emilio brambilla wrote:

hello,

On 09/11/2012 05:29 PM, leon wrote:

Hi,

I use postfix+dovecot+mysql.I want my email user can use roundcube mail
client to setting forward just as gmail,hotmail.


you can use roundcube with managesieve plugin to instruct your lda to 
forward mail and do other funny server-side filtering




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


Re: [RCU] how to set auto forward

2012-09-11 Thread Kaz Kylheku

On Tue, 11 Sep 2012 23:29:20 +0800, leon  wrote:
> Hi,
> 
>  I use postfix+dovecot+mysql.I want my email user can use roundcube
> mail client to setting forward just as gmail,hotmail.

gmail is not only a mail client but also a server infrastructure.

gmail forwarding works even when you're not logged into gmail,
and so its Javacript UI is not running, because it is implemented
in the infrastructure.

If RoundCube were to do your forwarding, that would only work
while you are logged in to it, which is retarded.

>  I think maybe somewhere has the plugin i can use.

Or maybe RTFM about your Postfix MTA?

http://www.postfix.org/addon.html

Scroll down to the "Autoreply Software" section.

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


Re: [RCU] how to set auto forward

2012-09-11 Thread l...@kingdest.com
hi, emilio have suggest me to use managesieve,but i don't know how to config it 
now. 

As far as i know, postfixadmin can set auto forwarding. but i want roundcube 
user can set the forwarding function from roundcube's "setting " or "plugins". 

Regards 


Sent from my HTC

- Reply message -
From: "Kaz Kylheku" 
To: "Roundcube Users mailing list" 
Subject: [RCU] how to set auto forward
Date: Wed, Sep 12, 2012 02:59



On Tue, 11 Sep 2012 23:29:20 +0800, leon  wrote:
> Hi,
> 
>  I use postfix+dovecot+mysql.I want my email user can use roundcube
> mail client to setting forward just as gmail,hotmail.

gmail is not only a mail client but also a server infrastructure.

gmail forwarding works even when you're not logged into gmail,
and so its Javacript UI is not running, because it is implemented
in the infrastructure.

If RoundCube were to do your forwarding, that would only work
while you are logged in to it, which is retarded.

>  I think maybe somewhere has the plugin i can use.

Or maybe RTFM about your Postfix MTA?

http://www.postfix.org/addon.html

Scroll down to the "Autoreply Software" section.

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

Re: [RCU] how to set auto forward

2012-09-11 Thread Tache Madalin
Again. Roundcube is a CLIENT. Not a server. Creating a plugin to do such tasks 
is a HUGE task and the approach would differ from server to server. 

Now, please stop asking about it. You've already been answered. 

Sent from my iPhone

On 11.09.2012, at 22:30, "l...@kingdest.com"  wrote:

> hi, emilio have suggest me to use managesieve,but i don't know how to config 
> it now. 
> 
> As far as i know, postfixadmin can set auto forwarding. but i want roundcube 
> user can set the forwarding function from roundcube's "setting " or 
> "plugins". 
> 
> Regards 
> 
> 
> Sent from my HTC
> 
> - Reply message -
> From: "Kaz Kylheku" 
> To: "Roundcube Users mailing list" 
> Subject: [RCU] how to set auto forward
> Date: Wed, Sep 12, 2012 02:59
> 
> 
> 
> On Tue, 11 Sep 2012 23:29:20 +0800, leon  wrote:
> > Hi,
> > 
> >  I use postfix+dovecot+mysql.I want my email user can use roundcube
> > mail client to setting forward just as gmail,hotmail.
> 
> gmail is not only a mail client but also a server infrastructure.
> 
> gmail forwarding works even when you're not logged into gmail,
> and so its Javacript UI is not running, because it is implemented
> in the infrastructure.
> 
> If RoundCube were to do your forwarding, that would only work
> while you are logged in to it, which is retarded.
> 
> >  I think maybe somewhere has the plugin i can use.
> 
> Or maybe RTFM about your Postfix MTA?
> 
> http://www.postfix.org/addon.html
> 
> Scroll down to the "Autoreply Software" section.
> 
> ___
> Roundcube Users mailing list
> users@lists.roundcube.net
> http://lists.roundcube.net/mailman/listinfo/users
> ___
> Roundcube Users mailing list
> users@lists.roundcube.net
> http://lists.roundcube.net/mailman/listinfo/users
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


[RCU] feature request

2012-09-11 Thread Jim Pazarena

I just learned about a cool feature which last pass uses...
restrict login to a specific country or countries

It would certainly be a benefit to me to be able to
restrict logins (in my case) to canada & us from the
individual setup screen per client.

I have seen multiple instances of spam injection into
roundcube via a hacked client. Always by a foreign
country 'hacker'.

Limiting to certain countries by IP would not eliminate
those hackers which are proxied somehow into CA/US, but
it would sure help.
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] feature request

2012-09-11 Thread Paul Hartman
On Tue, Sep 11, 2012 at 3:00 PM, Jim Pazarena  wrote:
> I just learned about a cool feature which last pass uses...
> restrict login to a specific country or countries
>
> It would certainly be a benefit to me to be able to
> restrict logins (in my case) to canada & us from the
> individual setup screen per client.
>
> I have seen multiple instances of spam injection into
> roundcube via a hacked client. Always by a foreign
> country 'hacker'.
>
> Limiting to certain countries by IP would not eliminate
> those hackers which are proxied somehow into CA/US, but
> it would sure help.

Unless you want per-user allowable countries at the RC level, this can
otherwise be implemented pretty easily in your http server using
existing geoip modules.
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] feature request

2012-09-11 Thread Tache Madalin
I personally recommend a firewall using geoip functions. They work like a 
charm. 

Sent from my iPhone

On 11.09.2012, at 23:07, Paul Hartman  wrote:

> On Tue, Sep 11, 2012 at 3:00 PM, Jim Pazarena  wrote:
>> I just learned about a cool feature which last pass uses...
>> restrict login to a specific country or countries
>> 
>> It would certainly be a benefit to me to be able to
>> restrict logins (in my case) to canada & us from the
>> individual setup screen per client.
>> 
>> I have seen multiple instances of spam injection into
>> roundcube via a hacked client. Always by a foreign
>> country 'hacker'.
>> 
>> Limiting to certain countries by IP would not eliminate
>> those hackers which are proxied somehow into CA/US, but
>> it would sure help.
> 
> Unless you want per-user allowable countries at the RC level, this can
> otherwise be implemented pretty easily in your http server using
> existing geoip modules.
> ___
> Roundcube Users mailing list
> users@lists.roundcube.net
> http://lists.roundcube.net/mailman/listinfo/users
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] feature request

2012-09-11 Thread Kaz Kylheku

On Tue, 11 Sep 2012 13:00:41 -0700, Jim Pazarena 
wrote:
> I just learned about a cool feature which last pass uses...
> restrict login to a specific country or countries
> 
> It would certainly be a benefit to me to be able to
> restrict logins (in my case) to canada & us from the
> individual setup screen per client.
> 
> I have seen multiple instances of spam injection into
> roundcube via a hacked client. Always by a foreign
> country 'hacker'.

RoundCube is the wrong place to implement host controls.
If you want to do this at the HTTP level, you can
do it in Apache. Certain originating IP's can be blocked
from accessing the application entirely. You can redirect
them to a static page which informs the user that
access is not allowed from that place of origin.

More strongly than that, you can do the filtering in
iptables right in your kernel, so that the connection
requests can reach your machine, but are never seen
by Apache. Or right in your network's router, so that
the offenders are stopped right at your doorstep.

I have a whole ton of iptables rules that ban various
IP blocks. Many of them in China and other places.
The server simply appears as a black hole for all
packets.

Here is an example entry in my iptables save/restore
file which blocks a range of IP addresses:

-A INPUT -m iprange --src-range 125.64.0.0-125.71.255.255 -i eth0 -p
tcp -m tcp
 --dport 25 -j DROP

That particular netblock has been a source of spam
connections to my mail server. I don't block everything, just
TCP port 25. But of course everything could be blocked like this:

-A INPUT -m iprange --src-range 125.64.0.0-125.71.255.255 -i eth0 -j
DROP

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


Re: [RCU] how to set auto forward

2012-09-11 Thread Kaz Kylheku

[rearranged to fix RFC-nonconforming top-posting]
On Tue, 11 Sep 2012 22:46:39 +0300, Tache Madalin 
wrote:
> On 11.09.2012, at 22:30, "l...@kingdest.com"  wrote:
> 
>> hi, emilio have suggest me to use managesieve,but i don't know how to config 
>> it now.
>>
>> As far as i know, postfixadmin can set auto forwarding. but i want roundcube 
>> user can set the forwarding function from roundcube's "setting " or 
>> "plugins".
>
> Again. Roundcube is a CLIENT. Not a server. Creating a plugin to do
> such tasks is a HUGE task and the approach would differ from server to
> server.
> 
> Now, please stop asking about it. You've already been answered. 
> 
> Sent from my iPhone

I'm afraid you are not fully informed.

Roundcube has a decent plugin for managing sieve
rules. (what leon and emilio are referring to there). 

Sieve is a simple declarative language expressing mail
processing rules, and is executed by a mail delivery agent.

There is a network protocol by which sieve rules are retrieved
from a server and saved back.

So, sieve rules can be managed nicely from the Roundcube UI, and
take effect on the server (which reads the sieve language and processes
it during message delivery).

Depending on what your setup is, you have to pull some pieces and
fit them together properly to make it work, but the ingredients
are: 1. the managesieve plugin; 2. something listening on a port
for the sieve protocol; 3. a MTA that implements sieve processing.
(2 and 3 could be the same program!). 4. configuration that makes
1. 2. and 3. cooperate properly.

I use the "pysieved" python program for 2, and Exim for 3.
Pysieved listens on a port to which the managesieve plugin
connects. It sieve rules in a text file in the user's home
directory in the correct format understood by Exim. The mail
transfer agent Exim reads the rules from there when messages
are delivered, and implements the behavior. Exim has no support
for the storage/retrieval protocol, which is why pysieved is needed.
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] how to set auto forward

2012-09-11 Thread Sébastien BLAISOT

Le 11/09/2012 21:30, l...@kingdest.com a écrit :
hi, emilio have suggest me to use managesieve,but i don't know how to 
config it now.


As far as i know, postfixadmin can set auto forwarding. but i want 
roundcube user can set the forwarding function from roundcube's 
"setting " or "plugins".


Regards


Hi,

Managesieve plugin can only work if the sieve protocol is activated on 
server side. If this is not the case, it won't be of any help.


My server is configured with postfixadmin and I'm using the forward 
plugin of roundcube to let user change their forward.


below is an example of the forward plugin configuration for my 
particular server setup. You'll have to adapt the SQL statements to 
reflect your postfixadmin database if it differs.


// PostfixAdmin Forward Plugin options
// ---
// Set the driver. Default (and so far the only existing): "sql".
$rcmail_config['forward_driver'] = 'sql';

// SQL Driver options
// --
// PEAR database DSN for performing the query.
// Roundcube DB settings are used.
$rcmail_config['forward_sql_dsn'] = 
'mysql://dbuser:dbpassword@localhost/postfix';


// The SQL query used to update forwards.
$rcmail_config['forward_sql_write'] = 'UPDATE alias SET goto = %goto, 
modified = %modified WHERE address = %address';


// The SQL query used to select aliases.
$rcmail_config['forward_sql_read'] = 'SELECT * FROM alias WHERE address 
= %address';



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


Re: [RCU] how to set auto forward

2012-09-11 Thread Sébastien BLAISOT

Le 11/09/2012 21:46, Tache Madalin a écrit :

Again. Roundcube is a CLIENT. Not a server. Creating a plugin to do such tasks 
is a HUGE task and the approach would differ from server to server.

Now, please stop asking about it. You've already been answered.

Sent from my iPhone


Hi,

please stop answering like that.
Maybe you're right (or maybe not, but this is another debate), but you 
say it in a so unpleasant way that nobody wants to read what you write.


As already said, changing server-side features from a client is a common 
task.
After all, changing a read/unread status of a mail is a server-side task 
as it takes place on the imap SERVER. but it's done by the client. This 
is why communication protocols are made for: let the client and the 
server communicate. And they are commonly used to send commands from 
clients to servers.


Secondly, changing forwards of your mail account is a common task of all 
major webmail providers.
But maybe you're thinking that google guys are just fool to let gmail 
users changing their forward settings in the web client instead of 
calling a google sysadmin to do that for them.


Last, but not least, roundcube is more than a client. One can install it 
ON THE SERVER and configure it, probably using plugins, to do 
server-side tricks.
Maybe you don't use it this way, and maybe you think this is not a 
"good" (where is the law) thing to do, but please don't assume that 
everybody has the same exact needs as you, and try to convince instead 
of fighting.


you can disagree, but please say it in a way we can calmly discuss.

Regards,

Sent from a real computer with a real heavy mail user agent
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users


Re: [RCU] LDAP date format should be unix timestamp, not Y-m-d

2012-09-11 Thread Achim

Hello Andreas:

On 2012-09-10 11:05, Andreas Dick wrote:

On the same issue, does anybody know if only iPhone expects Unix
timestamps, or if it is "The Right Thing To Do (TM)" for most 
clients?


the standard schemas of LDAP do not support birth...  I defined my
own schema attr for it.
and I do not known any OS addressbook client using it...
but what schema is iOS using?


Honestly: I have no idea, since I am not using pure LDAP to connect iOS 
to OpenLDAP.


I use an updated version of PHP-Push 2 [1] as an intermediary layer to 
provide Exchange-like ActiveSync services for


1) Calendar (DAViCal)
2) Tasks (DAViCal)
3) Email (Dovecot)
4) Contacts (OpenLDAP)

which now seems to work 90%: HTML email, for instance, is still 
missing.


I use the object classes top, person, inetOrgPerson, 
organizationalPerson, and evolutionPerson in OpenLDAP. With a few 
scripts in between, this seems to work rather well. You can see my 
additions in this feature request [2].


Best regards, Achim

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


[RCU] Import into LDAP address book

2012-09-11 Thread Achim

Hello list:

When I try to import the following vCard with RC 0.8.1, I get the 
following two (different) results:


BEGIN:VCARD
VERSION:3.0
N:Last;First;;;
FN:First Last
EMAIL;type=INTERNET;type=WORK:first.last.w...@example.com
EMAIL;type=INTERNET:first.l...@example.com
TEL;type=MOBILE:1234
URL:http://acme.com
ADR:;;Park Av 100;NY;;12345;
ORG:Org
END:VCARD


LDAP resulting record (incorrect, misses 2 values, see below):
First Last
Org
Email: first.last.w...@example.com
Phone: Mobile: 1234
Address: Other : Park Av 100 12345 NY


SQL resulting record (correct):
First Last
Org
Email: Work: first.last.w...@example.com
Email: Other: first.l...@example.com
Phone: Mobile: 1234
Address: Other : Park Av 100 12345 NY
Website: Other: http://acme.com


So LDAP imports name, organisation, first email, (mobile) phone, and 
address correctly.


RC also loses/misses the second email address (forget about the 
classification for now, just to import the address would be great!), and 
also misses the website URL. My LDAP settings look as follows in 
main.inc.php:



$rcmail_config['ldap_public'] = array (
  'private' =>
  array (
'name' => 'Private',
'hosts' =>
array (
  0 => 'ldap.host',
),
'port' => 389,
'ldap_version' => 3,
'user_specific' => true,
'base_dn' => 'cn=%fu,ou=private',
'bind_dn' => 'cn=%fu,ou=private',
'bind_pass' => '%p',
'filter' => '(objectClass=inetOrgPerson)',
'writable' => true,
'LDAP_Object_Classes' =>
array (
  0 => 'top',
  1 => 'person',
  2 => 'inetOrgPerson',
  3 => 'organizationalPerson',
  4 => 'evolutionPerson',
),
'LDAP_rdn' => 'cn',
'required_fields' => array('cn', 'givenName', 'sn', 'mail' ),
'fieldmap' =>
array (
  'prefix' => 'title',
  'name' => 'cn',
  'surname' => 'sn',
  'firstname' => 'givenName',
  'middlename' => 'initials',
  'suffix' => 'telex',
  'nickname' => 'tty',
  'email' => 'mail:*',
  'im' => 'categories:*',
  'phone:mobile' => 'mobile',
  'phone:home' => 'homePhone',
  'phone:work' => 'telephoneNumber',
  'phone:homefax' => 'homeFacsimileTelephoneNumber',
  'phone:workfax' => 'facsimileTelephoneNumber',
  'phone:pager' => 'pager',
  'phone:assistant' => 'assistantPhone',
  'phone:car' => 'carPhone',
  'phone:company' => 'companyPhone',
  'phone:radio' => 'radio',
  'photo' => 'jpegPhoto',
  'website' => 'labeledURI',
  'street:work' => 'street:*',
  'zipcode:work' => 'postalCode',
  'locality:work' => 'l',
  'region:work' => 'st',
  'country:work' => 'mailer',
  'street:home' => 'registeredAddress:*',
  'zipcode:home' => 'postOfficeBox',
  'locality:home' => 'homePostalAddress',
  'region:home' => 'roomNumber',
  'country:home' => 'postalAddress',
  'street:other' => 'carLicense:*',
  'zipcode:other' => 'description',
  'locality:other' => 'otherPostalAddress',
  'region:other' => 'preferredLanguage',
  'country:other' => 'physicalDeliveryOfficeName',
  'organization' => 'o',
  'notes' => 'note',
  'assistant' => 'assistantName',
  'department' => 'ou',
  'jobtitle' => 'businessRole',
  'manager' => 'managerName',
  'anniversary' => 'anniversary',
  'birthday' => 'birthDate',
  'spouse' => 'spouseName',
),
'search_fields' =>
array (
  0 => 'mail',
  1 => 'cn',
  2 => 'sn',
  3 => 'givenName',
),
'sort' => 'cn',
'scope' => 'sub',
'fuzzy_search' => true,
'vlv' => false,
'numsub_filter' => '(objectClass=organizationalUnit)',
'sizelimit' => '0',
'timelimit' => '0',
'groups' =>
array (
  'base_dn' => '',
  'filter' => '(objectClass=groupOfNames)',
  'object_classes' =>
  array (
0 => 'top',
1 => 'groupOfNames',
  ),
  'member_attr' => 'member',
  'name_attr' => 'cn',
),
  ),
);



I should also note that on existing or newly created contacts in LDAP, 
the values of those fields (URL, multiple phone numbers without 
additional lables (work, home, other)) just works fine.


I am pretty certain that this has to do something with the import 
module/routine. What are the distinctions between SQL and LDAP import? 
They clearly exist, because the "private" and "work" labels make it form 
vCard into SQL, but are specifically dropped for LDAP because LDAP 
currently does not support them.



Thank you in advance for any pointers, Achim


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


[RCU] omnis network email fail

2012-09-11 Thread Kathy Quinn
I cannot log into my email account that is associated with my Omnis network web 
hosting. This just happened out of nowhere today. I have checked the username 
and password and they are correct. I am getting login failed messages. I am 
also unable to change the password. I get error has occurred messages. Anybody 
else having this problem? 
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

Re: [RCU] Import into LDAP address book loses data

2012-09-11 Thread Achim

Hello again:

Some more questions about the logic behind the import:

At the moment, if a name already exists in the exact same constellation 
(first name = first name of the contact to be imported, same for last 
name), then it appears that the new contact is not imported, even though 
the other fields (such as email) are different.


I think that it is a very reasonable assumption that most (if not the 
majority) of uses have their contact in the following form;


Contact 1: Joe Bloe, j...@acme.com
Contact 2: Joe Bloe, j...@home.org

With the (artificial) restriction that I can observe in the import 
algorithm, the email address from contact 2 (j...@home.org) is lost. Why 
should we not just import everything, without any comparisons, 
restrictions etc?


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


Re: [RCU] Import into LDAP address book loses data

2012-09-11 Thread Achim
Hello again, some more observations on the LDAP importing 
functionality:



'required_fields' => array('cn', 'givenName', 'sn', 'mail' ),
+ nicely splits names with the new heuristic algorithm
+ imports the email adddress values from the vCards
- Requires the vCards to have at least two "words" in FN (to execute 
spliting heuristic)



'required_fields' => array("cn", "sn"),
+ can import vCards that have only one word in FN (no splitting logic 
for givenName required!)

- No splitting where possible/sensible
- does NOT import the email address values from any vCard (data loss 
without warning!)
- cannot import vCards where FN fields has the same value as EMAIL 
field:

("FN:n...@mple.com, EMAIL;TYPE=INTERNET;TYPE=OTHER:e...@mple.com" works
"FN:e...@mple.com, EMAIL;TYPE=INTERNET;TYPE=OTHER:e...@mple.com" does not 
work



I would like to use the lowest common denominator for 'required_fields' 
(e.g. ("cn", "sn")), but it appears that with that setting, for some 
reason, email addresses do not get imported, although they exist and are 
perfectly imported with 'required_fields' => array('cn', 'sn', 'mail' ).


May I propose that the importing function

1) Tries to import as much data as possible:
* email addresses get imported even thought they are not on the 
"required_fields" list
* NO data is skipped automatically, even though a contact with the same 
name may exist. Store both contacts (with the same name), and let the 
user worry about or consolidate the data, but don't just skip it while 
importing.


2) Warns the user in case that some values cannot be stored (see the 
case above, FN=EMAIL or the case I outlined in an earlier email where 
the website URL field got dropped). PLEASE tell the user and do not hide 
behind "Successfully imported n contacts", because "successfully" 
usually means "without any problems", and not "some information may or 
may not have been lost during the process".


3) Offers a setting to turn on the very useful heuristic for first/last 
name splitting without having to add "givenName" to required_fields in 
order to be able to import also items with only word in FN?



Thanks for your consideration, time and patience, Achim
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users