On Jan 2, 2009, at 9:38 AM, Guillaume Hilt wrote:
Jan 2 14:48:52 mail deliver(postmas...@adomain.fr): chdir(/root)
failed: Permission denied
..
Why does it look inside the /root folder for sieve configuration ?
Your userdb returns /root as home directory. Show your dovecot-
sql.conf and
Timo Sirainen a écrit :
On Jan 2, 2009, at 9:38 AM, Guillaume Hilt wrote:
Jan 2 14:48:52 mail deliver(postmas...@adomain.fr): chdir(/root)
failed: Permission denied
..
Why does it look inside the /root folder for sieve configuration ?
Your userdb returns /root as home directory. Show your
On Jan 3, 2009, at 10:21 AM, Guillaume Hilt wrote:
Timo Sirainen a écrit :
On Jan 2, 2009, at 9:38 AM, Guillaume Hilt wrote:
Jan 2 14:48:52 mail deliver(postmas...@adomain.fr): chdir(/root)
failed: Permission denied
..
Why does it look inside the /root folder for sieve configuration ?
Anyway, I correct the sql request by adding a concat with .home/vmail/
and now I have the good home directory but the error still occurs.
Setting sieve_global_dir didn't change anything.
Guillaume Hilt
Timo Sirainen a écrit :
On Jan 3, 2009, at 10:21 AM, Guillaume Hilt wrote:
Timo
Where did you add that? You'll need to return a home field from
user_query poiting to the sieve script directory.
On Jan 3, 2009, at 10:35 AM, Guillaume Hilt wrote:
Anyway, I correct the sql request by adding a concat with .home/
vmail/ and now I have the good home directory but the error
In dovecot-sql.conf
user_query = SELECT CONCAT('/home/vmail/',maildir) AS maildir, 207 AS
uid, 207 AS gid FROM mailbox WHERE username = '%u'
So I'll have a complete path like /home/vmail/mydomain/myuser/.
Guillaume Hilt
Timo Sirainen a écrit :
Where did you add that? You'll need to
maildir field isn't used for anything. Perhaps there is some
completely undocumented and unreliable code that makes use of it for
pop3/imap, but it is used in no way by Sieve. Try something like:
user_query = SELECT CONCAT('/home/vmail', maildir) AS home, 207 AS
uid, 207 AS gid FROM
I'll try that.
For the mail location, it's already the case : ~/.maildir
Guillaume Hilt
Timo Sirainen a écrit :
maildir field isn't used for anything. Perhaps there is some
completely undocumented and unreliable code that makes use of it for
pop3/imap, but it is used in no way by Sieve.
Looks like using As home in the sql request corrected the problem :)
Thanks Timo ;)
Guillaume Hilt
Guillaume Hilt a écrit :
I'll try that.
For the mail location, it's already the case : ~/.maildir
Guillaume Hilt
Timo Sirainen a écrit :
maildir field isn't used for anything. Perhaps
Hi,
I'm using dovecot (+sieve), dspam, clamav and postfix with wirtual users
and domains.
When the server receive an email, I get this error :
Jan 2 14:48:52 mail postfix/qmgr[13573]: 89DE1276C42B:
from=postmas...@shadowprojects.org, size=926, nrcpt=1 (queue active)
Jan 2 14:48:52 mail
On 1/2/2009, Guillaume Hilt (postmas...@shadowprojects.org) wrote:
I uploaded the following config files in http://hiltg.pastebin.com/ :
- main.cf
- master.cf
- dovecot.conf
- dspam.conf
Posting to a service like this is really a bother - just paste into the
email body...
Also, you should
# postconf -n
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = lmtp:unix:/var/run/dspam/dspam.sock
daemon_directory = /usr/lib64/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = .maildir/
html_directory =
On 1/2/2009 10:10 AM, Guillaume Hilt wrote:
# OS: Linux 2.6.24.5-grsec--grs-ipv4-64
Hmmm... maybe it is a grsec problem? I can't help you there...
ssl_key_password: Y0ullN3v3rF1ndTh1sPassphras3
If thats really your passphrase, you'd best change it asap...
smtpd_client_restrictions =
It's okay, you're trying to help me, so I won't complain :)
So, postfix isn't running in a chroot.
I've done the modifications you suggested.
My problem is that sieve is looking into the root folder for a sieve
configuration file when the server receive a new email (mail for a
virtual user).
On 1/2/2009 11:54 AM, Guillaume Hilt wrote:
It's okay, you're trying to help me, so I won't complain :)
So, postfix isn't running in a chroot.
Are you sure? master .cf?
My problem is that sieve is looking into the root folder for a sieve
configuration file when the server receive a new
Charles Marcus a écrit :
On 1/2/2009 11:54 AM, Guillaume Hilt wrote:
It's okay, you're trying to help me, so I won't complain :)
So, postfix isn't running in a chroot.
Are you sure? master .cf?
smtp inet n - n - - smtpd
pickupfifo n
On 1/2/2009 12:18 PM, Guillaume Hilt wrote:
Did you read and install/configure according to this page?
http://wiki.dovecot.org/LDA/Sieve
sieve is declared and called in the lda section :)
(i followed the tutorial yeah)
Well... I don't use dspam, but the sieve tutorial explicitly says you
Hello,
Try setting the sieve dir under the LDA procotol:
sieve_global_dir = /path/with/the/globel/sieve/scripts
if you dont have any global sieve scripts, i guess any directory readable
to all will do, if you have user sieve scripts you should use sieve under
the plugin section.
//sami
On
18 matches
Mail list logo