
12th November 2009, 12:50
|
|
Senior Member
|
|
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
|
|
I can't read the email after a replication of /var/vmail
Hi to everybody,
I've a very big problem after a replication test of /var/vmail
When I enter in the email with roundcube, I can see the subject of the emails (for some of them I can just see (no subject), but when I open the email there is nothing.
And I can not see also the folders in roundcube, like sent, trash, etc...
What's going on?
Thanks
Michele
|

12th November 2009, 13:09
|
|
Senior Member
|
|
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
|
|
After a lot of tests, maybe I found the right configuration for the glusterfs replication.
But now I've this terrible issue and there are few accounts already online in this days... and now they can not read the emails...
Is maybe a permissions issue?
I'm checking the /var/vmail permissions and it seems to be ok...
Please suggestions?

Michele
|

12th November 2009, 17:16
|
|
Senior Member
|
|
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
|
|
Ok luckely I have a backup copy of /var/vmail folder, so I've just replaced that folder with my backup copy and the emails are working ok now...
So it was I guess a replication error or a permission error...
|

13th November 2009, 10:33
|
|
Senior Member
|
|
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
|
|
Ok now I've replace with the backup copy of /var/vmail and I can now read the email.
I can also send emails.
But I can not receive any email...
I had a look into the mail.log and it seems to be ok:
Code:
Nov 13 09:46:28 srv2 amavis[2251]: (02251-01) Passed CLEAN, [88.xxx.xxx.xxx] [88.xxx.xxx.xxx] <me@domain.com> -> <user@domain.com>, Message-ID: <200911130xxx@domain.com>, mail_id: RL4xxx, Hits: 1.45, size: 395, queued_as: C329xxxx, 684 ms
Nov 13 09:46:28 srv2 postfix/smtp[15082]: 988Dxxx: to=<user@domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=50, delays=49/0.05/0.02/0.68, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02251-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as C329xxxx)
Nov 13 09:46:28 srv2 postfix/qmgr[2813]: 988Dxxxx: removed
Nov 13 09:46:29 srv2 postfix/pipe[15087]: C329xxxx: to=<user@domain.com>, relay=maildrop, delay=0.22, delays=0.01/0.02/0/0.19, dsn=2.0.0, status=sent (delivered via maildrop service)
Nov 13 09:46:29 srv2 postfix/qmgr[2813]: C329xxx: removed
What is wrong?
Yesterday, before some replication test, the mailserver was working correctly...
Thanks
Michele
Last edited by voltron81; 13th November 2009 at 10:51.
|

13th November 2009, 14:21
|
|
Senior Member
|
|
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
|
|
Hi guys,
I upgrade here the situation, hoping that somebody will give me a good suggestion...
I was thinking that was a permission issue. But all the folder /var/vmail is owned by vmail and if I send an email, I'll see it in the "sent" folder, so postfix have the permission to write in that folder.
What else it should be?
|

13th November 2009, 14:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,893
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Try to enable debugging in the imap daemon and check if there are any error messages when you use imap.
|

13th November 2009, 14:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,893
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Quote:
Originally Posted by voltron81
I was thinking that was a permission issue. But all the folder /var/vmail is owned by vmail and if I send an email, I'll see it in the "sent" folder, so postfix have the permission to write in that folder.
|
No. The email is put to the sent folder by rouncube via the imap daemon and not postfix.
|

13th November 2009, 14:29
|
|
Senior Member
|
|
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
|
|
Ok even if is IMAP daemon, if it put the sent mail into the sent folder, means that it can write in /var/vmail
What else I could check to see what's wrong?
As I said before, I checked the mail.log (even in debug mode), and I can not see any error.
If I'll create a competely new email with ISPConfig, I'll not receive also the wellcome email.
thanks Till
Michele
PS: at the end of this adventure, I'll write an howto wihere I'll explain how to have a master-master replication of the mailserver managed by ISPconfig...
|

13th November 2009, 15:05
|
|
Senior Member
|
|
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
|
|
Ok Till, I've chenged the debug level in /etc/courier/authdaemonrc and I've rebooted the server, so now I've an huge mail.log.
Anyway I can not see any error...
|

13th November 2009, 16:10
|
|
Senior Member
|
|
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
|
|
I tested maildrop with this command:
Code:
echo testing 123 | maildrop -V 9 -d michele@domain.com
and this is the result:
Code:
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: logname=michele@domain.com, home=/var/vmail, mail=
/var/vmail/domain.com/michele
maildrop: Changing to /var/vmail
Message start at 0 bytes, envelope sender=michele@domain.com
maildrop: Attempting .mailfilter
Tokenized eof
WARN: quota string '10485760' not parseable
maildrop: Delivery complete.
After that command, I've received an email, but it's completely empty.
The strange thing is that if I'm going to /cur and I open with vim that email, I can see that there is this string: "testing 123".
So the email is in cur and there is a message inside, but with roundcube or a POP3 connection I can not see nothing... so subject and no words in the email...
Any idea?
Last edited by voltron81; 13th November 2009 at 16:19.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 10:23.
|
Recent comments
1 hour 11 min ago
10 hours 39 min ago
11 hours 28 min ago
15 hours 2 min ago
19 hours 26 min ago
19 hours 48 min ago
21 hours 57 min ago
1 day 7 hours ago
1 day 12 hours ago
1 day 14 hours ago