On 18 Jan, Tony Green wrote:
>  On 18/01/2004, at 15:38, [EMAIL PROTECTED] wrote:
> > I'm just hoping someone can explain what some log messages mean, since
> > I appreciate that there's a wide range of errors I could be making.
> > (sendmail.mc, submit.cf, access, genericstable, aliases, reolv.conf,
> > host.conf, spamassassin/local.cf, ...)
>  >
> > Jan 17 22:56:14 posh sm-mta[16557]: i0HBuE2p016557: ruleset=check_mail,
> >  arg1=<[EMAIL PROTECTED]>, relay=localhost.localdomain 
> > [127.0.0.1],
> >  reject=553 5.1.8 <[EMAIL PROTECTED]>...
> >  Domain of sender address [EMAIL PROTECTED] does not exist
> > Jan 17 22:56:14 posh sm-mta[16557]: i0HBuE2p016557: 
> > from=<[EMAIL PROTECTED]>,
> >  size=3150, class=0, nrcpts=0, bodytype=7BIT, proto=ESMTP, daemon=MTA,
> >  relay=localhost.localdomain [127.0.0.1
>  
>  Can the machine which generates these messages resolve slug.org.au 
>  (host slug.org.au)?

I've just booted it up to see.  Yep:

$ hostx slug.org.au
slug.org.au             A       138.25.7.4

>  I'm guessing that you're blocking DNS requests and sendmail can't 
>  resolve the hosts.
>  
>  If you really can't sort it, you can try adding 
>  "FEATURE(accept_unresolvable_domains)"
>  into your sendmail.mc

I'd really like to avoid using that, since I understand it might lead
to me acting as a spam relayer.

What I'm really asking for, is an explanation of what the log message
means.

I have just tried creating /etc/host.conf: added line: order hosts,bind
(it was empty).

My resolv.conf file under gentoo looks the same as what it is under RH.

Now it looks like the re-writing of my outgoing email address to use my
ISP account name rather than my local account name isn't working. 
Dunno why, since I have all the masquerading options and access files
etc.

I just sent a test mail to myself and got this:

Jan 18 19:06:52 posh sendmail[2374]: i0I86qvj002374: from=luke, size=217, class=0,
 nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Jan 18 19:06:52 posh sm-mta[2377]: i0I86qjd002377: from=<[EMAIL PROTECTED]>,
 size=439, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>,
  proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jan 18 19:06:52 posh sm-mta[2377]: i0I86qjd002377: to=<[EMAIL PROTECTED]>,
 delay=00:00:00, mailer=relay, pri=30439, stat=queued
Jan 18 19:06:52 posh sendmail[2376]: i0I86qvj002374: [EMAIL PROTECTED],
 ctladdr=luke (501/500), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30217, 
 relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (i0I86qjd002377 Message accepted 
 for delivery)
Jan 18 19:06:55 posh sendmail[2378]: NOQUEUE: SYSERR(luke): can not
 chdir(/var/spool/mqueue/): Permission denied
Jan 18 19:07:13 posh sendmail[2382]: i0I86qjd002377: to=<[EMAIL PROTECTED]>,
 ctladdr=<[EMAIL PROTECTED]> (501/500), delay=00:00:21, xdelay=00:00:00, 
 mailer=relay, pri=120439, relay=mail.optushome.com.au [211.29.132.251], dsn=2.0.0, 
 stat=Sent (i0I876101835 Message accepted for delivery)
Jan 18 19:08:31 posh sm-mta[2449]: i0I88Vjd002449: ruleset=check_mail,
 arg1=<[EMAIL PROTECTED]>, relay=localhost.localdomain [127.0.0.1], 
 reject=553 5.1.8 <[EMAIL PROTECTED]>... Domain of sender address 
 [EMAIL PROTECTED] does not exist
Jan 18 19:08:31 posh sm-mta[2449]: i0I88Vjd002449: from=<[EMAIL PROTECTED]>,
 size=941, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain 
 [127.0.0.1]

And yes, I can resolve optushome.com.au:

$ hostx optushome.com.au
optushome.com.au        A       211.29.132.28

Which is why I'm asking what the log messages actually mean.  (Because
I know it's complex and there are any number of things I may have
screwed up: sendmail.mc, submit.cf, access, genericstable, aliases, reolv.conf,
host.conf, spamassassin/local.cf, ...)

I'm currently investigating the new error message about
/var/spool/mqueue:

$ ls -ld /var/spool/*     
drwxrwx---    2 smmsp    smmsp        4096 Jan 18 19:06 /var/spool/clientmqueue
drwxr-x---    4 root     cron         4096 Dec 25 10:24 /var/spool/cron
drwx--x---    3 root     lp           4096 Jan 13 23:37 /var/spool/cups
drwxrwxrwt    2 root     mail         4096 Jan 16 02:31 /var/spool/mail
drwx------    2 root     root         4096 Jan 18 19:07 /var/spool/mqueue
drwxrwxrwt    2 root     root         4096 Jan  4 05:28 /var/spool/samba

Currently I'm looking to see why it's trying to use /var/spool/mqueue -
it looks like the system is set up to use /var/spool/mail.  I'm now
reading sendmail's README.cf and looking to see how to alter that.  I
think:

define(`QUEUE_DIR',`/var/spool/mail')

luke

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to