Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qmail and logs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
M.A.
Apprentice
Apprentice


Joined: 21 Mar 2003
Posts: 168
Location: /home/España/Valencia

PostPosted: Fri Jun 13, 2003 12:39 am    Post subject: qmail and logs Reply with quote

I'm using qmail in a server at the university for three months now. I'm very happy with its performance, but not as happy with those logs. Is there anyway to tell qmail to log with a human-readable timestamp?
Also, mail delivered to users is usually delivered to their local maildir and relayed to a external mail account (that of their ISP, etc), because we cannot provide POP or IMAP service. But if they want to read the mail of their local maildir with a console based MUA, which is the best for working with maildirs? I have installed pine-maildir, but I haven't figured yet how to use it with the qmail .maildir directory.
Thanks in advance.
Back to top
View user's profile Send private message
TimoTye
n00b
n00b


Joined: 16 May 2003
Posts: 27
Location: Dallas, TX

PostPosted: Fri Jun 13, 2003 1:16 am    Post subject: Reply with quote

There is a tool called tailocal (that's tai -- local not tail -- ocal)

I use it like this

cat qmail.log | tailocal | vi -

The reason it is logging this way is that people in different timezones may be looking at the logs. This way everyone can see the logs in their local time. Slight overkill in your situation I'm sure.

You may also be able to set qmail to log timestamps locally but I'm not sure how to do that.
Back to top
View user's profile Send private message
Rroet
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 176
Location: The Hague, The Netherlands

PostPosted: Fri Jun 13, 2003 7:50 am    Post subject: Reply with quote

do you have an url on that ?
_________________
Workstation: Shuttle SN85G4v2, AMD64 3200+, 512MB, 250GB sata, Radeon 9800 Pro.
Server 1: here
Server 2: here
Back to top
View user's profile Send private message
TimoTye
n00b
n00b


Joined: 16 May 2003
Posts: 27
Location: Dallas, TX

PostPosted: Fri Jun 13, 2003 2:02 pm    Post subject: Reply with quote

tailocal is part of the daemontools package. If you set up qmail to use tcpserver instead of inetd than tailocal should already be installed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum