mutt configuration

2001-01-19 Thread Redak, Dorian

Dear All!

I'm trying to use mutt as MUA and get an error msg when trying to send mail:
Error sending message, child exited 127 (Exec error.)
The original sendmail binaries have been replaced by the qmail wrapper.

cheers Dorian



Re: URL on Exchange retrying like mad

2001-01-19 Thread Markus Stumpf

On Thu, Jan 18, 2001 at 09:46:50PM -0500, Peter Green wrote:
 Looking for a little help... I seem to remember that in certain cases,
 Exchange will retry immediately after a temporary error, generating a mail
 storm. I also seem to remember that there was a URL (possibly on
 microsoft.com) describing the problem.

This is a Microsoft confirmed problem and they have a
A TARGET="TOP" 
HREF="http://support.microsoft.com/support/kb/articles/Q224/9/83.ASP"bug description 
and fix/A.

 I'm trying to make a case against using Exchange (based on the fact that it
 doesn't obey standards) and this would be really helpful.

Interestingly enough the patch mention on this page looks like it never
made it in the official "service pack"s. Although I have this URL for
about 1.5 years now.
To fix the server hosting our NT webservers we'd to pay some $200 bucks
for calling M$ hotline and it took them 3 days to mail the patch.
So much on "how to make easy money": write broken software and let them
pay for fixes.

\Maex

-- 
SpaceNet AG   |   http://www.Space.Net/   | Stress is when you wake
Research  Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



tcpserver question (OT)

2001-01-19 Thread Mario Thaten

Hi everybody!

Sorry, if I'm slightly OT, but I haven't found any else appropriate place
to ask my question. I am currently installing tcpserver as a full
replacement for xinetd. What I depend on, are the services, that are
considered internal by xinetd (daytime, time, echo, discard). 
Unfortunately I did not find any hint in tcpserver's documentation nor any
software on freshmeat that could fulfill this service.

I would be pleased if anybody could point me in the right direction where 
and what to search to solve this problem.

Thanks a lot in advance,

Mario

-- 
 .~.Mario Thaten ([EMAIL PROTECTED])
 /V\
/( )\   "There are just 2 rules in life:
 ^ ^ Always be yourself, but never mind to change."



Re: who rotates the logs?

2001-01-19 Thread Clemens Hermann

Am 18.01.2001 um 14:31:26 schrieb Dave Sill:

Hi Dave,

 yes I have and it is *exactly* what I need, but if I did not misread the 
 docu, isoqlog uses syslog and I really would like to keep this away from
 syslog.
 
 Argh. You're right. I assumed it was based on multilog since syslog
 sucks so bad...

Anyway, as I did not get a response from the IsoQlog-People I ask you
one again: Can you imagine a way how to process multilog-mails with
IsoQlog (which needs Syslo-style-logs). Furthermore I likely run into
trouble because IsoQLog wants to rotate te logs on its own so I think
one would have to make sure each log-entry must only be passed once to
IsoQlog even when it gets processed several times.

Any Ideas?

Is there no ISP out that uses qmail and is interested which of his
domains uses the mailserver how much? I do not necessrily need all the
html-stuff, I just want to know in the end of the month who caused how
much traffic like this. 

DOMAIN  IN  OUT
domain1.tld 23MB143MB
domain2.tld 42MB879MB

This information is in the logs, how do I get it out? I do not offer any
smtp-servives for domains not located on the server (smtp-auth,
smtp-after-pop etc.) so I should be able to get perfectly correct
stats, schouldn't I?

/ch



qmail Digest 19 Jan 2001 11:00:00 -0000 Issue 1249

2001-01-19 Thread qmail-digest-help


qmail Digest 19 Jan 2001 11:00:00 - Issue 1249

Topics (messages 55480 through 55585):

remove [EMAIL PROTECTED]
55480 by: Nejc Suhadolc

Re: qmail-remote Address
55481 by: Johan Almqvist

Re: who rotates the logs?
55482 by: Clemens Hermann
55492 by: Dave Sill
55493 by: Kevin Bucknum
55494 by: Dave Sill
55508 by: pape.innominate.com
55522 by: Matthew Patterson
55538 by: Clemens Hermann
55540 by: Dave Sill
55541 by: Clemens Hermann
55585 by: Clemens Hermann

Re: Another mystery #@[]
55483 by: Chris Johnson

Problems with the pop !
55484 by: Desarrollo y Sistemas
55490 by: Dave Sill

vsm to Maildir
55485 by: Dale Herring
55489 by: Dave Sill

Problems with POP, ???
55486 by: Desarrollo y Sistemas
55488 by: Dave Sill

Re: need a howto, something i can follow step by step and get qmail installed..
55487 by: Dave Sill

Anybody heard from Michael Samuel?
55491 by: Russell Nelson
55498 by: Magnus Bodin
55501 by: Johan Almqvist
55504 by: Michael Maier
55510 by: Filip Salomonsson
55512 by: Russell Nelson
55516 by: Magnus Bodin
55526 by: Alex Pennace
55545 by: Mark Delany
2 by: Peter van Dijk
55575 by: Alex Pennace
55577 by: Magnus Bodin

Re: A firestorm of protest?
55495 by: Dave Sill
55505 by: Piotr Kasztelowicz
55535 by: Paul Jarc
55546 by: Mark Delany

Re: Conversion to Maildir Format
55496 by: Dave Sill
55499 by: Manvendra Bhangui
55502 by: Charles Cazabon
55503 by: Dave Sill

Re: virus scanning
55497 by: Ruprecht Helms

Re: relay-ctrl
55500 by: Charles Cazabon

Re: Security Warning : Group Unowned files found :
55506 by: Rick Updegrove

Qmail and Syslogd?
55507 by: Collin B. McClendon
55509 by: Greg Owen
55511 by: Dave Sill
55513 by: Manvendra Bhangui
55514 by: Stefan Laudat
55519 by: Dave Sill
55530 by: Piotr Kasztelowicz
55532 by: Dave Sill
55536 by: Piotr Kasztelowicz
55539 by: Dave Sill
55542 by: Piotr Kasztelowicz
9 by: Keary Suska

Qmail and Syslogd
55515 by: Collin B. McClendon

processing mail before qmail delivers to vmailmgr virtual domain...
55517 by: Sanjay Arora

confirming delivery; looking for recommended approach
55518 by: David Geller

Re: Help the qmail novice, receive free good karma --
55520 by: Matthew Patterson

why so few qmail-remote processes ...
55521 by: Jacques Frip' WERNERT
55523 by: Greg Cope
55524 by: Mark Delany
55525 by: Dave Sill
55527 by: Jacques Frip' WERNERT
55528 by: Jacques Frip' WERNERT
55531 by: Dave Sill
55581 by: Jacques Frip' WERNERT

Re: Help the qmail vmailmgr novice, receive free good karma --
55529 by: Sean Coyle
55533 by: Matthew Patterson

Re: [vmailmgr] Re: Help the qmail vmailmgr novice, receive free good karma --
55534 by: Bruce Guenter

Re: Andrew H Chang/APPLIED MATERIALS is out of the office.
55537 by: Boz Crowther

maildir error
55543 by: Durham David R CNTR AMC CSS/SAS
55544 by: Paul Jarc
8 by: Henning Brauer

OpenBSD's MUA
55547 by: Alex Le Fevre
55548 by: Charles Cazabon
55549 by: Travis Turner
0 by: Paul Jarc

virus scanning mail server
1 by: Bjorn Nilsen
3 by: Thorkild Stray
55564 by: Bjorn Nilsen
55573 by: Jason Haar

Virtual domains and forwarding.
4 by: Grant
55560 by: Keary Suska
55562 by: Grant
55565 by: Keary Suska
55566 by: Grant
55567 by: Keary Suska
55570 by: Charles Warwick
55574 by: Grant

Autoturn
5 by: Gavin McCord

Svscan
6 by: Gavin McCord
7 by: Mark Delany

Multiple instances of qmail...
55561 by: msteele.inet-interactif.com
55563 by: Henning Brauer
55569 by: msteele.inet-interactif.com

Mailer error
55568 by: Boz Crowther

LOAD-BALANCING WITH QMAIL.
55571 by: Ian Matyssik
55576 by: Ian Matyssik

URL on Exchange retrying like mad
55572 by: Peter Green
55583 by: Markus Stumpf

Re: Bogus popularity claims for Sendmail
55578 by: Russell Nelson

qmail wont send
55579 by: Marty Nichols
55580 by: Ian Matyssik

mutt configuration
55582 by: Redak, Dorian

tcpserver question (OT)
55584 by: Mario Thaten

Administrivia:

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]



Re: mutt configuration

2001-01-19 Thread Jorge Bras

On Fri, Jan 19, 2001 at 09:27:44AM +0100, Redak, Dorian wrote:
 Dear All!
 
 I'm trying to use mutt as MUA and get an error msg when trying to send mail:
 Error sending message, child exited 127 (Exec error.)
 The original sendmail binaries have been replaced by the qmail wrapper.

I don't know what that error mean, but i can send you a muttrc example,
similiar to the one i use.

best regards,

./bras
--
Support Engineer
kpnQwest Portugal


source ~/.mutt/gpg.rc

set alias_file=~/.mutt/aliases
source ~/.mutt/aliases
set reverse_alias
set reverse_name


set folder=~/Maildir
set spoolfile=+Mailbox/
set mbox=+Mailbox

set copy=yes record=+sent save_name
set delete=yes

set mail_check=5
set indent_string=" "

set check_new
set beep_new 
set fast_reply 
set allow_8bit 
set resolve 
set suspend 
 
#set pgp_autosign 
set pgp_timeout=3600 
 
unset confirmappend  
unset mark_old  
unset sig_dashes 
 
set editor='vim -c "set tw=72" +2' 
set edit_hdrs=yes 
#set edit_hdrs editor="/bin/vi +/^\$" 
set print=ask-no 
set print_command="mpage -2Hf -bA4 -Phptec" 
set hidden_host=yes 
set sort=threads 
set sort_alias=alias 
set sort_aux=date-sent 
set sort_browser=alpha 
 
 
set pager_format="[%Z] %A-%C/%m %.34f%%[%d.%b %y, %H:%M]" 
set status_format="%r %v [%?M?%M/?%m] %?n?%n new, ?%?p?%p postponed, ?%?t?%t tagged, 
?%?d?%d deleted, ?(%h:%f) %?b?%b more to go.?% %r" 
 
hdr_order From: Subject: To: CC: BCC: Date: Organization: X-Mailer: 
 
ignore * 
unignore from: date: subject: to: cc: reply-to: 
unignore organization: organisation: 
unignore X-Mailer: 
unignore X-Junked-Because 
 
 
 
lists bugtraq  
 
mailboxes ! +bugtraq 
 
 
send-hook . "unset pgp_autosign" 
 
# template folder 
#folder-hook default 'set move=yes' 
#folder-hook default 'set mbox=+default.net/' 
#folder-hook default 'set tmpdir=+default/tmp' 
#folder-hook default 'set postponed=+default/postponed' 
#folder-hook default 'set record=+saved/sent.default 
#folder-hook default 'set sort=date-received' 
#folder-hook default 'my_hdr From: Jorge Bras [EMAIL PROTECTED]' 
#folder-hook default 'my_hdr Return-Receipt-To: [EMAIL PROTECTED]' 
#folder-hook default 'my_hdr Return-Path: [EMAIL PROTECTED]' 
#folder-hook default 'set signature=~/.signature' 
#mbox-hook +default +/saved/in.default 
 
 
# Set defaults for folder-hook 
folder-hook Mailbox 'set move=yes' 
folder-hook Mailbox 'set mbox=+Mailbox/' 
folder-hook Mailbox 'set tmpdir=+Mailbox/tmp' 
folder-hook Mailbox 'set postponed=+Mailbox/postponed' 
folder-hook Mailbox 'set record=+saved/sent.mailbox' 
folder-hook Mailbox 'set sort=date-received' 
folder-hook Mailbox 'my_hdr From: Moo [EMAIL PROTECTED]' 
folder-hook Mailbox 'my_hdr Return-Receipt-To: [EMAIL PROTECTED]' 
folder-hook Mailbox 'my_hdr Return-Path: [EMAIL PROTECTED]' 
folder-hook Mailbox 'set signature=~/.signature' 
mbox-hook +Mailbox +/saved/in.mailbox 
 
# bugtraq folder 
folder-hook bugtraq 'set move=yes' 
folder-hook bugtraq 'set mbox=+bugtraq.net/' 
folder-hook bugtraq 'set tmpdir=+bugtraq/tmp' 
folder-hook bugtraq 'set postponed=+bugtraq/postponed' 
folder-hook bugtraq 'set record=+saved/sent.bugtraq 
folder-hook bugtraq 'set sort=date-received' 
folder-hook bugtraq 'my_hdr From: Me [EMAIL PROTECTED]' 
folder-hook bugtraq 'my_hdr Return-Receipt-To: [EMAIL PROTECTED]' 
folder-hook bugtraq 'my_hdr Return-Path: [EMAIL PROTECTED]' 
folder-hook bugtraq 'set signature=~/.signature' 
mbox-hook +bugtraq +/saved/in.bugtraq 
 
 
auto_view application/zip 
auto_view application/x-gzip 
auto_view application/x-gunzip  
auto_view application/pgp-signature 
auto_view application/pgp 
auto_view application/octet-stream  
auto_view application/x-zip-compressed 
auto_view application/x-arj-compressed 
auto_view application/x-tar-gz 
auto_view application/ms-tnef 
auto_view application/msword 
auto_view application/x-perl 
auto_view application/x-sh 
auto_view application/x-tcl 
auto_view application/x-delphi-source 
auto_view text/html 
auto_view text/x-vcard 
auto_view image/tiff 
 
 
alternative_order text/enriched text/plain text/html 
 
color hdrdefault red default 
color quoted brightblue default 
color signature red default 
color indicator brightyellow red 
color error brightred default 
color status yellow blue 
color tree magenta default 
color tilde magenta default 
color message brightcyan default 
color markers brightcyan default 
color attachment brightmagenta default 
color search default green 
 
color header brightred default ^(From|Subject): 
color body magenta default "(ftp|http)://[^ ]+" 
color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+ 
color underline brightgreen default 
 
color body brightblue  white "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*" 
color body brightblue  white "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" 
mono  body bold  "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*" 
mono  body bold  "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" 
 
# email addresses 
color body brightblue  white 

Re: tcpserver question (OT)

2001-01-19 Thread Alex Pennace

On Fri, Jan 19, 2001 at 10:27:26AM +0100, Mario Thaten wrote:
 I am currently installing tcpserver as a full
 replacement for xinetd. What I depend on, are the services, that are
 considered internal by xinetd (daytime, time, echo, discard). 

What do you need those services for?

 Unfortunately I did not find any hint in tcpserver's documentation nor any
 software on freshmeat that could fulfill this service.

For echo:

tcpserver 0 7 cat

For discard:

tcpserver 0 7 /bin/sh -c 'cat  /dev/null'

I don't know the specifications for daytime/time off the top of my
head, but NTP is much more accurate. I suggest using that instead.



Re: mutt configuration

2001-01-19 Thread James Raftery

On Fri, Jan 19, 2001 at 09:27:44AM +0100, Redak, Dorian wrote:
 I'm trying to use mutt as MUA and get an error msg when trying to send mail:
 Error sending message, child exited 127 (Exec error.)
 The original sendmail binaries have been replaced by the qmail wrapper.

Is the partition that /var/qmail/bin is on mounted with either the
noexec or nosuid option? If so, you need to remove those options. The
qmail binaries need to be executed and qmail-queue is setuid qmailq.


james
-- 
James Raftery (JBR54)
  "Managing 4000 customer domains with BIND has been a lot like
   herding cats." - Mike Batchelor, on [EMAIL PROTECTED]



Re: Multiple instances of qmail...

2001-01-19 Thread James R Grinter

[EMAIL PROTECTED] writes:
 So let's say each cluster node was using something like 
 /var/qmail/queue/_NODE_IP_HERE_/ on the NFS server,
 it wouldn't be a problem for the delivery or the Maildirs?

The docs fairly clearly say that putting the queue on NFS is a no-no.

My understanding has always been that this isn't just because you
might be tempted to share it, which obviously wouldn't work, but that
the semantics of NFS are not sufficient for how the qmail-queue and
delivery programs are written.

From 'THOUGHTS', as distributed with qmail-1.03:

   5. Handling queued mail (qmail-send, qmail-clean)

   The queue directory must be local. Mounting it over NFS is extremely
   dangerous---not that this stops people from running sendmail that way!
   Diskless hosts should use mini-qmail instead.

Delivery to Maildirs on NFS is fine - the order of operations
specified are constructed in order that it can be "safe" - although
you should note that the recommendation is still to deliver locally
and read remotely if you must (obviously on a dedicated NFS server you
can't deliver locally.)

James.



Re: Multiple instances of qmail...

2001-01-19 Thread Henning Brauer

On Thu, Jan 18, 2001 at 09:12:02PM -0500, [EMAIL PROTECTED] wrote:
 Henning Brauer wrote: 
  On Thu, Jan 18, 2001 at 07:35:33PM -0500, [EMAIL PROTECTED] wrote:
   My question is, is it possible to run multiple instances
   of qmail, sharing the same disk structure, configuration, etc..
  at least /var/qmail/queue/ must be local. Maildirs on NFS isn't that problem.
  I won't rely on linux NFS, but thats another thing.
 So let's say each cluster node was using something like 
 /var/qmail/queue/_NODE_IP_HERE_/ on the NFS server,
 it wouldn't be a problem for the delivery or the Maildirs?

I said /var/qmail/queue must be local, and I mean local. local is definitely
another thing as "over NFS".

 I've taken a quick look at the qmail-smtpd man pages,

If we are talking about the queue you should look at qmail-queue of course.

 As for the OS issue, I've had nothing but trouble with *BSDs, and where

You made a fault somewhere.

 What I'm after is not really a performance boost from qmail (I'm sure
 it could run as a dedicated server and perform beyond expectations),
 it's more of a high availability issue. I'm planning on using
 a network block device on the NFS 

HA and NFS in one sentence. Interesting.

 server to do a network RAID-1
 for everything that is written to the server, with heartbeat
 to automatically take over if the main server fails. Coupled
 with the hardware raid,journaling filesystem, and the clustered servers, 
 I think it would be pretty hard to bring the system completely down.
 (knock on head)

Buy two machines with _fast_ local disk storage systems and place the
Maildirs on a shared RAID subsystem. NFS isn't suited for HA.

 If so, wouldn't this indicate that there aren't any concurrency 
 issue with the queue?

Disk throughput for the queue disk is the first performance problem on heavy
loaded qmail systems, given you have enough Bandwidth. The queue relies on a
good filesystem, the inode stuff is _very_ important. FFS seems to fit best
for qmail's needs.

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Virtual domains and forwarding.

2001-01-19 Thread James R Grinter

Charles Warwick [EMAIL PROTECTED] writes:
 Yes the data of the message will 'pass through' that machine.  There is no
 way with SMTP for it to just see the RCPT TO: address and say, no I don't
 accept that e-mail, please send that to a different mail server.  

Well, there is. But I've not seen it specifically supported in sender
or (non-)receiver:

RFC 821 offers:

   3.2.  FORWARDING

   [...]

 551 User not local; please try forward-path
 
This reply indicates that the receiver-SMTP knows the user's
mailbox is on another host and indicates the correct
forward-path to use.  Note that either the host or user or
both may be different.  The receiver refuses to accept mail
for this user, and the sender must either redirect the mail
according to the information provided or return an error
response to the originating user.

although clearly the bounce that results from that could direct the
recipient to send the mail elsewhere. Which may, or may not be, what
the original poster was wanting to avoid.

James.



how manipulate header

2001-01-19 Thread gmo

Hello,

i've the follows configuration:
[POP-Client] - [qmail-intern] - [qmail-extern] - [Internet]

when the POP-Client send an email, this goes to qmail-intern, then
qmail-extern (I'd like here manipulate the qmail header, put out the header
lines from POP-Client and qmail-intern! Only the eMail header lines from
qmail-extern should be exist!) -- Internet

Have any body any idee?

Thank for the help

Gustav

-- 
Sent through GMX FreeMail - http://www.gmx.net




Good MUAs

2001-01-19 Thread Alex Le Fevre

Thanks to all those who answered my question yesterday
about what MUAs are and Maildir configuration. I was
able to successfully send Internet mail, albeit with
no subject or body.

My question today comes after further reading of the
included documentation. It says that Pine and Elm are
both insecure and unstable, and that BSD mail is
worse. However, it makes no mention of a good MUA.
What would you all recommend, and where could I get
it? I need clients for both my OpenBSD box and
eventual Windows clients (for whom I am considering
building a POP "toaster").

Thanks,
Alex Le Fevre

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: Good MUAs

2001-01-19 Thread Henning Brauer

for Unix: mutt, mutt or mutt. Also worth mentioning is mutt.
"cd /usr/ports/mail/mutt; make install" on your OpenBSD box.
-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Svscan

2001-01-19 Thread Paul Jarc

Gavin McCord [EMAIL PROTECTED] writes:
 I've created the /service directory with the necessary permissions
 and added on one line
  
 SV:123456:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin
  svscan /service /dev/null /dev/console 2/dev/console

This should all be on one line.  Maybe it was your mailer that wrapped
it, but if not, fix it.

 However, having HUPped init, there's no new svscan running. I say new
 because there is an svscan running the qmail programs.

How was your old svscan invoked?  If it was done by an inittab line
that started with SV:, then init thinks this new configuration is
supposed to be the same instance.

 Can I run two svscans, or is there a conflict there? If so, what's
 the best way to reconcile the /var/qmail/supervise and /service
 directories.

You can run two svscans in different directories, but it'd be better
to have just one running in /service.  Make symlinks in /service to
your qmail service directories, start svscan there, and then (if you
want to stop the harmless warnings) svc -dx each of the qmail service
directories (including their log directories).


paul



Re: Good MUAs

2001-01-19 Thread Paul Jarc

Alex Le Fevre [EMAIL PROTECTED] writes:
 My question today comes after further reading of the included
 documentation. It says that Pine and Elm are both insecure and
 unstable, and that BSD mail is worse. However, it makes no mention
 of a good MUA.  What would you all recommend, and where could I get
 it? I need clients for both my OpenBSD box and eventual Windows
 clients (for whom I am considering building a POP "toaster").

Emacs runs on both Unix and Windows, so you could use Gnus.  It's
exceedingly reconfigurable, and it can get mail from lots of different
kinds of sources, including POP for your Windows users, and maildir
for your Unix users.


paul



Re: tcpserver question (OT)

2001-01-19 Thread Paul Jarc

Mario Thaten [EMAIL PROTECTED] writes:
 What I depend on, are the services, that are considered internal by
 xinetd (daytime, time, echo, discard).

It's more likely that you don't depend on them, but since they're
turned on by default, you think something might break if you turn them
off.  But if you really want to run them:
tcpserver 0 discard sh -c 'exec cat  /dev/null'
tcpserver 0 echo cat
tcpserver 0 daytime daytimed
(Get my daytimed from URL:http://multivac.cwru.edu/prj-utils/daytimed.c.)
I don't have a tcpserver time implementation, but it'd be easy enough
to write one.  Read RFC 868 for the definition.


paul



Re: Multiple instances of qmail...

2001-01-19 Thread Dave Sill

[EMAIL PROTECTED] wrote:

My question is, is it possible to run multiple instances
of qmail, sharing the same disk structure, configuration, etc..

No. The queue cannot be shared by multiple instances of qmail.

-Dave



Header

2001-01-19 Thread NDSoftware

Hi,
How i can add:
X-Complaint-To:[EMAIL PROTECTED]
in headers ?

How change my host in header my cause i have ns1.ndsoftware.net and i want
mail.ndsoftware.net
Thanks

Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A




Re: Mailer error

2001-01-19 Thread Dave Sill

"Boz Crowther" [EMAIL PROTECTED] wrote:

I have a DOS command-line mailer that doesn't correctly construct
mail, it seems.  I've used recordio to get exactly what's coming from
the mailer in the logs and what I see is that the mailer doesn't
include header information specified on the command line after it
gets the go ahead to send DATA, although MAIL FROM and RCPT TO are
correctly specified.  The result is an email without the From or To
specified in the recipient's mailbox.  Moreover, if I don't include a
blank line at the beginning of the body, there will be no body text,
either.  (If anybody wants to see the output of recordio I can
forward it to you, but it's pretty long.)

Sounds like that DOS command-line mailer is a POS and a PITA. Why not
find a better one? You could probably even write your in perl pretty
easily using existing network and SMTP modules.

Is there a fixcrio-like utility out there that will correct this
problem?

You could use something like the "fixme" setup described in:

  http://cr.yp.to/qmail/faq/servers.html#network-rewriting

But massage the headers before re-injecting the messages.

-Dave



Re: Multiple instances of qmail...

2001-01-19 Thread Bill Carlson

On Fri, 19 Jan 2001, Henning Brauer wrote:

 On Thu, Jan 18, 2001 at 07:35:33PM -0500, [EMAIL PROTECTED] wrote:
  My question is, is it possible to run multiple instances
  of qmail, sharing the same disk structure, configuration, etc..

 at least /var/qmail/queue/ must be local. Maildirs on NFS isn't that problem.
 I won't rely on linux NFS, but thats another thing.

And the queue is a point of failure, if the filesystem with the queue dies
with mail in the queue, said mail is gone. Which means if you really want
HA, the queue should sit on a RAID1 or similar. RAID5 would be a nasty
performance hit.


  That's plan A. Plan B is setting up a dedicated mail
  server, which I would like to avoid if necessary,
  because it won't scale nearly as well.

 For first: for performance reasons one qmail machine _might_ be enough.
 You also might want to look at qmail-ldap with its native clustering
 support. http://www.nrg4u.com, docs at http://www.lifewithqmail.org/ldap/
 You should also spend some thoughts on your OS, the *BSDs may be much better
 choices for a high volume qmail server.

qmail-ldap looks great, LDAP lets you distribute your authorization
information and supports HA similar to the way DNS works. However,
qmail-ldap's definition of clustering does NOT include HA or failover,
last I heard. It does handle distributing mail delivery across a cluster
of machines in a transparent manner.

$.02

Bill Carlson
-- 
Systems Programmer[EMAIL PROTECTED]|  Opinions are mine,
Virtual Hospital  http://www.vh.org/|  not my employer's.
University of Iowa Hospitals and Clinics|




Re: why so few qmail-remote processes ...

2001-01-19 Thread Dave Sill

"Jacques Frip' WERNERT" [EMAIL PROTECTED] wrote:

Can you tell me much more about that please?

From: "Dave Sill" [EMAIL PROTECTED]

 "Jacques Frip' WERNERT" [EMAIL PROTECTED] wrote:
 
 I'd like to know why I have messages in the queue (ie given by
 qmail-qstat) and I don't have as many qmail-remote processes as I've
 defined (verified by chkspawn).
 
 One obvious possibility is that the messages in the queue failed
 temporarily on their previous delivery attempt and qmail-send is just
 waiting for their retry time to roll around.

Sure. Sometimes when you send a message to an address on a remote
system, the first attempt may not succeed due to a problem that it
considered temporary, either by the remote site or by the SMTP
protocol. For example, if you're sending a message to
[EMAIL PROTECTED], and your qmail can look up the address of
joesdomain.com in the DNS but it isn't able to connect to its port 25,
that's considered a temporary problem. Rather than immediately
throwing up its hands and bouncing the message back to the sender,
qmail (and other MTA's) keeps the message in its queue and tries
periodically to send it. If, after five days (by default), the message
is still undelivered, qmail bounces it as permanently undeliverable.

-Dave



Re: how manipulate header

2001-01-19 Thread Dave Sill

[EMAIL PROTECTED] wrote:

i've the follows configuration:
[POP-Client] - [qmail-intern] - [qmail-extern] - [Internet]

when the POP-Client send an email, this goes to qmail-intern, then
qmail-extern (I'd like here manipulate the qmail header, put out the header
lines from POP-Client and qmail-intern! Only the eMail header lines from
qmail-extern should be exist!) -- Internet

Have any body any idee?

Sure. Look at:

  http://cr.yp.to/qmail/faq/servers.html#network-rewriting

You'd want to modify the .qmail-fixup-default file to massage the
messages via a script before re-injecting them.

-Dave



Re: Multiple instances of qmail...

2001-01-19 Thread Paul Jarc

Dave Sill [EMAIL PROTECTED] writes:
 [EMAIL PROTECTED] wrote:
 My question is, is it possible to run multiple instances
 of qmail, sharing the same disk structure, configuration, etc..
 
 No. The queue cannot be shared by multiple instances of qmail.

OTOH, everything else (binaries, configuration, addresses) can be
shared.  Then if one queue disk dies, you've lost any mail that was in
it, but other mail will be unaffected.


paul



Re: Multiple instances of qmail...

2001-01-19 Thread Henning Brauer

On Fri, Jan 19, 2001 at 10:14:09AM -0600, Bill Carlson wrote:
 On Fri, 19 Jan 2001, Henning Brauer wrote: 
  On Thu, Jan 18, 2001 at 07:35:33PM -0500, [EMAIL PROTECTED] wrote:
   My question is, is it possible to run multiple instances
   of qmail, sharing the same disk structure, configuration, etc..
  at least /var/qmail/queue/ must be local. Maildirs on NFS isn't that problem.
  I won't rely on linux NFS, but thats another thing.
 And the queue is a point of failure, if the filesystem with the queue dies
 with mail in the queue, said mail is gone. Which means if you really want
 HA, the queue should sit on a RAID1 or similar. RAID5 would be a nasty
 performance hit.

I took this a precedence, of course.

   That's plan A. Plan B is setting up a dedicated mail
   server, which I would like to avoid if necessary,
   because it won't scale nearly as well.
  For first: for performance reasons one qmail machine _might_ be enough.
  You also might want to look at qmail-ldap with its native clustering
  support. http://www.nrg4u.com, docs at http://www.lifewithqmail.org/ldap/
  You should also spend some thoughts on your OS, the *BSDs may be much better
  choices for a high volume qmail server.
 qmail-ldap looks great, LDAP lets you distribute your authorization
 information and supports HA similar to the way DNS works. However,
 qmail-ldap's definition of clustering does NOT include HA or failover,
 last I heard. It does handle distributing mail delivery across a cluster
 of machines in a transparent manner.

You are right. qmail-ldap's clustering is just one important piece of you HA
solution. Use some kind of IP based HA solution (like BigIP) for the MXes
and the user intercating machines (outgoing SMTP, pop/imap), and build a hot
standby solution for your Maildir holding machine. An external RAID with at
least two external SCSI busses is a must here.  

 $.02
 
 Bill Carlson
 -- 
 Systems Programmer[EMAIL PROTECTED]  |  Opinions are mine,
 Virtual Hospital  http://www.vh.org/|  not my employer's.
 University of Iowa Hospitals and Clinics  |
 
 

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Multiple instances of qmail...

2001-01-19 Thread James Stevens

Exactly.. I have 7 instances of qmail running on a Linux box (don't ask why
its a rather long complicated story) and has been that way for about a year
now.. No lost messages or anything. Just make sure your running the big
concurrency patch. Other than that as far as performance .. It does work
faster when each of our major clients has his own qmail process to goto.
However that's about the only benefit.

--JT
- Original Message -
From: "Paul Jarc" [EMAIL PROTECTED]
To: "Dave Sill" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, January 19, 2001 8:30 AM
Subject: Re: Multiple instances of qmail...


Dave Sill [EMAIL PROTECTED] writes:
 [EMAIL PROTECTED] wrote:
 My question is, is it possible to run multiple instances
 of qmail, sharing the same disk structure, configuration, etc..

 No. The queue cannot be shared by multiple instances of qmail.

OTOH, everything else (binaries, configuration, addresses) can be
shared.  Then if one queue disk dies, you've lost any mail that was in
it, but other mail will be unaffected.


paul





tcpserver too slow

2001-01-19 Thread Isaac Jaramillo



Any sugestions?




IMAP question

2001-01-19 Thread Durham David R CNTR AMC CSS/SAS

I'm trying to setup squirrel mail and I was wondering if anyone has a
suggestion as to which IMAP server I should use.

Dave




Re: tcpserver too slow

2001-01-19 Thread Alex Pennace

On Fri, Jan 19, 2001 at 06:13:04PM +0100, Isaac Jaramillo wrote:
 
 
 Any sugestions?
 

Pick a support provider from http://www.qmail.org/top.html#paidsup
and share your wonderful attitude with them.



unable to read tcp.smtp.cdb: protocol error

2001-01-19 Thread Martin Randall

Hello.

This is a new install on OpenBSD V2.8 following LWQ...thanks Dave.  Fixed
one problem by getting a hint from the searchable archive, thanks again
Dave Sill, there is some info on this problem there, but not enough to fix
it or know WHY it has happened. Looking for a clue here  :-)  How do I
setup the cdb or is this a perm problem ???

Evetything else seems to be running e.g.

top

load averages:  0.31,  0.19,  0.081;72H11:33:48
27 processes:  1 running, 26 idle
CPU states: % user, % nice, % system, % interrupt, %
idle
Memory: Real: 5148K/13M act/tot  Free: 13M  Swap: 4K/133M used/tot

  PID USERNAME PRI NICE  SIZE   RES STATE WAIT TIMECPU COMMAND
 9364 root   20  300K  884K idle  select   0:00  0.00% sshd
23144 marrandy  180  376K  296K idle  pause0:00  0.00% sh
31878 root  180  324K  248K sleep pause0:00  0.00% csh
 7683 root   20   96K  420K idle  select   0:00  0.00% syslogd
14062 qmails 20  100K  436K idle  select   0:00  0.00% qmail-send
17930 root  100   68K  396K sleep nanosl   0:00  0.00% svscan
22702 qmaill-60   36K  344K idle  piperd   0:00  0.00% multilog
26530 qmaild 20   60K  448K idle  netcon   0:00  0.00% tcpserver
28675 qmaill-60   36K  344K idle  piperd   0:00  0.00% multilog
 9487 qmailq-60   36K  372K idle  piperd   0:00  0.00% qmail-clean
17133 root   20   44K  380K idle  select   0:00  0.00% qmail-lspawn
 4006 root  180  324K  252K sleep pause0:00  0.00% csh
1 root  100  332K  204K idle  wait 0:00  0.00% init
30092 qmailr 20   40K  348K idle  select   0:00  0.00% qmail-rspawn
12138 root   30   92K  460K sleep ttyin0:00  0.00% script
30731 root   20   24K  364K idle  poll 0:00  0.00% supervise
22284 root   20   24K  364K idle  poll 0:00  0.00% supervise
 2763 root   20   24K  364K idle  poll 0:00  0.00% supervise
17832 root   20   24K  364K idle  poll 0:00  0.00% supervise


I suppose syslogd should be there if it's beiing used by other
processorsor not ??

ps aux

USER   PID %CPU %MEM   VSZ   RSS TT   STAT STARTED   TIME COMMAND
root 20650  0.0  0.8   284   252 p0  R+11:34AM0:00.00 ps -aux 
root  7683  0.0  1.396   420 ??  Is11:32AM0:00.06 syslogd 
root 16728  0.0  1.352   400 ??  Is11:32AM0:00.00 inetd 
root  9364  0.0  2.8   300   884 ??  Is11:32AM0:00.28
/usr/sbin/ssh
root 17930  0.0  1.268   396 C0- S 11:32AM0:00.02 svscan 
root 24223  0.0  1.5   224   492 ??  Ss11:32AM0:00.01 cron 
root  2763  0.0  1.124   364 C0- I 11:32AM0:00.01 supervise
qma
root 22284  0.0  1.124   364 C0- I 11:32AM0:00.01 supervise
log
root 17832  0.0  1.124   364 C0- I 11:32AM0:00.01 supervise
qma
root 30731  0.0  1.124   364 C0- I 11:32AM0:00.01 supervise
log
qmaill   22702  0.0  1.136   344 ??  I 11:32AM0:00.02
/usr/local/bi
qmaill   28675  0.0  1.136   344 ??  I 11:32AM0:00.01
/usr/local/bi
qmails   14062  0.0  1.4   100   436 ??  I 11:32AM0:00.04 qmail-send

marrandy 23144  0.0  0.9   376   296 C0  Is11:32AM0:00.14 -sh (sh)
root 31241  0.0  1.544   468 C1  Is+   11:32AM0:00.01
/usr/libexec/
root 11946  0.0  1.544   468 C2  Is+   11:32AM0:00.01
/usr/libexec/
root 18579  0.0  1.544   468 C3  Is+   11:32AM0:00.01
/usr/libexec/
root 15164  0.0  1.544   468 C5  Is+   11:32AM0:00.01
/usr/libexec/
qmaild   26530  0.0  1.460   448 ??  I 11:32AM0:00.02
/usr/local/bi
root 17133  0.0  1.244   380 ??  I 11:32AM0:00.01
qmail-lspawn 
qmailr   30092  0.0  1.140   348 ??  I 11:32AM0:00.01
qmail-rspawn 
qmailq9487  0.0  1.236   372 ??  I 11:32AM0:00.01
qmail-clean 
root 31878  0.0  0.8   324   248 C0  I 11:33AM0:00.13 -csh (csh)
root 12138  0.0  1.492   460 C0  S+11:33AM0:00.01 script 
root 30100  0.0  1.3   104   400 C0  S+11:33AM0:00.01 script 
root  4006  0.0  0.8   324   252 p0  Ss11:33AM0:00.01 -bin/csh
-i 
root 1  0.0  0.7   332   204 ??  Is11:32AM0:00.01 /sbin/init


From /usr/local/sbin/qmail

SNIP

cdb)
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*
echo "Reloaded /etc/tcp.smtp.
echo "Reloaded /etc/tcp.smtp."

