Hello list, Excuse me for my poor english. I have updated on a test server dovecot 2.0.13 to dovecot 2.1.1.
All works fine, but with the new version it seems that dovecot don't
do hardlinks when deliver a message to multiple users.
I have checked my config and the only rule I can see aboout that is
maildir_copy_with_hardlinks = yes
in /etc/dovecot/conf.d/10-mail.conf
My mail location config is
mail_location = maildir:~/MailDir:LAYOUT=fs
I tryed using lmtp directly issuing 'telnet localhost 24' and sending
a test message to 3 recipients.
Then issuing a 'ls -il' in the "new" directory of that users, I saw
the inode was not the same.
I rechecked my config and take a look in the wiki and in the list for
someone who had the same problems, but found nothing.
Maybe I did something wrong, but I can't understand what. Can you help me? Thank you
-- Benedetto Vassallo Sistema Informativo di Ateneo Settore Gestione Reti Hardware e Software U.O.B. Sviluppo e manutenzione dei sistemi Università degli studi di Palermo
Phone: +3909123860056 Fax: +390916529124
This message was sent using the University of Palermo web mail interface.
On 2012-10-04 9:00 AM, Benedetto Vassallo benedetto.vassallo@unipa.it wrote:
Hello list, Excuse me for my poor english. I have updated on a test server dovecot 2.0.13 to dovecot 2.1.1.
If you are going to update, why ohy why update to an outdated version?
Current version is 2.1.10... LOTS of bug fixes for the 2.1.x line...
Def. Quota Charles Marcus CMarcus@Media-Brokers.com:
On 2012-10-04 9:00 AM, Benedetto Vassallo
benedetto.vassallo@unipa.it wrote:Hello list, Excuse me for my poor english. I have updated on a test server dovecot 2.0.13 to dovecot 2.1.1.
If you are going to update, why ohy why update to an outdated version?
Current version is 2.1.10... LOTS of bug fixes for the 2.1.x line...
I did it, but still don't work :-(
-- Benedetto Vassallo Sistema Informativo di Ateneo Settore Gestione Reti Hardware e Software U.O.B. Sviluppo e manutenzione dei sistemi Università degli studi di Palermo
Phone: +3909123860056 Fax: +390916529124
This message was sent using the University of Palermo web mail interface.
Def. Quota Charles Marcus CMarcus@Media-Brokers.com:
On 2012-10-04 9:00 AM, Benedetto Vassallo
benedetto.vassallo@unipa.it wrote:Hello list, Excuse me for my poor english. I have updated on a test server dovecot 2.0.13 to dovecot 2.1.1.
If you are going to update, why ohy why update to an outdated version?
Current version is 2.1.10... LOTS of bug fixes for the 2.1.x line...
Hello, I upgraded to 2.1.10 but still dont't have hardlinks working. May I have something else to do to make them working? Thanks.
Benedetto Vassallo Sistema Informativo di Ateneo Settore Gestione Reti Hardware e Software U.O.B. Sviluppo e manutenzione dei sistemi Università degli studi di Palermo
Phone: +3909123860056 Fax: +390916529124
This message was sent using the University of Palermo web mail interface.
On 4.10.2012, at 16.00, Benedetto Vassallo wrote:
All works fine, but with the new version it seems that dovecot don't do hardlinks when deliver a message to multiple users.
The hard linking is done only when the directory permissions match.
mail_location = maildir:~/MailDir:LAYOUT=fs
I tryed using lmtp directly issuing 'telnet localhost 24' and sending a test message to 3 recipients. Then issuing a 'ls -il' in the "new" directory of that users, I saw the inode was not the same.
What are the permissions of the MailDir directory for user1/user2?
ls -ld /home/user1/MailDir ls -ld /home/user2/MailDir
Def. Quota Timo Sirainen tss@iki.fi:
On 4.10.2012, at 16.00, Benedetto Vassallo wrote:
All works fine, but with the new version it seems that dovecot
don't do hardlinks when deliver a message to multiple users.The hard linking is done only when the directory permissions match.
mail_location = maildir:~/MailDir:LAYOUT=fs
I tryed using lmtp directly issuing 'telnet localhost 24' and
sending a test message to 3 recipients. Then issuing a 'ls -il' in the "new" directory of that users, I saw
the inode was not the same.What are the permissions of the MailDir directory for user1/user2?
ls -ld /home/user1/MailDir ls -ld /home/user2/MailDir
Thank you for your reply. They are different groups:
drwxr-xr-x 9 user1 grp1 4096 15 ott 14:52 /home/user1/MailDir/ drwxr-xr-x 5 user2 grp2 4096 4 ott 23:43 /home/user2/MailDir/ drwxr-xr-x 10 user3 grp3 4096 15 ott 14:52 /home/user3/MailDir/
I tryed to issue: chgrp -R mail /home/user1/MailDir chgrp -R mail /home/user2/MailDir chgrp -R mail /home/user3/MailDir
but nothing changed.
Any idea? Thank you.
Benedetto Vassallo Sistema Informativo di Ateneo Settore Gestione Reti Hardware e Software U.O.B. Sviluppo e manutenzione dei sistemi Università degli studi di Palermo
Phone: +3909123860056 Fax: +390916529124
This message was sent using the University of Palermo web mail interface.
On 16.10.2012, at 10.11, Benedetto Vassallo wrote:
What are the permissions of the MailDir directory for user1/user2?
ls -ld /home/user1/MailDir ls -ld /home/user2/MailDir
Thank you for your reply. They are different groups:
drwxr-xr-x 9 user1 grp1 4096 15 ott 14:52 /home/user1/MailDir/ drwxr-xr-x 5 user2 grp2 4096 4 ott 23:43 /home/user2/MailDir/ drwxr-xr-x 10 user3 grp3 4096 15 ott 14:52 /home/user3/MailDir/
Not very secure permissions.. Maybe would be easiest to just have one vmail user for everyone?
I tryed to issue: chgrp -R mail /home/user1/MailDir chgrp -R mail /home/user2/MailDir chgrp -R mail /home/user3/MailDir
Dovecot doesn't do hard linking when it looks like the permissions aren't compatible. The current code checks that if the owner UIDs are different, then the group needs to be writable.
Def. Quota Timo Sirainen tss@iki.fi:
On 16.10.2012, at 10.11, Benedetto Vassallo wrote:
What are the permissions of the MailDir directory for user1/user2?
ls -ld /home/user1/MailDir ls -ld /home/user2/MailDir
Thank you for your reply. They are different groups:
drwxr-xr-x 9 user1 grp1 4096 15 ott 14:52 /home/user1/MailDir/ drwxr-xr-x 5 user2 grp2 4096 4 ott 23:43 /home/user2/MailDir/ drwxr-xr-x 10 user3 grp3 4096 15 ott 14:52 /home/user3/MailDir/
Not very secure permissions.. Maybe would be easiest to just have
one vmail user for everyone?I tryed to issue: chgrp -R mail /home/user1/MailDir chgrp -R mail /home/user2/MailDir chgrp -R mail /home/user3/MailDir
Dovecot doesn't do hard linking when it looks like the permissions
aren't compatible. The current code checks that if the owner UIDs
are different, then the group needs to be writable.
On my production server with dovecot 2.0.13 I have same permissions
and it works.
I changed my permissions in any mode, changed the owner, the group but
it still don't work.
Any suggestion?
Thank you
-- Benedetto Vassallo Sistema Informativo di Ateneo Settore Gestione Reti Hardware e Software U.O.B. Sviluppo e manutenzione dei sistemi Università degli studi di Palermo
Phone: +3909123860056 Fax: +390916529124
This message was sent using the University of Palermo web mail interface.
participants (3)
-
Benedetto Vassallo
-
Charles Marcus
-
Timo Sirainen