Problems executing external program (not owner)
Hi!
When I try to run a mailman wrapper it generates the follow error message:
"Shell exited with status 1 (Not owner)" (extracted form mai.log_current file)
The user mta have a home directory well defined, with full access permissions. The script have the correct execution permissions.
Enabling the master_debug keyword in the pipe channel (imta.conf file), the output messages in the log file are:
17:35:51 PMDF initialized -- hostname is pipe-daemon
17:35:51 Pipe delivery channel (pipe) starting
17:35:51Deliveries will be done as user mta
17:35:51 Now processing /opt/SUNWmsgsr/data/queue/pipe/010/ZZf0e0z0Q~P23.00
17:35:51Envelope from is"XXXX@XXXX"
17:35:51Recipient:"postmaster-user%mailman_post@pipe-daemon" (originally"rfc822;YYYYY@YYYYY")
17:35:51Delivering message to"postmaster-user%mailman_post@pipe-daemon"
17:35:51Using program /opt/SUNWmsgsr/data/site-programs/mailman
17:35:51After substitution:"|/opt/SUNWmsgsr/data/site-programs/mailman post postmaster-user+mailman_post"
17:35:51Successfully parsed profile entry (1 recipients)
17:35:51Delivering to recipient via: |/opt/SUNWmsgsr/data/site-programs/mailman post postmaster-user+mailman_post (SHELL)
17:35:51Delivering to shell |/opt/SUNWmsgsr/data/site-programs/mailman post postmaster-user+mailman_post
17:35:51Shell delivery commencing
17:35:51 stdin set to /var/spool/mta/.li.nQaaLb
17:35:51 Substituting filename into command
17:35:51 Pipe command: /opt/SUNWmsgsr/data/site-programs/mailman post postmaster-user+mailman_post
17:35:51 Message copied
17:35:51 stdout set to /var/spool/mta/.lo.oQaaLb
17:35:51 Preparing file descriptorsfor execve()
17:35:51 Forking...
17:35:51Fork done, child pid 809
17:35:52 Shell execution complete, status 1
17:35:52Delivery status: BOUNCE (Shell exited with status 1 (Not owner))
17:35:52Completed delivery (BOUNCE)
17:35:52Calling PMDFrecipientDisposition (WHOLE: FAILED): 178028571
17:35:52.77: mm_return_bad_messages called.
17:35:52.77:Initializing MMfor submission.
17:35:52.77:Initializing message to be returned.
17:35:52.78:Format processing.
17:35:52.78: Address list processing.
17:35:52.78:Address list complete.
17:35:52.78:Copy message.
17:35:52.78:Finish submission.
17:35:52 No more messages, terminate processing
If I launch the Messaging Server using svcadm system, the problem always happen.
If I use the /opt/SUNWmsgsr/sbin/start-msg from the command line, the problem happens after some time and e-mails processed. Restarting the server works again, until the next crash :-s.
My Messaging Server version is:
Sun Java(tm) System Messaging Server 6.2-6.01 (built Apr 3 2006)
libimta.so 6.2-6.01 (built 11:20:35, Apr 3 2006)
running on a Sparc Solaris 10 box with the lastest recommended patches.
Thanks in advance for any idea to solve this problem
H.Molina

