qmail-cyrus-authentification

2000-03-28 Thread Markus Behr

Hi,
 
we are going to start a web mail project with more then 
300.000 users.
As imap server we use cyrus, modified to do authentification
via an oracle account_db.
We decided using qmail instead of sendmail as SMTP server.
My question is how to setup qmail working with cyrus,
especially doing the same authentification mechanism.
Is there a way to configure qmail asking cyrus for user
authentification or do we also have to change qmail doing
the pwcheck with an oracle db?
Are there already any qmail-oracle authentification modules
available? And can we use the same account_db as for cyrus
or does qmail need any other authentification values?

Thanks,

   Markus



dot-qmail files in /var/qmail/alias

2000-03-28 Thread Marc-Adrian Napoli

hi all,

We have two locally delivered domains: cia.com.au and ezeelynx.com.au

We have a user willows who wants to receive mail at [EMAIL PROTECTED] and
wants [EMAIL PROTECTED] to be forwarded somewhere else. I've tried
creating:

/var/qmail/alias/.qmail-ezeelynx:com:au-willows

with a line:

[EMAIL PROTECTED]

but this file is ignored and any mail that comes in to
[EMAIL PROTECTED] just goes straight into the willows mailbox.

Anyone have any ideas?

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750




qmail Digest 28 Mar 2000 11:00:01 -0000 Issue 954

2000-03-28 Thread qmail-digest-help


qmail Digest 28 Mar 2000 11:00:01 - Issue 954

Topics (messages 39110 through 39165):

Re: Canonical Domains mail Error
39110 by: Chris Johnson

another users/assign file question
39111 by: Brad Kanipe

re : qmail / ldap mailing list
39112 by: Shaun Gibson

/var/qmail/control
39113 by: Christopher Tarricone
39135 by: Peter van Dijk

Closing: Running qmail on a 4x Xeon 550MHz system
39114 by: Andreas Aardal Hanssen
39115 by: Len Budney
39117 by: Andreas Aardal Hanssen
39125 by: Len Budney
39126 by: Stephen F. Bosch

Problem with sending mail to virtual domain
39116 by: Irwan Hadi
39118 by: Chris Johnson
39120 by: Irwan Hadi
39122 by: Chris Johnson
39123 by: Timothy L. Mayo
39160 by: Irwan Hadi

[[EMAIL PROTECTED]: Local Procmail ("+" feature)]
39119 by: Ben Beuchler
39136 by: Peter van Dijk

Re: Qmail-pop3d
39121 by: Ronny Haryanto

Re: TCPServer and relaying...
39124 by: Roland Pelzer

Qmail loading down Sun enterprise 450.
39127 by: Greg Moeller
39128 by: markd.bushwire.net
39129 by: H
39130 by: markd.bushwire.net
39131 by: H
39132 by: Jim Arnott
39134 by: Greg Moeller
39137 by: Martin Kos
39138 by: Charles Cazabon
39139 by: Greg Moeller
39140 by: markd.bushwire.net
39141 by: markd.bushwire.net
39143 by: Greg Moeller
39144 by: vogelke.c17mis.region2.wpafb.af.mil
39145 by: markd.bushwire.net
39148 by: Charles Cazabon
39150 by: Adam McKenna

Qmail + LDAP problems
39133 by: blair christensen
39151 by: Nikolay Borodachev
39152 by: blair christensen
39155 by: Nikolay Borodachev
39156 by: blair christensen
39158 by: Nikolay Borodachev
39162 by: Roland Pelzer

Alias of Virtual Domains
39142 by: Pablo Martínez Schroder

Newbie... Question..
39146 by: michael M. Honse

So? No answer?? (Was: could it be? A bug?)
39147 by: Ricardo Cerqueira
39149 by: cmikk.uswest.net

Next Hop
39153 by: Ricardo D. Albano
39154 by: Rick McMillin
39157 by: Ricardo D. Albano

New install...
39159 by: Andy Walden
39161 by: Uwe Ohse

Re: Sendmail help
39163 by: Yuliy Minchev

qmail-cyrus-authentification
39164 by: Markus Behr

dot-qmail files in /var/qmail/alias
39165 by: Marc-Adrian Napoli

Administrivia:

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

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

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

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


--



On Mon, Mar 27, 2000 at 02:34:00PM +0530, System Administrator wrote:
 Hi
 
 this is to request help on canonical domain names setup for mail.
 
 i have a client for whom we ahve setup canonical names for their branch
 offices. the problem is that when a mail is send to a canonical doamin
 email id the mail goes and resides into the main pop account of the
 domain. 
 
 for ex.
 ===
 1) i have a domain  abc.com
 2) i have setup four canonical domains i.e. branch1.abc.com,
 branch2.abc.com, branch3.abc.com  branch4.abc.com

Change them to A records. So instead of:

abc.com IN A 1.2.3.4
branch1.abc.com IN CNAME abc.com

do this:

abc.com IN A 1.2.3.4
branch1.abc.com IN A 1.2.3.4

Chris




 I'm using qmail / vpopmail both latest versions.

 I've set up my users/assign file to look like this.

 +bbb.com-:bbb.com:1007:7004:/export/home/vpopmail/domains/bbb.com:-::
 +aaa.com-:aaa.com:1007:7004:/export/home/vpopmail/domains/bbb.com:-::
 .

 Basically I want all mail coming in addressed to aaa.com to go to the
 bbb.com domain
  aaa.com has an MX record pointing to bbb.com

 The way I read the man page relating to the assign file was anything
 coming in to aaa.com will be delivered to wherever I tell it the mailbox
 is in the assign file.

 when I send to [EMAIL PROTECTED]  it should go to
 /export/home/vpopmail/domains/bbb.com where brad's home mail directory
 exists, but the error message is error:
 Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

 and yes I did run qmail-newu after editing the assign file.

 Any thoughts?





Hi there

Could somone please tell me the qmail-ldap mailing list subscribe
address as the archives have x'd out the address.
-- 
Shaun Gibson

Associate Unix and NT System Adminstrator  Tel :
+27-11-2667800 ext 8023
Intekom, Midrand, South Africa
---




My mail server has several names... There is the name that is in the
HOSTNAME file and there are the names assoaited to it in my 

Virtual users and domains

2000-03-28 Thread Niall Dalton

Hi there,

I'm using qmail and it runs fine for normal users on the machine.
(I'm using the courier IMAP server as well).

Now I wish to add virtual users at virtual domains.

I've set the DNS entries for the virtual domains
and they work fine. I've added the domains I wish
to receive mail for to the rcpthosts and virtualdomains
files in the control directory.

I have a user vmail to which I sent all the mail
that arrives for the virtual domains.

So in the virtualdomains file I have:
domain1.com:vmail-domain1
domain2.com:vmail-domain2

and in the home directory of vmail I have
.qmail-domain1-user1
.qmail-domain2-user2
which have the mail directories I wish to have
mail delivered to for the (virtual) users
user1 and user2.

This doesn't work for me. Is this the right way to do it?
Any mail sent to the address [EMAIL PROTECTED] is
returned with the error that no such mailbox
exists.

What mistake have I made?
All pointers appreciated.

The reason I want to do it this way is that
I have added the virtual users to the userdb
for Courier IMAP, and want it to pick
up the mail from various places in the
vmail user directory.

All the best,
Niall



Re: Qmail + LDAP problems

2000-03-28 Thread Mitja Sarp

On Mon, Mar 27, 2000 at 11:21:10AM -0600, blair christensen wrote:
 Hello,
 I am running Qmail 1.03 with the LDAP patch from http://www.nrg4u.com
 on a Solaris 2.6 box.  LDAP is OpenLDAP 1.2.9 residing on the same
 box.
 
 The patch applies cleanly to the source, and I'm able to compile qmail
 successfully.  However, when I try to start qmail, I get:
 
 bash-2.02# /var/qmail/rc
 alert: cannot start: hath the daemon spawn no fire?
 
 bash-2.02# cat /var/qmail/rc
 #!/bin/sh
 
 # Using stdout for logging
 # Using control/defaultdelivery from qmail-local to deliver messages
 by default
 
 exec env - PATH="/var/qmail/bin:$PATH" \
 qmail-start "`cat /var/qmail/control/defaultdelivery`"
 

I had exactly the same problem on some hosts, daemon not starting
even with all ldap files in place. The problem was the 'exec env -'
construction that probably failed since I was able to start everything
with qmail-start from my shell (zsh) without problems, having /var/qmail/bin
exported in PATH. So the fix was:

% cat /var/qmail/rc
#!/usr/bin/zsh

export PATH=/var/qmail/bin:$PATH
qmail-start ./Maildir/

-- 
The statements included are my own, but could also be those
of my employer. I'm not sure.



Re: Qmail + LDAP problems

2000-03-28 Thread blair christensen

On Tue, Mar 28, 2000 at 08:45:40AM +0200, Roland Pelzer wrote:
 
 Do you have ldap related control files? AFAIR, control/ldapserver must
 exist.
 
 On Mon, 27 Mar 2000, blair christensen wrote:
 
  Hello,
  I am running Qmail 1.03 with the LDAP patch from http://www.nrg4u.com
  on a Solaris 2.6 box.  LDAP is OpenLDAP 1.2.9 residing on the same
  box.
 
  The patch applies cleanly to the source, and I'm able to compile qmail
  successfully.  However, when I try to start qmail, I get:
 
  bash-2.02# /var/qmail/rc
  alert: cannot start: hath the daemon spawn no fire?
 
 
 I got the same error using qmail without any patches, after renaming
 /var/qmail/bin/qmail-local and /var/qmail/bin/qmail-remote for an amavis
 installation. Are qmail-remote and qmail-local located in /var/qmail/bin and
 have the correct file permission? Perhaps something went wrong while
 compiling of the patched source.
 
 - Roland

Both are installed in /var/qmail/bin.  Permissions were 0711.  I also
tried bumping the permissions up to 0755 just to see, but same
results.  Owned by 'root', group is 'qmail'.

thanks,
blair



Re: Closing: Running qmail on a 4x Xeon 550MHz system

2000-03-28 Thread Sascha Schumann

On Mon, Mar 27, 2000 at 03:50:07PM +0200, Andreas Aardal Hanssen wrote:
  I'm using ReiserFS (which, BTW, is working very well). My
  mailsystem receives 70'000 mails a day and the throughput
  is just about twice that. Average mails sent per second
  varies around 70-170 mails.
  Uhm.. with 86400 seconds to a day, your average throughpout should be
  about 2mails/sec.
  What you are stating here is impossible.
 
 Or a typo, perhaps. Thank you for making a good point in
 this discussion. It should be 'per minute', as everyone
 else seems to have understood.
 
 ---
 Closing up this discussion:
 
 The problem was: How can I make qmail deliver more mails per
 day, how to increase to flow of mails, considering that a
 computer has 1.4 in 15-minute uptime load on average mid-day.

Watch vmstat output and determine your bottle-neck(s).

I don't think your hardware is the problem though.

We achieve a much better through-put on cheaper hardware.
More specifically, a 2xPII-550 system w/ 512MB RAM and some
UW SCSI disks performs about 900k delivery attempts/day. It
peaks at 30 deliveries/s. 

This is a list server, so it does not receive nearly as many
emails as it delivers. 

 Currently the system does actually use our own mail delivery
 program (the magic '|' option in dot-qmail). This, ofcouse,
 serves our purpose much better than the /Maildir system
 or LDAP databases.
 
 It seems I might have solved our problem by removing the
 unneccesary qmail-local from the delivery system, so that
 qmail-lspawn spawns my delivery program directly.

How high is your concurrencyremote setting? We use the 
big-concurrency patch to deliver up to 1000 emails 
concurrently.

 I also removed some unnessecary fsync()s as they were
 slowing down everything very much. It also seems that
 Linux's ulimit on processes-per-child has been a problem.
 Burst mailing causes serialization because Linux won't
 spawn child processes. That too is no problem anymore.

You have to increase a compile-time limit in order to fix
this. It's trivial.

- Sascha



Re: Qmail + LDAP problems

2000-03-28 Thread blair christensen

On Tue, Mar 28, 2000 at 05:27:01PM +0300, Mitja Sarp wrote:
 On Mon, Mar 27, 2000 at 11:21:10AM -0600, blair christensen wrote:
  Hello,
  I am running Qmail 1.03 with the LDAP patch from http://www.nrg4u.com
  on a Solaris 2.6 box.  LDAP is OpenLDAP 1.2.9 residing on the same
  box.
  
  The patch applies cleanly to the source, and I'm able to compile qmail
  successfully.  However, when I try to start qmail, I get:
  
  bash-2.02# /var/qmail/rc
  alert: cannot start: hath the daemon spawn no fire?
  
  bash-2.02# cat /var/qmail/rc
  #!/bin/sh
  
  # Using stdout for logging
  # Using control/defaultdelivery from qmail-local to deliver messages
  by default
  
  exec env - PATH="/var/qmail/bin:$PATH" \
  qmail-start "`cat /var/qmail/control/defaultdelivery`"
  
 
 I had exactly the same problem on some hosts, daemon not starting
 even with all ldap files in place. The problem was the 'exec env -'
 construction that probably failed since I was able to start everything
 with qmail-start from my shell (zsh) without problems, having /var/qmail/bin
 exported in PATH. So the fix was:
 
 % cat /var/qmail/rc
 #!/usr/bin/zsh
 
 export PATH=/var/qmail/bin:$PATH
 qmail-start ./Maildir/
 

hrm, well, tried that.  same results.  i then tried to run qmail-start
directly from my shell.  same results. 

bash-2.02# export PATH=$PATH:/var/qmail/bin
bash-2.02# which qmail-start
/var/qmail/bin/qmail-start
bash-2.02# qmail-start ./Maildir
alert: cannot start: hath the daemon spawn no fire?


perplexed,
blair



Re: 'goodmailfrom' ?

2000-03-28 Thread Chris Johnson

On Fri, Feb 04, 2000 at 01:12:59PM +0800, Michael Boman wrote:
 I know that this is not a real solution, but it needs to be done.
 
 I need a 'goomailfrom' ie: people or domains that exist in the list is
 allowed to relay. I suppose it is something opposit for 'badmailfrom' that
 dont allow certain people or domains to mail us.
 
 POP-before-SMTP relay and relay certain IP's is not working as the firewall
 doesn't give me the correct IP's =(

It's a bad idea, but you can use this patch to do it:
http://www.palomine.net/qmail/relaymailfrom.html.

Chris



How does one unsubscribe from this list?

2000-03-28 Thread Randy Bradley

Sorry to intrude.

  Instructions in the header or footer would be nice.

  I've tried qmail-help, qmail-request to no avail.


Thanks




**
Randy Bradley | Systems Analyst | US Meat Animal Research Center | Clay Center
Computer Spec.| 402-762-4156| [EMAIL PROTECTED]| Nebraska
**


RE: qmail-cyrus-authentification

2000-03-28 Thread Greg Owen


 As imap server we use cyrus, modified to do authentification
 via an oracle account_db.
...
 My question is how to setup qmail working with cyrus,
 especially doing the same authentification mechanism.

It isn't clear to me what you want to do.  

In short: qmail shouldn't need to know anything about the Cyrus
users, it should just hand off mail to the cyrus "deliver" program which
does know, unless you're trying to do selective relaying.

In detail:

1) If you're asking how to make qmail's delivery process correctly
deliver to users defined in cyrus via Oracle, the answer is: configure qmail
to use cyrus' "deliver" program, which presumably already knows about all
the users defined in Oracle.  No changes to qmail are needed except the
default delivery method.

For example, I've got a qmail box that delivers to Cyrus users, and
my /var/qmail/rc file has the following lines:

exec env - PATH="/var/qmail/bin:$PATH" \
 qmail-start '|preline -f /usr/cyrus/bin/deliver -e -a $USER -- $USER' \
 splogger qmail   

Note that for this to work, you either have to loosen the execution
permissions on deliver (which compromises Cyrus quotas, but I didn't care on
the server above) or wrap deliver with a setuid wrapper (presumably the
"setuidgid" program in DJB's daemontools would work).

2) If you're asking how to make qmail relay for users defined in the
Oracle database, I don't know a good answer.  Presumably you'd want to grab
the SMTP-AUTH patch and fix that up to check with Oracle, but you'll
probably still have problems with that.

3) If you're asking how to make checkpassword work with the Oracle
database, then either you or I are confused: checkpassword is used by
qmail's POP3 server, but if you're running Cyrus, you can only use Cyrus'
POP3 server anyway.

