Hello! Yesterday I tried out the "Add Mailfiltering to the Falko howto Postfix Guide" howto. When my mailserver receive a mail ich get following message in syslog: Code: (temporary failure. Command output: /usr/local/maildrop/bin/maildrop: Unable to create log file. ) Postfix doesn't release the mail until I deativate maildrop. Where is my failure? Nico
I guess it's a problem with your permissions. Please compare your setup again with this guide: http://www.howtoforge.com/postfix_mailfilter
Hi, yes, it was a problem with the file permissions. /var/log/maildrop.log was not writeable To change the file permissions is not documented in the howto. Another question: Why does this howto doesn't work with quota? @Falko: It is possible that you make a howto for maildrop + quota? Would be very nice! best regards, Nico
I've never tried that tutorial, so I don't know... Maybe. I can put it on my list (which is very long... ).
Next error Argh ... Now, I got following error: Code: maildrop[2094]: Unable to change to home directory. I created a new mail account with the sql command: Code: INSERT INTO `users` VALUES ('yes', '[email protected]', 'xxx', 10485760, '/home/vmail/fineware.de/test', 5000, 5000); I sent a mail to [email protected] and received the error below. When i set the dir /home/vmail to 777 than I get the error "maildir doesn't be world-writeable" or something like that. Which file persmission do i have to set? Or where is my fault? best regards, nico
Yes, the maildir doesn't exist. It has to be created automatically when the first e-mail arrives. When I create the maildir manually, all works well. best regards, nico
Maybe the directory permissions are wrong somewhere. Or maybe you can write a script that creates the Maildir for you.
There is a script which creates the maildir. When I execute the script manually, all works well (with root and vmail user). Has there to be an maildrop user? The owner of the "maildir_create_scripte" is the vmail user. The owner of the maildir is the vmail user, too. The user in master.cf is vmail, too. Code: maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/maildrop/bin/maildrop -d ${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop} ${sender} Do you have an idea?
Hmm... schade. Hätt ja sein können, dass es kein Hotwo spezifisches Problem ist. Noch eine allgemeine Frage an dich: Wenn ein Programm, in meinem Fall jetzt Postfix, mit dem user vmail ein script ausführt dann müsste sich doch linux nicht anders verhalten als wie wenn ich das manuell machen, also als vmail user einloggen und script von hand starten. Oder versteh ich das falsch? Weißt du wer der autor von diesem howto ist? Gruß, Nico
Sorry, you are right. I wrote my last post in german, because my english is very poor and I couldn't phrase it in english. Maybe you can help me although?
That's right. You can find the user name of the author at the top of the tutorial. If you like, you can send him a private message.
Hmmm... Couldn't find the name if the autor in the howto -> http://www.howtoforge.com/postfix_mailfilter
Ok, the author is listed at the top of every tutorial except that one... The username of the author is todgerme.