Mailx & mail error


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Mailx & mail error
# 1  
Old 01-06-2014
Mailx & mail error

I have 3 Solaris Unix 5.10 machine

One of them is successfully sending mails using mail commands
the 2 others are not , when i try to send using mail or mailx , i get this message within few seconds
Code:
drop_privileges: setuid(0) succeeded (when it should not)

The working and non-working machine are of the same OS patch level

At 1st troubleshooting session , i noticed that the sendmail service was disabled , then i enabled it and it became online , but the same is still happening
Code:
   smmsp 25925     1   0 14:01:37 ?           0:00 /usr/lib/sendmail -Ac -q15m
    root 25526     1   0 14:01:14 ?           0:00 /usr/lib/sendmail -bl -q15m


Last edited by vbe; 01-07-2014 at 12:48 PM.. Reason: code tags for your code and data please
# 2  
Old 01-07-2014
Code:
ls -l /usr/bin/mail /usr/bin/mailx

should be -r-x--s--x each.
Also check the package
Code:
pkgchk SUNWcsu

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need Script to ZIP/SAVE & then DELETE Log file & send a mail conformation for any error

ENVIROMENT Linux: RHEL 6.4 Log Path: /usr/iplanet/servers/https-company/logs Log Format: user.log.03-15-2015 I have log4j log rotation enabled rotating files on a daily basis. The rotated logs are NOT compressed & are taking up too much space. I need a script that will run daily that... (1 Reply)
Discussion started by: admin_job_admin
1 Replies

2. Red Hat

Problems sending mail: Difference between Mail and Mailx?

Whats the difference between mail and mailx? I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL) ... (1 Reply)
Discussion started by: RedSpyder
1 Replies

3. Shell Programming and Scripting

Not able to send the mail using mail and mailx command

Hi All, I am trying to send a mail from linux server but could'nt able to send the mail. I tried the below syntax's so far but no luck. mail -s “Hello world” abc@xyz.com < /usr/g/txt.log cat "txt.log" | mailx -s "Hello world" abc@xyz.com mailx -s “Hello world” abc@xyz.com <... (2 Replies)
Discussion started by: scriptscript
2 Replies

4. UNIX for Dummies Questions & Answers

mailx, why all my mail goes to mailq?

Hi, I sending mail like this: mailx -s "test" -r "from@me.com" to@you.com and I have update the /etc/mail/sendmail.cf with: DSsmtp-relay-nx-vip.xxx.yyy.com (this path is working on the old server) But all I mail goes to queue. What do I miss here? Regards Mehrdad (1 Reply)
Discussion started by: mehrdad68
1 Replies

5. Shell Programming and Scripting

sending mail through mailx

while trying to send a mail, though the output file doesn't contain any exclamatory mark(!), i am getting that in the mail with an extra line. please help me out from this ASAP. (3 Replies)
Discussion started by: pvamsikr
3 Replies

6. UNIX for Advanced & Expert Users

Recall a mail possible in mailx?

Hi, Is it possible to recall a mailx mail in HP-UX? Thanks in advance kanu_kanu (1 Reply)
Discussion started by: kanu_kanu
1 Replies

7. UNIX for Advanced & Expert Users

mailx commannd - Mail and Attachment in same mail

Hi , I am using mailx command for sending the mails. Rightnow I am sending the attachment (by using uuencode $filename) as a seperate mail.I wanna send the attachment also with the same mail. (6 Replies)
Discussion started by: sharif
6 Replies

8. UNIX for Dummies Questions & Answers

mailx error message : mailx: NUL changed to @

If I use the "Mail" link instead of the "mail" link to ../mailx I get this error. Mail so-n-so @whatever.com mailx: NUL changed to @ Unknown command: "postmaster" The email still goes through but i get the error. If I use "mail" it goes thru without the error. Any ideas?? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

9. UNIX for Dummies Questions & Answers

mail or mailx attachment

I have used the forum to determine the format required to send attachments from hp-ux 11. the problem I have is that using mailx does not attach the file, but subsititing mailx for mail on the command line attaches the file but i'm not able to specify a subject? The attachment has been convert... (3 Replies)
Discussion started by: brettmartin99
3 Replies

10. UNIX for Dummies Questions & Answers

Specify Mail server in mailx

Dear All, I am using HP-UNIX. I want to specify host in mailx command line. A -> B I am in Server A. And run a mailx command line to send mail to abc@xyz.com. But Server A don't know where xyz.com is. It needs to send this mail to Server B to help him to send mail to... (1 Reply)
Discussion started by: wilsonchan1000
1 Replies
Login or Register to Ask a Question