-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]




Re: How does one unsubscribe from this list?

2000-03-28 Thread Chris Johnson

On Tue, Mar 28, 2000 at 08:49:58AM -0600, Randy Bradley wrote:
   I've tried qmail-help, qmail-request to no avail.

[EMAIL PROTECTED] will return to you the instructions. Did you not
receive them, or did you not understand them?

Chris



Re: How does one unsubscribe from this list?

2000-03-28 Thread Charles Cazabon

Randy Bradley [EMAIL PROTECTED] wrote (about unsubscribing):
 
   Instructions in the header or footer would be nice.
 
   I've tried qmail-help, qmail-request to no avail.

There's a header in every message that says the following:
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm

Try that.

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[2]: Qmail-pop3d

2000-03-28 Thread Alex

DEar,
Monday, March 27, 2000, 10:19:55 AM, you wrote:

 pass 
 -ERR this user has no $HOME/Maildir
 Connection closed by foreign host.

CJ What number am I thinking of?

Yes I found that solution. I forgot this at home direktori
$maildirmake ~/Maildir


Thanks
Alex





$homedir wrapper

2000-03-28 Thread Mike Alexander Sauvain





first, any body knows some easy way to bind the 
pop3 in the inetd.conf wrapper?second- if i connect manualy itells 
my that ist dosent exist user dir
-ERR this user has no $HOME/Maildir Connection 
closed by foreign host

