Your right... it was the cat command. >[EMAIL PROTECTED] tmp]# su -s /bin/sh dbmail >sh-3.00$ cat test.eml | /usr/local/sbin/dbmail-smtp -d nobody -r nobody >sh-3.00$ ll
But why does the postfix give me the permission denined. Kasper -----Oprindelig meddelelse----- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af [EMAIL PROTECTED] Sendt: 29. december 2005 19:57 Til: DBMail mailinglist Emne: Re: SV:[Dbmail] HELP...fatal:pipe_comand: execvp /usr/local/sbin/dbmail-smtp:Permissiondenied Mmm.. Just by locking at the last mail, are you sure that the dbmail user have access to the test.eml file ? The error seams to be from cat and not from the mailsystem :) /Andy Kasper Haagensen wrote: >Any other ideas? > >Kasper > > >-----Oprindelig meddelelse----- >Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne >af Kasper Haagensen >Sendt: 29. december 2005 16:14 >Til: 'DBMail mailinglist' >Emne: SV: [Dbmail] HELP...fatal:pipe_comand: execvp >/usr/local/sbin/dbmail-smtp:Permission denied > >Hmm... no difference > >[EMAIL PROTECTED] ~]# su -s /bin/sh dbmail >sh-3.00$ cat test.eml | /usr/local/sbin/dbmail-smtp -d nobody -r nobody >cat: test.eml: Permission denied > > >[EMAIL PROTECTED] ~]# ll /etc/dbmail.conf >-rw-r--r-- 1 dbmail dbmail 3533 Dec 18 17:55 /etc/dbmail.conf > > > > > >-----Oprindelig meddelelse----- >Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne >af Paul J Stevens >Sendt: 29. december 2005 14:51 >Til: DBMail mailinglist >Emne: Re: [Dbmail] HELP... fatal:pipe_comand: execvp >/usr/local/sbin/dbmail-smtp: Permission denied > >So try this: > >[EMAIL PROTECTED]:#~> su -s /bin/sh dbmail >[EMAIL PROTECTED]:~> cat test.eml | \ > /usr/local/sbin/dbmail-smtp -d nobody -r nobody > >also, is dbmail.conf readable for user dbmail? > >Kasper Haagensen wrote: > > >>Hej Paul, >> >>It is, as this: >> >>[EMAIL PROTECTED] postfix]# ll /usr/local/sbin/ >>total 628 >>-rwxr-xr-x 1 dbmail dbmail 374641 Dec 18 16:58 dbmail-imapd >> >> > >looking good but how about dbmail-smtp? > > > _______________________________________________ Dbmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
