Regarding catchall

2001-01-23 Thread kamesh

Hi ,
 I have Installed Qmail On RH 6.2 with Vpopmail 
4.8.5 in Maidir format. Also Courier Imap 0.36 is 
installed and it working fine.

Now we have the following requirement.

Any mails sent to invalid or nonexistent user 
should go to a catchall mailbox instead of 
bouncing back.

  How to do it for Maildir?

I tried using .qmail-default with

| /home/vpopmail/bin/vdelivermail \'\'
 /home/vpopmail/domains/foo.com/user


But its not working. 

Can u help me in fixing this.

Regards,
kamesh

-
This mail sent through  http://www.sify.com



How ?

2001-01-23 Thread Dennis

How do you guys support Outlook's Calendar for your windows users ?

Dennis



Re: How ?

2001-01-23 Thread Robin S. Socha

* Dennis [EMAIL PROTECTED] [010123 04:01]:
 How do you guys support Outlook's Calendar for your windows users ?

In a couple of ways. Usually, rebooting helps. If not, the other
three R-Principles(tm) of Mircosoft Support Wankers Inc. apply:

* Restart
* Reinstall
* Reformat

If by any chance you are instead looking for native calendar support for
Outofluck, try this: http://www.openmail.com/ - no it's not qmail. Other
tools are available at: http://freshmeat.net/search/?q=outlook as per
usual.



Patches

2001-01-23 Thread Sumith Ail



Dear AllWe are planning to install Qmail on 
a production server which will have around 500+ virtual domains. I am aware 
that some patches need to beapplied to qmail before it can be used on a 
production server.Can someone please let me know on what are the 
necessary patches to be applied. I am using the latest memphis RPM's of 
Qmail, daemontools and ucspi-tcp package. So I would like to know on which 
are the most required patches to these RPM'sThanks in 
advance.RegardsSumith


Re: 502 unimplemented

2001-01-23 Thread Stef Hoesli Wiederwald

 helo sos.ethz.ch
 250 QMAIL HOST
 mail from:[EMAIL PROTECTED]
 250 ok
 rcpt to:QMAIL ADDRESS
 250 ok
 502 unimplemented (#5.5.1)

After that I said:
quit
and got a 
451 timeout (#4.4.2)
some minutes later...

Stef
-- 
IT freelancer
President SOS-ETH 
ETH Zurich
[EMAIL PROTECTED]http://hoes.li



Re: Rewriting Headers

2001-01-23 Thread Alex Kramarov








  I have already asked this question here twice without a definitive 
  answer. I ended up applying the qmail-queue patch and using qmail-scanner 
  to do what I needed with incoming e-mail. I have disabled most of the 
  scanning features of qmail-scanner and put a few :
  
   if (/^header-name/i) 
  { 
  $_=~s/old-header/newheader/i; }
  
  in the working_copy function , where is reads stdin.
  
  you can find all related info on qmail-scanner and qmail-queue patch 
  on www.qmail.org
  
  ---Original Message---
  
  
  From: 
  [EMAIL PROTECTED]
  Date: Monday, January 22, 
  2001 10:29:12 PM
  To: [EMAIL PROTECTED]
  Subject: Rewriting 
  Headers
  How qmail can rewrite _any_ header of outgoing mail? Is 
  there some rulessystem to do this?thanksDavid 
  Gómez"The question of whether computers can think is just like the 
  question ofwhether submarines can swim." -- Edsger W. 
  Dijkstra








__IncrediMail - Email has finally 
evolved - Click 
Here

qmail-popup process not starting successfully at boot

2001-01-23 Thread Keith Edwards

Still trying with this one - but maybe it's obvious to someone .

When our SUN box  reboots pop3d does not start.
The when you check mail you get
"An error occurred while sending your username to the mail server
..."

All other qmail services appear to start - and when you re-run
/etc/init.d/qmaild stop/start
qmail-popup starts OK.

I think that this is an environment/path problem 

In /nohup.out is the line
'env: No such file or directory'
caused by the 'nohup /var/qmail/start-pop3d' command.

Any pointers as to the possible cause of this problem would be
appreciated.

Many thanks

The following 4 diagnostics represent two outputs of ps -ef
and the two files that 'do the work'.
=
1).
Here are the processes running after reboot:
i.e no qmail-popup process

ps -ef|grep qmail

qmails   179 1  0 08:36:06 ?0:00 qmail-send
 root   187 1  0 08:36:07 ?0:00 /usr/local/bin/supervise
/var/lock/qmail-smtpd /usr/local/bin/tcpserver -v -x/v
qmaill   188 1  0 08:36:07 ?0:00 accustamp
qmaill   189 1  0 08:36:07 ?0:00 cyclog -s50
/var/log/qmail/qmail-smtpd
qmaill   181   179  0 08:36:06 ?0:00 splogger qmail
root   182   179  0 08:36:06 ?0:00 qmail-lspawn ./Mailbox
qmailr   183   179  0 08:36:06 ?0:00 qmail-rspawn
qmailq   184   179  0 08:36:06 ?0:00 qmail-clean
qmaild   191   187  0 08:36:07 ?0:00 /usr/local/bin/tcpserver -v
-x/var/qmail/etc/tcprules.cdb -uNNN -gNNN 0 25 csh

=
2).
Here are the process running after re-starting qmal

ps -ef|grep qmail

qmaill   344 1  0 08:41:10 pts/00:00 cyclog -s50
/var/log/qmail/qmail-smtpd
vpopmail   347 1  0 08:41:13 pts/00:00 tcpserver -uNNN -gNNN 0
pop-3 /var/qmail/bin/qmail-popup my.mailserver.com /hom
root   339 1  0 08:41:10 pts/00:00 /usr/local/bin/supervise
/var/lock/qmail-smtpd /usr/local/bin/tcpserver -v -x/v
qmailq   343   335  0 08:41:10 pts/00:00 qmail-clean
qmaill   342 1  0 08:41:10 pts/00:00 accustamp
qmailr   341   335  0 08:41:10 pts/00:00 qmail-rspawn
qmaild   340   339  0 08:41:10 pts/00:00 /usr/local/bin/tcpserver -v
-x/var/qmail/etc/tcprules.cdb -u110 -g103 0 25 csh
root   338   335  0 08:41:10 pts/00:00 qmail-lspawn ./Mailbox
qmaill   336   335  0 08:41:10 pts/00:00 splogger qmail
qmails   335 1  0 08:41:10 pts/00:00 qmail-send


=
3).

#!/bin/sh
#
# /etc/init.d/qmaild
# START BIT ONLY OF  Script for starting and stopping mail service
#
PATH=$PATH:/usr/local/bin:/var/qmail/bin
USERID=NNN
GROUPID=NNN

case "$1" in

'start')
echo "Starting qmail local delivery agent..."
nohup /var/qmail/start-qmaild /dev/null 21
echo "Starting qmail SMTP daemon..."
nohup /var/qmail/start-smtpd /dev/null 21
echo "Starting qmail POP3 daemon..."
nohup /var/qmail/start-pop3d
echo "Starting qmail IMAP4 daemon..."
nohup /var/qmail/start-imapd /dev/null 21
sleep 2
echo "Mail Server started."
;;

=
4).
Here is the script that is called

#!/bin/sh
#
#  /var/qmail/start-pop3d
# Startup script for pop3d using tcpserver and vchkpw
#

exec env - PATH="/var/qmail/bin:/usr/local/bin:$PATH" \
tcpserver -uNNN -gNNN 0 pop-3 /var/qmail/bin/qmail-popup \
my.mailserver.com /home/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d Maildir 

=




qmail Digest 23 Jan 2001 11:00:00 -0000 Issue 1253

2001-01-23 Thread qmail-digest-help


qmail Digest 23 Jan 2001 11:00:00 - Issue 1253

Topics (messages 55720 through 55785):

Re: failure notice
55720 by: M. Yu
55721 by: Henning Brauer

Re: bandwidth monitoring/analysis
55722 by: Michael Maier

QMail DOS
55723 by: Andy Abshagen
55725 by: Greg Cope
55727 by: Dave Sill
55728 by: Michael Maier
55730 by: Dave Sill
55732 by: Andy Abshagen
55733 by: Dave Sill
55757 by: Andrew Richards
55762 by: Markus Stumpf
55765 by: Dave Sill
55766 by: Jose AP Celestino
55767 by: Mark Delany
55768 by: Markus Stumpf
55771 by: Chin Fang
55774 by: Russell Nelson
55775 by: Dan Peterson

Re: mail loop problem
55724 by: Chris Johnson
55735 by: Charles Boening

Re: Problem
55726 by: Chris Johnson

Re: POP Toaster
55729 by: Dave Sill
55759 by: Sean Reifschneider

Re: qlogtools compile - error
55731 by: Bruce Guenter

502 unimplemented
55734 by: Stef Hoesli Wiederwald
55764 by: Markus Stumpf
55780 by: Stef Hoesli Wiederwald
55782 by: Stef Hoesli Wiederwald

listening of defined IPs only
55736 by: Mailing List Address
55737 by: Johan Almqvist
55740 by: Mailing List Address
55751 by: Henning Brauer

RFC822
55738 by: Marcio Sa
55739 by: Timo Geusch
55741 by: Marcio Sa
55742 by: Timo Geusch
55744 by: Alex Pennace
55745 by: Marcio Sa
55749 by: Johan Almqvist
55750 by: Henning Brauer
55760 by: Marcio Sa

slow connection init
55743 by: Steve Woolley
55755 by: Tim Hunter
55756 by: Steve Woolley
55758 by: Andrew Richards

tcp.smtp
55746 by: Joanne Pons
55748 by: Chris Johnson
55752 by: Greg Cope
55753 by: Henning Brauer

Load Balancing
55747 by: Federico Edelman Anaya
55754 by: Henning Brauer

Rewriting Headers
55761 by: huma.roku.redroom.com
55783 by: Alex Kramarov
55784 by: OK 2 NET - André Paulsberg

Re: Pine/qmail/sqwebmail
55763 by: Robin S. Socha

Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or 127.0.0.1)
55769 by: Scott Gifford
55770 by: Keary Suska
55773 by: Scott Gifford

Delivering to Courier imap userdb maildirs
55772 by: Chris

Regarding catchall
55776 by: kamesh

How ?
55777 by: Dennis
55778 by: Robin S. Socha

Patches
55779 by: Sumith Ail

Special Routing setup
55781 by: Lieven Van Acker

qmail-popup process not starting successfully at boot
55785 by: Keith Edwards

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]


--




 qmail-start ./Maildir splogger qmail

Isn't this supposed to be ./Maildir/ (a slash after Maildir)?





On Mon, Jan 22, 2001 at 10:13:16AM +0800, Ah Sang wrote:
 qmail-start ./Maildir splogger qmail
   ^
   you missed the / here.

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




 OK Thanks but i haven't two ip on my server !

Give it an internal IP, and let it map with your Firewall =)
--
Ciao, Michael..







We are in the midst of a security audit performed 
by Ernst  Young. They are claiming something about a DOS 
situation. What I need to find out is whether there are any known DOS 
situations out there. If so what needs to be done to take care of the 
problem.

Thanks

Andy



 Andy Abshagen wrote:
 
 We are in the midst of a security audit performed by Ernst  Young.
 They are claiming something about a DOS situation.  What I need to
 find out is whether there are any known DOS situations out there.  If
 so what needs to be done to take care of the problem.
 
 Thanks
 
 Andy

Did they give any concrete evidence ?

Greg




"Andy Abshagen" [EMAIL PROTECTED] wrote:

We are in the midst of a security audit performed by Ernst  Young.
They are claiming something about a DOS situation.  What I need to
find out is whether there are any known DOS situations out there.  If
so what needs to be done to take care of the problem.

If you're not running qmail-smtpd under some kind of memory limit
(e.g., via ulimit or softlimit) it can be made to consume all
available memory. The "Life with qmail" installation uses
softlimit. See also:

  http://cr.yp.to/docs/resources.html

For more background.

-Dave




 We are in the midst of a security audit performed by Ernst  Young.
 They are claiming something about a DOS situation.  What I need to
 find out is 

what does this mean?

2001-01-23 Thread em`s

Jan 23 19:03:30 server qmail: 980247810.020311 status: local 1/10 remote
0/20
Jan 23 19:03:30 server qmail: 980247810.032344 delivery 29: deferral:
Unable_to_find_alias_user!/
Jan 23 19:03:30 server qmail: 980247810.032445 status: local 0/10 remote
0/20

what does Unable_to_find_alias_user!/ means??
what can i do to fix this??

thanks//







 e m ` s ([EMAIL PROTECTED])
  U r l : http://ems.ath.cx




Re: what does this mean?

2001-01-23 Thread Alex Pennace

