Re: multilog datestamping

2000-02-02 Thread A Hoffman


 Thanks Chris. Now that begs the question of why I should use multilog
instead of syslog which does datestamp if you tell it to. It doesn't seem
beneficial to add a superflous step. I apologize if this point seems
irrelevant.
 However if there is a better method, I would appreciate pointers to the
documentation.

- Aodhan


On Wed, 2 Feb 2000, Chris Johnson wrote:

> On Wed, Feb 02, 2000 at 11:20:30AM -0800, A Hoffman wrote:
> > On that note, what is an example of a startup script that includes useful
> > datestamping for multilog? I used the examples set forward in section 2.8.2.
> > 'System start-up files' in LWQ, and it is not working as I had hoped. Thanks!
> 
> Don't try to do it from your startup file. When you want to look at the logs
> and see time stamps that mean something to you, pipe the log through tailocal
> or tai64nlocal (for cyclog and multilog files respectively).
> 
> Chris
> 


   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:
   
   Aodhan of Mountainview
   Internet Guy
   
Ad Astra Per Aspera
"A Rough Road Leads To The Stars"

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:



Re: multilog datestamping

2000-02-02 Thread A Hoffman


 On that note, what is an example of a startup script that includes
useful datestamping for multilog? I used the examples set forward in
section 2.8.2. 'System start-up files' in LWQ, and it is not working as I
had hoped. Thanks!

- A

On Wed, 2 Feb 2000, Mads E Eilertsen wrote:

> On Wed, 2 Feb 2000, A Hoffman wrote:
> 
> [...] For some reason tai64nlocal
> > does not appear to be kicking in.
> 
> > # more /var/qmail/supervise/qmail-send/log/run
> > #!/bin/sh
> > exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
> > /var/log/qmail
> > 
> > # more /var/qmail/supervise/qmail-smtpd/log/run
> > #!/bin/sh
> > exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
> > /var/log/qmail/smtpd
> 
> These scripts don't call tai64nlocal anywhere, that's why. :-)
> 
> Mads
> 
> 
> 


   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:
   
   Aodhan of Mountainview
   Internet Guy
   
Ad Astra Per Aspera
"A Rough Road Leads To The Stars"

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:



multilog datestamping

2000-02-02 Thread A Hoffman

Morning,

 I installed qmail and daemontools according to LWQ and the linked info on
daemontools. As a result, I'm using multilog.
 QMail deliver works locally, and appears to stop and start normally.
However, the logs are not working as expected. For some reason tai64nlocal
does not appear to be kicking in.
 
 Instead of a readable datestap, I get:

@400038986b631b585fb4 status: local 1/10 remote 1/20
@400038986b6320b690ac delivery 5: success: did_1+0+0/
@400038986b6320b6e69c status: local 0/10 remote 1/20
@400038986b6320b71964 end msg 188980
@400038986b6623cdb004 delivery 4: deferral:
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400038986b6623ce2534 status: local 0/10 remote 0/20

 Insight on what may not be configured would help. QMail is launched at
startup by the rc file included with LWQ.

# more /var/qmail/supervise/qmail-send/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail

# more /var/qmail/supervise/qmail-smtpd/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/smtpd

 If there is additional information what would help, please let me know.



   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:
   
   Aodhan of Mountainview
   Internet Guy
   
Ad Astra Per Aspera
"A Rough Road Leads To The Stars"

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:



init script svc issue

2000-02-01 Thread A Hoffman


 At LWQ 2.8.5, I ran into a problem where I couldn't get sv to do anythign
useful with QMail. I'm certain this is a pretty boneheaded mistake,
but for some reason, svc won't recognize the run scripts. For example,
this is what I get. I include the first entry in the interest of being
thorough.

# svc -d /var/qmail/supervise/qmail-smtpd
svc: warning: unable to control /var/qmail/supervise/qmail-smtpd: file
does not exist

# svc -d /var/qmail/supervise/qmail-smtpd/run
svc: warning: unable to chdir to /var/qmail/supervise/qmail-smtpd/run: not
a directory

# ls /var/qmail/supervise/qmail-smtpd/
log  run

# ls -l /var/qmail/supervise/qmail-smtpd/
total 2
drwxrwxr-x   2 root root 1024 Feb  1 10:08 log
-rwxr-xr-x   1 root root  238 Feb  1 10:06 run

 Tips, clues, advice, welcome. THanks.

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:
   
   Aodhan of Mountainview
   Internet Guy
   
Ad Astra Per Aspera
"A Rough Road Leads To The Stars"

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:





tcpserver docs

2000-01-31 Thread A Hoffman


 I am looking for info on tcpserver config. The files that come with it
are kind of sparse on syntax and examples. Is there a site that has mroe
info?
 Also, is it better used in place of, or in combination with tcp wrappers?


   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:
   
   Aodhan of Mountainview
   Internet Guy
   
Ad Astra Per Aspera
"A Rough Road Leads To The Stars"

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:



issues w/ rem2local

1999-11-30 Thread A Hoffman


 I installed qmail, and am running into problems getting email from
outside. Locally mail delivers okay, and aliases work locally. However I
get errors about name lookup trying to send, even though I have found no
issues with the dns. 
 The remote machine I'm sending from is able to do an nslookup on each of
the desitations. It also knows wha tthe MX record is supposed to be, so I
am certain the mail is /hitting/ the destination, which tells me qmail is
bouncing it. Though I can't find a log message to that effect.

 The actual error is:

   - The following addresses had transient non-fatal errors -
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>  

   - Transcript of session follows -
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
... Deferred: Name
server:
mail.domain.org.: host name lookup failure
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

 It says non fatal, but I never see the message.

#more /var/qmail/control/me 
marathon.domain.org

# more rcpthosts 
marathon.domain.org
mail.domain.org
marathon.otherdomain.net
ns.domain.org

# more plusdomain 
@domain.org
@otherdomain.net

 For the purposes of DNS, pavia.otherdomain.net is authoritative for
domain.org. Additionally, marathon.domain.org = mail.otherdomain.org =
domain.org = ns.domain.org.

; <<>> DiG 8.1 <<>> @pavia.otherdomain.net domain.org MX 
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUERY SECTION:
;;  domain.org, type = MX, class = IN

;; ANSWER SECTION:
domain.org.   30M IN MX   10 mail.domain.org.

;; ADDITIONAL SECTION:
mail.domain.org.  30M IN A63.196.9.126

;; Total query time: 23 msec
;; FROM: puffer.quadrunner.com to SERVER: pavia.otherdomainB.net
63.196.9.123
;; WHEN: Mon Nov 29 06:39:34 1999
;; MSG SIZE  sent: 30  rcvd: 67

 I would appreciate any insight people might have.


   =-=-=-=-:

   Aodhan of Mountainview
   Internet Guy

  "Every beginning comes from some other beginning's end."
- Semisonic, "Closing Time"

   =-=-=-=-: