I have been unable to track down any useful suggestions on how to solve
this problem:
I have Postfix 2.4.5 installed on a Fedora 7 system; it sends and
receives most email properly.
I can originate mail from this server (using "mail [EMAIL PROTECTED]")
which is accepted and delivered properly; this works
both as a normal user, and as root.
When I attempt a similar operation from within a PHP script (running
under Apache httpd), the mail is not delivered. In the log,
I find this complaint, for which I do not know and cannot find a fix.
Any suggestions will be gratefully accepted.
_______________________________________________________________________________________
Aug 14 10:49:08 archie sendmail.postfix[18251]: fatal: execvp
/usr/sbin/postdrop: Permission denied
Aug 14 10:49:09 archie postfix/sendmail[18250]: warning: command
"/usr/sbin/postdrop -r" exited with status 1
Aug 14 10:49:09 archie postfix/sendmail[18250]: fatal: apache(48):
unable to execute /usr/sbin/postdrop -r: Success
_______________________________________________________________________________________
The relevant php.ini configuration line is:
sendmail_path = /usr/sbin/sendmail.postfix -t -i
_______________________________________________________________________________________
The sendmail.postfix program directory entry is:
-rwxr-xr-x 1 root root 194324 2007-10-04 06:54 sendmail.postfix*
and the directory entry for postdrop is
-rwxr-sr-x 1 root postdrop 160684 2007-10-04 06:54 postdrop*
_______________________________________________________________________________________
My (non-default) postconf results are:
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = amavfeed:[127.0.0.1]:20724
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = digitalelephant.org
mynetworks = 192.168.207.0/24, 216.39.145.64/32, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
proxy_interfaces = 216.39.145.64
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.4.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.4.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, reject_non_fqdn_hostname,
reject_invalid_hostname, permit
smtpd_recipient_restrictions = reject_unauth_pipelining,
reject_non_fqdn_recipient, reject_unknown_recipient_domain,
permit_mynetworks, reject_unauth_destination, check_policy_service
unix:/var/spool/postfix/postgrey/socket, reject_rbl_client
zen.spamhaus.org, reject_rbl_client list.dsbl.org, permit
smtpd_sender_restrictions = permit_mynetworks, reject_non_fqdn_sender,
reject_unknown_sender_domain, permit
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/maps/alias
virtual_gid_maps = hash:/etc/postfix/maps/gids
virtual_mailbox_base = /var/spool/mail/vhosts
virtual_mailbox_domains = digitalelephant.org bioptic.com bi-optic.com
biopticinc.com
virtual_mailbox_maps = hash:/etc/postfix/maps/boxes
virtual_uid_maps = hash:/etc/postfix/maps/uids