ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Configuring sendmail on Jaguar
Subject:   What is purpose of 2nd sendmail session?
Date:   2003-01-02 11:56:17
From:   docwalker
In general, sendmail works for me. I am able to send and receive email to external email addresses from my local machine. I've noticed strange errors in the logs though.


In /System/Library/StartupItems/Sendmail/Sendmail, the following lines open two instances of sendmail:


/usr/sbin/sendmail -bd -q1h
/usr/sbin/sendmail -C /etc/mail/submit.cf -q1h


What is the purpose of the second one. I noticed that the 1st one runs as root and the second one runs as smmsp. What's the significance of this?


Also, I keep getting an hourly error in CrashReporter. It used to dump the error in the console.log, but I created the file with the correct permissions in the CrashReport directory. It appears to do with the -q1h settings above since something happens each 1 hour.


system.log:
Jan 2 13:10:29 xxx crashdump: Couldn't find or create: /etc/mail/Library/Logs/CrashReporter
Jan 2 13:10:29 xxx crashdump: Crash report written to: /Library/Logs/CrashReporter/sendmail.crash.log


sendmail.crash.log:
Date/Time: 2003-01-02 13:10:29 -0600
OS Version: 10.2.3 (Build 6G30)
Host: xxx


Command: sendmail
PID: 1056


Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000


Thread 0 Crashed:
#0 0x9007a1f0 in dns_is_local_name
#1 0x9007a4a4 in res_send
#2 0x90079610 in res_query
#3 0x90079b2c in res_querydomain
#4 0x90079980 in res_search
#5 0x0001ff90 in getmxrr
#6 0x0001f918 in hostsignature
#7 0x0004c1a0 in sendtoargv
#8 0x00049f64 in recipient
#9 0x00036da8 in maplocaluser
#10 0x0004a504 in recipient
#11 0x0003ca68 in doworklist
#12 0x0003b6c0 in dowork
#13 0x0004148c in set_def_queueval
#14 0x0003a0c0 in run_work_group
#15 0x000395b8 in runqueue
#16 0x00006394 in main
#17 0x000019a8 in start
#18 0x00001828 in start


I cannot seem to find any info on the thread 'dns_is_local_name'. Is this causing the problem? If so, what's the fix? Is it related to the following mail.log error:


Jan 2 13:10:27 xxx sendmail[1051]: gethostbyaddr(10.102.43.222) failed: 3


Rx


1 to 4 of 4
  1. What is purpose of 2nd sendmail session?
    2003-09-19 14:28:06  anonymous2 [View]

  2. What is purpose of 2nd sendmail session?
    2003-02-18 09:03:42  info@cilly.com [View]

  3. What is purpose of 2nd sendmail session?
    2003-02-17 04:09:41  anonymous2 [View]

  4. What is purpose of 2nd sendmail session?
    2003-02-01 14:08:12  anonymous2 [View]

    • What is purpose of 2nd sendmail session?
      2003-08-11 11:22:04  murphyatgenome [View]

1 to 4 of 4