On Tue, Jan 23, 2001 at 07:05:05PM +0800, em`s wrote:
 Jan 23 19:03:30 server qmail: 980247810.020311 status: local 1/10 remote
 0/20
 Jan 23 19:03:30 server qmail: 980247810.032344 delivery 29: deferral:
 Unable_to_find_alias_user!/
 Jan 23 19:03:30 server qmail: 980247810.032445 status: local 0/10 remote
 0/20
 
 what does Unable_to_find_alias_user!/ means??

You haven't properly installed qmail.

 what can i do to fix this??

Properly install qmail.

Also, "server" is a poor choice for a host name. See
http://www.rfc-editor.org/rfc/rfc1178.txt.



Re: Patches

2001-01-23 Thread Markus Stumpf

On Tue, Jan 23, 2001 at 02:45:39PM +0530, Sumith Ail wrote:
 We are planning to install Qmail on a production server which will have 
 around 500+ virtual domains. I am aware that some patches need to be
 applied to qmail before it can be used on a production server.

This is wrong.

 Can someone please let me know on what are the necessary patches to be 
 applied. I am using the latest memphis RPM's of Qmail, daemontools and 
 ucspi-tcp package. So I would like to know on which are the most 
 required patches to these RPM's

You don't need any patches.
If you like modifications of some sort see
http://www.qmail.org/
and pick what you like.

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



Re: 502 unimplemented

2001-01-23 Thread Markus Stumpf

On Tue, Jan 23, 2001 at 10:56:29AM +0100, Stef Hoesli Wiederwald wrote:
 After that I said:
 quit
 and got a 
 451 timeout (#4.4.2)
 some minutes later...

First I thought it is your keyboard, now I tend to think it's either
your telnet of your terminal device driver thats broken. Or maybe it's
the TCP/IP Stack on that machine?

How is qmail started on that host, what do the logfiles say, what
version of qmail are you using, did you apply any modifications, what
OS is the machine running, ...

As long as you're hiding information we cannot even test the qmail
smtpd server.  If you want help, provide information.

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



spell check

2001-01-23 Thread Rohit Gupta



Any spel check modules which can be incorporated in 
web based email system using qmail...


Re: Patches

2001-01-23 Thread Sumith Ail

Hi
You mean that the memphis RPM's without any patches are fine to be run on
production servers.

Regards
-Sumith
- Original Message -
From: Markus Stumpf [EMAIL PROTECTED]
To: Sumith Ail [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 23, 2001 4:58 PM
Subject: Re: Patches


 On Tue, Jan 23, 2001 at 02:45:39PM +0530, Sumith Ail wrote:
  We are planning to install Qmail on a production server which will have
  around 500+ virtual domains. I am aware that some patches need to be
  applied to qmail before it can be used on a production server.

 This is wrong.

  Can someone please let me know on what are the necessary patches to be
  applied. I am using the latest memphis RPM's of Qmail, daemontools and
  ucspi-tcp package. So I would like to know on which are the most
  required patches to these RPM's

 You don't need any patches.
 If you like modifications of some sort see
 http://www.qmail.org/
 and pick what you like.

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





Re: 502 unimplemented

2001-01-23 Thread Uwe Ohse

On Mon, Jan 22, 2001 at 05:20:56PM +0100, Stef Hoesli Wiederwald wrote:
 We use qmail on one of our systems (How do I find out what version it
 is? Did not install it myself...).

Version:
1.03  has /var/qmail/bin/bouncesaying
1.02  qmail-send logs "status:" lines.
1.01  supports control/recipientmap. grep qmail-send for it.
  No other version has that.
everything else means 1.00 or an even older release.

Regards, Uwe



Maildir in /etc/skel ?

2001-01-23 Thread Pupeno

Is it posible to create Maildir in /etc/skel/ (maildirmake /etc/skel/Maildir) 
so whenever I add a user it is added with its Maildir ? (I'm working with 
OpenBSD 2.7).
-- 
Pupeno: [EMAIL PROTECTED]  www.pupeno.com.ar




Re: slow connection init

2001-01-23 Thread Steve Woolley

I added both the -R and -H options and the initial connection
lag does not seem to have reoccurred. I will be trying the
-R and the -H individually to isolate the problem.
However, later in your note, you mentioned identd. I have
removed this service from my exposed email and web servers
because I heard they were security holes. I also thought identd
was only for other hosts trying to id processes on my box and
thus figured it was not needed. Could this be the problem?

Steve

- Original Message - 
From: "Andrew Richards" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; "'Steve Woolley'" [EMAIL PROTECTED]
Sent: Monday, January 22, 2001 2:35 PM
Subject: RE: slow connection init


 flys (very fast). After aprox one day, any 
 connection into this server (sshd, telnet , pop,
 smtp, etc) takes a while to initiate. Sometimes
 more than 60 seconds -- which of course times out
 most POP connections. Once connected, everything seems to
 act normal (connections initiated quickly).
 
 Steve,
 
 Also take a look at the -R, -H and -l options to tcpserver - these
 relate to DNS and identd lookups - try using all three (see the
 man page) and see if the behaviour of the box changes. If so,
 investigate why - then either leave these options in, or address
 the issues these options work around.
 
 cheers,
 
 Andrew.
 
 




Re: Maildir in /etc/skel ?

2001-01-23 Thread Mark Delany

On Wed, Jan 24, 2001 at 10:48:45AM +, Pupeno wrote:
 Is it posible to create Maildir in /etc/skel/ (maildirmake /etc/skel/Maildir) 
 so whenever I add a user it is added with its Maildir ? (I'm working with 
 OpenBSD 2.7).

Yes. (But it's an OS question you're asking, not a qmail question).


Regards.



Secondary MX

2001-01-23 Thread Travis Leuthauser

Does qmail use the default queuelife and backoff algorithm for delivering
mail to a primary MX when it is acting as secondary? Or does it do something
special?

Thanks,

Travis Leuthauser
Technical Support
Broadband IP




Re: slow connection init

2001-01-23 Thread Mark Delany

On Tue, Jan 23, 2001 at 09:05:10AM -0500, Steve Woolley wrote:
 I added both the -R and -H options and the initial connection
 lag does not seem to have reoccurred. I will be trying the
 -R and the -H individually to isolate the problem.
 However, later in your note, you mentioned identd. I have
 removed this service from my exposed email and web servers
 because I heard they were security holes. I also thought identd
 was only for other hosts trying to id processes on my box and
 thus figured it was not needed. Could this be the problem?

No. This is how it works:

Scenario 1: When your system establishes an SMTP session with a remote
system, the remote system may try and contact an ident server on your
system.

Scenario 2: When a remote system establishes an SMTP session with your
system, your tcpserver will try and contact the ident server on the
remote system. If the remote system is not running an ident server,
tcpserver has to wait for the timeout before proceeding. This is what
was happening to you.

By using the -R option on your tcpserver, you stop it trying to
contact the remote ident server.

You do not need to run an ident server, and indeed many people
don't. The impact applies to Scenario 1. Remote systems will be trying
to contact your ident server when you send mail out. Because you are
not running an ident server, they will timeout on that connection
prior to proceeding with the SMTP transaction. This is no big deal,
but it does add delay to some of your outgoing emails.


Regards.


 
 Steve
 
 - Original Message - 
 From: "Andrew Richards" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; "'Steve Woolley'" [EMAIL PROTECTED]
 Sent: Monday, January 22, 2001 2:35 PM
 Subject: RE: slow connection init
 
 
  flys (very fast). After aprox one day, any 
  connection into this server (sshd, telnet , pop,
  smtp, etc) takes a while to initiate. Sometimes
  more than 60 seconds -- which of course times out
  most POP connections. Once connected, everything seems to
  act normal (connections initiated quickly).
  
  Steve,
  
  Also take a look at the -R, -H and -l options to tcpserver - these
  relate to DNS and identd lookups - try using all three (see the
  man page) and see if the behaviour of the box changes. If so,
  investigate why - then either leave these options in, or address
  the issues these options work around.
  
  cheers,
  
  Andrew.
  
  
 



RE: Secondary MX

2001-01-23 Thread Greg Owen

 Does qmail use the default queuelife and backoff algorithm 
 for delivering mail to a primary MX when it is acting as
 secondary? Or does it do something special?

It uses the default queuelifetime and backoff.

Note that having a concurrencyremote higher than the primary MX is
willing to handle can result in undue delays, because it'll start backing
off when the Primary says "No more!".  If concurrencyremote is less than the
Primary will stop at, then it will run smoother.

-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]
  SoftLock.com is now DigitalGoods!
 



Re: Secondary MX

2001-01-23 Thread Mark Delany

On Tue, Jan 23, 2001 at 08:20:01AM -0600, Travis Leuthauser wrote:
 Does qmail use the default queuelife and backoff algorithm for delivering
 mail to a primary MX when it is acting as secondary? Or does it do something
 special?

All remote mail is treated the same. In fact qmail doesn't really know
of the distinction you are making. It's simple a remote mail in the
queue that needs to be delivered.

If you want to make a distinction, you'll need to set up a separate
instance of qmail with a different queuelifetime parameter. There is
no mechanism to change the retry algorithm.


Regards.



Re: Secondary MX

2001-01-23 Thread Chris Johnson

On Tue, Jan 23, 2001 at 08:20:01AM -0600, Travis Leuthauser wrote:
 Does qmail use the default queuelife and backoff algorithm for delivering
 mail to a primary MX when it is acting as secondary? Or does it do something
 special?

It doesn't do anything special. It doesn't know it's a secodary MX; it just
knows it has a message it needs to deliver to a remote host, just like any
other message it needs to deliver to a remote host.

Chris



Re: qmail-popup process not starting successfully at boot

2001-01-23 Thread Charles Cazabon

Keith Edwards [EMAIL PROTECTED] wrote:
 
 When our SUN box  reboots pop3d does not start.
[...] 
 In /nohup.out is the line
 'env: No such file or directory'
 caused by the 'nohup /var/qmail/start-pop3d' command.
[...] 
 =
 4).
 Here is the script that is called
 
 #!/bin/sh
 #
 #  /var/qmail/start-pop3d
 # Startup script for pop3d using tcpserver and vchkpw
 #
 
 exec env - PATH="/var/qmail/bin:/usr/local/bin:$PATH" \
 tcpserver -uNNN -gNNN 0 pop-3 /var/qmail/bin/qmail-popup \
 my.mailserver.com /home/vpopmail/bin/vchkpw \
 /var/qmail/bin/qmail-pop3d Maildir 

Change the start of that script to "exec /usr/bin/env - PATH=..." or
whatever the proper path is for you.  That's what the error above means.

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: 502 unimplemented

2001-01-23 Thread Justin Bell

On Tue, Jan 23, 2001 at 10:49:33AM +0100, Stef Hoesli Wiederwald wrote:
# sos:~ telnet QMAIL HOST 25
# Trying QMAIL HOST IP...

You must have a much better version of telnet than I

Here is what I get
telnet QMAIL HOST IP
Usage: telnet [-8] [-E] [-L] [-S tos] [-a] [-c] [-d] [-e char] [-l user]
[-n tracefile] [-b hostalias ][-r] [host-name [port]]
-- 
Justin Bell



Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or 127.0.0.1)

2001-01-23 Thread Matt Brown

Scott Gifford [EMAIL PROTECTED] writes:

 Keary Suska [EMAIL PROTECTED] writes:
 
  This would definitely be a bug of concern--even sendmail (yoiks!) knows how
  to handle 0.0.0.0. But shouldn't qmail bounce the message as a possible MX
  loop?
 
   It should, but does not.  Putting it into ipme would cause it to.

This has been a feature of recent spam, which is probably why it's now
an issue.  Several spam senders are now having sender addresses of
spammer@spamdomain, where spamdomain resolves via DNS to
'0.0.0.0'.

Eventually qmail rejects the message because it recognises that it's
looped around too much, of course.

-Matt

-- 
| Matthew J. Brown - Senior Network Administrator - NBCi Shopping |
| 1983 W. 190th St, Suite 100, Torrance CA 90504  |
|  Phone: (310) 538-7122|  Work: [EMAIL PROTECTED]  |
|   Cell: (714) 457-1854|  Personal: [EMAIL PROTECTED]   |




Re: slow connection init

2001-01-23 Thread Henning Brauer

On Tue, Jan 23, 2001 at 02:22:24PM +, Mark Delany wrote:
 You do not need to run an ident server, and indeed many people
 don't. The impact applies to Scenario 1. Remote systems will be trying
 to contact your ident server when you send mail out. Because you are
 not running an ident server, they will timeout on that connection
 prior to proceeding with the SMTP transaction. This is no big deal,
 but it does add delay to some of your outgoing emails.

This could easily avoided in your firewall: for every incoming ident-lookup
reset the connection immediately.
In ipfilter this would be something like:
block return-rst in quick on [interface] from any to any port=ident

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



Re: slow connection init

2001-01-23 Thread Mark Delany

On Tue, Jan 23, 2001 at 04:05:38PM +0100, Henning Brauer wrote:
 On Tue, Jan 23, 2001 at 02:22:24PM +, Mark Delany wrote:
  You do not need to run an ident server, and indeed many people
  don't. The impact applies to Scenario 1. Remote systems will be trying
  to contact your ident server when you send mail out. Because you are
  not running an ident server, they will timeout on that connection
  prior to proceeding with the SMTP transaction. This is no big deal,
  but it does add delay to some of your outgoing emails.
 
 This could easily avoided in your firewall: for every incoming ident-lookup
 reset the connection immediately.
 In ipfilter this would be something like:
 block return-rst in quick on [interface] from any to any port=ident

Or more simply have a tcpserver process listen on the ident port and
run "/bin/true" for each connection.

tcpserver -HRl0 0 113 /bin/true


Regards.



Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or 127.0.0.1)

2001-01-23 Thread Dave Sill

Matt Brown [EMAIL PROTECTED] wrote:

This has been a feature of recent spam, which is probably why it's now
an issue.  Several spam senders are now having sender addresses of
spammer@spamdomain, where spamdomain resolves via DNS to
'0.0.0.0'.

Eventually qmail rejects the message because it recognises that it's
looped around too much, of course.

Here's a possible fix. In control/virtualdomains:

  [0.0.0.0]:alias-devnull

And in ~alias/.qmail-devnull-default

  #

Which should throw away all mail to MX's resolving to 0.0.0.0.

-Dave



Delete bad messages in queue

2001-01-23 Thread Alex Kramarov








  Hello. I got a small problem i hope you can help me.
  
  A couple of days ago I have recompiled qmail with some patch/third 
  party enchancement/whatever_yuo_want_to_call_it, and the morning after I 
  saw alot of qmail-smtpd and qmail-queue processes running for 2,3,4 hours. 
  I thought that the patch did this, killed all of these processes and kept 
  on, thinking of reverting to prevous configuration in the evening. during 
  the day I have discovered, that I was getting alot of these processed, but 
  only when a certain server was trying to connect to me. I have blocked 
  that server in tcp.smtp and everything went on fine. i only later I have 
  discovered that is was some music lover that was trying to sent 5 mp3 
  files in the same time over and over again, and his server was sitting on 
  a wery slow link, so I was fooled to think that theer was a problem with 
  my server since I didn't see any traffic to corespond to 5 qmail-smtpd 
  processes.
  
  Now I see, that these messages are still sitting in my queue, they 
  are already past queuelifetime, and they are not being flushed with "kill 
  -ALRM `pidof qmail-send`"
  
  shoud I do something about them ?





	
	
	
	
	
	
	





__IncrediMail - Email has finally 
evolved - Click 
Here



virtual question?

2001-01-23 Thread em`s

hi i have a question about sending virtually, whatever u call that.. here's
the scenario..

I have a server which i got from some free dns hosting like dyndns.org
and i want to receive mail on that host like

host : hate.merseine.nu

i point it out to

hate.merseine.nu  123.456.78.910

and now, i installed qmail to 123.456.78.910.

btw? 123.456.78.910 is not my primary mail srvr. i just want qmail to pass
it on to another server.

is this possible?

like i want to have a email like [EMAIL PROTECTED]  and i want to pass
it on virtually to [EMAIL PROTECTED] my own email.

is this possible?


thanks =)







curious kid =)


 e m ` s ([EMAIL PROTECTED])
  U r l : http://ems.ath.cx




smtp-auth supervise problem?

2001-01-23 Thread Joe Appenzeller

Hi

I have qmail 1.03 running with vpopmail.
I patched qmail-smtpd with esmtp-tls and smtp-auth.

 When I run it "stand-alone" (not supervised) it works perfectly,
authentification via vpopmail-passwdfiles etc.
 when I want to run it via svscan / supervise, I can't authenticate myself.
My username/password is always rejected.

Any ideas why?


it works when I start qmail-smtpd by:
#/usr/local/bin/softlimit -m 1 /usr/local/bin/tcpserver -R -v -p -x
/etc/tcp.smtp.cdb -c 2000  -u qmaild -g
 nofiles 0 smtp /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw
/bin/true /bin/cmd5checkpw /bin/true 21


run-file for svscan (note: the command executed is exactly the same as
above)
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 1
/usr/local/bin/tcpserver -R -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD"  -u
"$QMAILDUID" -g
 "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw
/bin/true /bin/cmd5checkpw /bin/true 21


Thanx
Joe




Problems with inject and qmail-smtpd

2001-01-23 Thread Marcus Korte

Hi everybody,

I set qmail up regarding to LWQ.
The initial testing with injeting messages to qmail-inject gives the
follwing output and it does not work.

qmail-inject: fatal: qq trouble in home directory (#4.3.0)

In the log file:
2001-01-23 17:03:20.131989500 tcpserver: status: 1/20
2001-01-23 17:03:20.132080500 tcpserver: pid 4044 from ...
2001-01-23 17:03:20.134806500 tcpserver: ok 4044 ...
2001-01-23 17:03:20.134811500 tcpserver: warning: dropping connection,
unable to run /var/mail/bin/qmail-smtpd: access denied
2001-01-23 17:03:20.134860500 tcpserver: end 4044 status 28416
2001-01-23 17:03:20.134873500 tcpserver: status: 0/20

Has anybody an idea, what this messages mean?
Which owner:group/protection does qmail-smtpd need?

Every help is welcome.

Marcus

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




Re: Problems with inject and qmail-smtpd

2001-01-23 Thread Alex Pennace

On Tue, Jan 23, 2001 at 05:37:41PM +0100, Marcus Korte wrote:
 I set qmail up regarding to LWQ.
 The initial testing with injeting messages to qmail-inject gives the
 follwing output and it does not work.
 
 qmail-inject: fatal: qq trouble in home directory (#4.3.0)
 
 In the log file:
 2001-01-23 17:03:20.131989500 tcpserver: status: 1/20
 2001-01-23 17:03:20.132080500 tcpserver: pid 4044 from ...
 2001-01-23 17:03:20.134806500 tcpserver: ok 4044 ...
 2001-01-23 17:03:20.134811500 tcpserver: warning: dropping connection,
 unable to run /var/mail/bin/qmail-smtpd: access denied
 2001-01-23 17:03:20.134860500 tcpserver: end 4044 status 28416
 2001-01-23 17:03:20.134873500 tcpserver: status: 0/20
 
 Has anybody an idea, what this messages mean?

The permissions on your qmail setup are messed up. Run make check in
the qmail source directory.



Re: QMail DOS

2001-01-23 Thread Boz Crowther

I was just reading that IBM is porting Linux apps to AIX.  Maybe DOS is
next...


- Original Message -
From: "Russell Nelson" [EMAIL PROTECTED]
To: "Qmail Mailing List" [EMAIL PROTECTED]
Sent: Monday, January 22, 2001 10:20 PM
Subject: Re: QMail DOS


 QMail doesn't run under DOS.

 --
 -russ nelson [EMAIL PROTECTED]  http://russnelson.com
 Crynwr sells support for free software  | PGPok | "This is Unix...
 521 Pleasant Valley Rd. | +1 315 268 1925 voice | Stop acting so
helpless."
 Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | --Daniel J. Bernstein





Re: Special Routing setup

2001-01-23 Thread Dave Sill

Lieven Van Acker [EMAIL PROTECTED] wrote:

mail from cust.mailserv   MR  - dest-mx
  | ^
  | |
  V |
 MAILPROCESSOR

mail to cust.domain   MR  -- cust.postoffice
  |  ^
  |  |
  V  |
 MAILPROCESSOR

So all mail to and from a couple of mail-domains has to be routed via MR
to MAILPROCESSOR (Virusscanning, other processing)

I can't really tell what you're trying to accomplish. How about
describing in words the paths you want incoming and outgoing messages
for the various classes of domains to take?

-Dave



Re: slow connection init

2001-01-23 Thread Ian Lance Taylor

"Mark Delany" [EMAIL PROTECTED] writes:

 Scenario 2: When a remote system establishes an SMTP session with your
 system, your tcpserver will try and contact the ident server on the
 remote system. If the remote system is not running an ident server,
 tcpserver has to wait for the timeout before proceeding. This is what
 was happening to you.

Not running an identd server need not lead to a noticeable timeout.
The remote system should refuse the connection attempt immediately,
tcpserver will get a RST packet and an ECONNREFUSED error, and will
continue immediately without waiting for the timeout period.

The timeout occurs because of firewalls.  Firewalls drop the packets
intended for the identd server, so the tcpserver never gets the RST
packet and has to wait for the full timeout (default 26 seconds,
controllable by the -t option).

If the firewall is configured to pass through packets with a
destination port of 113, then remote servers won't time out.

Alternatively, a good feature to have on firewalls would be
``immediately refuse TCP connections to these port numbers.''  I don't
know if firewalls typically have that sort of feature.

Ian



Re: LOAD-BALANCING WITH QMAIL.

2001-01-23 Thread Ian Matyssik

Unfortunately no one did reply to me, so I found some resource on the web 
and will try to investigate it.

Good luck. 


qmailu writes: 

 Hi Ian, 
 
 Have you got this working ?? Noticed none had replied to this. Thought I'll
 get help from you. If you have , can you pls lemme know how you did this. 
 
 Raghu
 - Original Message -
 From: Ian Matyssik [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, January 19, 2001 11:42 AM
 Subject: Re: LOAD-BALANCING WITH QMAIL. 
 
 
 Hello, 

 I am writing to this message again. Just to confirm that the qmqp
 supports round-robin natively. I was reading all about it and did not
 understand. What I understood is if we keep mini-qmail on the clients and
 have 4 servers for relaying, we just need to list all servers in
 /var/qmail/control/qmqpservers and it will load balance them in
 round-robin
 manner. If that is true what about if one of the relay servers goes down,
 will it spoil something from the client side. 

 Please confirm that or give some advice,
 Regards,
 Ian Matyssik. 

 Ian Matyssik writes: 

  Hello,
 
 I am new on this list but have bin using qmail for 2 years. Now my
  company desided to expand mail relaying and my task is to find good
  sollution how to load-balance "qmqp" relays with nullmailer or qmail. I
  tried to look in the archive and found one thread on that topic but did
  not understand exactly if there is a patch for that or native capability
  of qmail allow that. Please help me on that. I just want to round-robin
 4
  servers for now.
 
  Thank you,
  Ian Matyssik. 

  
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com 
 
 



Setup of the big relay system.

2001-01-23 Thread Ian Matyssik

Hello All,

I have a project of setting up 6 qmail servers just for relaying mail to 
the Internet. Servers are Netra T1 Solaris boxes. And I will have to servers 
which will generate actual mail. I need an advice from you people on how to 
design it. I have an ideas but some things like loadbalancing and staff like 
that is still in a gray area for me. Could some one share their experience 
on that and on how to make this thing to be fast and productive + redundant. 

Thank you.
Ian Matyssik. 




/.qmail files

2001-01-23 Thread Kelly Prophet



Greetings,

I've just started the process of transferring servers. Not 
really using the old data persay, but rather just moving from a sendmail system 
to a qmail system.

One thing I have to have is the ability to pipe incoming email 
for a specified user to a CGI script. I originally did this with the .procmailrc 
files. Aswell it was possible with .forward files. I've read and am aware 
that qmail *can* support the use of sendmail .forward files aswell as use 
.procmailrc files through the .forward files - but personally I'd just assume 
avoid it in it's entirity if at all possible.

So, basically what I am asking is if anyone is aware of a way 
to pipe incoming email for a specified user to a location on the server. In this 
case, a CGI-script.

Best Regards,

 Kelly E. Prophet
 GCN Tech 
S3


Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or127.0.0.1)

2001-01-23 Thread Peter Samuel

On Tue, 23 Jan 2001, Dave Sill wrote:
 
 Here's a possible fix. In control/virtualdomains:
 
   [0.0.0.0]:alias-devnull
 
 And in ~alias/.qmail-devnull-default
 
   #
 
 Which should throw away all mail to MX's resolving to 0.0.0.0.

Are you sure that will work? The envelope details won't mention
0.0.0.0, so how will qmail-send know to use that entry in
virtualdomains. (I haven't tested it yet, but I'm about to).

-- 
Regards
Peter
--
Peter Samuel[EMAIL PROTECTED]
http://www.e-smith.org (development)http://www.e-smith.com (corporate)
Phone: +1 613 368 4398  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"




Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or127.0.0.1)

2001-01-23 Thread Dave Sill

Peter Samuel [EMAIL PROTECTED] wrote:

On Tue, 23 Jan 2001, Dave Sill wrote:
 
 Here's a possible fix. In control/virtualdomains:
 
   [0.0.0.0]:alias-devnull
 
 And in ~alias/.qmail-devnull-default
 
   #
 
 Which should throw away all mail to MX's resolving to 0.0.0.0.

Are you sure that will work?

Nope. That's why it's a "possible fix". I didn't have a handy
"resolves to 0.0.0.0" domain name to test.

The envelope details won't mention
0.0.0.0, so how will qmail-send know to use that entry in
virtualdomains.

Beats me. :-)

(I haven't tested it yet, but I'm about to).

Let us know...

-Dave



unsubscribe rkirby@mylineup.com

2001-01-23 Thread Raymond Kirby

unsubscribe [EMAIL PROTECTED]



RE: smtp-auth supervise problem?

2001-01-23 Thread Joe Appenzeller

Resolved the problem myself (finally ...):

Was a startup-skrip problem:

problematic:
QMAILDUID=`id -u qmaild`   (-- returns a number on my box)
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 1
/usr/local/bin/tcpserver -R -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD"  -u
"$QMAILDUID " -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
home/vpopmail/bin/vchkpw /bin/true /bin/cmd5checkpw /bin/true 21

working solution:

QMAILDUID=qmaild
NOFILESGID=nofiles
exec /usr/local/bin/softlimit -m 1
/usr/local/bin/tcpserver -R -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD"  -u
"$QMAILDUID " -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
home/vpopmail/bin/vchkpw /bin/true /bin/cmd5checkpw /bin/true 21


Later
Joe




Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or127.0.0.1)

2001-01-23 Thread Peter Samuel

On Tue, 23 Jan 2001, Dave Sill wrote:

 Here's a possible fix. In control/virtualdomains:
 
   [0.0.0.0]:alias-devnull
 
 And in ~alias/.qmail-devnull-default
 
   #
 
 Which should throw away all mail to MX's resolving to 0.0.0.0.

My tests show that that won't work:

echo "[0.0.0.0]:alias-devnull"  /tmp/vd
cat /tmp/vd /var/qmail/control/virtualdomains  /tmp/nvd
cp /tmp/nvd /var/qmail/control/virtualdomains
chmod 644 /var/qmail/control/virtualdomains
echo #  ~alias/.qmail-devnull
chmod 644 ~alias/.qmail-devnull
killall -HUP qmail-send
/var/qmail/bin/qmail-remote \[0.0.0.0\] [EMAIL PROTECTED] [EMAIL PROTECTED]  EOF
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: testing

hello
EOF

qmail-remote returns with

rK0.0.0.0 accepted message.
Remote host said: 250 Message accepted for delivery

and the qmail log shows

980273407.745867 new msg 1112229
980273407.746179 info msg 1112229: bytes 366 from [EMAIL PROTECTED]
qp 8502 uid 8
980273407.751043 starting delivery 62: msg 1112229 to remote
[EMAIL PROTECTED]
980273407.751057 status: local 0/10 remote 1/20
980273467.837834 delivery 62: success:
209.217.125.238_accepted_message./Remote_host_said:_250_ok_980273466_qp_26250/
980273467.837854 status: local 0/10 remote 0/20
980273467.837860 end msg 1112229

Because 0.0.0.0 is not mentioned in the envelope RCPT TO header, the
virtualdomain rule does not apply.

-- 
Regards
Peter
--
Peter Samuel[EMAIL PROTECTED]
http://www.e-smith.org (development)http://www.e-smith.com (corporate)
Phone: +1 613 368 4398  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"




Re: Problems with inject and qmail-smtpd

2001-01-23 Thread Dave Sill

Marcus Korte [EMAIL PROTECTED] wrote:

In the log file:
2001-01-23 17:03:20.131989500 tcpserver: status: 1/20
2001-01-23 17:03:20.132080500 tcpserver: pid 4044 from ...
2001-01-23 17:03:20.134806500 tcpserver: ok 4044 ...
2001-01-23 17:03:20.134811500 tcpserver: warning: dropping connection,
unable to run /var/mail/bin/qmail-smtpd: access denied

That should be "qmail", no? Looks like a typo in your
/var/qmail/supervise/qmail-smtpd/run script.

I *strongly* recommend cutting and pasting the scripts...

-Dave



Re: /.qmail files

2001-01-23 Thread Dave Sill

"Kelly Prophet" [EMAIL PROTECTED] wrote:

So, basically what I am asking is if anyone is aware of a way to pipe
incoming email for a specified user to a location on the server. In
this case, a CGI-script. 

How about, in the appropriate .qmail file:

  |/path/to/cgi-script

-Dave



Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or 127.0.0.1)

2001-01-23 Thread Scott Gifford

Matt Brown [EMAIL PROTECTED] writes:

 This has been a feature of recent spam, which is probably why it's now
 an issue.  Several spam senders are now having sender addresses of
 spammer@spamdomain, where spamdomain resolves via DNS to
 '0.0.0.0'.
 
 Eventually qmail rejects the message because it recognises that it's
 looped around too much, of course.

  Right, but it's a very effective (perhaps inadvertant) DOS tool.  If
you can generate a stream of 10 messages/sec of these, it's the
equivalent of generating about 300 messages/sec --- a great way of
turning a puny dial-up connection into a mail server crushing machine.

  We had a spammer sending a huge number of messages to users at this
address (sigh their fake bounce addresses are now getting on each
others' list...), which was causing our not-processed queues to hover
around 100, which was causing regular messages to be processed very
slowly.

  Since qmail works around this simple mail loop for other address
referring to the local machine, it should do so for 0.0.0.0 as well.

--ScottG.




Re: Maildir in /etc/skel ?

2001-01-23 Thread Al Sparks

--- Pupeno [EMAIL PROTECTED] wrote:
 Is it posible to create Maildir in /etc/skel/ (maildirmake /etc/skel/Maildir) 
 so whenever I add a user it is added with its Maildir ? (I'm working with 
 OpenBSD 2.7).
 -- 
 Pupeno: [EMAIL PROTECTED]  www.pupeno.com.ar

I don't know.  You could easily experiment and see if it works. 
However, an alternative would be to modify the machine’s adduser script
(I think bsd uses a text shell script for adduser or its equivalent)
and add the maildirmake command to it.
=== Al


__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/



Re: Special Routing setup

2001-01-23 Thread Lieven Van Acker

Dave Sill wrote:


 I can't really tell what you're trying to accomplish. How about
 describing in words the paths you want incoming and outgoing messages
 for the various classes of domains to take?

 -Dave



OK, so here I go:

There are a number of customers, whose incoming and outgoing e-mail must be
rerouted via a central service that provides virus-scanning. As these
customers are connected each to various ISP's, and we want to provide the
virus-scanning service (and eventually other mail processing services), all
mail should be routed through one relay host (MYRELAY), the one I have to
setup. The virus-scanning is provided by a third party  relay host
(PROCRELAY) who will accept smtp-connections from our relay host, process the
mail and route it back to the final destination.

Incoming mail:
1.any sender: mail sent to: [EMAIL PROTECTED]
2.mail is relayed to MYRELAY (MX record for customer.net)
3.(after checking that the message is not coming from PROCRELAY and thus
has to be processed before forwarded) mail is relayed to PROCRELAY
4.(after being processed) mail is sent to MYRELAY (MX record for
customer.net)
5.(message comes from PROCRELAY so can be safely forwarded to customers
postoffice/private relay)

Outgoing mail:
1.mail is sent from customers private mail-gateway to
[EMAIL PROTECTED]
2.mail is relayed to MYRELAY
3.(after checking that the message is not coming from PROCRELAY and thus
has to be processed before forwarded) mail is relayed to PROCRELAY
4.(after being processed) mail is sent out to MX for somewhere.net

I hope this clarifies the situation.

Because I have to route the mail on MYRELAY depending on where the previous
mail-hop was, I think I have to run 2 different mailprocesses, and use
portforwarding based on the smtp conversations client host. (there seems no
-inexpensive- way to let qmail-smtpd conversate with qmail-send)

This way I can use two different routing setups.

Lieven






RE: Maildir in /etc/skel ?

2001-01-23 Thread Travis Leuthauser

Using FreeBSD, you can put a Maildir in your skel directory.  I'm not
certain with OpenBSD though.

-Travis

 Is it posible to create Maildir in /etc/skel/ (maildirmake
/etc/skel/Maildir)
 so whenever I add a user it is added with its Maildir ? (I'm working with
 OpenBSD 2.7).
 --
 Pupeno: [EMAIL PROTECTED]  www.pupeno.com.ar

I don't know.  You could easily experiment and see if it works.
However, an alternative would be to modify the machine’s adduser script
(I think bsd uses a text shell script for adduser or its equivalent)
and add the maildirmake command to it.
=== Al




qmail-users confusion

2001-01-23 Thread Dave Sill

Does users/cdb supplement regular users or is it an alternative to
them? In other words, if I have a users/assign and users/cdb with a
set of entries that doesn't include all valid local users, will mail
to one of the non-cdb users bounce?

The qmail-spawn man page says it won't:

   For each recipient address, qmail-lspawn finds  out  which
   local  user  controls  that  address.  It first checks the
   qmail-users mechanism; if the address is not listed there,
   it  invokes  qmail-getpw.

The /var/qmail/docs/PIC*2local files say it won't:

 |  Is fred listed in qmail-users? No.
 |  Is there a fred account? Yes.

The qmail-lspawn.c code is kind of dense, but appears to follow the
documentation.

But when I added a dummy user (not in users/assign) to the one system
where I use qmail-users, mail to that user bounced. When I ran
qmail-pw2u and qmail-newu, mail to the dummy was delivered
locally. And when I removed the dummy entries from users/assign and
re-ran qmail-newu, mail again bounced:

2001-01-23 15:35:45.521585500 new msg 119332
2001-01-23 15:35:45.522563500 info msg 119332: bytes 931 from [EMAIL PROTECTED] 
qp 27993 uid 49491
2001-01-23 15:35:45.850046500 starting delivery 2824054: msg 119332 to local 
[EMAIL PROTECTED]
2001-01-23 15:35:45.850046500 status: local 1/60 remote 1/500
2001-01-23 15:35:45.874485500 delivery 2824054: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
2001-01-23 15:35:46.200668500 status: local 0/60 remote 1/500
2001-01-23 15:35:46.824052500 bounce msg 119332 qp 19805
2001-01-23 15:35:46.866002500 end msg 119332

What am I missing?

-Dave



Re: qmail-users confusion

2001-01-23 Thread Peter Samuel

On Tue, 23 Jan 2001, Dave Sill wrote:

 Does users/cdb supplement regular users or is it an alternative to
 them? In other words, if I have a users/assign and users/cdb with a
 set of entries that doesn't include all valid local users, will mail
 to one of the non-cdb users bounce?

My experience is that if a match can't be found in users/cdb, then
qmail-getpw is called.

Does your assign/cdb file have a catchall entry?

+:alias:...

-- 
Regards
Peter
--
Peter Samuel[EMAIL PROTECTED]
http://www.e-smith.org (development)http://www.e-smith.com (corporate)
Phone: +1 613 368 4398  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"




Re: qmail-users confusion

2001-01-23 Thread Dave Sill

Peter Samuel [EMAIL PROTECTED] wrote:

On Tue, 23 Jan 2001, Dave Sill wrote:

 Does users/cdb supplement regular users or is it an alternative to
 them? In other words, if I have a users/assign and users/cdb with a
 set of entries that doesn't include all valid local users, will mail
 to one of the non-cdb users bounce?

My experience is that if a match can't be found in users/cdb, then
qmail-getpw is called.

Does your assign/cdb file have a catchall entry?

+:alias:...

Argh. Yes. I looked for one--I expected it to be at the end of the
file.

I also missed the part in the qmail-pw2u that says it does this:

   A catch-all user, alias, controls all other addresses.

Sigh. Thanks, Peter.

-Dave



Re: unsubscribe rkirby@mylineup.com

2001-01-23 Thread qmail


I would think someone skilled enough to run a SMTP server would know how
to unsubscribe from a mailing list.

With ezmlm-style lists, you send mail to [EMAIL PROTECTED]

In this case, that would be [EMAIL PROTECTED]

- Sam

 unsubscribe [EMAIL PROTECTED]





Re: Possible problem with qmail-qmtpc patch

2001-01-23 Thread Michael T. Babcock

On Sun, 14 Jan 2001 20:25:44 +0100, Jurjen Oskam wrote:
 On Sun, 14 Jan 2001 13:39:01 -0500 (EST), Russell Nelson
 [EMAIL PROTECTED] wrote:
 That's a misconfiguration.  I'd rather that the email bounced than it

 got delivered via SMTP silently.  It could be that someone unaware of

 ...
 delivered via qmtpd but it is failing to run for some reason.  If we
 fall back to smtp, they'll never know that it's failing unless
they're
 watching their qmail logs carefully.

 But isn't that a bit in contradiction with the concept of backup
 MX'es?

If the goal is to deliver E-mail securely and quickly, falling back to
(a presumed functional) SMTP server fits the bill.
If the goal is to use QMTP "just because its there", then Russ' comments
make more sense.

--
Michael T. Babcock (PGP: 0xBE6C1895)
http://www.fibrespeed.net/~mbabcock/






Re: Queue

2001-01-23 Thread Keary Suska

Find the message in /var/qmail/queue/mess, the find for the message id under
queue: find /var/qmail/queue -name 'MSG_ID*' -exec rm -f {} \; or something
similar.

-K

"Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup."


 From: "NDSoftware" [EMAIL PROTECTED]
 Date: Tue, 23 Jan 2001 15:08:09 +0100
 To: [EMAIL PROTECTED]
 Subject: Queue
 
 Hi,
 How i can delete a message in the queue because my qmail is crashed and my
 queue is not cleaned and my customer receveid this message by 120 !
 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
 
 




Needing to inject ALOT of queued Email back into system.

2001-01-23 Thread Greg Moeller

We got hit by spam bigtime and our server got Very backlogged.
In order to get it alive in some form or another, we moved the mess dir of the 
queue directory to a safe place,(and yes, I now know I should've moved the 
todo/local/remote dirs too) ran queue-fix to tidy up the mess and 
restarted qmail.  So, the backlog of the server being down for hours is 
cleared up and I want to put back the backlogged Email in chunks to it can 
process it without horridly bogging down.
Now, how do I do it?  I had assumed queuefix would've made it all better, but 
it just cleans out files from todo and friends not puts anything back. (back 
to that lesson thing I learned earlier :)
So, I'd like to shove the old mess directory a number at a time back into the 
system and get it processed. There's around 300,000 Email to be processed.
(hence why I want to do it in pieces :)

Thanks in advance!

Greg





Re: Needing to inject ALOT of queued Email back into system.

2001-01-23 Thread Greg Moeller

I'm just realizing what a insert favorite nasty words thing I've done by 
just moving the mess dir.  I eliminated all the envelope information.  siigh

Guess that's what an 18 hour day trying to deal with 8 mail servers overloaded 
with some idiot's urge to sell us a Diploma will do to one's brain. (oh, and 
yes, we've called the RCMP on the idiot, let's hope he can be tracked)
(and I've only messed up one of the 8 servers, the others are running exim and 
are dealing with their overload in their own chugging fashion, one of the 
servers having around 8 gig of email in it's queue to process)

Anyway, I really hope there'll be some way to save some of the Email (try to 
pull the To: info out? )

Greg





linking /usr/sbin/sendmail to /var/qmail/bin/sendmail ?

2001-01-23 Thread Vegard Hansen

I read in a howto that you should link the old sendmail scripts in
/usr/sbin/sendmail to /var/qmail/bin/sendmail, but i havent got any sendmail
scripts under /var/qmail/bin/... Is this right?

I cant get qmail to listen to port 25, even if qmail is running.. Port 110
is listening but it closed connection after about 5 secs.

All the packages are installed and the scripts are running..

Is /var/qmail/bin/qmail-inject the script that takes over sendmails old
jobs?

Vennlig hilsen
Vegard Hansen
Systems developer
LOGIQ AS
Box 268
N-1752 Halden
Norway
Phone : 69190725
Fax :   69177019
Mobile : 41303033
E-mail : [EMAIL PROTECTED]