is /usr/local/sbin accessible for user dbmail?

Kasper Haagensen wrote:
> Hope someone can help me...
> 
> I have setup DBMAIL like SMTP, because i need some fixture in the SMTP
> protocol.
> But when the Postfix receive the mail, it does nothing else then said...
> permission denied.
> 
> Do anyone where, i should try looking?
> 
> master.cf
> 
> dbmail-smtp     unix    -       n       n       -       -       pipe
> flags= user=dbmail argv=/usr/local/sbin/dbmail-smtp -d ${recipient} -r
> ${sender}
> 
> 
> sendmail -n
> 
> sendmail: fatal: -n option not supported
> [EMAIL PROTECTED] postfix]# postconf -n
> alias_maps = hash:/etc/aliases
> allow_mail_to_commands = alias
> allow_mail_to_files = alias, forward, include
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> debug_peer_level = 5
> debug_peer_list = developmentserver.net
> html_directory = no
> local_destination_concurrency_limit = 30
> local_recipient_maps =
> mailq_path = /usr/bin/mailq.postfix
> manpage_directory = /usr/share/man
> mydestination = /etc/postfix/mydestination
> mydomain = $myhostname
> myhostname = developmentserver.net
> mynetworks = 192.38.9.147, 80.63.23.30
> myorigin = $mydomain
> newaliases_path = /usr/bin/newaliases.postfix
> readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
> sample_directory = /usr/share/doc/postfix-2.1.5/samples
> sendmail_path = /usr/sbin/sendmail.postfix
> setgid_group = postdrop
> transport_maps = hash:/etc/postfix/transport
> unknown_local_recipient_reject_code = 550
> virtual_alias_maps = hash:/etc/postfix/virtual
> 
> From the maillog:
> Dec 29 10:22:45 developmentserver postfix/postfix-script: refreshing the
> Postfix mail system
> Dec 29 10:22:45 developmentserver postfix/master[31061]: reload
> configuration /etc/postfix
> Dec 29 10:22:53 developmentserver postfix/pickup[4287]: A75165806A:
> uid=0 from=<root>
> Dec 29 10:22:53 developmentserver postfix/cleanup[4301]: A75165806A:
> message-id=<[EMAIL PROTECTED]>
> Dec 29 10:22:53 developmentserver postfix/qmgr[4288]: A75165806A:
> from=<[EMAIL PROTECTED]>, size=331, nrcpt=1 (queue active)
> Dec 29 10:22:53 developmentserver pipe[4304]: fatal: pipe_comand: execvp
> /usr/local/sbin/dbmail-smtp: Permission denied
> Dec 29 10:22:54 developmentserver postfix/pipe[4303]: A75165806A:
> to=<[EMAIL PROTECTED]>, relay=dbmail-smtp, delay=1,
> status=bounced (Command died with
> status 1: "/usr/local/sbin/dbmail-smtp")
> Dec 29 10:22:54 developmentserver postfix/cleanup[4301]: B97845806C:
> message-id=<[EMAIL PROTECTED]>
> Dec 29 10:22:54 developmentserver postfix/qmgr[4288]: B97845806C:
> from=<>, size=2126, nrcpt=1 (queue active)
> Dec 29 10:22:54 developmentserver postfix/qmgr[4288]: A75165806A: removed
> Dec 29 10:22:54 developmentserver pipe[4307]: fatal: pipe_comand: execvp
> /usr/local/sbin/dbmail-smtp: Permission denied
> Dec 29 10:22:55 developmentserver postfix/pipe[4303]: B97845806C:
> to=<[EMAIL PROTECTED]>, relay=dbmail-smtp, delay=1,
> status=bounced (Command died with st
> atus 1: "/usr/local/sbin/dbmail-smtp")
> 
> 
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to