Help!

1999-07-22 Thread Marc-Adrian Napoli

Hi,

We run qmail 1.03.

I've been asked if we support "ERTN".

Reading around... it looks like I have to have serialmail installed to
support it. However, I don't know how to find out if i have serialmail
installed.

Someone tells me that the person here before me had setup.

Two quick questions:

1. How do I find out if I have serialmail installed?

2. If I do have serialmail installed, what is the difference between ERTN
and people just dialing in and collecting their mail normally?

Thanks for help in advance. :)

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750
[EMAIL PROTECTED]






Re: Outbound mail queue

1999-07-22 Thread Anand Buddhdev

On Thu, Jul 22, 1999 at 10:36:20AM -0400, Eric Davis wrote:

Make an entry for that host in virtualdomains, and redirect the email into
a Maildir, eg:

example.com:alias-example

Then in ~alias/.qmail-example-default, put:

./example/

and make a maildir, eg:

su alias -c 'maildirmake ~alias/example'

Finally, because example.com's mail is marked as remote, put an entry into
control/smtproutes like this:

example.com:[127.0.0.1]

Make sure localhost is allowed to relay. Then send a HUP signal to
qmail-send.

Now all emails for example.com will collect in ~alias/example/ and you can
use maildirsmtp to serially dispatch these emails to them.

> Is there a way to control how many messages are put into the
> outbound queue for a mail site?  For example, I have a client
> with over 300 messages in the outbound queue, and I am not
> sending to anyone else because they are monopolizing the out-
> bound mail queue.
> 
> Thank you in advance...
> 
> -Eric Davis
> [EMAIL PROTECTED]



Re: Forwarding

1999-07-22 Thread Maria Zevenhoven

> Make a .qmail-root in ~alias ... works for me.

you mean, a .qmail-root file in the admins home directories? what should I
put in that?



Re: Forwarding

1999-07-22 Thread Simon Elder

Make a .qmail-root in ~alias ... works for me.



-Original Message-
From: Maria Zevenhoven <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, 23 July 1999 4:29
Subject: Forwarding


>all my mail accounts except for root are working fine... but root:
>
>I have a system, where all admins should get all mails sent to root. the
>mail for root is as default stored in /root/Mailbox, but I have there a
>.qmail, with the following information:
>
>--- start ---
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]
>---end---
>
>but this just causes the mail to disappear: it doesn't find it's way to
>Mailbox but also not in the mailadresses specified in .qmail. I have not
>used .qmail elsewhere, so I can't be sure that it would work there, at
least
>here it doesn't...
>
>-Maria
>
>



Forwarding

1999-07-22 Thread Maria Zevenhoven

all my mail accounts except for root are working fine... but root:

I have a system, where all admins should get all mails sent to root. the
mail for root is as default stored in /root/Mailbox, but I have there a
.qmail, with the following information:

--- start ---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
---end---

but this just causes the mail to disappear: it doesn't find it's way to
Mailbox but also not in the mailadresses specified in .qmail. I have not
used .qmail elsewhere, so I can't be sure that it would work there, at least
here it doesn't...

-Maria



Re: qmail delivers to wrong maildir

1999-07-22 Thread Mark Weinem

Asmodeus wrote:

> > > Why does it try to deliver to alias-ppp-mark@localhost and not to
> > > mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my
> > > hostname)?

Is the delivery instruction "to local alias-ppp-mark@localhost" really
correct? Is this different from qmail 1.01?


> > umm, it is probably because you have the format for the file wrong. I believe
> > it is supposed to be .qmail-ppp-mark and in side the file you put a list of
> > addresses/directives.
> 
>  Oh man, am I blind today... Sorry for the completely useless post, but
> yes, removing the @localhost part of that filename will probably fix it.
> Check the permissions as well.  It should be owned by alias.

I have changed this, it's .qmail-ppp-mark (with /home/mark/Maildir in
side). 
But now: no mail in /var/qmail/alias/ppdir and no mail in
/home/mark/Maildir.
Must be still something wrong

Mark
 
> .Shawn



Returned mail: Host unknown (Name server: list.cr.up.to: host not found) (fwd)ODOBOAOAOAOB

1999-07-22 Thread Weinem

- Forwarded message from Mail Delivery Subsystem -

>From MAILER-DAEMON Fri Jul 23 00:42:26 MET 1999
Date: Fri, 23 Jul 1999 00:42:26 +0200 (METDST)
From: Mail Delivery Subsystem 
Message-Id: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: qmail delivers to wrong maildir




> On Thu, 22 Jul 1999, Elric of Melnibone wrote:
>  
> > > Why does it try to deliver to alias-ppp-mark@localhost and not to  
> > > mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my 
> > > hostname)?

Is the delivery instruction "alias-ppp-mark@localhost" really correct?

 
> > umm, it is probably because you have the format for the file wrong. I believe
> > it is supposed to be .qmail-ppp-mark and in side the file you put a list of
> > addresses/directives.
> 
>  Oh man, am I blind today... Sorry for the completely useless post, but
> yes, removing the @localhost part of that filename will probably fix it.
> Check the permissions as well.  It should be owned by alias.
> 

I have changed this, it's .qmail-ppp-mark (with /home/mark/Maildir/ in side) now.
The new situation: no Mails in /var/qmail/alias/pppdir and no mails in 
/home/mark/Maildir. Must be still something wrong

Mark 

- End of forwarded message from Mail Delivery Subsystem -



Re: My qmail crashes over and over

1999-07-22 Thread Gustavo V G C Rios

Dear gentleman,

Thank you for your support.
Here goes my configuration:

Qmail/Nofiles users login capabilities:
Resource limits for class default:
  cputime  infinity secs
  filesize infinity kb
  datasize infinity kb
  stacksizeinfinity kb
  coredumpsize infinity kb
  memoryuseinfinity kb
  memorylocked infinity kb
  maxprocesses infinity
  openfilesinfinity

Here goes my kernel parameters:
kern.maxproc: 820
kern.maxfilesperproc: 1640
kern.maxprocperuid: 819
vfs.aio.max_aio_per_proc: 32
vfs.aio.max_aio_queue_per_proc: 256
vfs.aio.max_aio_procs: 32
vfs.aio.num_aio_procs: 0
vfs.aio.target_aio_procs: 0
hw.model: AMD-K6(tm) 3D processor

So, here is how i am configured. Looking these tables, i cannot see any
limit to qmail (concerning proccess and files)

Does anybody here have any ideia ?

Thank you for your time and cooperation.
Best regards.



My qmail crashes over and over

1999-07-22 Thread Gustavo Rios

Does any body here have problems with qmail?
My qmail crashes at least 6 times a day with "Lost spawn connection: dying
."


Did anybody already have such a problem ?
How did you fix it ?

hardware problem isn't the answer once i already stressed my system
compiling my hole FreeBSD box ( compiling FreeBSD is a very heavy process,
if there were buggy hardware, i could not compile it).

What are the solutions ?



--
What's the similarity between an air
conditioner and a computer? They both
stop working when you open windows.



RE: Radius Authentication

1999-07-22 Thread Gary Stewart

Paul,
Well the radius (Merit Radius) has been in production for quite some time
now for all of our dialup authentications, and watching the logfile
everything else comes through.. just the request from my test server gives
me that error when trying to authenticate pop3. Do you think it may have
something do do with the "type" parameter in the clients file maybe?

Regards,
Gary Stewart


-Original Message-
From: Paul Farber [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 22, 1999 4:44 PM
To: Gary Stewart
Cc: Qmail List
Subject: Re: Radius Authentication


I used to get that kind of dump from cistron radiusd when my old Netserver
card would try and authenticate a user came down to the radius daemon
was not set up correctly.

Recheck the setup.

Can you run radtest and get a failure?  That would give you an idea if it
was a radius or perl or network problem.




Re: qmail delivers to wrong maildir

1999-07-22 Thread Asmodeus

On Thu, 22 Jul 1999, Elric of Melnibone wrote:

> On Thu, 22 Jul 1999, Mark Weinem wrote:
>  
> > Why does it try to deliver to alias-ppp-mark@localhost and not to  
> > mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my 
> > hostname)?
> > 
> > I have /var/qmail/alias/.alias-ppp-mark@localhost 
> > with  "/home/mark/Maildir/", but it does not help.
> 
> umm, it is probably because you have the format for the file wrong. I believe
> it is supposed to be .qmail-ppp-mark and in side the file you put a list of
> addresses/directives.

 Oh man, am I blind today... Sorry for the completely useless post, but
yes, removing the @localhost part of that filename will probably fix it.
Check the permissions as well.  It should be owned by alias.

.Shawn




Re: Radius Authentication

1999-07-22 Thread Paul Farber

I used to get that kind of dump from cistron radiusd when my old Netserver
card would try and authenticate a user came down to the radius daemon
was not set up correctly.

Recheck the setup.

Can you run radtest and get a failure?  That would give you an idea if it
was a radius or perl or network problem.

Paul D. Farber II
Farber Technology
Ph. 570-628-5303
Fax 570-628-5545
[EMAIL PROTECTED]

On Thu, 22 Jul 1999, Gary Stewart wrote:

> Hello again,
> 
> Once again, this is about the radius/chkpw project that I'm working on. As
> you may have read in my earlier messages
> I am trying to have qmail pop3 to authenticate via radius, and was running
> into trouble with the Perl version of radius-ckpw from the webpage. Now my
> issues are no longer in compiling the script, I resolved that by
> reinstalling the IO module in perl.  but the problem i'm running into now
> (maybe this is a duh! thing) is when I telnet to the pop3 port, enter user
> xxx pass xxx i get -ERR Authentication Failed. I then checked my radius
> logfile and see this error:
> 
> Thu Jul 22 16:02:43 1999: get_radrequest: non-RFC packet from
> 205.198.26.125[32815] - access (type 1), len = 43
> Thu Jul 22 16:02:43 1999: Hex dump at 0xa4850/0 for 43 bytes
> Thu Jul 22 16:02:43 1999: 0xa4850: 0x| 01EC002B 4A116302 C3DF2C8A
> 7BD54B82| |...+J.c...,.{.K.|
> Thu Jul 22 16:02:43 1999: 0xa4860: 0x0010| D116D3FB 01056764 730212E7
> 8AF58405| |..gds...|
> Thu Jul 22 16:02:43 1999: 0xa4870: 0x0020| A46147F9 4F9A14B6 BCA5A7..
> | |.aG.O..||
> 
> Anyone have any idea on what is causing this problem?
> 
> --
> Gary Stewart[EMAIL PROTECTED]
> Internet Service Specialist
> Northern Valley Communications
> (888)919-8945 http://www.nvc.net
> --
> 
> 



Re: qmail delivers to wrong maildir

1999-07-22 Thread Elric of Melnibone

On Thu, 22 Jul 1999, Mark Weinem wrote:
 
> Why does it try to deliver to alias-ppp-mark@localhost and not to  
> mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my 
> hostname)?
> 
> I have /var/qmail/alias/.alias-ppp-mark@localhost 
> with  "/home/mark/Maildir/", but it does not help.

umm, it is probably because you have the format for the file wrong. I believe
it is supposed to be .qmail-ppp-mark and in side the file you put a list of
addresses/directives.



-- 
"Try not the patience of wizards, for they are subtle and
quick to anger." --- Elric

Public PGP Available by Finger: [EMAIL PROTECTED]
PGP Fingerprint16 = FC F6 32 8D 9A CC 2A E5  02 FD 54 0F 35 9F 27 C2



Radius Authentication

1999-07-22 Thread Gary Stewart

Hello again,

Once again, this is about the radius/chkpw project that I'm working on. As
you may have read in my earlier messages
I am trying to have qmail pop3 to authenticate via radius, and was running
into trouble with the Perl version of radius-ckpw from the webpage. Now my
issues are no longer in compiling the script, I resolved that by
reinstalling the IO module in perl.  but the problem i'm running into now
(maybe this is a duh! thing) is when I telnet to the pop3 port, enter user
xxx pass xxx i get -ERR Authentication Failed. I then checked my radius
logfile and see this error:

Thu Jul 22 16:02:43 1999: get_radrequest: non-RFC packet from
205.198.26.125[32815] - access (type 1), len = 43
Thu Jul 22 16:02:43 1999: Hex dump at 0xa4850/0 for 43 bytes
Thu Jul 22 16:02:43 1999: 0xa4850: 0x| 01EC002B 4A116302 C3DF2C8A
7BD54B82| |...+J.c...,.{.K.|
Thu Jul 22 16:02:43 1999: 0xa4860: 0x0010| D116D3FB 01056764 730212E7
8AF58405| |..gds...|
Thu Jul 22 16:02:43 1999: 0xa4870: 0x0020| A46147F9 4F9A14B6 BCA5A7..
| |.aG.O..||

Anyone have any idea on what is causing this problem?

--
Gary Stewart[EMAIL PROTECTED]
Internet Service Specialist
Northern Valley Communications
(888)919-8945 http://www.nvc.net
--



Re: qmail delivers to wrong maildir

1999-07-22 Thread Asmodeus

On Thu, 22 Jul 1999, Mark Weinem wrote:

> Why does it try to deliver to alias-ppp-mark@localhost and not to  
> mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my 
> hostname)?
> 
> I have /var/qmail/alias/.alias-ppp-mark@localhost 
> with  "/home/mark/Maildir/", but it does not help.

 What does your default deliver directions say?  WHich .qmail file is
being used? /var/qmail/alias/.qmail-default?
/var/qmail/alias/.qmail-ppp-mark?

 I'll bet you have the wrong delivery instructions.

.Shawn




Qmail / Ldap / and a seperate outgoing Queue...

1999-07-22 Thread Wil Boucher

Hi there.

I am using qmail-1.03 with the LDAP patches, I have it all up and runnig
nicely, load balanced on several machines and things are just zooming, I am
very happy with Qmail.

What I want to do is add a tag to all messages not destined for local users,
so I want to set up another instance on qmail in a different directory with
a seperate queue etc... (I have the 'taggin' program all ready, I just need
to know how to get the messages to it)

To do this with out the LDAP patches, it was a matter of setting up a
':remote' entry in my virtualdomains file and then setting up
.qmail-remote-default to execute the message parser and then inject the
message into the second queue...

Now with the LDAP patches I don't even have a 'virtualdomains' file, so how
would I go about setting this up?

Anyone done this?

should I just create a virtualdomains file and stick ':remote' in it and
anything not found in the LDAP directory will get sent to
~aliases/.qmail-remote-default ?


All help appreciated!

Wil.




qmail delivers to wrong maildir

1999-07-22 Thread Mark Weinem

Hi,

(I'm running qmail 1.03, serialmail 0.75, ucspi-tcp 0.84, fetchmail 4.6.4-1.1 
and Debian Linux 2.1. Outgoing mail is delivered to /var/qmail/alias/pppdir 
and handled by serialmail if a ppp connection is up)

But there must be something wrong with my qmail/fetchmail configuration: 
incoming mail (fetched from the pop3 server by fetchmail) ends up in 
/var/qmail/alias/pppdir/ (!) but unfortunately not in /home/mark/Maildir/.


~/.fetchmailrc says:

-
poll unidui.uni-duisburg.de proto pop3
user mweinem with password secret is mark here
forcecr 
keep
-



/var/log/syslog says:

-
Jul 22 18:30:33 pandora qmail: 932661033.597194 new msg 6256
Jul 22 18:30:33 pandora qmail: 932661033.597458 info msg 6256: 
bytes 2331 from <[EMAIL PROTECTED]> qp 951 uid 1002
Jul 22 18:30:33 pandora qmail: 932661033.600413 starting delivery 89: 
msg 6256 to local alias-ppp-mark@localhost
Jul 22 18:30:33 pandora qmail: 932661033.600604 status: local 1/10 remote 0/20
Jul 22 18:30:33 pandora qmail: 932661033.622723 delivery 89: success: did_1+0+0/
Jul 22 18:30:33 pandora qmail: 932661033.622947 status: local 0/10 remote 0/20
Jul 22 18:30:33 pandora qmail: 932661033.623064 end msg 6256

Jul 22 18:30:34 pandora qmail: 932661034.907755 new msg 6256
Jul 22 18:30:34 pandora qmail: 932661034.908010 info msg 6256: 
bytes 3108 from <[EMAIL PROTECTED]> qp 955 uid 1002
Jul 22 18:30:34 pandora qmail: 932661034.910829 starting delivery 90: 
msg 6256 to local alias-ppp-mark@localhost
Jul 22 18:30:34 pandora qmail: 932661034.911025 status: local 1/10 remote 0/20
Jul 22 18:30:34 pandora qmail: 932661034.969414 delivery 90: success: did_1+0+0/
Jul 22 18:30:34 pandora qmail: 932661034.969645 status: local 0/10 remote 0/20
Jul 22 18:30:34 pandora qmail: 932661034.969763 end msg 6256
Jul 22 18:30:36 pandora qmail: 932661036.077529 new msg 6256
-


Why does it try to deliver to alias-ppp-mark@localhost and not to  
mark@localhost or [EMAIL PROTECTED] (pandora.plagegeister.de is my 
hostname)?

I have /var/qmail/alias/.alias-ppp-mark@localhost 
with  "/home/mark/Maildir/", but it does not help.


regards
 Mark Weinem





Re: serialmail/autoTURN not working

1999-07-22 Thread Tom Furie

> Hmm, absolutely nothing in the output? Definitely seems something is wrong
> there.
Hang on.. To direct strace output to a file you use the -o switch.

Now we get -

[root@post autoturn]# less /tmp/autoturn.strace
execve("/usr/local/bin/maildirsmtp", ["/usr/local/bin/maildirsmtp",
"192.153.153.123", "autoturn-192.153.153.123-", "192
.153.153.123", "AutoTURN"], [/* 32 vars */]) = 0
brk(0)  = 0x80b1afc
open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)  = 8
fstat(8, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 7021, PROT_READ, MAP_PRIVATE, 8, 0) = 0x4000b000
close(8)= 0
open("/lib/libtermcap.so.2", O_RDONLY)  = 8
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 8, 0) = 0x4000d000
munmap(0x4000d000, 4096)= 0
mmap(0, 12368, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) = 0x4000d000
mprotect(0x4000f000, 4176, PROT_NONE)   = 0
mmap(0x4000f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8,
0x1000) = 0x4000f000
mmap(0x4001, 80, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4001
close(8)= 0
open("/lib/libdl.so.2", O_RDONLY)   = 8
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 8, 0) = 0x40011000
munmap(0x40011000, 4096)= 0
mmap(0, 9256, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) = 0x40011000
mprotect(0x40013000, 1064, PROT_NONE)   = 0
mmap(0x40013000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8,
0x1000) = 0x40013000
close(8)= 0
open("/lib/libc.so.6", O_RDONLY)= 8
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 8, 0) = 0x40014000
munmap(0x40014000, 4096)= 0
mmap(0, 672712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) = 0x40014000
mprotect(0x400a5000, 78792, PROT_NONE)  = 0
mmap(0x400a5000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8,
0x9) = 0x400a5000
mmap(0x400ad000, 46024, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400ad000
close(8)= 0
munmap(0x4000b000, 7021)= 0
personality(PER_LINUX)  = 0
getpid()= 304
sigprocmask(SIG_BLOCK, NULL, [])= 0
open("/dev/tty", O_RDWR|O_NONBLOCK) = -1 EACCES (Permission denied)
ioctl(0, TCGETS, 0xbaac)= -1 EINVAL (Invalid argument)
brk(0)  = 0x80b1afc
brk(0x80b2000)  = 0x80b2000
sigprocmask(SIG_BLOCK, ~[], []) = 0
brk(0x80b3000)  = 0x80b3000
sigprocmask(SIG_SETMASK, [], NULL)  = 0
sigprocmask(SIG_BLOCK, ~[], []) = 0
brk(0x80b4000)  = 0x80b4000
sigprocmask(SIG_SETMASK, [], NULL)  = 0
getuid()= 503

I must admit, I have no idea how to read this output. Why is it trying to
open /dev/tty?




Re: serialmail/autoTURN not working

1999-07-22 Thread Tom Furie

Hi Dave,

> Hm, OK, are setlock and maildirsmtp executable by qmaild? Are /, /usr,
> /usr/local, and /usr/local/bin world executable? I'm running out of
> ideas.
They are,
[root@post bin]# ls -l maildirsmtp setlock
-rwxr-xr-x   1 qmaild   root  195 Jul 21 14:51 maildirsmtp
-rwxr-xr-x   1 root root 8572 Jul 21 14:51 setlock

[root@post bin]# ls -ld / /usr /usr/local /usr/local/bin
drwxr-xr-x  17 root root 1024 Jun 25 15:41 /
drwxr-xr-x  19 root root 1024 Jul  9 16:17 /usr
drwxr-sr-x  13 root root 1024 Jul 20 12:58 /usr/local
drwxr-sr-x   2 root root 1024 Apr 28 09:02 /usr/local/bin

> and examine /tmp/autoturn.strace to see what maildirsmtp is doing.
Hmm, absolutely nothing in the output? Definitely seems something is wrong
there.

Cheers,
Tom





Re: "q" in "qmail" means ?

1999-07-22 Thread Lenny Mastrototaro

On Jul 22, 10:45am, torben fjerdingstad wrote:
> Subject: Re: "q" in "qmail" means ?
> On Wed, Jul 21, 1999 at 11:55:43AM -0400, Dave Kitabjian wrote:
> > 
> > What does the "q" in "qmail" mean?
> 
> I vote for "quiet". It does it's job quietly, just like UNIX.

After reading this excerpt from Dan's page:

qmail: a replacement for sendmail
http://pobox.com/~djb/qmail.html

[...] Other MTAs offer a spectrum of delivery modes, from
fast+unsafe to slow+queued. qmail-send is instantly triggered
by new items in the queue, so the qmail system has just one
delivery mode: fast+queued. [...]

I concluded that `q' referred to `queue' 

Regards,
Lenny

>-- End of excerpt from torben fjerdingstad



-- 
Leonard MastrototaroSystems Administrator   Click3X New York
[EMAIL PROTECTED]   212-627-1900http://www.click3x.com

"Yeah well ... The Dude abides." -- http://www.lebowski.com



Re: serialmail/autoTURN not working

1999-07-22 Thread Dave Sill

"Tom Furie" <[EMAIL PROTECTED]> wrote:
>
>> Change your smtpd startup command to something like:
>> Then connect to port 25 from your client and look at
>> /tmp/autoturnlog. Make sure the maildirsmtp command is exactly right.
>contents of autoturnlog entry -
>Thu Jul 22 16:55:52 GMT 1999
>PWD=/var/qmail/autoturn
>HOSTNAME=post
>CONSOLE=/dev/console
>PREVLEVEL=N
>AUTOBOOT=YES
>runlevel=3
>MACHTYPE=i386
>SHLVL=3
>previous=N
>BOOT_IMAGE=linux
>SHELL=/bin/bash
>HOSTTYPE=i386-linux
>OSTYPE=linux
>HOME=/
>TERM=linux
>PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
>RUNLEVEL=3
>INIT_VERSION=sysvinit-2.74
>_=/usr/local/bin/tcpserver
>PROTO=TCP
>TCPLOCALPORT=25
>TCPREMOTEIP=192.153.153.123
>TCPLOCALIP=192.153.153.208
>TCPREMOTEPORT=2363
>TCPLOCALHOST=qmail.colloquium.co.uk
>TCPREMOTEHOST=ms.vti.co.uk
>VENDOR=intel
>LOGNAME=qmaild
>USER=qmaild
>GROUP=nofiles
>HOST=post
>REMOTEHOST=ms.vti.co.uk
>exec /usr/local/bin/setlock -nx 192.153.153.123/seriallock
>/usr/local/bin/maildirsmtp 192.153.153.123 autoturn-192.153.153.123-
>192.153.153.123 AutoTURN
>
>The maildirsmtp command here is the same as used manually

Hm, OK, are setlock and maildirsmtp executable by qmaild? Are /, /usr, 
/usr/local, and /usr/local/bin world executable? I'm running out of
ideas.

Perhaps replace:

exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
/usr/local/bin/maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP-$TCPREMOTEIP AutoTURN
' 2>&1 | /var/qmail/bin/splogger smtpd 3 &

with:

exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
/usr/bin/strace /usr/local/bin/maildirsmtp $TCPREMOTEIP 
autoturn-$TCPREMOTEIP-$TCPREMOTEIP AutoTURN
' 2>&1 >>/tmp/autoturn.strace &

and examine /tmp/autoturn.strace to see what maildirsmtp is doing.

-Dave



Re: serialmail/autoTURN not working

1999-07-22 Thread Tom Furie

> >no apparent difference.
> Yeah, it doesn't matter.
Didn't think so.

> OK, so basically smtpd works when you connect to port 25, are queueing
> up in the maildir, the maildirsmtp command works when you run it
> manually, but it doesn't work automatically?
Sounds about right.

> Change your smtpd startup command to something like:
> Then connect to port 25 from your client and look at
> /tmp/autoturnlog. Make sure the maildirsmtp command is exactly right.
contents of autoturnlog entry -
Thu Jul 22 16:55:52 GMT 1999
PWD=/var/qmail/autoturn
HOSTNAME=post
CONSOLE=/dev/console
PREVLEVEL=N
AUTOBOOT=YES
runlevel=3
MACHTYPE=i386
SHLVL=3
previous=N
BOOT_IMAGE=linux
SHELL=/bin/bash
HOSTTYPE=i386-linux
OSTYPE=linux
HOME=/
TERM=linux
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
RUNLEVEL=3
INIT_VERSION=sysvinit-2.74
_=/usr/local/bin/tcpserver
PROTO=TCP
TCPLOCALPORT=25
TCPREMOTEIP=192.153.153.123
TCPLOCALIP=192.153.153.208
TCPREMOTEPORT=2363
TCPLOCALHOST=qmail.colloquium.co.uk
TCPREMOTEHOST=ms.vti.co.uk
VENDOR=intel
LOGNAME=qmaild
USER=qmaild
GROUP=nofiles
HOST=post
REMOTEHOST=ms.vti.co.uk
exec /usr/local/bin/setlock -nx 192.153.153.123/seriallock
/usr/local/bin/maildirsmtp 192.153.153.123 autoturn-192.153.153.123-
192.153.153.123 AutoTURN

The maildirsmtp command here is the same as used manually

Cheers,
Tom




Re: Radius Authentication

1999-07-22 Thread Racer X

> the obsticle I need to cross here is since the radius query would probaby
> only come from the main ip of the mail server we
> 'd only authenticate out of the domain1 users file. Is there a way to
bind a
> radius client to perform queries from a certain IP so that the radius
server
> can distinguish where to look?

well, it depends on the implementation of the radius client.  certainly you
could tell it to bind to only one address, there's no unix reason you can't
do that.

however, what might be easier is to just modify your radius server config
to support clients from whatever IP address your client appears to be
coming from.  i'm assuming you have permission to do this?

> But first is first. Where can I find a C checkpasswd that will perform
> radius auth anyway? I've been tinkering with that perl version, but Its
not
> working for me, and would like a C version mainly due to speed anyway.

we use the perl version here and it works great.  i don't think speed will
be a big consideration, especially when you consider all the code you'll
have to write to do it in C (our perl version is about 40 lines i think,
it's the one from qmail.org with a couple minor mods to support our
convoluted directory structure).  also, consider that you still have to
access the network to talk to the radius server, that's going to be an
order or two of magnitude greater than any difference between C and perl.

what problems are you having with the perl version?

shag
=
Judd Bourgeois|   CNM Network  +1 (805) 520-7170
Software Architect|   1900 Los Angeles Avenue, 2nd Floor
[EMAIL PROTECTED]   |   Simi Valley, CA 93065
...yours is not the less noble because no drum beats before you when
you go out into your daily battlefields, and no crowds shout about your
coming when you return from your daily victory or defeat.
 --Robert Louis Stevenson




Re: relaying redundancy

1999-07-22 Thread Sam

[EMAIL PROTECTED] writes:

> I have a qmail server set up such that it's being used as a relay (all incoming
> mail just gets dumped to whatever is in smtproutes). anyway, sometimes the
> machine that my qmail box is relaying to goes down or crashes, whatever. Is
> there a hack to allow qmail to relay somewhere else if that host is down or if
> the queue builds up to a certain number (which usually also means that the host
> its trying to relay to is down)?

Changes to control/smtproutes take effect immediately.

Write a simple shell script to ping your primary host, and run it from
cron, every couple of minutes.  If it doesn't ping, have the shell script
rewrite control/smtproutes to point to the backup IP address.  Afterwards,
kick qmail-send in the ass to flush out the built up queue (that's
optional).

A five minute programming job.

-- 
Sam



RE: Radius Authentication

1999-07-22 Thread Gary Stewart

What I was planning on doing for true virtualization of our whole operation
was to have Merit radius look at different users files depending on what IP
the request is comming from. For example a client checks their e-mail on
domain1.com radius would see that the request is from mail.domain1.com and
look in the domain1 users file. and the same for someone checking their mail
on domain2.com radius would need to see that the ckpasswd request is coming
from the ip that is for mail.domain2.com in order to look in the domain2
users file. That way someone with the same username on domain1 can coexist
with the other person with the same username on domain2.

I have the ckpw-radius from Monte, I am just not having any luck running the
perl. Maybe I'm missing something or another, but I installed IO 1.20 and
Digest-MD5-2.07 wich i got from CPAN. I can could get you the whole list of
compiliation errors If you would like.

Regards,
Gary Stewart

-Original Message-
From: Todd at NM Technet [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 22, 1999 10:35 AM
To: Qmail List
Subject: Re: Radius Authentication


gary,

we do pop3 authentication to a heavily hacked version of radius (and the
radiusified checkpasswd on qmail.org should be the one written by monte
miztelfelt ([EMAIL PROTECTED]) here).  the perl version works great for us (i
can send out another copy if you're having trouble getting it).

as for the ip binding, i'm not completely clear on the question.  the
radius requests will (depending on the operating system and the number of
ip bindings) come from one of the ip addresses on the interface that
routes to the radius server.  this is usually determinate (because it has
one interface).  if it is not determinate, you can hack the perl to bind
to a specific address (rather than ANY) on that interface (this can happen
with many unices when you have multiple addresses on the same
interface--binding a socket will not always get you the primary one).

if you can write in with a bit more information, i'm sure that what you
are trying to do can be done.

todd underwood
[EMAIL PROTECTED]

On Thu, 22 Jul 1999, Gary Stewart wrote:

> Date: Thu, 22 Jul 1999 10:19:46 -0500
> From: Gary Stewart <[EMAIL PROTECTED]>
> To: Qmail List <[EMAIL PROTECTED]>
> Subject: Radius Authentication
>
> Greets people,
> I once again have a question. What I am trying to do is authenticate from
a
> merit radius server for pop3. The plan is to be hosting a number of
> different domains on our mailserver and have them all authenticate from
> radius(i know redundant ;). There are two problems that I forsee with
this.
> The radius clients file on the radius server looks at the IP of the
> incomming connection, secret, type, and the file to look for. for example
> the lines in clients would go something like this:
>
> #Client Name   Key [type]  [version] [prefix]
> #  --- --- - 
> 1.2.3.4secret type=nas  domain1
> 4.3.2.1secret type=nas  domain2
>
> the obsticle I need to cross here is since the radius query would probaby
> only come from the main ip of the mail server we
> 'd only authenticate out of the domain1 users file. Is there a way to bind
a
> radius client to perform queries from a certain IP so that the radius
server
> can distinguish where to look?
>
> But first is first. Where can I find a C checkpasswd that will perform
> radius auth anyway? I've been tinkering with that perl version, but Its
not
> working for me, and would like a C version mainly due to speed anyway.
>
> Much help would be greatly appreciated, if yer not all confused already
=c)
>
> --
> Gary Stewart[EMAIL PROTECTED]
> Internet Service Specialist
> Northern Valley Communications
> (888)919-8945 http://www.nvc.net
> --
>
>



RE: Can qmail work withuot MX RR?

1999-07-22 Thread Alex Miller

> > An MX record may not point to a C record even though it might
> > seem to make sense to do so, simply because DNS was designed
> > specifically prohibiting that.
> 
> It doesn't make that much sense:
> 1. One additional lookup.
> 2. Mail sent to CNAME should be "canonicized" - ie. the CNAMEs 
> in the addresses should be resolved. If MX points to CNAME, you 
> don't know if it should be canonicized or not.
> 
> Plus, of course, RFC says against that.

Yes, what I mean by "makes sense" is that it isn't apparent
reading a DNS record the fundamental difference between the
behavior of a macro and a pointer. An MX record points somewhere
whereas a C record rewrites.

So if you mentally translate an MX record of

family.cybergood.net. IN MX mail.bannerclub.com.

as "mail sent to [EMAIL PROTECTED]
is handled by the computer that is represented
by mail.bannerclub.com"

makes sense (both family.cybergood.net
and bannerclub.com are A records)

If family.cybergood.net or mail.bannerclub.com were
a C records (not in itself unreasonable for web sites)
the read of the MX record would still "make sense"
but be wrong.

> -Original Message-
> From: Petr Novotny [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 22, 1999 3:58 AM
> To: Alex Miller
> Cc: [EMAIL PROTECTED]
> Subject: RE: Can qmail work withuot MX RR?
> 
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> > An MX record is only necessary when an A record points to a machine
> > that has no mail handler, and the MX record then points to an A 
> record of
> > a machine that does have a mail handler.
> 
> That's the other way around (I mean the reasoning): Empty MX list 
> is considered a special case when A record should be tried. You 
> should try to have a MX (even pointing at yourself, like
> mail IN A 11.111.111.
> mail IN MX 5 mail
> ) because it saves one DNS lookup.
> 
> > An MX record may not point to a C record even though it might
> > seem to make sense to do so, simply because DNS was designed
> > specifically prohibiting that.
> 
> It doesn't make that much sense:
> 1. One additional lookup.
> 2. Mail sent to CNAME should be "canonicized" - ie. the CNAMEs 
> in the addresses should be resolved. If MX points to CNAME, you 
> don't know if it should be canonicized or not.
> 
> Plus, of course, RFC says against that.
> 
> > Sending mail to a C record might seem to work, deceptively,
> > because you may have included the A record in localhosts.
> 
> ???
> 
> You can send mail directly to a host which is only a CNAME (and 
> the address gets rewritten to what CNAME really points at). In fact, 
> if you have CNAME and MX for the same host, the MX is ignored 
> (and probably considered an error).
> 
> > For example,
> > if you have an A record stooges.com on a machine with QMail
> > and stooge.com is in the /var/control/localhosts file
> > then any mail sent to [EMAIL PROTECTED], moe.stooges.com,
> > [EMAIL PROTECTED] will deliver if larry, moe, and curly
> > are users.
> 
> If you meant [EMAIL PROTECTED], yes.
> 
> > If there is a C record three.stooges.com that aliases
> > stooges.com (that's what a C record is) then
> > [EMAIL PROTECTED], [EMAIL PROTECTED],
> > [EMAIL PROTECTED] will also deliver because
> > like a c programming macro three.stooges.com
> > "becomes" stooges.com
> 
> Yes - I like that explanation :-)
> 
> > The deceptive part of that is this.
> > 
> > If you want to route mail of [EMAIL PROTECTED]
> > to go to curly@localhost you must creat an alias
> > for shemp to route to curly and that will work for
> > all localhosts.
> > 
> > So there will be an effect that [EMAIL PROTECTED]
> > will also go to the user curly.
> > 
> > For explicit control of each domain, separately, you
> > want to use virtual domains, not localhost.
> 
> Sure - all in "locals" are aliases for local host; ie. after you decided 
> the address in in aliases, only local part is used to route the mail. If 
> you want to use different handling for different domains, you want 
> virtual domains.
> 
> Caveat emptor: If three.stooges.com is a CNAME for stooges.com, 
> you are not too likely to receive a mail for 
> [EMAIL PROTECTED], since the CNAMEs should get 
> canonicized (rewritten), unless the other side is broken. If you want 
> virtual domain, you want MX pointing at you, not CNAME.
> 
> > Each virtualhost should have it's own A record.
> > stooges.com has an A record
> > three.stooges.com has an A record
> > littlerascals.com has an  A record
> 
> MX is enough. Although nothing prohibits it, you might (repeat: 
> might) have some problems with broken, brain-dead machines on 
> the other side that do a forward lookup, a reverse lookup, and then 
> seem surprised that they didn't get the original name. But hey, 
> yes, their behaviour would be broken.
> 
> > each is listed in rcpthosts
> > 
> > and a virtual domain map is put into virtualdomains
> > stooges.com:stooges
> > three.stooges.com:threestooges
> > littlerascals.com:littlerascals
> > 
>

Re: SCO 5.0.5 qmail-1.03 outgoing email problem

1999-07-22 Thread Ken Jones

"Olivier M." wrote:
> 
> On Tue, Jun 29, 1999 at 03:10:41PM -0500, [EMAIL PROTECTED] wrote:
> > Anyone seen this problem:
> > Platform: Sco 5.0.5 qmail 1.03
> > Inbound email works, pop works
> > Outbound email makes smtp connection but does not deliver the mail.
> > We get the same problem on two similarly configured SCO machines.
> 
> We also have the same problem with our SCO 5.0.5. May I ask you
> if you found a solutionor workaround  in the meantime ?
> 
> Thanks in advance,
> Olivier Mueller

The solution was to not use the -g or -O type options on the compile.
just straight compile.

also found out the crypt library function returns less characters as
are stored in password struct. The characters were the same, but the
password stucture had a longer crypt than from calling crypt.

sco is kinda messed up

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: Radius Authentication

1999-07-22 Thread Todd at NM Technet

gary,  

we do pop3 authentication to a heavily hacked version of radius (and the
radiusified checkpasswd on qmail.org should be the one written by monte
miztelfelt ([EMAIL PROTECTED]) here).  the perl version works great for us (i
can send out another copy if you're having trouble getting it).

as for the ip binding, i'm not completely clear on the question.  the
radius requests will (depending on the operating system and the number of
ip bindings) come from one of the ip addresses on the interface that
routes to the radius server.  this is usually determinate (because it has
one interface).  if it is not determinate, you can hack the perl to bind
to a specific address (rather than ANY) on that interface (this can happen
with many unices when you have multiple addresses on the same
interface--binding a socket will not always get you the primary one).

if you can write in with a bit more information, i'm sure that what you
are trying to do can be done.

todd underwood
[EMAIL PROTECTED]

On Thu, 22 Jul 1999, Gary Stewart wrote:

> Date: Thu, 22 Jul 1999 10:19:46 -0500
> From: Gary Stewart <[EMAIL PROTECTED]>
> To: Qmail List <[EMAIL PROTECTED]>
> Subject: Radius Authentication
> 
> Greets people,
> I once again have a question. What I am trying to do is authenticate from a
> merit radius server for pop3. The plan is to be hosting a number of
> different domains on our mailserver and have them all authenticate from
> radius(i know redundant ;). There are two problems that I forsee with this.
> The radius clients file on the radius server looks at the IP of the
> incomming connection, secret, type, and the file to look for. for example
> the lines in clients would go something like this:
> 
> #Client Name   Key [type]  [version] [prefix]
> #  --- --- - 
> 1.2.3.4secret type=nas  domain1
> 4.3.2.1secret type=nas  domain2
> 
> the obsticle I need to cross here is since the radius query would probaby
> only come from the main ip of the mail server we
> 'd only authenticate out of the domain1 users file. Is there a way to bind a
> radius client to perform queries from a certain IP so that the radius server
> can distinguish where to look?
> 
> But first is first. Where can I find a C checkpasswd that will perform
> radius auth anyway? I've been tinkering with that perl version, but Its not
> working for me, and would like a C version mainly due to speed anyway.
> 
> Much help would be greatly appreciated, if yer not all confused already =c)
> 
> --
> Gary Stewart[EMAIL PROTECTED]
> Internet Service Specialist
> Northern Valley Communications
> (888)919-8945 http://www.nvc.net
> --
> 
> 



Outbound mail queue

1999-07-22 Thread Eric Davis

Is there a way to control how many messages are put into the
outbound queue for a mail site?  For example, I have a client
with over 300 messages in the outbound queue, and I am not
sending to anyone else because they are monopolizing the out-
bound mail queue.

Thank you in advance...

-Eric Davis
[EMAIL PROTECTED]



Re: memphis rpm

1999-07-22 Thread jeremy


I'm just using the link on the qmail.org page and it's not doing ANYTHING.
Just sits there contacting...

Hmmsame with ftp in a terminal...

Here is a tracepath with does complete the route, but well, I still can't
get in.

hansen:~# tracepath moni.msci.memphis.edu/21
 1?: [LOCALHOST]  pmtu 1500
 1?: 208.222.92.4
 2?: 204.177.145.3
 3?: 137.39.3.89
 4?: 146.188.177.134
 5?: 146.188.178.106
 6?: 146.188.177.181
 7?: 137.39.23.146
 8?: 144.232.8.225asymm  8 648856840ms
 9?: 144.232.8.206asymm 10 648857254ms
10?: 144.232.0.46 asymm  9 648857675ms
11?: 144.232.9.130asymm 10 648857713ms
12?: 144.232.3.170asymm 11
13?: 144.228.81.18asymm 12
14?: 206.23.252.113   asymm 13
15?: 206.23.252.134   asymm 14
16?: 198.146.21.158   asymm 15
17:  141.225.11.87asymm 16 120ms reached
 Resume: pmtu 1500 hops 17 back 16 


-jeremy

> Why do you think my server is down?
> 
> Please send me any errors you get while accessing my server.
> -- 
> ---
> Mate Wierdl | Dept. of Math. Sciences | University of Memphis  
> 


http://www.xxedgexx.com | [EMAIL PROTECTED]
-
Y2K.  We're all gonna die.



Radius Authentication

1999-07-22 Thread Gary Stewart

Greets people,
I once again have a question. What I am trying to do is authenticate from a
merit radius server for pop3. The plan is to be hosting a number of
different domains on our mailserver and have them all authenticate from
radius(i know redundant ;). There are two problems that I forsee with this.
The radius clients file on the radius server looks at the IP of the
incomming connection, secret, type, and the file to look for. for example
the lines in clients would go something like this:

#Client Name   Key [type]  [version] [prefix]
#  --- --- - 
1.2.3.4  secret type=nas  domain1
4.3.2.1  secret type=nas  domain2

the obsticle I need to cross here is since the radius query would probaby
only come from the main ip of the mail server we
'd only authenticate out of the domain1 users file. Is there a way to bind a
radius client to perform queries from a certain IP so that the radius server
can distinguish where to look?

But first is first. Where can I find a C checkpasswd that will perform
radius auth anyway? I've been tinkering with that perl version, but Its not
working for me, and would like a C version mainly due to speed anyway.

Much help would be greatly appreciated, if yer not all confused already =c)

--
Gary Stewart[EMAIL PROTECTED]
Internet Service Specialist
Northern Valley Communications
(888)919-8945 http://www.nvc.net
--



memphis rpm

1999-07-22 Thread Mate Wierdl

Why do you think my server is down?

Please send me any errors you get while accessing my server.
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  



Re: SCO 5.0.5 qmail-1.03 outgoing email problem

1999-07-22 Thread Olivier M.

On Tue, Jun 29, 1999 at 03:10:41PM -0500, [EMAIL PROTECTED] wrote:
> Anyone seen this problem:
> Platform: Sco 5.0.5 qmail 1.03
> Inbound email works, pop works
> Outbound email makes smtp connection but does not deliver the mail.
> We get the same problem on two similarly configured SCO machines.

We also have the same problem with our SCO 5.0.5. May I ask you
if you found a solutionor workaround  in the meantime ?

Thanks in advance,
Olivier Mueller



Re: relaying redundancy

1999-07-22 Thread jwelsh

yeah, but the host im relaying to is a Lotus Notes box.. So I guess theres no
good way to do it? anyone know if sendmail has this capability?





Dave Sill <[EMAIL PROTECTED]> on 07/22/99 09:57:27 AM
  
  
  
 To:  [EMAIL PROTECTED] 
  
 cc:  (bcc: Jason Welsh/QRTP/Quintiles)   
  
  
  
 Subject: Re: relaying redundancy 
  








Ken Jones <[EMAIL PROTECTED]> wrote:
>
>If you were somehow able to route the email thru qmtp to a qmtp
>server, you can specify multiple qmtp servers. If the first connection
>is dead it tries the next line in the file.

I think you're thinking of qmQp, not qmTp. The file is
qmqpservers. See the qmail-qmqpc and qmail-qmqpd man pages.

>From what I read of qmtp, it will not store the email on disk before
>sending to the next machine. It will envoke a network connection
>immediately and try to send it there.

Right a qmqp client doesn't queue messages. If it can't contact one of
the listed servers, the injection fails.

>You might have to setup two qmail queues.

Hm?

-Dave





Re: serialmail/autoTURN not working

1999-07-22 Thread Dave Sill

"Tom Furie" <[EMAIL PROTECTED]> wrote:
>
>qmail alone - passes deliver and receive tests fine.
>
>Add ucspi-tcp, run qmail-smtpd through tcpserver - still passes deliver and
>receive tests.
>
>Add serialmail, follow the instructions in AUTOTURN.
>Section 3 - if I use sh -c..., I cannot connect to port 25 on the mail
>server. Using csh -c, I can connect to port 25.
>
>Send mail to [EMAIL PROTECTED], message goes into
>/var/qmail/autoturn/customers.ip/new
>Run maildirsmtp command to process test.domain queue e.g. maildirsmtp
>1.2.3.4 autoturn-1.2.3.4- 1.2.3.4 AutoTURN, mail is processed and arrives at
>ms.test.domain
>
>Send mail from test.domain using qmail.server as relay, mail arrives at
>destination, but delivery from qmail.server to ms.test.domain is not
>triggered.
>
>rc.local looks like -
>/usr/local/bin/tcpserver -v -u 503 -g 502 0 smtp csh -c '
>/var/qmail/bin/qmail-smtpd
>cd /var/qmail/autoturn
>exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
>/usr/local/bin/maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP-
>$TCPREMOTEIP AutoTURN
>' 2>&1 | /var/qmail/bin/splogger smtpd 3 &
>
>csh -cf '/var/qmail/rc &'
>
>I have tried /var/qmail/rc both before and after the tcpserver command with
>no apparent difference.

Yeah, it doesn't matter.

OK, so basically smtpd works when you connect to port 25, are queueing
up in the maildir, the maildirsmtp command works when you run it
manually, but it doesn't work automatically?

Change your smtpd startup command to something like:

/usr/local/bin/tcpserver -v -u 503 -g 502 0 smtp csh -c '
/var/qmail/bin/qmail-smtpd
cd /var/qmail/autoturn
echo = >>/tmp/autoturnlog
date >>/tmp/autoturnlog
env >>/tmp/autoturnlog
echo "exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
/usr/local/bin/maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP-$TCPREMOTEIP 
AutoTURN" >>/tmp/autoturnlog
exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
/usr/local/bin/maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP-$TCPREMOTEIP AutoTURN
' 2>&1 | /var/qmail/bin/splogger smtpd 3 &

Then connect to port 25 from your client and look at
/tmp/autoturnlog. Make sure the maildirsmtp command is exactly right.

-Dave



Re: relaying redundancy

1999-07-22 Thread Chris Johnson

On Thu, Jul 22, 1999 at 08:48:52AM -0500, Ken Jones wrote:
> [EMAIL PROTECTED] wrote:
> > 
> > I have a qmail server set up such that it's being used as a relay (all incoming
> > mail just gets dumped to whatever is in smtproutes). anyway, sometimes the
> > machine that my qmail box is relaying to goes down or crashes, whatever. Is
> > there a hack to allow qmail to relay somewhere else if that host is down or if
> > the queue builds up to a certain number (which usually also means that the host
> > its trying to relay to is down)?
> > 
> > regards,
> > Jason
> 
> If you were somehow able to route the email thru qmtp to a qmtp
> server, you can specify multiple qmtp servers. If the first connection
> is dead it tries the next line in the file.

That'd be qmqp, not qmtp.

> That would allow you to send to a backup machine.
> 
> Of course all three machines would have to be running qmail.
> And the relay machine would have to use the mini-qmail install.
> 
> From what I read of qmtp, it will not store the email on disk before
> sending to the next machine. It will envoke a network connection
> immediately and try to send it there.

That's true (of qmqp). But Bruce Guenter's nullmailer
(http://em.ca/~bruceg/nullmailer/) allows you to use qmqp and still have
queueing. I don't know much about it, but I think it supports smtp too.

Chris



Re: relaying redundancy

1999-07-22 Thread Dave Sill

Ken Jones <[EMAIL PROTECTED]> wrote:
>
>If you were somehow able to route the email thru qmtp to a qmtp
>server, you can specify multiple qmtp servers. If the first connection
>is dead it tries the next line in the file.

I think you're thinking of qmQp, not qmTp. The file is
qmqpservers. See the qmail-qmqpc and qmail-qmqpd man pages.

>From what I read of qmtp, it will not store the email on disk before
>sending to the next machine. It will envoke a network connection
>immediately and try to send it there.

Right a qmqp client doesn't queue messages. If it can't contact one of 
the listed servers, the injection fails.

>You might have to setup two qmail queues.

Hm?

-Dave



Re: relaying redundancy

1999-07-22 Thread Ken Jones

[EMAIL PROTECTED] wrote:
> 
> I have a qmail server set up such that it's being used as a relay (all incoming
> mail just gets dumped to whatever is in smtproutes). anyway, sometimes the
> machine that my qmail box is relaying to goes down or crashes, whatever. Is
> there a hack to allow qmail to relay somewhere else if that host is down or if
> the queue builds up to a certain number (which usually also means that the host
> its trying to relay to is down)?
> 
> regards,
> Jason