but i doit - maildirmake 
/dir/to/user1

Also the entry in the mysql tabel 
exists
What could be wrong ?thx . Mike 
Alexander Sauvain


Re: How does one unsubscribe from this list?

2000-03-28 Thread Andy Bradford

Thus said Randy Bradley on Tue, 28 Mar 2000 08:49:58 CST:

 Sorry to intrude.
 
   Instructions in the header or footer would be nice.

They actually are in the headers...  look for the List-unsubscribe: 
header. :-)
Andy
-- 
+== Andy == TiK: garbaglio ==+
|Linux is about freedom of choice|
+== http://www.xmission.com/~bradipo/ ===+



 PGP signature


qmail-pop3 problems with 'large' accounts

2000-03-28 Thread Gary Richardson

Hi,

I'm having problems with a pop user checking their. There are around
12000 emails in their MailDir directory and I get the following error when I
try to download them:

-ERR unable to scan $HOME/Maildir
Connection closed by foreign host.

The host names are all set correctly. Also, if I empty out the box to around
6000 emails, it will work fine. 

I'm running a brand new linux system with qmail-1.03

Any suggestions?

  --


The bugs you have to avoid are the ones that give the user not only the
inclination to get on a plane, but also the time. -- Kay Bostic 

I love TranSys -- ftpgary



Need a little insite please

2000-03-28 Thread michael M. Honse

I have a qmail server up and running GREAT.. all is well..
BUT... I want to bring up another that will Que up mail should the real mail
server crash, need rebooting, Melt down to slag, or ETC..
Anyone have a how-to for that ?..
Many thanks in advance.







Re: qmail-pop3 problems with 'large' accounts

2000-03-28 Thread Uwe Ohse

On Tue, Mar 28, 2000 at 09:25:26AM -0800, Gary Richardson wrote:
 
   I'm having problems with a pop user checking their. There are around
 12000 emails in their MailDir directory and I get the following error when I
 try to download them:
 
 -ERR unable to scan $HOME/Maildir
 Connection closed by foreign host.

out of memory. qmail-pop3d needs space for 12000 filenames, with maybe
30 characters each (depending on the length of the hostname part of
the file name), plus 5 ("new/\0"), plus another 8 bytes for meta 
information, accounting for about 50 bytes of memory, plus 
whatever your C library needs, plus whatever the kernel needs.

Unfortunately qmail-pop3d suffers from memory fragmentation, so
the actual memory usage is somewhat higher.

You might get a far better behaviour if you change the number 100 in the
line
GEN_ALLOC_readyplus(prioq,struct prioq_elt,p,len,a,i,n,x,100,prioq_readyplus)
in prioq.c to, say, 5000, and recompile qmail-pop3d, and install that
and only that - the change will eat 5000*8 bytes in qmail-send.

Or: Adjust your resource limits.

Or: clean up your mail dir. pop3 wasn't designed to deal with that
number of messages anyway (as wasn't maildir).

Regards, Uwe 



Re: Need a little insite please

2000-03-28 Thread Chris Johnson

On Tue, Mar 28, 2000 at 10:22:05AM -0800, michael M. Honse wrote:
 I have a qmail server up and running GREAT.. all is well..
 BUT... I want to bring up another that will Que up mail should the real mail
 server crash, need rebooting, Melt down to slag, or ETC..
 Anyone have a how-to for that ?..
 Many thanks in advance.

Set up the other mail server. Add the domains you want it to be a backup for to
control/rcpthosts, but NOT to locals or virtualdomains. Create an MX record for
the domains with the new server as a lower-preference mail exchanger.

That's all there is to it.

Chris



RE: Need a little insite please

2000-03-28 Thread Greg Owen

 I have a qmail server up and running GREAT.. all is well..
 BUT... I want to bring up another that will Que up mail 
 should the real mail
 server crash, need rebooting, Melt down to slag, or ETC..
 Anyone have a how-to for that ?..

Build a second server with qmail.  On the second server, instead of
listing your domain(s) in 'locals' and 'rcpthosts', list your domain in
'smtproutes' and 'rcpthosts'.  'smtproutes' is described in 'man
qmail-remote'.

Create an MX entry for both your main and your secondary server, and
make sure that the secondary server has a higher MX value (i.e, main is MX
5, secondary is MX 10).  

If main is down, mail will queue up on the secondary.  If main is
down for more than 7 days, tweak your 'queuelifetime' so that it won't
bounce.  When the main server comes back up, send qmail-send a SIGALRM to
tell it to clear out the queue.

-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]




RE: Need a little insite please

2000-03-28 Thread Greg Owen

   Build a second server with qmail.  On the second 
 server, instead of listing your domain(s) in 'locals'
 and 'rcpthosts', list your domain in 'smtproutes' and
 'rcpthosts'.  'smtproutes' is described in 'man
 qmail-remote'.

Chris Johnson just posted without the 'smtproutes' hack.  He's
correct; I'm thinking of how to handle it when the backup is sitting on the
wrong side of a split DNS fence.  If you aren't doing split DNS, you don't
need smtproutes, just proper MX records.

-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]





same username with different domain(SMTP)

2000-03-28 Thread ravivr

Dear all,

I want to configure the same username  for different smtp domains.How do I
achieve this , the domain name needs to get precedence over alias name for
resolving an email because although the alias is same, the domains are
different?

Thanks in advance.
V.R.R





Re: Need a little insite please

2000-03-28 Thread Peter van Dijk

On Tue, Mar 28, 2000 at 01:42:10PM -0500, Greg Owen wrote:
  Build a second server with qmail.  On the second 
  server, instead of listing your domain(s) in 'locals'
  and 'rcpthosts', list your domain in 'smtproutes' and
  'rcpthosts'.  'smtproutes' is described in 'man
  qmail-remote'.
 
   Chris Johnson just posted without the 'smtproutes' hack.  He's
 correct; I'm thinking of how to handle it when the backup is sitting on the
 wrong side of a split DNS fence.  If you aren't doing split DNS, you don't
 need smtproutes, just proper MX records.

But smtproutes is never a bad plan for reliability.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



Re: Need a little insite please

2000-03-28 Thread Uwe Ohse

On Tue, Mar 28, 2000 at 10:22:05AM -0800, michael M. Honse wrote:
 
 I have a qmail server up and running GREAT.. all is well..
 BUT... I want to bring up another that will Que up mail should the real mail
 server crash, need rebooting, Melt down to slag, or ETC..
 Anyone have a how-to for that ?..

set up the second machine and insert the appropriate host names it
shall be a backup mail server for into /var/qmail/control/rcpthosts.
Do not insert them into control/locals.

Test this from an outside machine which is not a relayclient.
Test it again.

Tell whoever manages the MX records for all those domains to set up a
low priority MX record for all host names configured above, pointing
to your second machine.

Et voila.

See http://www.ohse.de/uwe/misc/backupmx.txt for why i dislike 
backup mail servers.

Regards, Uwe



Maildir, mailbox and list archives

2000-03-28 Thread G.Z.

Hi, 
I am now running qmail on a Redhat 6.0. I have installed fastforward for
aliases, and switched to Maildir as opposed to Mailbox
I am running listar for mailing lists, which is correctly delivering mail
to subscribers.
Unfortunately, since I moved to qmail Listar is not updating list-archives
any more. Listar can create list archives in either mbox or mh formats,
and examining log files (both of Listar and qmail) has left me clueless.
Anybody out there had similar problems or has any hint? I browsed to past
posting to this list (and on listar-support ml) with no success...

Any suggestion for an alternative sound-and-simple software for mailing
list management well tested with qmail?

Thanks 

G.Zezza





maps rbl/spam mailing lists, etc.

2000-03-28 Thread deeann mikula


hi there,

i know this topic has been beat to death on this list, but i am
currently entertaining the idea of using paul vixeys realtime
blacklist.  i'm sure that old-time-listees have had enough of this
conversation, in addition to be a little off topic. (sawry)

if anyone has any pros or cons that they would like to pass along to
me in private email, i would really appreciate it. (especially if you
wouldn't mind me quizzing you a little, too.)

i'm combing the archives of the list now.  i did run across one
message, where someone asked about some great spam-resource lists, but
of course the subscribe information was x'd out. can someone
point me to those?

(we are running qmail version 1.03 on 2.2.8-STABLE FreeBSD, just fyi)

deeann m.m. mikula 

network administrator
telerama internet
[EMAIL PROTECTED][EMAIL PROTECTED]





qmail local

2000-03-28 Thread Darci Wilson

Hi,
This is my /var/qmail/rc file. One line is commented out because it doesn't
start the qmail local files. The defaultdelivery file has "./Maildir/" in
it. I'm using the startup script from
http://web.infoave.net/~dsill/lwq.html#installation-issues. Could someone
tell me how to start the qmail local files correctly when using svscan and
the daemontools? Any help is appreciated.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail
#qmail-start "`cat /var/qmail/control/defaultdelivery`"

darci





RE: qmail local

2000-03-28 Thread Greg Owen

 it. I'm using the startup script from
 http://web.infoave.net/~dsill/lwq.html#installation-issues. 
 Could someone tell me how to start the qmail local files
 correctly when using svscan and the daemontools? Any help
 is appreciated.

If you're using Dave Sill's startup setup from LWQ, the only change
you should make to this file is remove the 'splogger qmail' phrase.  If you
don't remove it, logging will go to syslog, and never fall through to the
multilog line Dave has in /var/qmail/supervise/qmail-send/log/run.

You may or may not want to modify the "./Mailbox" part to deliver
somewhere else, but that's a seperate issue.

-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]



Perfomance question

2000-03-28 Thread Ricardo D. Albano

I'm running qmail-1.03 in a Compaq Proliant 6000 server with 4x200Mhz P-Pro
with 512Mb of RAM and an array of three U-SCSI 9Gb disks.

This server recives mails for my domain (is the MX), then it passes to
another smtp server that makes the local delivery to the mailboxes.
(specifing in the smtproute file the fixed route for the incoming mails).

These are some counts that I perfom with cat and grep in a highly hour :

cat /var/log/maillog | grep "Mar 28 18:3" | grep "new msg" | wc -l
181

cat /var/log/maillog | grep "Mar 28 18:3" | grep "starting delivery" | wc -l
114

cat /var/log/maillog | grep "Mar 28 18:3" | grep "info msg" | wc -l
181

cat /var/log/maillog | grep "Mar 28 18:3" | grep "end msg" | wc -l
99

