

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Postfix problem: Cannot s...| From | Sent On | Attachments |
|---|---|---|
| Alex Pita | Nov 11, 2002 8:57 am | |
| Sam Varshavchik | Nov 11, 2002 2:35 pm | |
| Matthias Andree | Nov 11, 2002 4:35 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [maildropl] Postfix problem: Cannot set my user or group id! | Actions... |
|---|---|---|
| From: | Alex Pita (newm...@softhome.net) | |
| Date: | Nov 11, 2002 8:57:33 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Hello,
I added maildrop support for my postfix+mysql configurartion! The problem is maildrop is working but postfix not!
[root@dinu home]# cat /home/alex/maildr.alx |/var/tmp/aaa/bin/maildrop -d ti...@test.ro -V 5 maildrop: Changing to /home/mailusers/ Message start at 0 bytes, envelope sender=ti...@test.ro maildrop: Attempting .mailfilter maildrop: Delivery complete
I checked the account (via pop, imap and webmail)and the message was delivered succesfully! Also quota in Maildir++ is read it correct from mysql database by maildrop .
Now i have problem with postfix delivery! If i try to send a message using kmail, postfix will not deliver the message:
Nov 11 18:20:27 dinu postfix/pipe[2046]: 27C9228922: to=<ti...@test.ro> , relay=maildrop, delay=11964, status=deferred (temporary failure. Command output: /var/tmp/aaa/bin/maildrop: Cannot set my user or group id. )
Also, the rights are the following: [root@dinu home]# ls -l /var/tmp/aaa/bin/maildrop -rwxr-xr-x 1 postfix vmail 150920 nov 11 18:20 /var/tmp/aaa/bin/maildrop
All mailbox accounts are in /home/mailusers. [root@dinu home]# ls -l /home/ drwx------ 18 alex alex 4096 nov 11 17:09 alex drwxrwx--- 5 postfix vmail 4096 nov 11 18:25 mailusers
[root@dinu home]# ls -l /home/mailusers/ drwx------ 3 postfix vmail 4096 oct 31 20:12 fifi.ro drwxrwx--- 5 postfix vmail 4096 nov 11 11:31 test.ro
[root@dinu home]# ls -l /home/mailusers/test.ro/ total 12 drwx------ 3 postfix vmail 4096 oct 31 19:07 alex drwx------ 3 postfix vmail 4096 oct 31 17:41 mimi drwxrwx--- 3 postfix vmail 4096 nov 11 14:49 titi
[root@dinu home]# ls -l /home/mailusers/test.ro/titi/ drwxrwx--- 8 postfix vmail 4096 nov 11 17:28 Maildir So, the rights are ok till here!
Who is postfix and vmail?
[root@dinu maildrop-1.4.0]# id postfix uid=12345(postfix) gid=12345(postfix) groups=12345(postfix)
[root@dinu maildrop-1.4.0]# id vmail uid=12346(vmail) gid=12346(vmail) groups=12346(vmail)
in /etc/postfix/master.cf i have:
#support for maildrop maildrop unix - n n - - pipe flags=Rhu user=vmail argv=/var/tmp/aaa/bin/maildrop -d ${recipient}
In mysql database i have also the corect uid field set to 12345 and the corect uid fiedl d set to 12346
WHY IS NOT WORKING! WHY POSTFIX REFUSE TO DELIVER THE MESSAGE?
Please help...
PS: maildrop was compilled with:
./configure --prefix=/var/tmp/aaa/ --without-db --enable-maildrop-uid=postfix --enable-maildrop-gid=vmail --enable-tempdir=tmp --enable-syslog=1 --enable-maildropmysql --with-mysqlconfig=/var/tmp/aaa/maildropmysql.config --enable-maildirquota --with-devel --without-userdb --without-userdbtmpdir --enable-trusted-users='root vmail postfix' --enable-trusted-groups='root postfix postdrop vmail'
Regards, Alex







