Sponsored Content
Full Discussion: sendmail error :-(
Top Forums UNIX for Dummies Questions & Answers sendmail error :-( Post 15843 by thehoghunter on Wednesday 20th of February 2002 01:08:46 PM
Old 02-20-2002
Check which version of Sendmail you are using by the following:
/usr/lib/sendmail -d0.1 -bt < /dev/null

This will give you something like the following:
/usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.11.6
Compiled with: MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND
NDBM NETINET NETUNIX NEWDB NIS NISPLUS QUEUE SCANF SMTP USERDB
XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = medusa
(canonical domain name) $j = medusa.tampa.yourcompany.com
(subdomain name) $m = tampa.yourcompany.com
(node name) $k = medusa
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
>
$

It should also tell you what directories that Sendmail is complaining about with world writable (if it's something to do with the normal files-directories) You can then fix that and run the command again to see if they went away.
thehoghunter
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

extracting sendmail: error

I'm a newbie trying to update an old sendmail 8.6 to 8.12.3 ftp'ed sendmail.org and got sendmail.8.12.3.tar.gz file size matches but when i: tar xvf sendmail.8.12.3.tar.gz i get: tar: directory checksum error tried getting others... ie. 8.12.2... ftp'ed using binary and saved in... (1 Reply)
Discussion started by: sphiengollie
1 Replies

2. UNIX for Dummies Questions & Answers

Sendmail error

I have faced the following error : Feb 8 11:56:10 test sendmail: unable to qualify my own domain name (test) -- using short name I searched the forum and tested the required in the posts , but it doesn't work ... I have changed the IP and local host in /etc/hosts to be as follows : ... (1 Reply)
Discussion started by: atiato
1 Replies

3. UNIX for Advanced & Expert Users

Whe trying to start sendmail i getting following error

Hi expert , When i trying to start sendmail i getting the following error : pls help me # ./sendmail start # 451 4.0.0 /etc/mail/sendmail.cf: line 77: fileclass: cannot open /etc/mail/local-host-names: World writable directory 451 4.0.0 /etc/mail/sendmail.cf: line 472: fileclass: cannot... (6 Replies)
Discussion started by: saisivakumar
6 Replies

4. UNIX for Advanced & Expert Users

Too many hops error in sendmail

I am running SCO openserver 6 with sendmail as my mta I have a customer that sends me mail and occasionally some of them get bounced by my machine with a too many hops error. the header shows that it hops around their servers several times before getting to me and I know this is something that they... (3 Replies)
Discussion started by: garycrow
3 Replies

5. UNIX for Dummies Questions & Answers

getting some error periodically - sendmail

Hi all, When ever i open unix, periodically after every 3 minutes(approximately) i get the below error. "Dec 29 23:56:01 "domain name" sendmail: unable to qualify my own domain name ("domain name") -- using short name". This is interrupting me while writing a program. Please... (2 Replies)
Discussion started by: rakeshbharadwaj
2 Replies

6. Solaris

Sendmail error delaying relay

When I try to send mail, sendmail delays a lot. After monitoring syslog, I noticed that sendmail starts with this first message... waits a minute and gives the second message... waits another minute and then sends off the email. How do I correct this in sendmail or completly disable it. I'm sending... (0 Replies)
Discussion started by: adelsin
0 Replies

7. AIX

sendmail error aix 5.2

Hi, i'm having this error in my aix development server... i dont know what to do, anyone can helpme out with this??? I'll be so gratefull. ---- start of message Message from syslogd@aixdes1 at Mon Aug 9 08:36:03 2010 ... aixdes1 mail:crit sendmail: My unqualified host name (aixdes1)... (4 Replies)
Discussion started by: fdeivis
4 Replies

8. Red Hat

sendmail error

Hi, Need help here in sendmail error encountered # tail /var/log/maillog Aug 18 16:36:01 dot-123-my-server sendmail: q7IKa1GJ001123: to=<munin@dot-123-my-server>, ctladdr=<munin@dot-123-my-server> (101/102), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30898, dsn=2.0.0, stat=Sent Aug... (2 Replies)
Discussion started by: edwin rosales
2 Replies

9. UNIX for Dummies Questions & Answers

Sendmail error message

Hi i am having a probleme with my sendmail server. using it as a mta to send out email. keem on getting this error message back. ----- The following addresses had permanent fatal errors ----- <XXX@XXXX.co.za> (reason: 554 Denied (Mode: normal)) ----- Transcript of session... (1 Reply)
Discussion started by: sakie
1 Replies

10. Solaris

Sendmail Error

Hello, we have a mailserver named vision.mailhost.com 192.168.10.10 ( solaris 10) We have an test server named visionway 192.168.10.5 ( solaris 10) we want to run a cron job on test server and send an email if the cronjob fails Question is how does the test server sendmail know the... (1 Reply)
Discussion started by: nimika
1 Replies
SMRSH(8)						      System Manager's Manual							  SMRSH(8)

NAME
smrsh - restricted shell for sendmail SYNOPSIS
smrsh -c command DESCRIPTION
The smrsh program is intended as a replacement for sh for use in the ``prog'' mailer in sendmail(8) configuration files. It sharply limits the commands that can be run using the ``|program'' syntax of sendmail in order to improve the over all security of your system. Briefly, even if a ``bad guy'' can get sendmail to run a program without going through an alias or forward file, smrsh limits the set of programs that he or she can execute. Briefly, smrsh limits programs to be in a single directory, by default /usr/lib/sendmail.d/bin/ allowing the system administrator to choose the set of acceptable commands, and to the shell builtin commands ``exec'', ``exit'', and ``echo''. It also rejects any commands with the characters ``', `<', `>', `;', `$', `(', `)', ` ' (carriage return), or ` ' (newline) on the command line to prevent ``end run'' attacks. It allows ``||'' and ``&&'' to enable commands like: ``"|exec /usr/local/bin/filter || exit 75"'' Initial pathnames on programs are stripped, so forwarding to ``/usr/bin/vacation'', ``/usr/bin/vacation'', ``/home/server/mydir/bin/vaca- tion'', and ``vacation'' all actually forward to `/usr/lib/sendmail.d/bin/vacation''. System administrators should be conservative about populating the /usr/lib/sendmail.d/bin/ directory. For example, a reasonable additions is vacation(1), and the like. No matter how brow-beaten you may be, never include any shell or shell-like program (such as perl(1)) in the /usr/lib/sendmail.d/bin/ directory. Note that this does not restrict the use of shell or perl scripts in the /usr/lib/sendmail.d/bin/ directory (using the ``#!'' syntax); it simply disallows execution of arbitrary programs. Also, including mail filtering programs such as procmail(1) is a very bad idea. procmail(1) allows users to run arbitrary programs in their procmailrc(5). COMPILATION
Compilation should be trivial on most systems. You may need to use -DSMRSH_PATH="path" to adjust the default search path (defaults to ``/bin:/usr/bin'') and/or -DSMRSH_CMDDIR="dir" to change the default program directory (defaults to ``/usr/lib/sendmail.d/bin/''). FILES
/usr/lib/sendmail.d/bin/ - default directory for restricted programs on SuSE Linux SEE ALSO
sendmail(8) $Date: 2004/08/06 03:55:35 $ SMRSH(8)
All times are GMT -4. The time now is 09:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy