Re: multilog and missing info

2001-03-18 Thread Adam McKenna

On Mon, Mar 19, 2001 at 01:04:23AM -0700, Chris Bolt wrote:
> /var/log/qmail/current actually wasn't being filled because I had left
> splogger in my /var/qmail/rc... *oops*
> 
> Thanks though, I wouldn't have noticed it if I hadn't gone over
> lifewithqmail.org (I had originally used
> http://www.flounder.net/qmail/qmail-howto.html)

Uh, my example rc file doesn't log via splogger.

--Adam

-- 
Adam McKenna <[EMAIL PROTECTED]> | "No matter how much it changes, 
http://flounder.net/publickey.html   |  technology's just a bunch of wires 
GPG: 17A4 11F7 5E7E C2E7 08AA|  connected to a bunch of other wires."
 38B0 05D0 8BF7 2C6D 110A|  Joe Rogan, _NewsRadio_
 12:07am  up 28 days,  7:54,  9 users,  load average: 0.00, 0.01, 0.00



RE: multilog and missing info

2001-03-18 Thread Chris Bolt

/var/log/qmail/current actually wasn't being filled because I had left
splogger in my /var/qmail/rc... *oops*

Thanks though, I wouldn't have noticed it if I hadn't gone over
lifewithqmail.org (I had originally used
http://www.flounder.net/qmail/qmail-howto.html)

-Original Message-
From: Brett Randall [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 12:44 AM
To: Chris Bolt
Cc: [EMAIL PROTECTED]
Subject: Re: multilog and missing info


> "Chris" == Chris Bolt <[EMAIL PROTECTED]> writes:

> I was previously using splogger, and I just upgraded daemontools and
> set up svscan. Now logs are written with multilog, however I am not
> seeing as much information in my logs as with splogger. For example,
> a syslog logfile:

If you set up qmail as per www.lifewithqmail.org, you will find that
there are two log files. The SMTP connections one and the messages
one. Have a look in /var/log/qmail/{send|smtpd} to see your logs.
--
"Hitting your modem with an aluminum baseball bat is only going to get
you electrocuted. Try a wooden one."

- Lynn Marshall




Re: multilog and missing info

2001-03-18 Thread Brett Randall

> "Chris" == Chris Bolt <[EMAIL PROTECTED]> writes:

> I was previously using splogger, and I just upgraded daemontools and
> set up svscan. Now logs are written with multilog, however I am not
> seeing as much information in my logs as with splogger. For example,
> a syslog logfile:

If you set up qmail as per www.lifewithqmail.org, you will find that
there are two log files. The SMTP connections one and the messages
one. Have a look in /var/log/qmail/{send|smtpd} to see your logs.
-- 
"Hitting your modem with an aluminum baseball bat is only going to get
you electrocuted. Try a wooden one."

- Lynn Marshall



multilog and missing info

2001-03-18 Thread Chris Bolt

I was previously using splogger, and I just upgraded daemontools and set up
svscan. Now logs are written with multilog, however I am not seeing as much
information in my logs as with splogger. For example, a syslog logfile:

Mar 18 12:55:34 illusion qmail: 984945334.323009 status: local 1/10 remote
2/50
Mar 18 12:55:34 illusion qmail: 984945334.324140 new msg 650950
Mar 18 12:55:34 illusion qmail: 984945334.324406 info msg 650950: bytes 3402
from <[EMAIL PROTECTED]> qp 7965 uid 1055
Mar 18 12:55:34 illusion qmail: 984945334.449068 starting delivery 329159:
msg 650950 to remote [EMAIL PROTECTED]
Mar 18 12:55:34 illusion qmail: 984945334.449907 status: local 1/10 remote
3/50
Mar 18 12:55:35 illusion qmail: 984945335.915589 delivery 329153: deferral:
Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/

And a multilog logfile:

@40003ab5b36e29511c3c tcpserver: status: 1/40
@40003ab5b3812ef8fc7c tcpserver: ok 25834
illusion.dmusic.com:216.234.161.133:25 ant.m0.net:209.10.46.156::52668
@40003ab5b38c2914a3c4 tcpserver: end 25834 status 0
@40003ab5b38c29168054 tcpserver: status: 0/40

My qmail-smtpd's log/run file consists of this:

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

So I am not filtering anything with multilog. Any ideas, or is this what is
supposed to be output?

__
Chris Bolt
[EMAIL PROTECTED]
http://www.bolt.cx




RE: Help about write program used by dot qmail file.

2001-03-18 Thread Chris Bolt

http://www.qmail.org/man/man5/dot-qmail.html

-Original Message-
From: Silver Dirk [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 18, 2001 10:14 PM
To: [EMAIL PROTECTED]
Subject: Help about write program used by dot qmail file.


Hello all,

Where can I find some documents about how to
write program used by dot qmail to redirect mail.

Thanks a lot.


Dirk.Ye
2001/3/18





Re: Queue documentation.

2001-03-18 Thread Jordan Krushen

> I've read somewhere about the queue access times, how qmail keeps trying
> to send mail in the queue in some exponential way or something. Does
> anyone know where that piece of documentation is off hand? Thanks.

http://www.lifewithqmail.org/lwq.html#retry-schedule




Queue documentation.

2001-03-18 Thread Grant

I've read somewhere about the queue access times, how qmail keeps trying
to send mail in the queue in some exponential way or something. Does
anyone know where that piece of documentation is off hand? Thanks.





Help about write program used by dot qmail file.

2001-03-18 Thread Silver Dirk

Hello all,

Where can I find some documents about how to
write program used by dot qmail to redirect mail.

Thanks a lot.


Dirk.Ye
2001/3/18




Re: Alias not forwading to .qmail-foo-default

2001-03-18 Thread Sean Chittenden

What is the contents of your .qmail-foo-default file?  Did you
remember to put an & before the user name?  -sc

On Sun, Mar 18, 2001 at 03:42:58PM -0800, Todd A. Jacobs wrote:
> Delivered-To: [EMAIL PROTECTED]
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> Delivered-To: mailing list [EMAIL PROTECTED]
> Date: Sun, 18 Mar 2001 15:42:58 -0800 (PST)
> From: "Todd A. Jacobs" <[EMAIL PROTECTED]>
> X-X-Sender:  <[EMAIL PROTECTED]>
> To: "Nick (Keith) Fish" <[EMAIL PROTECTED]>
> cc: Qmail Mailing List <[EMAIL PROTECTED]>
> Subject: Re: Alias not forwading to .qmail-foo-default
> In-Reply-To: <[EMAIL PROTECTED]>
> 
> On Sun, 18 Mar 2001, Nick (Keith) Fish wrote:
> 
> > Are your other aliases working properly (ie. root, postmaster,
> > mailer-daemon, etc.)?
> 
> Yes. Any alias pointing to a real user (either local or remote) works
> fine. It's only a problem with forwarding to .qmail-ext names.
> 
> -- 
> Todd A. Jacobs
> CodeGnome Consulting, LTD
> 
> 

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


Re: Alias not forwading to .qmail-foo-default

2001-03-18 Thread Todd A. Jacobs

On Sun, 18 Mar 2001, Nick (Keith) Fish wrote:

> Are your other aliases working properly (ie. root, postmaster,
> mailer-daemon, etc.)?

Yes. Any alias pointing to a real user (either local or remote) works
fine. It's only a problem with forwarding to .qmail-ext names.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD





Re: Alias not forwading to .qmail-foo-default

2001-03-18 Thread Nick (Keith) Fish

"Todd A. Jacobs" wrote:
> 
> On Sat, 17 Mar 2001, Peter van Dijk wrote:
> 
> > Try .qmail-15dmziMUy-default instead.
> 
> It doesn't work, regardless of whether I put it in ~alias or $HOME. I
> still get "no mailbox."
> 
> It works fine if I forward to a real user. The point is that I want to
> forward it to another dot-qmail extension.
> 
> --
> Todd A. Jacobs
> CodeGnome Consulting, LTD

Are your other aliases working properly (ie. root, postmaster,
mailer-daemon, etc.)?

-- 
Keith
Network Engineer
Triton Technologies, Inc.



Re: virtual users without virtual domains?

2001-03-18 Thread Nick (Keith) Fish

"Todd A. Jacobs" wrote:
> 
> I realize this may sound like a silly question, but I'm trying to wrap my
> head around the whole virtual users facility, and am trying to understand
> whether I can set up virtual users without also setting up virtual
> domains.
> 
> In my current setup, all account are real users delivered to
> codegnome.org. I'm also interested in setting up virtual users (i.e. users
> without a login account) that are still part of the same domain as the
> real users (e.g. codegnome.org). Is this possible, and if so, can the
> virtual users and real users all get their pop mail from the same pop
> daemon?
> 
> --
> Todd A. Jacobs
> CodeGnome Consulting, LTD

You most certainly can.  The question here is how to authenticate both
users using the same pop server.  To do that, just make a unique user
and group for your virtual users.  Check out
http://freshmeat.net/projects/checklocalpwd/ for a version of
checkpassword that can authenticate in this manner.  I also recommend
setting up all of your real users on the same interface as your virtual
users and then symbolically linking the mail directory to which the
virtual account would normally point to the real user's mail
directories.  Keep inherent permissions in mind here or you'll have a
big security hazard.  If you can't find a secure way of doing that, you
can always just write a shell script which will update the real users'
e-mail directories off from their virtual accounts and either make it a
command or throw it in your crontab.

-- 
Keith
Network Engineer
Triton Technologies, Inc.



Re: Please help, I have been trying to solve this for two weeks.

2001-03-18 Thread Charles Cazabon

Avery Brooks <[EMAIL PROTECTED]> wrote:
> qmaill 901  0.0  0.1  1320  344 ?S19:59   0:00 multilog t
[...]
> - Qmail doesn't seem to log anything at all into: maillog, messages or any
> other log I can find.

You appear to be logging through multilog (good).  It logs into a series of
files in a directory you specify.  That directory is specified in the
file "run" located in the service directory.  It might be /var/log/qmail, but
only you can tell how you installed it.

> - Qmail can't send a message from a form.  I am using Matt's Simple form as a
> test.  It worked with sendmail and now does not work with qmail.

For some reason, lots of people seem to have trouble with this script.
I would suggest that the script is broken, but it works for us.  You'll need
to provide some useful information for us to be able to tell you why it's
failing -- exit codes from the sendmail wrapper and log messages showing the
failure would be best.

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.
---



Re: Please help, I have been trying to solve this for two weeks.

2001-03-18 Thread Brett Randall

> "Avery" == Avery Brooks <[EMAIL PROTECTED]> writes:

> Greetings, I did a setup of QMAIL using the RPM's located at:
> http://www.qmail.org/rpms/ Qmail seems to be running fine, but here
> are my issues:

The general opinion on this list, as you may find, is that the best
way to install qmail is to follow www.lifewithqmail.org . You will
then know how qmail works, where the paths to all your files are (and
what they do), and hold the entire `mail system' in a higher regard.
-- 
"This 'telephone' has too many shortcomings to be seriously considered
as a means of communication. The device is inherently of no value to
us."

- Western Union internal memo, 1876



qmail Digest 18 Mar 2001 11:00:01 -0000 Issue 1307

2001-03-18 Thread qmail-digest-help


qmail Digest 18 Mar 2001 11:00:01 - Issue 1307

Topics (messages 59231 through 59260):

Re: system-aliases not found
59231 by: Jörgen Persson
59249 by: Greg White
59255 by: Nick (Keith) Fish
59256 by: Greg White

Re: Repeated Identical Messages
59232 by: Peter van Dijk
59237 by: Daniel Kelley

Re: advocacy page...
59233 by: Peter van Dijk

Alias not forwading to .qmail-foo-default
59234 by: Todd A. Jacobs
59235 by: Peter van Dijk
59257 by: Todd A. Jacobs

Re: Why does POP3 log "inetd ... exit status 1"
59236 by: Alexander Jernejcic
59258 by: Nick (Keith) Fish

Re: qmail help, virt domains and catch all
59238 by: Inthereal
59239 by: Peter van Dijk
59241 by: Pawel Garbowski
59245 by: Inthereal
59247 by: Pawel Garbowski
59248 by: Inthereal
59250 by: Peter van Dijk

Qmail not writing to syslog
59240 by: Todd Goldenbaum
59242 by: Chris Johnson
59246 by: Robin S. Socha
59251 by: Timothy Legant

.qmail
59243 by: Vegard Jorgensen
59244 by: Robin S. Socha

Not delivery
59252 by: Ing. Carlos Alberto Dávila Cantú
59260 by: FMIPA Student

Re: qmail logs?
59253 by: Charles Cazabon

Re: HELP  SMTP problem
59254 by: Nick (Keith) Fish

Please help, I have been trying to solve this for two weeks.
59259 by: Avery Brooks

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]


--



On Sat, Mar 17, 2001 at 02:18:43AM -0800, Eric Pretorious wrote:
[snip]
> It doesn't seem to matter what I put in alias/.qmail-root - The messages 
> just come back with the error:
>   <[EMAIL PROTECTED]>:
>   Sorry, no mailbox herre by that name. (#5.1.1)

Finally -- the error message was for root and not for eric...

There's probably nothing wrong with eric's mailbox but qmail cannot find
a way to deliver mail to root (which happens to be an alias to eric).

Do you have a /var/qmail/users/assign and does it say anything about
root?? Do you need qmail-users (I use it primarily for NFS)??

Check file permissions.

Have you tried if other aliases (eg ~.alias/.qmail-postmaster) work??

Jörgen




On Sat, Mar 17, 2001 at 02:18:43AM -0800, Eric Pretorious wrote:
> Greg:
> 
> It doesn't seem to matter what I put in alias/.qmail-root - The messages 
> just come back with the error:
>   <[EMAIL PROTECTED]>:
>   Sorry, no mailbox herre by that name. (#5.1.1)
> 

OK, so delivery is going to the right place. Sounds like user alias
cannot read ~alias/.qmail-root. What's your output of:

user@host:$ ls -l ~alias/.qmail-root
-rw-r--r-- 6 root qmail 19 Jan 29 17:41 /var/qmail/alias/.qmail-root

Mine is shown above, elided spaces a bit to fit linewraps. ;)

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy




Eric Pretorious wrote:
> 
> I've created the system-aliases (/var/qmail/alias/):
> 
> -re-r--r-- 1 root root .qmail-root
> -re-r--r-- 1 root root .qmail-postmaster
> -re-r--r-- 1 root root .qmail-MAILER-DAEMON
> 
> Each has the same contenets: the username 'eric' but qmail doesn't forward
> the messages to the $HOME/Mailbox in /home/eric.
> 
> /var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"
> 
> Any thoughts?
> 
> Eric P.
> Los Gatos, CA

Well, a few of you got the correct answer; but I'm afraid you have to be
more specific:

Eric, just add these lines to your /var/qmail/users/assign file:

=alias:alias:1002:102:/var/qmail/alias:::
+alias-:alias:1002:102:/var/qmail/alias:-::

and make sure you end the assign file with a line that just has a dot on
it and there is no other line in the file with just a dot.

To process this new assign file, do:

qmail-newu

and you should be all set to go.

BTW, just keep those alias files as the username you're trying to
forward to ('eric') to reduce overhead resouce usage.

-- 
Keith
Network Engineer
Triton Technologies, Inc.




On Sat, Mar 17, 2001 at 07:18:57PM -0500, Nick (Keith) Fish wrote:
> Well, a few of you got the correct answer; but I'm afraid you have to be
> more specific:
> 
> Eric, just add these lines to your /var/qmail/users/assign file:
> 
>   =alias:alias:1002:102:/var/qmail/alias:::
>   +alias-:alias:1002:102:/var/qmail/alias:-::
> 
> and make sure you end the assign file with a line that just has a dot on
> it and there is no other line in the file with just a dot.

The OP never mentioned usign users/assign, IIRC. You're quite possibly
correct, but if so the OP didn't give us necessary information -- if
users/assign is not populated, ~alias/.qmail-