SNIP

/etc

-rw-r--r--   1 root  wheel 52 Jan 19 04:39 tcp.smtp

No /etc/tcp.smtp.cdb

Where do I go from here ?


Regards...Martin
-- 
"20 scared-out-of-their-gourds 3 or 4-year olds is an example of what I'd
like to do to some of you who are really getting on my nerves."





Re: why so few qmail-remote processes ...

2001-01-19 Thread Jacques Frip' WERNERT

Hello,

in fact I trying to know why I can see sometimes 100 qmail-remote processes
and sometimes only 10 with many messages in my queue (ie 200).

So why qmail-send is not asking rspawn to fork much more ...

Regards

Frip'

- Original Message -
From: "Dave Sill" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 18, 2001 7:30 PM
Subject: Re: why so few qmail-remote processes ...


 "Jacques Frip' WERNERT" [EMAIL PROTECTED] wrote:

 I'd like to know why I have messages in the queue (ie given by
 qmail-qstat) and I don't have as many qmail-remote processes as I've
 defined (verified by chkspawn).

 One obvious possibility is that the messages in the queue failed
 temporarily on their previous delivery attempt and qmail-send is just
 waiting for their retry time to roll around.

 -Dave




Re: unable to read tcp.smtp.cdb: protocol error

2001-01-19 Thread Dave Sill

Martin Randall [EMAIL PROTECTED] wrote:

This is a new install on OpenBSD V2.8 following LWQ...thanks Dave.

You're welcome.

From /usr/local/sbin/qmail

SNIP

cdb)
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*
echo "Reloaded /etc/tcp.smtp.
echo "Reloaded /etc/tcp.smtp."

SNIP

/etc

-rw-r--r--   1 root  wheel 52 Jan 19 04:39 tcp.smtp

No /etc/tcp.smtp.cdb

Where do I go from here ?

Did you skip the step where you do:

  /usr/local/sbin/qmail cdb

-Dave



Re: why so few qmail-remote processes ...

2001-01-19 Thread Paul Jarc

"Jacques Frip' WERNERT" [EMAIL PROTECTED] writes:
 in fact I trying to know why I can see sometimes 100 qmail-remote processes
 and sometimes only 10 with many messages in my queue (ie 200).
 
 So why qmail-send is not asking rspawn to fork much more ...

After a delivery attempt fails, qmail waits a while before retrying
it.  If it failed once, it's likely it'll fail again if you retry
immediately, so that would be wasted effort.


paul



Re: unable to read tcp.smtp.cdb: protocol error

2001-01-19 Thread Martin Randall

Hello Dave

On 19-Jan-01, you wrote:

 SNIP
 
 /etc
 
 -rw-r--r--   1 root  wheel 52 Jan 19 04:39 tcp.smtp
 
 No /etc/tcp.smtp.cdb
 
 Where do I go from here ?
 
 Did you skip the step where you do:
 
  /usr/local/sbin/qmail cdb
 
 -Dave
 

No, did that twice. When I did a   vi /etc/tcp.smtp   I found two identical
entries  of 127.:allow,RELAYCLIENT=""
had to   dd  one of them.

Hmmm...on second thoughts, I wonder if I entered it all on one line ?

Would that make a difference ?

I'll try it as two separate commands from the shell.


Regards...Martin
-- 
Adam West is tied to a giant waffle iron!  How will he escape?





Re: Good MUAs

2001-01-19 Thread Charles Cazabon

Alex Le Fevre [EMAIL PROTECTED] wrote:
 
 My question today comes after further reading of the
 included documentation. It says that Pine and Elm are
 both insecure and unstable, and that BSD mail is
 worse. However, it makes no mention of a good MUA.
 What would you all recommend, and where could I get
 it? I need clients for both my OpenBSD box and
 eventual Windows clients (for whom I am considering
 building a POP "toaster").

Any unix:  mutt (www.mutt.org).
Windows:  I haven't seen a "good" MUA yet.  But you could try Pegasus,
Eudora, or Netscape's built-in MUA.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



AVP

2001-01-19 Thread NDSoftware

Who use AVP with Qmail ?
When i try of use it my qmail don't work !
Help me please !
Thanks

Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A



Re: Svscan

2001-01-19 Thread Gavin McCord


I'm getting error msgs to the console (a small
selection):
 