cat /var/log/maillog | grep "Mar 28 18:3" | grep "success:" | wc -l
111

qmail-smtpd is invoqued by tcpserver, I start tcvserver instance with the
command "tcpserver 0 25 /var/qmail/bin/qmail-stmtpd " in on of my init
scripts.

The Problem:

The problem is that i'm having long delays in the delivery of mails. In some
cases an email that arrives to the server can be stored for a couple of Hs.
in the /var/qmail/queue directory until is passed to the other host that
makes the local delivery.

I make a "find /var/qmail/queue/mess/. | wc -l" to see how many emails are
in the queue and this number continusly grow up.

Take in  mind that this server don't make world deliverys, only accept
connections from the world and then pass the email to another host that is
in the same LAN.

I missed that this server is also running an apache web server with about
2000 hits/day, but I think this is not relevant.

The load average of CPU repoerted by the command "uptime" every time is
between 7 and 20.

The total of qmail preccesses are about 70 (ps -ef | grep "qmail" | wc -l)

Can any tell me if these values are OK for this hardware ?

Tnx.

Ricardo D. Albano
[EMAIL PROTECTED]





RE: Perfomance question

2000-03-28 Thread Greg Owen

 The problem is that i'm having long delays in the delivery of 
 mails. In some cases an email that arrives to the server can
 be stored for a couple of Hs.

Check the trigger.  See
http://web.infoave.net/~dsill/lwq.html#trigger for more information.

If the trigger is working fine, then use the logs to find out why
messages are taking so long.  If this is an inbound relay for your internal
server, there shouldn't be any reason for it to defer messages.  But the
logs are your friend.

Until you've checked and possibly corrected these two areas,
profiling your load average is pretty pointless.

Finally, consider installing qmailanalog so that you can automate
your evaluation of the state of the queue and of recent deliveries.

-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]




Urgent!: Really Weird Problems with qmail

2000-03-28 Thread Martin Paulucci

Hi!,

I'm having problems with qmail. I don't know why, but when I send an email to certain 
addresses at certain moments the mail gets sent to other addresses that I don't even 
know, and many even not exist. So if I send an email to [EMAIL PROTECTED] (my 
default domain) the mail gets perfectly delivered to that mailbox but it seems that 
qmail also tries to send it to some more destinations which I don't even know the 
email addresses ever. The weird thing is that this happens sometimes, not always. One 
of the account is a vpopmail account with a .qmail inside the maildir, which includes 
3 address in this format:
.qmail contents:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

And belongs to vpopmail:vchkpw (user:group)

Any idea at all?...is it a virus to the clients (I've tried different machines, 
different clients - outlook, pegasus- and happens the same thing) or anything 
else?. 
One cause could be that I upgraded my vpopmail version latelybut I really don't 
know!..
Here's one of the messages I get:

Received: (qmail 5833 invoked from network); 28 Mar 2000 22:41:21 -
Received: from unknown (HELO www6.realwebsite.com) (206.159.209.7)
  by babel.sintesoft.net with SMTP; 28 Mar 2000 22:41:21 -
Received: from babel.sintesoft.net ([200.43.4.34]) by www6.realwebsite.com
  (Post.Office MTA v3.5.3 release 223 ID# 0-57750U2200L400S0V35)
  with SMTP id com for [EMAIL PROTECTED];
  Tue, 28 Mar 2000 14:38:06 -0800
Received: (qmail 5820 invoked for bounce); 28 Mar 2000 22:41:12 -
Date: 28 Mar 2000 22:41:12 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at babel.sintesoft.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, I couldn't find any host named amerarg.com.ar. (#5.1.2)

[EMAIL PROTECTED]:
200.10.100.10 does not like recipient.
Remote host said: 550 [EMAIL PROTECTED]... User unknown
Giving up on 200.10.100.10.

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 5800 invoked by uid 108); 28 Mar 2000 22:41:10 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 5798 invoked by uid 108); 28 Mar 2000 22:41:10 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 5796 invoked from network); 28 Mar 2000 22:41:09 -
Received: from unknown (HELO ils) (200.43.4.4)
  by babel.sintesoft.net with SMTP; 28 Mar 2000 22:41:09 -
Message-ID: 00c601bf9906$b3468520$[EMAIL PROTECTED]
Reply-To: "Martin Paulucci" [EMAIL PROTECTED]
From: "Martin Paulucci" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: prueba
Date: Tue, 28 Mar 2000 19:41:04 -0300
Organization: ServiRED Company
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300








Using Mailbox under Pine

2000-03-28 Thread Philip Mores

How can I configure pine using Mailbox instead of using
/var/spool/mail/user ? I tried following the procedure but it doesn't
work. Pine has an error something like "no folder".

What should I do? Could someone give me a step by step procedure on how
to do this?

Hope you could help me,

Philip B. Mores
Email: [EMAIL PROTECTED]





How to make simple ?

2000-03-28 Thread Irwan Hadi

Now, after I use Mandrake 6.1 to run tcpserver or tcprules I need to
go to /usr/local/bin first
then
use dot command
./tcprules , ./tcpserver and so on
How to make they can run without giving dot command ? (I tried on RedHat
6.0 system, it could)

