Hello list,
i need to know if is possible to create a log file per domain, like: /home/vmail/%d/maillog i'm thinking use : log_path = /home/vmail/%d/maillog , this will work?
Thanks !!
Somebody help me ?
thanks !
On Sat, Apr 25, 2009 at 3:33 PM, Darvin Denmian darvin.denmian@gmail.com wrote:
Hello list,
i need to know if is possible to create a log file per domain, like: /home/vmail/%d/maillog i'm thinking use : log_path = /home/vmail/%d/maillog , this will work?
Thanks !!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 27 Apr 2009, Darvin Denmian wrote:
i need to know if is possible to create a log file per domain, like: /home/vmail/%d/maillog i'm thinking use : log_path = /home/vmail/%d/maillog , this will work?
What's the error message you get?
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBSfXIPHWSIuGy1ktrAQL5Uwf9E5JJF6bG9I6s34yD4+qxLSQYziEPEziR EQ5MmsMMPo0z8z+S3FSNgTey80t1rT5dTmekXP8PXTh8nc1QNKQoUItHcXvQrLuI KboD/RNpaDoB0UyC1iou6Pcb8XcZ5MiR8waTwmMwiKRnM3LwHEZmOPrBQPjOiG7A rgov0I1+HY71d9hORHth3/MscXNfohVoaVjHpKcXA65Nr+hS4JOmz5GJXQ1GWna9 90kQk4Q+JkJG5rdrhYU5a4gn70/ou3jYl1NFVOrBrgN2CkwuBToA2mNSVLsJuSfS Ylo/FoJR4DftsLjokaTOyOaZzY4ro4/zGT5f0C143TGFadmnR0+kMg== =XLxR -----END PGP SIGNATURE-----
On Sat, 2009-04-25 at 15:33 -0300, Darvin Denmian wrote:
Hello list,
i need to know if is possible to create a log file per domain, like: /home/vmail/%d/maillog i'm thinking use : log_path = /home/vmail/%d/maillog , this will work?
No. Not possible currently, unless you run each domain in a separate Dovecot installation. I'm also not really sure how it should work, because for example when logging in Dovecot doesn't yet know the domain. So the log file would also have to change once the username is known.
I'm thinking about making Dovecot v2.0's logging support something like this though. Or at least the ability to have its log process replaced with a more featureful log process that could do this.
Timo Sirainen wrote:
On Sat, 2009-04-25 at 15:33 -0300, Darvin Denmian wrote:
Hello list,
i need to know if is possible to create a log file per domain, like: /home/vmail/%d/maillog i'm thinking use : log_path = /home/vmail/%d/maillog , this will work?
No. Not possible currently, unless you run each domain in a separate Dovecot installation. I'm also not really sure how it should work, because for example when logging in Dovecot doesn't yet know the domain. So the log file would also have to change once the username is known.
I'm thinking about making Dovecot v2.0's logging support something like this though. Or at least the ability to have its log process replaced with a more featureful log process that could do this.
How about using syslog-ng? Anyone doing this with doveccot?
||\\/ Rod
participants (4)
-
Darvin Denmian
-
Roderick A. Anderson
-
Steffen Kaiser
-
Timo Sirainen