supervise: fatal: unable to start lib/run: file does not exist
supervise: fatal: unable to start tmp/run: file does not exist
supervise: fatal: unable to start cdrom/run: file does not exist
supervise: fatal: unable to start bin/run: file does not exist
supervise: fatal: unable to start usr/run: file does not exist
supervise: fatal: unable to start var/run: access denied
ad infinitum
 
This from the entry in inittab. 

-- 
I'm Keyser Soze...No, I'm Keyser Soze. I'm Keyser Soze and so's my wife!
(Monty Python play The Usual Suspects.)



RE: AVP

2001-01-19 Thread NDSoftware

I have read the manuel but when i have start qmail i can't send mail (qmail
tmp error) and i can check my pop account but no mail are download...

I have check the right of qmail-que and qmail-queue and i have chack the AVP
configuration !

I have stop and start qmail and AVP !

Help me please 
Thanks very very much !

Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A

-Original Message-
From: Felix von Leitner [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 8:25 PM
To: NDSoftware
Subject: Re: AVP


 Who use AVP with Qmail ?
 When i try of use it my qmail don't work !

If you can't read the manual yourself, hire someone to do it for you.

Felix




bandwidth monitoring/analysis

2001-01-19 Thread Barry Smoke


I am in need of some bandidth monitoring/analysis, of qmail...
I need to know what percentage of bandwidth of all running processes qmail
is taking, and of that bandwidht, what percentage each virtual domain is
taking...
I am using the vmailmgr package for virtual domains...

Any suggestions greatly appreciated.

Barry Smoke




RE: bandwidth monitoring/analysis

2001-01-19 Thread NDSoftware

I search too but i need the bandwith used by domains and install a quota !

Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A

-Original Message-
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 9:37 PM
To: [EMAIL PROTECTED]; Vmailmgr@Lists. Em. Ca
Subject: bandwidth monitoring/analysis



I am in need of some bandidth monitoring/analysis, of qmail...
I need to know what percentage of bandwidth of all running processes qmail
is taking, and of that bandwidht, what percentage each virtual domain is
taking...
I am using the vmailmgr package for virtual domains...

Any suggestions greatly appreciated.

Barry Smoke





Re: Svscan

2001-01-19 Thread Henning Brauer

On Fri, Jan 19, 2001 at 07:34:41PM +, Gavin McCord wrote:
 
 I'm getting error msgs to the console (a small
 selection):
  
 supervise: fatal: unable to start lib/run: file does not exist
 supervise: fatal: unable to start tmp/run: file does not exist
 supervise: fatal: unable to start cdrom/run: file does not exist
 supervise: fatal: unable to start bin/run: file does not exist
 supervise: fatal: unable to start usr/run: file does not exist
 supervise: fatal: unable to start var/run: access denied
 ad infinitum

You are starting svscan in /. Either start it in /service or give /service
as parameter to svscan. This is all well documented.

 This from the entry in inittab. 

-- 
Henning Brauer | BS Web Services
Hostmaster BSWS| Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany



Re: Svscan

2001-01-19 Thread tc lewis


looks like you didn't give svscan an argument to your service directory.
check to see what the svscan line is like.  should be invoked like svscan
/service, not just svscan or svcan /.

-tcl.


On Fri, 19 Jan 2001, Gavin McCord wrote:

 
 I'm getting error msgs to the console (a small
 selection):
  
 supervise: fatal: unable to start lib/run: file does not exist
 supervise: fatal: unable to start tmp/run: file does not exist
 supervise: fatal: unable to start cdrom/run: file does not exist
 supervise: fatal: unable to start bin/run: file does not exist
 supervise: fatal: unable to start usr/run: file does not exist
 supervise: fatal: unable to start var/run: access denied
 ad infinitum
  
 This from the entry in inittab. 
 
 -- 
 I'm Keyser Soze...No, I'm Keyser Soze. I'm Keyser Soze and so's my wife!
 (Monty Python play The Usual Suspects.)
 




LWQ - Which log contains what?

2001-01-19 Thread Clemens Hermann

Hi,

I want to evaluate the logs that are generated within ma LWQ-Setup. I am
not really sure which log directory contains what.

/var/loq/qmail
/var/log/qmail/smtpd

As one might guess the smtpd directory might contain any message that
enters or leaves the mailserver via smtp, right? But what is in the
/qmail log-dir? Any mail that is processed, also the mails that do not
come/go via smtp? 
If I want to generate statistics and I use only the
logs in /var/log/qmail (and I skip the ones in the smtpd subdir) do I
then catch any mail that comes to/leaves/passes my server?

thanks

/ch



Re: unable to read tcp.smtp.cdb: protocol error

2001-01-19 Thread Dave Sill

Martin Randall [EMAIL PROTECTED] wrote:

Hello Dave

On 19-Jan-01, you wrote:

 Did you skip the step where you do:
 
  /usr/local/sbin/qmail cdb

No, did that twice. When I did a   vi /etc/tcp.smtp   I found two identical
entries  of 127.:allow,RELAYCLIENT=""
had to   dd  one of them.

When you run:

  /usr/local/sbin/qmail cdb

do you get any output other than the "Reloaded" message?

Hmmm...on second thoughts, I wonder if I entered it all on one line ?

Would that make a difference ?

That depends on what you mean by "it". :-) LWQ says:

  Allow the local host to inject mail via SMTP:

echo '127.:allow,RELAYCLIENT=""' /etc/tcp.smtp
/usr/local/sbin/qmail cdb

That's two separate commands. Each should be entered on one line. The
echo command should not be repeated, but the "qmail cdb" can be
re-executed to your heart's content.

-Dave



QMail Queue

2001-01-19 Thread NDSoftware

Where i can get log for QMail Queue because i have '451 qq Temporary Problem
(#4.3.0)' when in send a mail after install AVP.
Thanks

Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A




Re: LWQ - Which log contains what?

2001-01-19 Thread Paul Jarc

Clemens Hermann [EMAIL PROTECTED] writes:
 If I want to generate statistics and I use only the
 logs in /var/log/qmail (and I skip the ones in the smtpd subdir) do I
 then catch any mail that comes to/leaves/passes my server?

Yes.  The smtpd logs record only the arrival of messages through
qmail-smtpd.  All other processing of those and other messages is
recorded in the main log directory.


paul



Re: LWQ - Which log contains what?

2001-01-19 Thread Dave Sill

Clemens Hermann [EMAIL PROTECTED] wrote:

I want to evaluate the logs that are generated within ma LWQ-Setup. I am
not really sure which log directory contains what.

/var/loq/qmail
/var/log/qmail/smtpd

As one might guess the smtpd directory might contain any message that
enters or leaves the mailserver via smtp, right?

Good guess, but it's wrong. The smtpd directory logs the output of the 
tcpserver that handles port 25. It's pretty boring, it just shows who
connected and when. qmail-smtpd doesn't do any logging itself.

But what is in the /qmail log-dir? Any mail that is processed, also
the mails that do not come/go via smtp? 

/var/log/qmail contains the qmail-send logs. This is where all the
important information about all delivery attempts is logged. See:

  http://www.lifewithqmail.org/lwq.html#logs

For more details about the qmail-send logs.

If I want to generate statistics and I use only the
logs in /var/log/qmail (and I skip the ones in the smtpd subdir) do I
then catch any mail that comes to/leaves/passes my server?

Yes.

-Dave



Re: tcpserver question (OT)

2001-01-19 Thread Mario Thaten

* On 01/19/01 12:15 Alex Pennace ([EMAIL PROTECTED]) wrote:

 On Fri, Jan 19, 2001 at 10:27:26AM +0100, Mario Thaten wrote:
  I am currently installing tcpserver as a full
  replacement for xinetd. What I depend on, are the services, that are
  considered internal by xinetd (daytime, time, echo, discard). 
 
 What do you need those services for?

I myself rarely need them. But on my network there are programmers that
insist on this functionality. And as I am just the executive power...
 
  Unfortunately I did not find any hint in tcpserver's documentation nor any
  software on freshmeat that could fulfill this service.
 
 For echo:
 
 tcpserver 0 7 cat
 
 For discard:
 
 tcpserver 0 7 /bin/sh -c 'cat  /dev/null'
 
 I don't know the specifications for daytime/time off the top of my
 head, but NTP is much more accurate. I suggest using that instead

Ok, I will follow your hints!
Thanks a lot to Paul, too!

Good night, 
Mario :)

-- 
 .~.Mario Thaten ([EMAIL PROTECTED])
 /V\
/( )\   "There are just 2 rules in life:
 ^ ^ Always be yourself, but never mind to change."