---
AFLHI 058009990407128029/089802---(102598//991024)



Re: maps rbl/spam mailing lists, etc.

2000-03-28 Thread David Dyer-Bennet

deeann mikula [EMAIL PROTECTED] writes on 28 March 2000 at 15:54:41 -0500
  
  hi there,
  
  i know this topic has been beat to death on this list, but i am
  currently entertaining the idea of using paul vixeys realtime
  blacklist.  i'm sure that old-time-listees have had enough of this
  conversation, in addition to be a little off topic. (sawry)

Since Dan supplies a program (rblsmtpd) for interfacing with such
lists, maybe we can squeeze it in as very nearly on-topic :-)

  if anyone has any pros or cons that they would like to pass along to
  me in private email, i would really appreciate it. (especially if you
  wouldn't mind me quizzing you a little, too.)

I'm currently using the RBL, RSS, and DUL, quite happily.  I still get
considerable spam, and am not blocking *that* many sites, but I try to
do my part to give those lists some weight, so that being on them is
BAD.  I've seen a number of places, including the University of
Minnesota, and Panix (big New York ISP), suddenly jump up and start
fixing stuff they "couldn't fix" when they finally made it onto the
RBL :-) .

I have sometimes found it necessary to punch a hole to allow mail to
come through from someplace on one of the lists (most recently, it was
to make sure that the head of publications for a convention I host
stuff for could communicate with others to get the program book put
together).  This is easy to do by adding entries to  your tcpserver
cdb file, like this:

# mail relay for home.net for  x 3/27/2000
24.2.9.40:allow,RBLSMTPD=""

By setting that variable to an empty string, it prevents blocking.
It's harmless if that IP isn't on the blocking list.  (I xx'd out the
name of the person this is for).  

Happy to answer any questions I know the answers to; off-list might be
better, unless others want to make sure I'm feeding you good data :-) .
-- 
Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon
Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b 
David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]



Log

2000-03-28 Thread em9652015

Hi,

Iam use qmail RPM. And the standard log --- /var/log/maillog

How I change log from  /var/log/maillog to /var/log/qmail/.log
and  /var/log/qmail/qmail/qmail-pop3d/log ???


Thanks,
Alex





Error 550 ?

2000-03-28 Thread Psabs®

I'm have one server with qmail !  the domain is test.com  and host is
serv1 ! qmail internal is very good ,  but when I send one message for
out of the net (for one user in internet ) , he returns error 550 "
don't is possible deliver message for us " !!   what is this ??  is DNS
?? this server is under of firewall with NAT !!  

Thanks for any help !!  And sorry my bad english :)



Re: Using Mailbox under Pine

2000-03-28 Thread Andy Bradford

Thus said Philip Mores on Wed, 29 Mar 2000 10:17:12 +0800:

 How can I configure pine using Mailbox instead of using
 /var/spool/mail/user ? I tried following the procedure but it doesn't
 work. Pine has an error something like "no folder".

I believe if you set MAIL to $HOME/Mailbox pine will work just fine 
with ./Mailbox
In bash this is done like so:

export MAIL=$HOME/Mailbox

Getting it to work with ./Maildir/ on the other hand may require a bit 
more work...
Andy
-- 
+== Andy == TiK: garbaglio ==+
|Linux is about freedom of choice|
+== http://www.xmission.com/~bradipo/ ===+



 PGP signature


Re: Using Mailbox under Pine

2000-03-28 Thread John Gonzalez/netMDC admin


We use pine here on this machine, what's needed is:

($:~)- cat /etc/pine.conf | grep -A 3 -B 3 MailBox

# Path of (local or remote) INBOX, e.g. ={mail.somewhere.edu}inbox
# Normal Unix default is the local INBOX (usually /usr/spool/mail/$USER).
inbox-path=~/MailBox

# List of incoming msg folders besides INBOX, e.g. ={host2}inbox,
{host3}inbox
# Syntax: optnl-label {optnl-imap-host-name}folder-path

also, make sure that your NEW users do not currently have a pine.conf or
if so, you need to modify it.

Also, you will get an error if a MailBox file does not exist, but just
send mail to the user or touch the MailBox file with the proper perms and
that will fix it.

On Tue, 28 Mar 2000, Andy Bradford wrote:

Thus said Philip Mores on Wed, 29 Mar 2000 10:17:12 +0800:

 How can I configure pine using Mailbox instead of using
 /var/spool/mail/user ? I tried following the procedure but it doesn't
 work. Pine has an error something like "no folder".

I believe if you set MAIL to $HOME/Mailbox pine will work just fine 
with ./Mailbox
In bash this is done like so:

   export MAIL=$HOME/Mailbox

Getting it to work with ./Maildir/ on the other hand may require a bit 
more work...
Andy

  ___   _  __   _  
__  /___ ___    /__  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[-[system info]---]
  9:50pm  up 64 days,  5:47,  4 users,  load average: 0.04, 0.13, 0.16




Re: Error 550 ?

2000-03-28 Thread Len Budney

Psabs® [EMAIL PROTECTED] wrote:
 Thanks for any help !!  And sorry my bad english :)

That's okay. However, Dan's English is extremely good. He never wrote
an error message which said, ``Don't is possible deliver message for
us''. It would help very much if you copied the error message exactly.

 the domain is test.com  and host is serv1...

Is this you, then?

   [budney@goshawk budney]$ nslookup test.com
   Server:  duckling.swoop.local
   Address:  192.168.0.1

   Non-authoritative answer:
   Name:test.com
   Address:  207.206.9.99

test.com does not have any mx record for serv1; nor can I find any
information on serv1.test.com in DNS. Can you give more information
about your setup? If your domain is not really test.com, then you
should give the proper name. The people on this list can help you;
they will not hack your server when you give its right name. They
_will_ yell at you when you lie about its name.

 what is this ??  is DNS ?? this server is under of firewall with NAT !!  

You need to make your question clearer. Please tell 1) what you did,
2) what the computer did, and 3) what you expected the computer to do.

Len.

--
When a user's mail has been destroyed, do you explain to him that he
was in an extremely esoteric and rare situation?  Reliability means
never having to say you're sorry.
-- Dan Bernstein, author of qmail



Re: Canonical Domains mail Error

2000-03-28 Thread System Administrator

Hi
thanks for the help it now works fine.

