OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Question

From: Alejandro Martinez (amartinezequital.com.uy)
Date: Tue Aug 19 2003 - 10:08:24 CDT


I'm using postfix with dovecot. I want to use virtual users and virtual domains.
I have configured postfix to do so.

My virtual file looks like this
        prueba.com #Test domain
        testprueba.com test.prueba.com

My aliases is this
        test.prueba.com: /var/spool/virtual/test

I have done a maildirmake /var/spool/virtual/test.

The permissions of the directory permissions are this

drwxrwx--- 5 dovecot postfix 4096 Aug 19 08:00 test/

And the same for the subdirectories, new/ tmp/ and cur/

When I send a test message my log file says this.

Aug 19 09:48:26 slk90 postfix/pickup[12632]: 8409417D77: uid=0 from=<root>
Aug 19 09:48:26 slk90 postfix/cleanup[12678]: 8409417D77: message-id=<20030819124826.8409417D77slk90.equital.lx>
Aug 19 09:48:26 slk90 postfix/qmgr[12590]: 8409417D77: from=<rootslk90.equital.lx>, size=290, nrcpt=1 (queue active)
Aug 19 09:48:26 slk90 postfix/local[12680]: 8409417D77: to=<test.prueba.comslk90.equital.lx>, orig_to=<testprueba.com>, relay=local, delay=0, status=bounced (maildir delivery failed: create /var/spool/virtual/test/tmp/1061297306.P12680.slk90.equital.lx: Permission denied)
Aug 19 09:48:26 slk90 postfix/cleanup[12678]: D390D17D79: message-id=<20030819124826.D390D17D79slk90.equital.lx>
Aug 19 09:48:26 slk90 postfix/qmgr[12590]: D390D17D79: from=<>, size=2072, nrcpt=1 (queue active)
Aug 19 09:48:26 slk90 postfix/local[12680]: D390D17D79: to=<rootslk90.equital.lx>, relay=local, delay=0, status=sent (maildir)

My mail_owner is postfix and my default_privs is nobody.

Anyone can help ?

Thanks

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.509 / Virus Database: 306 - Release Date: 12/08/2003