![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to end a host concurrent program in WARNING? | coolblue_3 | Shell Programming and Scripting | 2 | 01-10-2008 09:49 PM |
| Sendmail Config - Open Relay | fosteria | SUN Solaris | 1 | 11-14-2006 11:07 AM |
| Sendmail Config Question | callingrohit | SUN Solaris | 5 | 08-29-2006 09:01 AM |
| Sendmail config on AIX 5.3 | johnbrickell | UNIX for Dummies Questions & Answers | 1 | 03-28-2006 03:36 PM |
| sendmail - config help? | frustrated1 | SUN Solaris | 6 | 12-18-2003 10:17 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I trying to to run RT 3.6.7 on Solaris 10. I am using Sendmail v. 8.13.8. I'm using this guide from Sun:
http://www.sun.com/bigadmin/features...q_track_1.html http://www.sun.com/bigadmin/features...q_track_2.html uname -a SunOS vpd1tst1no 5.10 Generic_127111-11 sun4u sparc SUNW,Sun-Fire-V215 I have RT installed and running, using Apache, MySQL, OpenSSL. rt-mailgate basically is setup as an alias for sendmail. Sendmail accepts mail, pipes it to rt-mailgate(RT), and that parses it to an httpd process using perl, which ultimately creates a trouble ticket in the RT application. However my problem lies with 'RT' receiving mail from Sendmail. I believe I have a sendmail configuration problem. I send mail via the command line: "sendmail -v General" (General is the name of an alias in /etc/mail/aliases) and the mail piped to RT shows this (/var/adm/messages): Aug 21 14:26:16 vpd1tst1no sm-mta[8091]: [ID 801593 mail.info] m7LKQGhW008090: Warning: program /usr/lib/smrsh unsafe: No such file or directory Aug 21 14:26:16 vpd1tst1no last message repeated 1 time Aug 21 14:26:16 vpd1tst1no sm-mta[8091]: [ID 801593 mail.crit] m7LKQGhW008090: SYSERR(root): Cannot exec /usr/lib/smrsh : No such file or directory Aug 21 14:26:16 vpd1tst1no last message repeated 1 time Now I understand sendmail uses its restricted shell when an alias instructs it to pipe to a program. Sendmail is configured to use smrsh, and I have placed a symlink and/or copy of rt-mailgate in /var/adm/sm.bin.... which is sendmail's authorized programs directory. But still the above error occurs. I've reconfigured sendmail.cf to use /bin/bash instead of /usr/lib/smrsh instead, without success. Permissions on smrsh look okay as far as I know. I still get the same result...just now with the different shell reference: Aug 21 15:15:43 vpd1tst1no sm-mta[8171]: [ID 801593 mail.info] m7LLFgpJ008170: Warning: program /bin/bash unsafe: No such file or directory Aug 21 15:15:43 vpd1tst1no last message repeated 1 time Aug 21 15:15:43 vpd1tst1no sm-mta[8171]: [ID 801593 mail.crit] m7LLFgpJ008170: SYSERR(root): Cannot exec /bin/bash : No such file or directory Aug 21 15:15:43 vpd1tst1no last message repeated 1 time I've checked my $PATH to make sure it can find /usr/lib/smrsh or /bin/bash (even though its pretty hard to miss those). I've tried sending mail as root, and both as a regular user. I've also included the DontBlameSendmail flags, in the sendmail config, to ease up on the security configuration parameters of sendmail itself. Still no luck. I am able to send mail successfully to local users. Also, when I run the RT program with sendmail's shell outside of sending an email with sendmail, it runs properly, however doesn't have any flags to pass an email to it via STDIN. # smrsh -c | /usr/local/rt3/bin/rt-mailgate --queue General --action correspond --url https://localhost/ Usage: smrsh -c command /usr/local/rt3/bin/rt-mailgate: no message passed on STDIN! # Any thoughts on the warning: program unsafe errors sendmail is throwing? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|