[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie needs sendmail/DNS help



and i just tried this on an openbsd 3.0 box and it worked fine:

cat dummymail | /usr/sbin/sendmail -C/etc/mail/sendmail.cf -X
sendmail-$$.log  -O ResolverOptions=+debug -O DeliveryMode=i -O
LogLevel=98 -O QueueDirectory=/home/jdunfee/mqueue   -t


i forgot the default rc.conf setting gives you the "localhost.cf"
config file. You'll need to use sendmail.cf or submit.cf to actually
see a connection.  I used a QueueDirectory in my home dir so I didn't
have to run it as root.

jon



Jonathan D. Dunfee writes:
 > I debug sendmail problems by doing things like this:
 > 
 > cat dummymail | /usr/sbin/sendmail -X sendmail-$$.log  -O
 > ResolverOptions=+debug  -O LogLevel=98  -t
 > 
 > changing the options of course to figure out what's up --
 > setting a different queue dir, etc. You can also feed
 > sendmail a dummy config file instead of listing all
 > the options out. just depends on how much you're mucking
 > with.
 > 
 > dummyfile is just that:
 > 
 > To: jdunfee@psyduck
 > From: jdunfee@lapras
 > 
 > test
 > 
 > make sure the line separating the headers and text
 > is empty - just a return.
 > 
 > Hope this helps,
 > 
 > jon
 > 
 > 
 > ps -- and the line above was acutally used on an AIX box,
 > but the principal is the same. 
 > 
 > Mike Darweesh writes:
 >  > A Fine suggestion, but that did not help.
 >  > 
 >  > My estimation is that sendmail is unable to verify the sender's
 >  > domain as valid. But, I have no idea how to debug that other than
 >  > verifying my nslookup for that same domain/machine (which works).
 >  > 
 >  > Ideas?
 >  > -Mike
 >  > 
 >  > Marc Matteo writes:
 >  > > On Sun, 24 Mar 2002, Mike Darweesh wrote:
 >  > > 
 >  > > > Any ideas how to fix "rewrite: map resolve not found"?
 >  > > 
 >  > > Just a shot in the dark here, but did you deal with errata #001 correctly?
 >  > > 
 >  > > Marc
 >  > 
 > 
 > -- 
 > 
 > Jonathan D. Dunfee
 > jdunfee@acm.org
 > 

-- 

Jonathan D. Dunfee
jdunfee@acm.org