Re: QMail Queue

2001-01-19 Thread Dave Sill

"NDSoftware" [EMAIL PROTECTED] wrote:

Where i can get log for QMail Queue because i have '451 qq Temporary Problem
(#4.3.0)' when in send a mail after install AVP.

How did you configure your logging?

-Dave



OT: Exclamation marks.

2001-01-19 Thread Steve Fulton

FYI,

  The US Secret Service uses a formula devised by a psyciatrist to
determine the danger level someone poses by their use of exclamation
marks.  Specifically, the number of exclamation marks they use to make a
point. So, I suggest that this list filter out those messages that have this
characteristic for everyone's safety.

Steve.
 




Re: A firestorm of protest?

2001-01-19 Thread David L. Nicol

Chris Garrigues wrote:

  "Upgrade" suggests adding features, rather more than "patch" does;
  patches are often released to fix bugs.
 
 How about "addition" or "extension"?

we need something that vaguely impugns the patch, without implying
that the patch is required, and we wish to keep current meaning of
"patch" and be consistent with all current habits.

My nomination is, drumroll please


"non-standard option"

or , even more impugnly,

"unsupported option"

These could even be ranked in order of sanity, from the ones
that get mentioned all the time on the list, to the ones that
are heretical to "official" reccommendations.


-- 
  David Nicol 816.235.1187 [EMAIL PROTECTED]
   "Live fast, die young, and leave a beautiful corpse"




Re: unable to read tcp.smtp.cdb: protocol error

2001-01-19 Thread Martin Randall

Hello Martin

On 19-Jan-01, you wrote:
 No /etc/tcp.smtp.cdb
 
 Where do I go from here ?
 
 Did you skip the step where you do:
 
  /usr/local/sbin/qmail cdb
 
 -Dave
 
 
 No, did that twice. When I did a vi /etc/tcp.smtp I found two identical
 entries of 127.:allow,RELAYCLIENT="" had to dd one of them.
 
 Hmmm...on second thoughts, I wonder if I entered it all on one line ?
 
 Would that make a difference ?
 
 I'll try it as two separate commands from the shell.


That was it !  duh...mental overload, too much reading. Don't know why I did
that.

O.K. - it's taken two mails from another server that were queued.
/var/log/qmail/current  shows them being processed.

Will study some more now. 

I need to have pop3d running via tcpserver from supervise/svscan.
Want to add APOP.
rblsmtp
Play some more with dameontools, then qmailananlog.

Then add  Publicfile or djbdns for this active machine/domain.

This is good. 

There's a big difference for me from   'playing'  with these programs  on a
computer inside or even disconnected from the lan and actually having it on
it's own external IP with domain name.
Separating the docs so you don't get confused by mixing them together is
also very important.

Anyway, more testing to do...thanks everyone.

Regards...Martin
-- 
A dress makes no sense unless it inspires men to want to take it off you.





RAID Qmail.

2001-01-19 Thread Steve Fulton

I've searched the archives extensively, and I've learned quite a lot, but
I'd like advice on this question:

Assuming RAID 1+0 is not an option (due to the expense), what level of
RAID is best for storing /Maildir's on a file server (that will be
accessible to the SMTP  POP servers via NFS).  Redudancy is the big
issue, otherwise I'd go for RAID 1.  The suits are pushing for RAID 5
because they don't know better - and won't listen.

Steve.





qmail-mrtg 2.3 : will it work with cyclog ?

2001-01-19 Thread Olivier M.

Hello,

Just tried to install qmail-mrtg 2.3, and see in the config file:
 * NOTE You must be running MULTILOG inorder to use qmailmrtg.

well, I don't know multilog, and if I could make it work without having
to reinstall all my servers, it would be nice : is there a way to make 
it work with cyclog ? 

The only part which is currently working is qmail-mrtg-queue. For the rest:

omega:/usr/local/src/mail/qmailmrtg.2.3/qmailmrtg # cat /var/log/qmail/\@* | qmailmrtg 
-1
0
0

omega:/usr/local/src/mail/qmailmrtg.2.3/qmailmrtg # cat /var/log/qmail/\@* | qmailmrtg 
-2
0
0
omega:/usr/local/src/mail/qmailmrtg.2.3/qmailmrtg # cat /var/log/qmail/\@* | qmailmrtg 
-3
0
0

omega:/usr/local/src/mail/qmailmrtg.2.3/qmailmrtg # cat /var/log/qmail/\@* | qmailmrtg 
-4
0
0

And with "-v", there is even no output at all (was it not supposed to be "verbose" ? :)


(the logs are spreaded in 10 files, which are rotated, and it looks
like that:

979735221.804261 status: local 0/10 remote 0/20
979735221.807171 bounce msg 483498 qp 24486
979735221.807303 end msg 483498
979735221.807613 new msg 483497
979735221.807745 info msg 483497: bytes 1873 from #@[] qp 24486 uid 507
979735221.825583 starting delivery 2567: msg 483497 to local [EMAIL PROTECTED]
979735221.825720 status: local 1/10 remote 0/20
979735222.158946 delivery 2567: success: did_1+0+0/
979735222.159162 status: local 0/10 remote 0/20
979735222.159390 end msg 483497
979735511.636177 new msg 483497
979735511.636185 info msg 483497: bytes 1624 from [EMAIL PROTECTED] qp 25151 uid 505 )

Thanks for any hint :)
Olivier

-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch

 PGP signature


RE: RAID Qmail.

2001-01-19 Thread Hubbard, David

Hey Steve,
   I'm not sure what your question is, you seem to not want to
do RAID 5 and can't do RAID 1+0, that leaves RAID 1 if redundancy
is required.  Were you mistaking RAID 1 and 0?

Basically the only question you really need to ask yourself is
how much mail you'll end up storing?  If you're going to
eventually store more mail than the largest pair of hard drives
you can afford right now, then RAID 1 won't be an option that
will let you easily grow later, you'll need RAID 5 so you can
start small now and add disks as needed.  I'm sure any decent
RAID 5 controller can pump data out fast enough to saturate
a fast ethernet segment with NFS reads from your POP3 servers.

Dave

-Original Message-
From: Steve Fulton [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 5:00 PM
To: [EMAIL PROTECTED]
Subject: RAID  Qmail.


I've searched the archives extensively, and I've learned quite a lot, but
I'd like advice on this question:

Assuming RAID 1+0 is not an option (due to the expense), what level of
RAID is best for storing /Maildir's on a file server (that will be
accessible to the SMTP  POP servers via NFS).  Redudancy is the big
issue, otherwise I'd go for RAID 1.  The suits are pushing for RAID 5
because they don't know better - and won't listen.

Steve.




Re: qmail-mrtg 2.3 : will it work with cyclog ?

2001-01-19 Thread Sean C Truman

Sorry it will not. works with multilog output!

Sean
- Original Message -
From: "Olivier M." [EMAIL PROTECTED]
To: "Sean C Truman" [EMAIL PROTECTED]; "QMail List"
[EMAIL PROTECTED]
Sent: Friday, January 19, 2001 4:16 PM
Subject: qmail-mrtg 2.3 : will it work with cyclog ?






Re: virus scanning

2001-01-19 Thread Rainer Link

Dale Herring wrote:

 Does anyone else use the linavx scanning software from AVP?  I did find a
Note: AVX is not AVP ! See http://www.avp.ch/E/avpqa.htm for details.

AVX is from a company I never heard in the past. 

 was it.  Are there any other scanners that will scan mail already
 on the system for these?  Or which one seems to work the best in
 conjunction with Qmail?
You may use AMaViS (www.amavis.org) or qmail-scanner
(qmail-scanner.sourceforge.net) with your preferred anti virus scanner.
Both do not support linavx currently, but, well, I really can't speak
for qmail-scanner :-)

best regards,
Rainer Link

-- 
Rainer Link  | Member of Virus Help Munich (www.vhm.haitec.de)   
[EMAIL PROTECTED] | Member of AMaViS Development Team (amavis.org)
rainer.w3.to | OpenAntiVirus Project (www.openantivirus.org)



Re: Multiple instances of qmail...

2001-01-19 Thread Scott Gifford