If you were somehow able to route the email thru qmtp to a qmtp
server, you can specify multiple qmtp servers. If the first connection
is dead it tries the next line in the file.

That would allow you to send to a backup machine.

Of course all three machines would have to be running qmail.
And the relay machine would have to use the mini-qmail install.

>From what I read of qmtp, it will not store the email on disk before
sending to the next machine. It will envoke a network connection
immediately and try to send it there.

You might have to setup two qmail queues.

-- 
Ken Jones
mailto:[EMAIL PROTECTED]
http://www.inter7.com/qmailadmin/ - web based qmail adminstration



Re: relaying redundancy

1999-07-22 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> I have a qmail server set up such that it's being used as a relay (all
> incoming mail just gets dumped to whatever is in smtproutes). anyway,
> sometimes the machine that my qmail box is relaying to goes down or
> crashes, whatever. Is there a hack to allow qmail to relay somewhere else
> if that host is down or if the queue builds up to a certain number (which
> usually also means that the host its trying to relay to is down)?

Yes, it's called secondary MX server in DNS configuration :-) Other 
than that, no without serious hacking.

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBN5csUlMwP8g7qbw/EQJ1jwCgiVOEcVYs/mRu3rZatshkrUC7ZMsAmwSw
ojXFwLbk+BCZycn5INsyvnZO
=/s/d
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



relaying redundancy

1999-07-22 Thread jwelsh

I have a qmail server set up such that it's being used as a relay (all incoming
mail just gets dumped to whatever is in smtproutes). anyway, sometimes the
machine that my qmail box is relaying to goes down or crashes, whatever. Is
there a hack to allow qmail to relay somewhere else if that host is down or if
the queue builds up to a certain number (which usually also means that the host
its trying to relay to is down)?

regards,
Jason




RE: qmail problems

1999-07-22 Thread Dave Sill

Todd Backman <[EMAIL PROTECTED]> wrote:
>
>> >machine# ./qmail-qstat
>> >messages in queue: 115248
>> >messages in queue but not yet preprocessed: 549
>> >
>> >when I run 'qmail-send' it just sits there and does not send any of the
>> >files out...
>> 
>> What does qmail-qread say? What does qmail-send log?
>
>I get nothing back at all from them...

qmail-qstat sees messages, but qmail-qread doesn't? Very odd. And
qmail-send isn't logging *anything*? Double odd.

>The startup script is as follows:
>
>#!/bin/sh
>
>. /usr/local/etc/rc.d/fci.conf
>start_only
>
>echo -n 'qmail: '
>
>/usr/local/bin/tcpserver  -R -x/etc/tcp.smtp.cdb -c100 -u81 -g82 0 smtp
>/var/qmail/bin/qmail-smtpd &

That starts the smtp daemon, but it doesn't start qmail. You should
have a qmail-start (or /var/qmail/rc) invocation somewhere.

>when I envoke the script the only thing that starts is:
>
>15238 alias  2   0   792K   476K accept   0:00  0.00%  0.00% tcpserver
>
>I do not see any qmail* related process' start up as stated on you web
>page:
>
>qmail-send running as user qmails 
>qmail-clean running as user qmailq 
>qmail-rspawn running as user qmailr 
>qmail-lspawn running as user root
>
>It does not seem that qmail is being started at all?

Sounds like it to me.

-Dave



Re: qmail for AIX

1999-07-22 Thread Todd at NM Technet

howdy,

yup.  we used it without problems.

todd

On Thu, 22 Jul 1999, Rahmat Ara Bithi wrote:

> Date: Thu, 22 Jul 1999 13:08:52 -0600 (GMT+6)
> From: Rahmat Ara Bithi <[EMAIL PROTECTED]>
> To: Todd at NM Technet <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: qmail for AIX
> 
> 
> Todd,
> 
> That means qmail-1.03.tar.gz, which I got from the
> site www.qmail.org can be used for AIX.
> 
> bithi 
> 
> On 22 Jul 1999, Todd at NM Technet wrote:
> 
> > bithi,
> > 
> > qmail compiles, installs and runs easily on aix (we use it on 4.2.1 and
> > have used it on 4.1.5).
> > 
> > todd underwood
> > [EMAIL PROTECTED]
> > 
> > On Thu, 22 Jul 1999, Rahmat Ara Bithi wrote:
> > 
> > > Date: Thu, 22 Jul 1999 11:27:33 -0600 (GMT+6)
> > > From: Rahmat Ara Bithi <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Subject: qmail for AIX
> > > 
> > > 
> > > Is there any version of qmail for AIX?
> > > 
> > > Bithi
> > > 
> > > 
> > 
> > 
> 
> 



amavis pre6 doen't work with qmail

1999-07-22 Thread Gestore Mailing List


Hi all,
i would ask if someone have already used the pre 6 verion of amavis
with qmail, because i founded some trouble for the delivery , both loacal
and remote, amavis says ABORT no local delivery available! and so on.
Actually i use pre4 with the pacth founded here, but scanning manually it
seems to be the same code inserted into the new pre6.Any info for resolve
this???



thanks



Re: "q" in "qmail" means ?

1999-07-22 Thread Dave Sill

torben fjerdingstad <[EMAIL PROTECTED]> wrote:
>
>Since it's neither a unix command or a user name, it is not
>sensite to case.
>
>Upppercase filenames are often considered abusive, so I suppose
>that's why the distribution spells qmail-1.03.tar.gz.

No, it's "qmail" because that's how Dan wants it. E.g.:

de5@sws5$ cd /usr/local/src/qmail-1.03/
de5@sws5$ grep Qmail *
de5@sws5$ grep qmail *|wc
  3223 15870176030
de5@sws5$ man qmail|head -15



qmail(7) qmail(7)


NAME
   qmail - overview of qmail documentation

INTRODUCTION
   qmail  is  a  secure,  reliable, efficient, simple message
   transfer agent.

   Users who want to control incoming  messages  should  read
   dot-qmail(5).   Available  commands  for  the  .qmail file



>From ftp://koobera.math.uic.edu/www/qmail.html:

  What is it?
  
  qmail is a secure, reliable, efficient, simple message transfer
  agent. It is meant as a replacement for the entire sendmail-binmail
  system on typical Internet-connected UNIX hosts.



Even when it's the first word of a sentence, Dan uses "qmail", not
"Qmail".

I'm not anal-retentive, I'm just trying to set the record straight. If
you can find a single instance where DJB wrote "Qmail", I'll shut up
about it.

qmail is the e.e.cummings of MTA's.

-Dave



Re: ETRN

1999-07-22 Thread Anand Buddhdev

On Thu, Jul 22, 1999 at 01:10:54PM +0200, Andrzej Kukula wrote:

> Lukas Futera wrote:
> > 
> > Is there any patch to qmail that implements ETRN command in qmail 1.03 ?
> 
> It is. Alan Curry has supplied the patch. It is available for download
> from qmail home page at http://www.qmail.org. You should check out
> www.qmail.org and mailing list archives before posting this VFAQ.

A better solution in my opinion is AutoTURN, as implemented in the
serialmail package. This doesn't require you to patch qmail, and works
better, especially if you're an ISP and your concurrency tends to
saturate often.

-- 
See complete headers for more info



Re: ETRN

1999-07-22 Thread Andrzej Kukula


Lukas Futera wrote:
> 
> Is there any patch to qmail that implements ETRN command in qmail 1.03 ?

It is. Alan Curry has supplied the patch. It is available for download
from qmail home page at http://www.qmail.org. You should check out
www.qmail.org and mailing list archives before posting this VFAQ.

Andrzej



ETRN

1999-07-22 Thread Lukas Futera

Is there any patch to qmail that implements ETRN command in qmail 1.03 ? 


--
Lukas Futera >> HOSTING.CZ ([EMAIL PROTECTED]) |http://www.hosting.cz|



qmail Digest 22 Jul 1999 10:00:01 -0000 Issue 705