On Mon, 27 Mar 2000, Chris Johnson wrote:

 On Mon, Mar 27, 2000 at 02:34:00PM +0530, System Administrator wrote:
  Hi
  
  this is to request help on canonical domain names setup for mail.
  
  i have a client for whom we ahve setup canonical names for their branch
  offices. the problem is that when a mail is send to a canonical doamin
  email id the mail goes and resides into the main pop account of the
  domain. 
  
  for ex.
  ===
  1) i have a domain  abc.com
  2) i have setup four canonical domains i.e. branch1.abc.com,
  branch2.abc.com, branch3.abc.com  branch4.abc.com
 
 Change them to A records. So instead of:
 
 abc.com IN A 1.2.3.4
 branch1.abc.com IN CNAME abc.com
 
 do this:
 
 abc.com IN A 1.2.3.4
 branch1.abc.com IN A 1.2.3.4
 
 Chris
 

- Admin.

---
Parag Mehta[EMAIL PROTECTED]
System Administrator.

Puretech Internet Pvt. Ltd. http://puretech.co.in/ 
77 Atlanta. Nariman Point.
Mumbai - 400021. India. Tel: +91-22-2833158  





Pop3 with Maildir support and logging

2000-03-28 Thread Ryszard Lach [EMAIL PROTECTED]

Hi!

Do you know any pop3 daemon with Maildir support, wich enables basic logging?
Statistics such as those produced by e.g. qpopper or cucipop would be just fine
(incomming connections, number of messages/bytes downloaded/leaved,
authorization failures etc.)

Siaco.

-- 
Ryszard ach
Internet Designers s.c. 
http://www.id.pl



Re: Qmail-pop3d

2000-03-28 Thread Ryszard Lach [EMAIL PROTECTED]

On Sun, Mar 26, 2000 at 10:19:55PM -0500, Chris Johnson wrote:
 On Mon, Mar 27, 2000 at 10:04:09AM +0700, em9652015 wrote:
  DEar,
  
  I am using Pop3d, and i try telnet to port 110.
  And then :
  
  user alex
  +OK
  pass 
  -ERR this user has no $HOME/Maildir
  Connection closed by foreign host.
  
  Iam using redhat 6.1 + with sendmail and I uninstall sendmail with RPM
  and I install qmail with RPM. What's wrong with my configuration?

Well, I think it is written above. User has no $HOME/Maildir, so you should
create it. Try 'man maildirmake'.

Siaco.

-- 
Ryszard ach
Internet Designers s.c. 
http://www.id.pl



Still can't run qmail from init script

2000-03-28 Thread Irwan Hadi

I'm becoming quite desperate now, because qmail still refuse to run under
init script
I use init script from Live With qmail, and after I've done all the
requirements and do
. /usr/local/sbin/qmail start
then the result
: command not found
': not a valid identifier
: command not found
'ash: /usr/local/sbin/qmail: line 6: syntax error near unexpected token ' in
'ash: /usr/local/sbin/qmail: line 6: 'case "$1" in

The script is below
#!/bin/sh

PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH

case "$1" in
  start)
echo -n "Starting qmail: svscan"
cd /var/qmail/supervise
env - PATH="$PATH" svscan 
echo $!  /var/run/svscan.pid
echo "."
;;
  stop)
echo -n "Stopping qmail: svscan"
kill `cat /var/run/svscan.pid`
echo -n " qmail"
svc -dx /var/qmail/supervise/*
echo -n " logging"
svc -dx /var/qmail/supervise/*/log
echo "."
;;
  stat)
cd /var/qmail/supervise
svstat * */log
;;
  doqueue|alrm)
echo "Sending ALRM signal to qmail-send."
svc -a /var/qmail/supervise/qmail-send
;;
  queue)
qmail-qstat
qmail-qread
;;
  reload|hup)
echo "Sending HUP signal to qmail-send."
svc -h /var/qmail/supervise/qmail-send
;;
  pause)
echo "Pausing qmail-send"
svc -p /var/qmail/supervise/qmail-send
echo "Pausing qmail-smtpd"
svc -p /var/qmail/supervise/qmail-smtpd
;;
  cont)
echo "Continuing qmail-send"
svc -c /var/qmail/supervise/qmail-send
echo "Continuing qmail-smtpd"
svc -c /var/qmail/supervise/qmail-smtpd
;;
  restart)
echo "Restarting qmail:"
echo "* Stopping qmail-smtpd."
svc -d /var/qmail/supervise/qmail-smtpd
echo "* Sending qmail-send SIGTERM and restarting."
svc -t /var/qmail/supervise/qmail-send
echo "* Restarting qmail-smtpd."
svc -u /var/qmail/supervise/qmail-smtpd
;;
  cdb)
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*
echo "Reloaded /etc/tcp.smtp."
;;
  help)
cat HELP
   stop -- stops mail service (smtp connections refused, nothing goes out)
  start -- starts mail service (smtp connection accepted, mail can go out)
  pause -- temporarily stops mail service (connections accepted, nothing
leaves)
   cont -- continues paused mail service
   stat -- displays status of mail service
cdb -- rebuild the tcpserver cdb file for smtp
restart -- stops and restarts smtp, sends qmail-send a TERM  restarts it
doqueue -- sends qmail-send ALRM, scheduling queued messages for delivery
 reload -- sends qmail-send HUP, rereading locals and virtualdomains
  queue -- shows status of queue
   alrm -- same as doqueue
hup -- same as reload
HELP
;;
  *)
echo "Usage: $0
{start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}"
exit 1
;;
esac

exit 0




Could somebody give your initscript for me to installed at my machine, and
I hope the script is already with pop3d , and rblsmtpd, and it should be
compatible with ucspi-tcp 0.88

Thank you

---
AFLHI 058009990407128029/089802---(102598//991024)