[EMAIL PROTECTED] writes:

 Henning Brauer wrote:
  
  On Thu, Jan 18, 2001 at 07:35:33PM -0500, [EMAIL PROTECTED] wrote:
   My question is, is it possible to run multiple instances
   of qmail, sharing the same disk structure, configuration, etc..
  
  at least /var/qmail/queue/ must be local. Maildirs on NFS isn't that problem.
  I won't rely on linux NFS, but thats another thing.
  
 
 So let's say each cluster node was using something like 
 /var/qmail/queue/_NODE_IP_HERE_/ on the NFS server,
 it wouldn't be a problem for the delivery or the Maildirs?
 
 If this is the case, is there a startup option I can give
 to qmail-smtpd to change it's mail queue path?
 
 (Or a simple hack)

  The simple hack is to make /var/qmail/queue a symlink to the real
queue directory, somewhere on an NFS server.

  But unless your system is extremely small, NFS performance will be
an issue.  We were not able to use NFS-mounted queues for a 40,000
user system at all, with Solaris clients and a NetApp server, arguably
two of the best NFS implementations out there.

-ScottG.



Re: RAID Qmail.

2001-01-19 Thread Matthew Patterson

On Fri, 19 Jan 2001, Steve Fulton wrote:
I've searched the archives extensively, and I've learned quite a lot, but
I'd like advice on this question:

Assuming RAID 1+0 is not an option (due to the expense), what level of
RAID is best for storing /Maildir's on a file server (that will be
accessible to the SMTP  POP servers via NFS).  Redudancy is the big
issue, otherwise I'd go for RAID 1.  The suits are pushing for RAID 5
because they don't know better - and won't listen.

   Steve.

Well, not knowing anything about what system you are running, I'll still take a
stab at a recommendation. The system that we use here is an x86 system running
SuSE Linux 6.4. The only IDE (because I don't need expensive SCSI shit) raid
controller I found that would definitely work for what I wanted (redundancy,
which is also what you said you wanted) is an Arco Duplidisk. Works in any
system that has a PCI slot, even ones that don't natively support PCI (eg.
DOS). Sure, the setup of the card is done by booting off a DOS floppy, but
after that the card is never seen again by you unless a drive fails. In other
words, this is probably the easiest solution for you.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: RAID Qmail.

2001-01-19 Thread David Dyer-Bennet

Steve Fulton [EMAIL PROTECTED] writes on 19 January 2001 at 16:59:33 -0500
  I've searched the archives extensively, and I've learned quite a lot, but
  I'd like advice on this question:
  
  Assuming RAID 1+0 is not an option (due to the expense), what level of
  RAID is best for storing /Maildir's on a file server (that will be
  accessible to the SMTP  POP servers via NFS).  Redudancy is the big
  issue, otherwise I'd go for RAID 1.  The suits are pushing for RAID 5
  because they don't know better - and won't listen.

Um;  0 is striping, 1 is mirroring, right?  I don't do this enough to
be confident of the numbers.  So if mirroring is too expensive, the
only option available for consideration is RAID 5, parity.  It has
less redundancy than mirroring, but good reliability (survives loss of
one disk).
-- 
David Dyer-Bennet  /  Welcome to the future!  /  [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/  Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/



Re: RAID Qmail.

2001-01-19 Thread paul


raid 4 is also an option - NetApp. however, they tend to be pricey. 

David Dyer-Bennet writes: 

 Steve Fulton [EMAIL PROTECTED] writes on 19 January 2001 at 16:59:33 -0500
   I've searched the archives extensively, and I've learned quite a lot, but
   I'd like advice on this question:
   
   Assuming RAID 1+0 is not an option (due to the expense), what level of
   RAID is best for storing /Maildir's on a file server (that will be
   accessible to the SMTP  POP servers via NFS).  Redudancy is the big
   issue, otherwise I'd go for RAID 1.  The suits are pushing for RAID 5
   because they don't know better - and won't listen. 
 
 Um;  0 is striping, 1 is mirroring, right?  I don't do this enough to
 be confident of the numbers.  So if mirroring is too expensive, the
 only option available for consideration is RAID 5, parity.  It has
 less redundancy than mirroring, but good reliability (survives loss of
 one disk).
 -- 
 David Dyer-Bennet  /  Welcome to the future!  /  [EMAIL PROTECTED]
 SF: http://www.dd-b.net/dd-b/  Minicon: http://www.mnstf.org/minicon/
 Photos: http://dd-b.lighthunters.net/
 



 -
Paul Theodoropoulos
[EMAIL PROTECTED]
Senior Unix Systems Administrator
Syntactically Subversive Services, Inc.
http://www.anastrophe.net
Downtime Is Not An Option 




Qmail-Scanner

2001-01-19 Thread NDSoftware

http://qmail-scanner.sourceforge.net

Hi,
Can you send me a sample of /etc/rc.d/init.d/qmail ?

My file

*TOP*
#!/bin/sh


# Qmail Startup


# Source function library.
. /etc/rc.d/init.d/functions


# See how we were called.
case "$1" in
  start)
echo -n "Starting: "
env - PATH="/var/qmail/bin:/usr/local/bin" \
/var/qmail/bin/qmail-start ./Maildir/ /usr/local/bin/tai64n \
| /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog /var/log/qmail

echo -n "qmail "

env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -c100 0 pop-3 /var/qmail/bin/qmail-popup \
ns207.ovh.net \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
echo -n "pop "

env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -x /etc/tcp.smtp.cdb -c100 -u503 -g503 0 smtp \
/var/qmail/bin/qmail-smtpd 21  /dev/null 
echo "smtp"
;;
  stop)
echo -n "stopping qmail"
killproc qmail-send
killproc tcpserver
echo
;;
  restart)
$0 stop
$0 start
;;
  status)
status qmail
;;
  *)
echo "Usage: qmail {start|stop|restart|status}"
exit 1
esac


exit 0


*END*

At this stage the Qmail startup script(s) (e.g. /etc/rc.d/init.d/qmail )
will need to be updated so that Qmail knows to use qmail-scanner-queue.pl
instead of qmail-queue.
echo -n "qmail-smtpd, "
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE

(ulimit -d 5120 -m 2048  tcpserver -l`hostname -f` -c20 -b30 -P -h -R -t10
\
 -O -Q -v -x/var/qmail/control/tcprules.cdb \
 -gQMAILDUSER -uQMAILDGROUP 0 25 qmail-smtpd 21) | splogger tcpserver 


How i add it ?
Help me please !
Thanks

Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A




Re: qmail-mrtg 2.3 : will it work with cyclog ?

2001-01-19 Thread Peter Green

* Olivier M. [EMAIL PROTECTED] [010119 18:52]:
 On Fri, Jan 19, 2001 at 04:34:22PM -0600, Sean C Truman wrote:
  Sorry it will not. works with multilog output!
 
 ok, so now is there a way to convert an accustamp-based log
 to an tai64-based log ? 

Your friend and mine, Bruce Guenter, has just the thing. Check out the
qlogtools package at http://em.ca/~bruceg/qlogtools/ for tai64n2tai. :-)

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Linux don't need no steenkin' viruses. The users can destroy the
system all by themselves
(Peter Dalgaard in comp.os.linux.misc)




qmail-mrtg concurrency

2001-01-19 Thread Jon Rust

I've got concurrencylocal set to 50, and concurrencyremote set to 40.
However, looking at my MRTG graphs created by qmail-mrtg from
prodigysolutions, it would appear something is limiting concurrency to
30. The maximal 5 minute plot (magenta, remote I believe) is almost flat
against 30 for most of the day, and the blue line never goes above it.

Am I missing something, or is qmail-mrtg? Hmmm... it is v 1.0. Maybe
I'll upgrade.

jon



Re: RAID Qmail.

2001-01-19 Thread Greg White

David Dyer-Bennet wrote:
 
 Steve Fulton [EMAIL PROTECTED] writes on 19 January 2001 at 16:59:33 -0500
   I've searched the archives extensively, and I've learned quite a lot, but
   I'd like advice on this question:
  
   Assuming RAID 1+0 is not an option (due to the expense), what level of
   RAID is best for storing /Maildir's on a file server (that will be
   accessible to the SMTP  POP servers via NFS).  Redudancy is the big
   issue, otherwise I'd go for RAID 1.  The suits are pushing for RAID 5
   because they don't know better - and won't listen.
 
 Um;  0 is striping, 1 is mirroring, right?  I don't do this enough to
 be confident of the numbers.  So if mirroring is too expensive, the
 only option available for consideration is RAID 5, parity.  It has
 less redundancy than mirroring, but good reliability (survives loss of
 one disk).

You are correct. Zero (0) is striping, one (1) is mirroring and five (5)
is parity. The OPs wording is confusing, or he's got 0 and 1 reversed
in his head somehow (or a complete misunderstanding of RAID levels)

For the curious (just the first hit I found from Google ;)  ):

 http://www.express-inc.com/docs/diskarry/raid.htm

GW