1999-07-22 Thread qmail-digest-help


qmail Digest 22 Jul 1999 10:00:01 - Issue 705

Topics (messages 28009 through 28061):

Qmail, virtual domains, assign and .qmail files...
28009 by: "Stephen Casey" <[EMAIL PROTECTED]>
28013 by: Dave Sill <[EMAIL PROTECTED]>
28015 by: "Stephen Casey" <[EMAIL PROTECTED]>
28016 by: "Timothy L. Mayo" <[EMAIL PROTECTED]>
28027 by: "Stephen Casey" <[EMAIL PROTECTED]>

qmail problems
28010 by: "Tim Hunter" <[EMAIL PROTECTED]>
28011 by: Dave Sill <[EMAIL PROTECTED]>
28014 by: [EMAIL PROTECTED] (Lorens Kockum)
28045 by: Todd Backman <[EMAIL PROTECTED]>
28046 by: "Sam" <[EMAIL PROTECTED]>
28047 by: Todd Backman <[EMAIL PROTECTED]>
28048 by: Vince Vielhaber <[EMAIL PROTECTED]>
28049 by: "Sam" <[EMAIL PROTECTED]>
28054 by: Todd Backman <[EMAIL PROTECTED]>
28061 by: [EMAIL PROTECTED] (Lorens Kockum)

Return-Path
28012 by: "Fred Lindberg" <[EMAIL PROTECTED]>

New vchkpw 3.4.3 and 3.4.4beta available
28017 by: Ken Jones <[EMAIL PROTECTED]>

Disabling lines in assign
28018 by: Victor Tavares <[EMAIL PROTECTED]>
28019 by: Robbie Walker <[EMAIL PROTECTED]>
28020 by: "Timothy L. Mayo" <[EMAIL PROTECTED]>

"q" in "qmail" means ?
28021 by: Dave Kitabjian <[EMAIL PROTECTED]>
28022 by: Russell Nelson <[EMAIL PROTECTED]>
28023 by: Dave Sill <[EMAIL PROTECTED]>
28026 by: Ken Jones <[EMAIL PROTECTED]>
28030 by: "Alex Miller" <[EMAIL PROTECTED]>
28060 by: torben fjerdingstad <[EMAIL PROTECTED]>

something just ain't right.
28024 by: <[EMAIL PROTECTED]>
28025 by: Dave Sill <[EMAIL PROTECTED]>
28032 by: <[EMAIL PROTECTED]>
28038 by: <[EMAIL PROTECTED]>

Can qmail work withuot MX RR?
28028 by: "Alvaro Escobar" <[EMAIL PROTECTED]>
28031 by: "Petr Novotny" <[EMAIL PROTECTED]>
28033 by: "Alex Miller" <[EMAIL PROTECTED]>
28058 by: "Petr Novotny" <[EMAIL PROTECTED]>

serialmail/autoTURN not working
28029 by: "Tom Furie" <[EMAIL PROTECTED]>

MIME and PGP
28034 by: Juan Carlos Castro y Castro <[EMAIL PROTECTED]>
28037 by: Bruno Wolff III <[EMAIL PROTECTED]>
28040 by: Juan Carlos Castro y Castro <[EMAIL PROTECTED]>
28041 by: Bruno Wolff III <[EMAIL PROTECTED]>
28044 by: Robbie Walker <[EMAIL PROTECTED]>

Vanishing messages.
28035 by: Doug McClure <[EMAIL PROTECTED]>
28042 by: "Sam" <[EMAIL PROTECTED]>

smtp routing
28036 by: "Pieckiel, Kevin A" <[EMAIL PROTECTED]>

anyone have a copy of the memphis rpm's?
28039 by: <[EMAIL PROTECTED]>

smtproutes - possible without DNS ?
28043 by: "Olivier M." <[EMAIL PROTECTED]>

Bug in qmail-pop3d.c
28050 by: Aaron Nabil <[EMAIL PROTECTED]>
28051 by: Stefan Paletta <[EMAIL PROTECTED]>
28053 by: Aaron Nabil <[EMAIL PROTECTED]>

bug (?) in qmail-pop3d-1.03.diff
28052 by: Aaron Nabil <[EMAIL PROTECTED]>

qmail for AIX
28055 by: Rahmat Ara Bithi <[EMAIL PROTECTED]>
28057 by: Todd at NM Technet <[EMAIL PROTECTED]>
28059 by: Rahmat Ara Bithi <[EMAIL PROTECTED]>

Automated message
28056 by: Rahmat Ara Bithi <[EMAIL PROTECTED]>

Administrivia:

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

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

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

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


--



Regards,
I am having terrible trouble getting qmail to
work for virtual domains. I have followed the advice
from one of the links on qmail.org, and used the
users/assign file to break up my site into domains.

This method seems fine for delivering to the
directories, however, when it gets there, I can't seem
to use a .qmail file to cause forwarding, or Maildir
formats..

Any idea what I could be doing wrong?  Some
notes:

* the entire directory tree for delivery is owned
by the correct user/group.  It is chmod 700,
except for the .qmail files which are 600.

* I am not sure what the difference between .qmail-user,
.qmail-default and .qmail is?

Anyone see any obvious gotchas?

Cheers,

-- Steve Casey  | A cynic is a person who insists
| on seeing things as
URL: http://www.kallisti.co.uk  | they are, not as they
E-Mail: [EMAIL PROTECTED]   | ought to be.




"Stephen Casey" <[EMAIL PROTECTED]> wrote:
>
>   I am having terrible trouble getting qmail to
>work for virtual domains. I have followed the advice
>from one of the links on qmail.org, and used the
>users/assign file to break up my site into domains.

What exactly did you put in users/assign?

>   This method seems fine for delivering to the
>directories

Re: qmail problems

1999-07-22 Thread Lorens Kockum

On the qmail list [EMAIL PROTECTED] wrote:
>On 21 Jul 1999, Lorens Kockum wrote:
>> On the qmail list [EMAIL PROTECTED] wrote:
>> >What are the functions of the 'todo' and 'intd' directories? There are
>> >tons of msgs in them and qmail does not seem to be processing them. I have
>> >moved the files out of the directory (backed them up) and moved a small
>> >amt. of them back in to see if the dirs. were just overloaded, restarted
>> 
>> Off the cuff, won't that moving around create problems with the
>> inode->filename mapping?

As Sam says, as long as it's mv and not cp or tar, you're OK.

>elvis# ls -la /var/qmail/queue/lock/
>total 3
>drwxr-x---   2 qmailq  qmail   512 Jul 20 16:17 .
>drwxr-x---  13 qmailq  qmail   512 Jul 20 16:17 ..
>-rw---   1 qmails  qmail 0 Jul 17 02:54 sendmutex
>-rw-r--r--   1 qmailr  qmail  1024 Jul 20 16:17 tcpto
>prw--w--w-   1 qmails  qmail 0 Jul 20 16:17 trigger

Hmph.  I have

drwxr-x---   2 qmailq   qmail1024 Mar  9  1998 ./
drwxr-x---  11 qmailq   qmail1024 Feb  6  1998 ../
-rw---   1 qmails   qmail   0 Mar 19  1998 sendmutex
-rw-r--r--   1 qmailr   qmail1024 Jul 13 11:03 tcpto
prw--w--w-   1 qmails   qmail   0 Jul 22 11:28 trigger|

Trigger last modified last time it was triggered, but yours is
last modified when the dir was created.

Certainly seems that qmail is not started, whatever the reason.



Re: "q" in "qmail" means ?

1999-07-22 Thread torben fjerdingstad

On Wed, Jul 21, 1999 at 11:55:43AM -0400, Dave Kitabjian wrote:
> 
> What does the "q" in "qmail" mean?

I vote for "quiet". It does it's job quietly, just like UNIX.

> If LWQ insists that the official name is "qmail", not "Qmail", why does the 
> logo start with "Q" on http://www.qmail.org/top.html?

Since it's neither a unix command or a user name, it is not
sensite to case.

Upppercase filenames are often considered abusive, so I suppose
that's why the distribution spells qmail-1.03.tar.gz.

-- 
Med venlig hilsen / Regards 
Netdriftgruppen / Network Management Group
UNI-C  

Tlf./Phone   +45 35 87 89 41Mail:  UNI-C
Fax. +45 35 87 89 90   Bygning 304
E-mail: [EMAIL PROTECTED]   DK-2800 Lyngby