From: "Daniel V. Reinhardt" on






----- Original Message ----
> From: motty cruz <motty.cruz(a)gmail.com>
> To: Daniel V. Reinhardt <cryptodan(a)yahoo.com>
> Sent: Fri, March 5, 2010 9:51:46 PM
> Subject: RE: virtual domains
>
> dagan# ls -la /var/mail
> total 16
> -r--r--r-- 1 vmail vmail 0 Mar 5 18:36 ,cyrus,
> drwxrwxr-x 6 vmail vmail 512 Mar 5 18:36 .
> drwxr-xr-x 23 root wheel 512 Mar 5 07:49 ..
> drwxrwxrwx 5 vmail vmail 512 Mar 5 18:36 celso
> -rw------- 1 vmail vmail 0 Mar 4 18:23 cyrus
> -rw------- 1 vmail vmail 0 Mar 4 18:47 dovecot
> drwxr-x--- 5 vmail vmail 512 Mar 5 17:31 jose
> drwxr-x--- 5 vmail vmail 512 Mar 5 17:31 jose_test
> drwxr-xr-x 5 vmail vmail 512 Mar 5 17:32 lugostowing.net
> -rw-r----- 1 vmail vmail 172 Mar 5 17:34 passwd
> -rw------- 1 vmail vmail 0 Mar 4 18:48 postfix
> -rw-r----- 1 vmail vmail 245 Mar 5 17:34 shadow
> -rw------- 1 vmail vmail 0 Mar 4 19:36 vmail
> dagan#
>
>
> Thanks,
> - Motty

Does postfix belong to the group vmail?

Daniel Reinhardt
Website: www.cryptodan.com
Email:
cryptodan(a)yahoo.com

PS use the reply all.





From: "motty cruz" on
Please pardon my stupidity!

Thanks,
-Motty
-----Original Message-----
From: Wietse Venema [mailto:wietse(a)porcupine.org]
Sent: Friday, March 05, 2010 1:59 PM
To: motty cruz
Cc: postfix-users(a)postfix.org
Subject: Re: virtual domains

motty cruz:
> Mar 5 21:25:18 dagan pipe[4378]: fatal: pipe_command: execvp /var/mail:
> Permission denied

> and my master.cf
>
> maildrop unix - n n - - pipe
> flags=DRhu user=vmail argv=/var/mail -d ${user}

You are trying to EXECUTE a command "/var/mail -d ${user}"

You cannot execute a DIRECTORY.

Wietse

From: "motty cruz" on
Thanks Daniel,
Actually postfix was not part of vmail group. I added to the vmail group
My configuration seem to be all wrong, I can't get postfix to deliver mail
to /var/mail/${USER}
/var/mail/(all virtual users)

Any suggestions? Are really appreciated.
Thanks for all your help, it is appreciated, as I have read tons of howtos
and have not been successful and in achieving this goal.

Thanks,
-Motty

-----Original Message-----
From: owner-postfix-users(a)postfix.org
[mailto:owner-postfix-users(a)postfix.org] On Behalf Of Daniel V. Reinhardt
Sent: Friday, March 05, 2010 2:00 PM
To: postfix-users(a)postfix.org
Subject: Re: virtual domains

----- Original Message ----
> From: motty cruz <motty.cruz(a)gmail.com>
> To: Daniel V. Reinhardt <cryptodan(a)yahoo.com>
> Sent: Fri, March 5, 2010 9:51:46 PM
> Subject: RE: virtual domains
>
> dagan# ls -la /var/mail
> total 16
> -r--r--r-- 1 vmail vmail 0 Mar 5 18:36 ,cyrus,
> drwxrwxr-x 6 vmail vmail 512 Mar 5 18:36 .
> drwxr-xr-x 23 root wheel 512 Mar 5 07:49 ..
> drwxrwxrwx 5 vmail vmail 512 Mar 5 18:36 celso
> -rw------- 1 vmail vmail 0 Mar 4 18:23 cyrus
> -rw------- 1 vmail vmail 0 Mar 4 18:47 dovecot
> drwxr-x--- 5 vmail vmail 512 Mar 5 17:31 jose
> drwxr-x--- 5 vmail vmail 512 Mar 5 17:31 jose_test
> drwxr-xr-x 5 vmail vmail 512 Mar 5 17:32 lugostowing.net
> -rw-r----- 1 vmail vmail 172 Mar 5 17:34 passwd
> -rw------- 1 vmail vmail 0 Mar 4 18:48 postfix
> -rw-r----- 1 vmail vmail 245 Mar 5 17:34 shadow
> -rw------- 1 vmail vmail 0 Mar 4 19:36 vmail
> dagan#
>
>
> Thanks,
> - Motty

Does postfix belong to the group vmail?

Daniel Reinhardt
Website: www.cryptodan.com
Email:
cryptodan(a)yahoo.com

PS use the reply all.





From: mouss on
motty cruz a �crit :
> Thanks Daniel,
> Actually postfix was not part of vmail group. I added to the vmail group
> My configuration seem to be all wrong, I can't get postfix to deliver mail
> to /var/mail/${USER}
> /var/mail/(all virtual users)
>

do not use /var/mail/. create another directory, say /var/vmail/ with
appropriate ownership and permissions. Leave /var/mail as it is. (yes,
it is possible to use /var/mail, but that will only cause trouble in a
few situations...).


> Any suggestions? Are really appreciated.
> Thanks for all your help, it is appreciated, as I have read tons of howtos
> and have not been successful and in achieving this goal.
>

From: "motty cruz" on
Thanks, I did chmod -R g+rw /var/mail/ and postfix is working fine,
Thanks for all your help.

Thanks,
- Motty

-----Original Message-----
From: owner-postfix-users(a)postfix.org
[mailto:owner-postfix-users(a)postfix.org] On Behalf Of mouss
Sent: Saturday, March 06, 2010 1:09 PM
To: postfix-users(a)postfix.org
Subject: Re: virtual domains

motty cruz a écrit :
> Thanks Daniel,
> Actually postfix was not part of vmail group. I added to the vmail
> group My configuration seem to be all wrong, I can't get postfix to
> deliver mail to /var/mail/${USER} /var/mail/(all virtual users)
>

do not use /var/mail/. create another directory, say /var/vmail/ with
appropriate ownership and permissions. Leave /var/mail as it is. (yes,
it is possible to use /var/mail, but that will only cause trouble in a
few situations...).


> Any suggestions? Are really appreciated.
> Thanks for all your help, it is appreciated, as I have read tons of howtos
> and have not been successful and in achieving this goal.
>