qmail Digest 29 Jun 2000 10:00:01 -0000 Issue 1047

Topics (messages 43802 through 43886):

how to set up virtual domain with LDAP
        43802 by: reach_prashant.zeenext.com

Re: blocking aliases
        43803 by: Hubbard, David
        43804 by: RajKumar S.

Queue Problems
        43805 by: Cedric Revest

Spamming - HELO linux.remotefirewalls.com.
        43806 by: Shashi Dahal
        43808 by: Johan Almqvist
        43811 by: ksemat.wawa.eahd.or.ug

How to do a reverse DNS lookup in Qmail ?
        43807 by: Shashi Dahal
        43813 by: Erwin Hoffmann
        43814 by: clesur.lair.dyndns.org
        43853 by: Aaron L. Meehan

Re: qmail loses my users
        43809 by: Ondrej Sury
        43821 by: Greg Owen

qmail-ldap file permissions
        43810 by: prashant

Re: qmail loses my users - fixed
        43812 by: Sean Craig

Diff between Supervise & Tcpserver?
        43815 by: Brett Randall
        43816 by: Greg Owen
        43817 by: Brett Randall
        43819 by: Greg Owen
        43848 by: Dave Sill

15.000 users!! howto ?
        43818 by: mario libraro
        43820 by: System Administrator
        43823 by: Peter Green
        43846 by: Olivier M.

Re: selective relaying: two smtpd�s?
        43822 by: Markus Stumpf

two questions
        43824 by: Clifford Thurber
        43827 by: James Raftery

Re: Building very large Qmail instalations...
        43825 by: Toens Bueker
        43841 by: Mike Denka
        43867 by: Russell Nelson
        43870 by: Gustav Yeung
        43871 by: Brett Randall

sorry, no mailbox by that name
        43826 by: Jens Georg

solved! (Re: sorry, no mailbox by that name)
        43828 by: Jens Georg

Multilog: fatal: the final answer (hopefully)
        43829 by: Tony Campisi
        43839 by: Steffan Hoeke
        43854 by: clemensF
        43876 by: Steffan Hoeke

Re: Suggestion...
        43830 by: Morten Liebach
        43831 by: Brett Randall
        43834 by: Johan Almqvist
        43836 by: Ronny Haryanto
        43837 by: Mark Mentovai
        43838 by: Brian Reichert
        43843 by: Morten Liebach
        43851 by: eric k. wolven

Qmail performance issue...
        43832 by: Brian Masney
        43845 by: Greg Owen
        43849 by: Dave Sill

Question to domains
        43833 by: Thomas Booms EDV

Functionality questions
        43835 by: Mike Frost

how to unsubscribe from this list?
        43840 by: acauth1

fastforward, redirection and truncating messages
        43842 by: Lisa Phillips

urgent help require to :newbie  qmail-ldap file permissions (fwd)
        43844 by: reach_prashant.zeenext.com
        43847 by: Charles Cazabon

Limit Traffic
        43850 by: Jorge Rocha

ppp and relay newbie question
        43852 by: Eduardo Moor

how do I resync two machines after MX confusion ?
        43855 by: Andre Morin
        43856 by: markd.bushwire.net
        43857 by: Andre Morin
        43858 by: markd.bushwire.net
        43859 by: Andre Morin
        43860 by: Darcy Buskermolen
        43862 by: asantos
        43864 by: Andre Morin
        43865 by: asantos

Re: limit to RCPT TO
        43861 by: Jason Ingham
        43863 by: Ricardo Cerqueira

filehandle
        43866 by: Kimberly Vher

ucspi-tcp and daemontools licenses?
        43868 by: Vincent Danen
        43873 by: Patrick Berry

qmail_smtpd and tcpserver
        43869 by: Nguyen Hong Son

manpages for ucspi-tcp
        43872 by: Vincent Danen

delivery
        43874 by: Kimberly Vher

Re: urgent help require to :newbie  qmail-ldap file permissions + virtualdomain
        43875 by: prashant

NEW release??
        43877 by: TAG
        43880 by: Olivier M.

How to Repair Queue
        43878 by: PipE
        43885 by: Steffan Hoeke

CNAME-Lookup-Failure
        43879 by: Robert Sander
        43881 by: Magnus Bodin
        43882 by: Robert Sander

Maildir
        43883 by: Alan Chung
        43884 by: Brett Randall
        43886 by: Kimberly Vher

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]


----------------------------------------------------------------------



  i have compiled qmail 1.03 , with qmail-ldap latest patch , 

i am able to send and receive mails in to ~home/user/Maildir for my domain
say "mydomain.com"  

 now i want set it up for virtual domains  
say  "virtualdomain.com"

 i have done "rcpthost" , "virtualdomains" and ".qmail part " to accept
mails for virtual domain and FW it to other place  , 

my problem is 
 but how can i configure my qmail/Ldap directory server to accept mails for


 [EMAIL PROTECTED]
 [EMAIL PROTECTED] 

 and put them in to their respective  /Home/User/Maildir

 can this be possible  by defining maildirstore in LDAP (directory server )
and instruct qmail to take delievery directory from Directory server or
some thing like that 

  is there any workaround for this problem 


 
is there any solution that will work with qmail-ldap because i am not using
 /etc/passwd 


thanks in advance 

Prashant desai 





Hey Raj,
        how do you do the forwarding to the internal mail
server?  Do you have a virtualdomains entry set up for
indsoft.co.in?  If so, let's pretend that you have an
entry like this:

indsoft.co.in:username

And then maybe in username's directory, you have a .qmail*
of some type that handles the forwarding to the internal
mail server.  I think you could create a rule in your
/.../qmail/users/assign file that says something like
=username-all:blockall:uid:gid:directory:::
where the 'blockall', uid, and gid, are an actual user
account on your front-end computer.  In blockall's
directory, you put a .qmail & .qmail-default that has
your email address, [EMAIL PROTECTED]

I think if you did that, the rule would catch any incoming
[EMAIL PROTECTED] emails and forward them to you instead
of to the internal mail server.

Dave

-----Original Message-----
From: RajKumar S. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 5:22 AM
To: [EMAIL PROTECTED]
Subject: blocking aliases


hello all,

I have qmail server as my external server which receives my external mail
and fwds it to my internal (in the local network) sendmail which
distributes to the users who are in the private local network.

i have setup some aliases in the internal server like [EMAIL PROTECTED]
which when activated will send the mail to all the users. obviously i have
not activated it till i find a way to disable all external mails to the
aliased accounts.

ie i do not want any one outside to mail to the aliased mails address. 

any help will be much appreciated.

raj

PS: if you mail to [EMAIL PROTECTED] now the mail will be accepted but it
will go to the inbox of the user all which is not used.








On Wed, 28 Jun 2000, Hubbard, David wrote:

dave>   how do you do the forwarding to the internal mail server?  
dave> Do you have a virtualdomains entry set up for

sorry for not including the detail before 

I do the forwading by smtproutes which says
indsoft.co.in:[192.168.1.1]

raj





Hi Everyone,

When I issue a /var/qmail/bin/qmail-qstat i get:

messages in queue: 4
messages in queue but not yet preprocessed: 0

Straight after I issue a /var/qmail/bin/qmail-qread and get:

nothing at all....

Also clients have been getting times out when trying to send mail...

Any ideas?
(the set up has been working fine for 3 months..)


Regards

Cedric


-----------------------------------------------
Cedric Revest
Britnet Ltd
http://www.britnet.co.uk/

Direct Line: 0208 962 9542
Fax: 0208 964 8457






Dear All

         In the past few days, One of my server is being flooded. The from and the 
to address is of my own domain so I cannot put that in badmailfrom. Looks 
like someone is trying to flood our servers by sending a lot of junk mails.

As per the example below, the only thing that is common is HELO 
linux.remotefirewalls.com.
How do I stop receiving mails via such domain. Writing to the postmaster 
there might take a long time and the servers might change.
I am using qmail 1.03 and Redhat Linux 6.0.


Thanks in Advance,
Shashi Dahal

-----------------------------------------------------------------------------------------
Received: (qmail 24885 invoked from network); 28 Jun 2000 07:05:16 -0000
Received: from unknown (HELO linux.remotefirewalls.com) (207.105.53.78)
   by trishakti.wlink.com.np with SMTP; 28 Jun 2000 07:05:16 -0000
Received: from gateway ([192.168.51.51])
         by linux.remotefirewalls.com (8.9.3/8.9.3) with SMTP id JAA03175;
         Tue, 27 Jun 2000 09:51:26 -0700
Reply-To: <[EMAIL PROTECTED]>
From: "BIT INFO COM" <[EMAIL PROTECTED]>
To: "a" <[EMAIL PROTECTED]>
Subject:
Date: Wed, 28 Jun 2000 02:07:02 -0700
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: audio/mpeg;
         name="papa_the_great-aao_humse[1].mp3"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
         filename="papa_the_great-aao_humse[1].mp3"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600

------------------------------------------------------------------------------------- 
-






> As per the example below, the only thing that is common is HELO 
> linux.remotefirewalls.com.
> How do I stop receiving mails via such domain. Writing to the postmaster 
> there might take a long time and the servers might change.
> I am using qmail 1.03 and Redhat Linux 6.0.

How about blocking the sender's IP in /etc/tcpcontrol/smtp.rules (or
where that is on your system) - just add a line

207.105.53.78:deny

and they will not be allowed to speak to your server. Another possibility
is locking them out with

ipchains -A -s 207.105.53.78 --destination-port 25 -j DENY

(assuming Linux)

-Johan
-- 
Johan Almqvist




I think a procmail rule to filter this out would do the trick read the
documentation on procmail I think you will have to set your defaults in
/etc/procmailrc. It is all there in the manual page.
 On Wed, 28 Jun 2000,
Shashi Dahal wrote:

> Date: Wed, 28 Jun 2000 16:35:57 +0545
> From: Shashi Dahal <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: Spamming - HELO linux.remotefirewalls.com.
> 
> Dear All
> 
>        In the past few days, One of my server is being flooded. The from and the 
> to address is of my own domain so I cannot put that in badmailfrom. Looks 
> like someone is trying to flood our servers by sending a lot of junk mails.
> 
> As per the example below, the only thing that is common is HELO 
> linux.remotefirewalls.com.
> How do I stop receiving mails via such domain. Writing to the postmaster 
> there might take a long time and the servers might change.
> I am using qmail 1.03 and Redhat Linux 6.0.
> 
> 
> Thanks in Advance,
> Shashi Dahal
> 
> 
>-----------------------------------------------------------------------------------------
> Received: (qmail 24885 invoked from network); 28 Jun 2000 07:05:16 -0000
> Received: from unknown (HELO linux.remotefirewalls.com) (207.105.53.78)
>    by trishakti.wlink.com.np with SMTP; 28 Jun 2000 07:05:16 -0000
> Received: from gateway ([192.168.51.51])
>          by linux.remotefirewalls.com (8.9.3/8.9.3) with SMTP id JAA03175;
>          Tue, 27 Jun 2000 09:51:26 -0700
> Reply-To: <[EMAIL PROTECTED]>
> From: "BIT INFO COM" <[EMAIL PROTECTED]>
> To: "a" <[EMAIL PROTECTED]>
> Subject:
> Date: Wed, 28 Jun 2000 02:07:02 -0700
> Message-ID: <[EMAIL PROTECTED]>
> MIME-Version: 1.0
> Content-Type: audio/mpeg;
>          name="papa_the_great-aao_humse[1].mp3"
> 
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
>          filename="papa_the_great-aao_humse[1].mp3"
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
> Importance: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600
> 
> 
>------------------------------------------------------------------------------------- 
> -
> 
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> "Partner Up ... and up your profits with register.com!"
> Visit http://register.com Partnering up is quick, easy and
> profitable through our co-brand and TPP programs.
> 
> _____________ � The ISP-TECH Discussion List � _____________
> To Join: mailto:[EMAIL PROTECTED]
> To Remove: mailto:[EMAIL PROTECTED]
> Archives: http://isp-lists.isp-planet.com/isp-tech/archives/
> 

Sematimba Noah
Network Administrator
Uganda Online
-------------------------------------------------------------------------------
[EMAIL PROTECTED] P.O.Box 1254 Kampala 






Dear All,

Sorry for this question, but whenever my server accepts an incomming 
connection, how do I set qmail to do a reverse dns lookup and reject the 
mail if the sender domian does not exist.



Thanks
Shashi Dahal.





Hi, 

you can use the MFCHECK patch from QMAIL's home page or my SPAMCONTROL
patch which includes it.

http://www.fehcom.de/qmail_en.html

cheers
eh.

At 16:43 28.6.2000 +0545, Shashi Dahal wrote:
>Dear All,
>
>Sorry for this question, but whenever my server accepts an incomming 
>connection, how do I set qmail to do a reverse dns lookup and reject the 
>mail if the sender domian does not exist.
>
>
>
>Thanks
>Shashi Dahal.
>
>
+-----------------------------------------------------------------------+
|  fff        hh         http://www.fehcom.de        Dr. Erwin Hoffmann |
| ff          hh                                                        |
| ff    eee   hhhh      ccc   ooo    mm mm  mm       Wiener Weg 8       |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm     50858 Koeln        |
| ff  ee eee  hh  hh  cc   oo     oo mm   mm  mm                        |
| ff  eee     hh  hh   cc   oo   oo  mm   mm  mm     Tel 0221 484 4923  |
| ff   eeee   hh  hh    ccc   ooo    mm   mm  mm     Fax 0221 484 4924  |
+-----------------------------------------------------------------------+




Hy !

If you use tcpserver (ucspi package), simply add the -p parameter to tcpserver command 
line.

This will force the "paranoid" mode and tcpserver will do a reverse DNS check.

Regards, Chris.




Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]):
> If you use tcpserver (ucspi package), simply add the -p parameter to
> tcpserver command line.  This will force the "paranoid" mode and
> tcpserver will do a reverse DNS check.

This will force tcpserver to make sure the A and PTR records are a
match.  tcpserver does reverse lookups by default -- the -h and -H
switches control this.  In addition, setting -p only tells tcpserver
to set a particular environment variable if the connection is deemed
"paranoid."  You need another switch to actually get it to reject the
connection outright.  This wasn't what he was asking about.  He wants
to reject connections, if I understand his english properly, that come
from IP addresses that don't resolve to a name (reverse dns lookup).
I think that's a bad idea.

You didn't quote or attribute the message to which you were replying.
Tisk -- this is a mailing list, after all.  I'd be able to show better
that you answered without understanding exactly what he meant.

Aaron




Sean Craig wrote:
> 
> Hi all
> 
> Hope you're having a better time than me.
> 
> I'm using a qmail-cyrus implementation that works.  I've set up qmail
> 1.03 from rpm and cyrus 1.6.20 also from rpm.
> I've followed the instructions for both cyrus and qmail, dug up a
> qmail_deliver_wrapper to shuttle mail from qmail to cyrus, and all
> works......almost.
> 
> Periodically, and I haven't been able to narrow this down to any
> specific event, qmail overwrites my ~/users/assign file, and rebuilds
> the cdb.
> 
> I also find a huge mail log 'cause qmail tries to deliver a copy of
> every message to a non-existent [EMAIL PROTECTED]
> 
> Any ideas would really be appreciated.

Again GOD damn those RPMs.  Check your crontable.  Bruce have you
thinked about removing that crontab script from RPMs?  It is causing
more confusion than usefullness.

-- 
Ondřej Surý <[EMAIL PROTECTED]> Globe Internet s.r.o.http://globe.cz/
Tel: +420235365000 Fax: +420235365009  Pláničkova 1, 162 00 Praha 6
Mob: +420602667702 ICQ: 24944126      Mapa: http://globe.namape.cz/
NAJDI.TO http://najdi.to/        Chief Administrator and Developer.




> Periodically, and I haven't been able to narrow this down to any
> specific event, qmail overwrites my ~/users/assign file, and rebuilds
> the cdb.

        Checked all your cron entries?

> I also find a huge mail log 'cause qmail tries to deliver a copy of
> every message to a non-existent [EMAIL PROTECTED]

http://web.infoave.net/~dsill/lwq.html#queue_extra will explain why it's
trying to log a copy.  If you find what alias it is using to log to ('log'
in the example, 'msglog' for you, perhaps) you can drop those messages by
creating /var/qmail/alias/.qmail-name (where name is 'log', 'msglog', or
whatever your system was compiled to use) and putting a single '#' in the
file.

        In the long term, if you don't want logging, you may want to
recompile without QUEUE_EXTRA.  The extra deliveries show up in the logs
even if you drop the mail using '#' in the .qmail file.

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






hello list


can some one tell me what file permissions are required
for
1>  ~Home/Maildir
2>    Maildir
3> cur
4> new
5> tmp

 i have tried giving it  644 but its not working qmail is not able to
deliever mail nor qmail-pop3d  is able
to retrive mails from users  /Maildir/new

when i made it 777 for /Maildir/*
and 755 for Maildir

its working fine

but i cant make it 777 , so want to know what it should be and why its not
working in my case
i am using qmail 1-03 with qmail-ldap-20000601-patch compiled on RedHat
linux 6.1

please guide me

regards
Prashant Desai







Hi Ondrej, everybody

Thats the one, /etc/cron.hourly/qmail

A nice idea if you have an open system where your users can log in, but
kinda screws things up if you want to create a closed system.  In my case,

my cyrus users are authenticated from a mysql db.

Maybe this file is worth a note in the RPM documentation.

thanks again

Sean Craig

Ondrej Sury wrote:

> Sean Craig wrote:
> >
> > Hi all
> >
> > Hope you're having a better time than me.
> >
> > Periodically, and I haven't been able to narrow this down to any
> > specific event, qmail overwrites my ~/users/assign file, and rebuilds
> > the cdb.
> >
> > I also find a huge mail log 'cause qmail tries to deliver a copy of
> > every message to a non-existent [EMAIL PROTECTED]
> >
> > Any ideas would really be appreciated.
>
> Again GOD damn those RPMs.  Check your crontable.  Bruce have you
> thinked about removing that crontab script from RPMs?  It is causing
> more confusion than usefullness.
>
> --
> Ond�ej Sur� <[EMAIL PROTECTED]> Globe Internet s.r.o.http://globe.cz/
> Tel: +420235365000 Fax: +420235365009  Pl�ni�kova 1, 162 00 Praha 6
> Mob: +420602667702 ICQ: 24944126      Mapa: http://globe.namape.cz/
> NAJDI.TO http://najdi.to/        Chief Administrator and Developer.





Hi guys. This is probly a simple question but I can't find an obvious answer anywhere.As far as I can tell, there are three ways to run Qmail: Inetd (yuck), tcpserver (regular), and supervisor (??). I have set up a new master qmail server up with supervisor (just for testing sake) and it runs fine, but all my other qmail servers run tcpserver with no probs as well. Can anyone tell me what the difference is between simply running a qmail smtp daemon through tcpserver, and setting up all the weird supervisor stuff is? I have to document it in layman's terms for a client, and don't really know advantages/disadvantages of either.
 
Thanks,
 
BR





> Hi guys. This is probly a simple question but I can't
> find an obvious answer anywhere.As far as I can tell,
> there are three ways to run Qmail: Inetd (yuck), tcpserver
> (regular), and supervisor (??).

        Inetd and tcpserver are programs designed to accept traffic on a
port and start a given program in response to that traffic.

        supervise is designed to start a program, restart it if it fails
unexpectedly, and provide an easy way to pass signals to the program.

        So, you would use supervise to start tcpserver which starts
qmail-smtpd, and if tcpserver died supervise would restart it for you.

        Given the reliability of qmail and related tools, I've always
wondered why supervise came about ;>.  You can use it or not, as you prefer.

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




Thanks for that...

One other thing now. I want to use multilog to log on machines not running
supervise, because we just want simple set up and I want to be able to parse
the log files through either qmailanalog or qmail-mrtg (any recommendations
here?). Is this easy to do?

Thanks,

BR
-----Original Message-----
From: Greg Owen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, June 28, 2000 11:04 PM
Subject: RE: Diff between Supervise & Tcpserver?


>
>> Hi guys. This is probly a simple question but I can't
>> find an obvious answer anywhere.As far as I can tell,
>> there are three ways to run Qmail: Inetd (yuck), tcpserver
>> (regular), and supervisor (??).
>
> Inetd and tcpserver are programs designed to accept traffic on a
>port and start a given program in response to that traffic.
>
> supervise is designed to start a program, restart it if it fails
>unexpectedly, and provide an easy way to pass signals to the program.
>
> So, you would use supervise to start tcpserver which starts
>qmail-smtpd, and if tcpserver died supervise would restart it for you.
>
> Given the reliability of qmail and related tools, I've always
>wondered why supervise came about ;>.  You can use it or not, as you
prefer.
>
>--
>      gowen -- Greg Owen -- [EMAIL PROTECTED]





> One other thing now. I want to use multilog to log on 
> machines not running supervise, because we just want
> simple set up and I want to be able to parse the log
> files through either qmailanalog or qmail-mrtg (any 
> recommendations here?). Is this easy to do?

        Sure, just replace 'splogger' in your qmail-start invocation
(/var/qmail/rc in the INSTALL directions) with the appropriate 'multilog'
line.  qmailanalog won't correctly handle the new timestamps that the newest
multilog uses, but there are ways to work around that - I've attached two
relevant messages.

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



Ken Jones writes:
 > 
 > Does anyone have a patch to qmailanalog to read
 > the new multilog time format?

There's two (2) patches to create a program which accepts multilog
time format (tai64n) and rewrites it into fractional seconds (taifrac)
format.  They're listed on www.qmail.org.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.




Not using the patches from www.qmail.org, but this works for me

Script to convert to a format qmailanalog likes

#!/usr/bin/perl

while (<>) {
  if (my($s,$t,$rest)=/^\@.(\w{15})(\w{8})(.*)/) {
    $s = hex($s);
    $t = hex($t); $t =~ s/500$//;
    $_ = "$s.$t$rest\n";
    }
  } continue {
    print;
  }
exit 0;

Script to process the logs and mail to me

#!/bin/sh
PATH=/usr/local/qmailanalog/bin:/var/qmail/bin:/bin:/usr/bin
QMAILLOG="/tmp/q.$$"
QMAILTMP="/tmp/r.$$"
umask 077
cat /var/log/qmail/@* > $QMAILTMP
cat /var/log/qmail/current >> $QMAILTMP
cat $QMAILTMP | tai64n2time | matchup > $QMAILLOG 5>/dev/null

DATE=`date +'%a %d %b'`
(echo "To: [EMAIL PROTECTED]"
echo "From: [EMAIL PROTECTED]"
echo "Subject: Qmail daily report $DATE"
echo ""
zoverall < $QMAILLOG) | qmail-inject

rm -f $QMAILLOG
rm -f $QMAILTMP

-----Original Message-----
From: kbo [mailto:kbo]On Behalf Of Ken Jones
Sent: Wednesday, June 07, 2000 3:29 PM
To: [EMAIL PROTECTED]
Subject: qmailanalog and multilog


Does anyone have a patch to qmailanalog to read
the new multilog time format?

Ken Jones
inter7






Greg Owen <[EMAIL PROTECTED]> wrote:

>       Given the reliability of qmail and related tools, I've always
>wondered why supervise came about ;>.  You can use it or not, as you prefer.

Because "reliability means never having to say you're sorry"
(DJB). The key word there is "never". If you don't want or need
reliability, by all means, skip supervise.

Of course, you'll also be giving up the handy process control features 
provided by the "svc" interface. See the "qmail" script from "Life
with qmail", for example.

-Dave




Hi,

I am Mario Libraro and this is the first time i write on this mailing list..

I have to setup a mailserver with 15000 (or probably, in a next future
up to 20.000) users. The info about user accounts are now in a MSAccess
database but i can
convert them in any plain text fashion.
My questions are:

- is it difficult to load 15000 user acconuts in qmail with a script (using
the database or a text list)? This
implies that i must load 15000 user accounts in the system (/etc/passwd)  ?

and...

- is there a webmail module for qmail ?
- is it possible for users to remotely change mail password and add mail
aliases ?
- is it possible for an administrator to remotely add/modify/remove accounts
?

Thanks in advance..!!

Mario Libraro







Hi

you can checkout www.qmail.org for complete details on web module and
everything on qmail

regards,

parag mehta
On Wed, 28 Jun 2000, mario libraro wrote:

> Hi,
> 
> I am Mario Libraro and this is the first time i write on this mailing list..
> 
> I have to setup a mailserver with 15000 (or probably, in a next future
> up to 20.000) users. The info about user accounts are now in a MSAccess
> database but i can
> convert them in any plain text fashion.
> My questions are:
> 
> - is it difficult to load 15000 user acconuts in qmail with a script (using
> the database or a text list)? This
> implies that i must load 15000 user accounts in the system (/etc/passwd)  ?
> 
> and...
> 
> - is there a webmail module for qmail ?
> - is it possible for users to remotely change mail password and add mail
> aliases ?
> - is it possible for an administrator to remotely add/modify/remove accounts
> ?
> 
> Thanks in advance..!!
> 
> Mario Libraro
> 
> 
> 
> 

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          
============================================================
Support is now available thru our Web Based Support System.
http://support.puretech.co.in
============================================================







also sprach mario.libraro:
> Hi,
> 
> I am Mario Libraro and this is the first time i write on this mailing list..
> 
> I have to setup a mailserver with 15000 (or probably, in a next future
> up to 20.000) users. The info about user accounts are now in a MSAccess
> database but i can
> convert them in any plain text fashion.

Shouldn't be too much of a problem.

> My questions are:
> 
> - is it difficult to load 15000 user acconuts in qmail with a script (using
> the database or a text list)? This
> implies that i must load 15000 user accounts in the system (/etc/passwd)  ?

No, you can use qmail with a single system UID/GID. There is a link off the
qmail.org home page describing how to do so. Alternatively, you can use one
of the packages (vpopmail at www.inter7.com/vpopmail/, vmailmgr at
www.vmailmgr.org) to automate and simplify a lot of this process.

> - is there a webmail module for qmail ?

Tons. Any webmail program that does POP/IMAP is a candidate; just install a
POP/IMAP server for qmail. Also, sqwebmail, oMail, and (I believe) Neomail
(others?) read Maildir/ straight from the filesystem.

Search freshmeat.net for those webmail programs.

> - is it possible for users to remotely change mail password and add mail
> aliases ?

With vpopmail, you'd use qmailadmin. Or sqwebmail supports the password
change as well.

> - is it possible for an administrator to remotely add/modify/remove accounts

qmailadmin here as well, if you're using vpopmail.

Otherwise, there is a Webmin (www.webmin.com/webmin/) module for qmail out
there. Haven't used it, can't say how well it works...

In a nutshell, visit, bookmark, memorize these URLs and you'll be fine:

  www.qmail.org
  Web.InfoAve.Net/~dsill/lwq.html

Good luck!

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"How should I know if it works? That's what beta testers are for. I only
coded it."
(Attributed to Linus Torvalds, somewhere in a posting)





Hi Mario,

On Wed, Jun 28, 2000 at 03:22:34PM +0200, mario libraro wrote:
> I am Mario Libraro and this is the first time i write on this mailing list..
welcome to u :)

> - is it difficult to load 15000 user acconuts in qmail with a script (using
> the database or a text list)? This
probably not. are these all users of a same domain, or are there multiple
domains ?

> implies that i must load 15000 user accounts in the system (/etc/passwd)  ?
for so many users, I would use the vmailmgr package of Bruce G. :
http://www.vmailmgr.org/
  
You can then easily create a script which call the vaddusers
command (http://www.vmailmgr.org/docs/vaddusers.html).

Otherwise, there are other solutions : look at www.qmail.org.

> - is there a webmail module for qmail ?
you can try http://webmail.omnis.ch/omail.pl?action=about   

> - is it possible for users to remotely change mail password and add mail
> aliases ?
with very few lines of php, no problem.

> - is it possible for an administrator to remotely add/modify/remove accounts
yes
  
Good luck!
Olivier
  
PS: if you have questions specific to vmailmgr (add-on for qmail), there
is a good mailing list for that. More info on the webpage.
 

-- 
_________________________________________________________________
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland

PGP signature





On Fri, Jun 23, 2000 at 04:47:44PM +0200, Thilo Bangert wrote:
> i absolutely need to allow my pop3 users relaying, for which i want to use
> relay-ctrl (is there a better solution out there). but that would mean the

You don't need TWO smtp daemons.
Thats why it's called *relay* control.
Just RFTM relay-control-age.8 and put the following line in (standard
setup as referenced in relay-control manuals assumed) the file
/etc/tcpcontrol/smtp.rules (starting at char postition 0)
     :allow

        \Maex

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




Hello,
I was wondering if someone could tell me how to have multilog automatically
write standard Unix timestamps to its logfiles instead of the tai64n
format. I know that tai64nlocal will do the conversions but do you know
what the syntax in the run file would need to be changed to. Currently I
have :

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

The second questions is the 0 after the gid and before the smtpd keyword in
the following start script for. I know smtp specifies the port but after
looking at the man page I still can't figure out what the 0 is for. Anyways
thanks.





#!/bin/sh
QMAILDUID=`-u qmaild`
NOFILESGID=`-g qmaild`
exec /usr/local/bin/softlimit -m 2000000  /usr/local/bin/tcpserver -v -p -x
/etc/tcp.smtp.cdb \
 -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1

Clifford Thurber
Web Systems Administrator
LiveUniverse.com
[EMAIL PROTECTED]
565 5th Ave. 29th Fl.
New York, NY 10017
Ph:212 883 6940  (131)
Fax:212 856 9134




On Wed, Jun 28, 2000 at 10:07:46AM -0400, Clifford Thurber wrote:
> I was wondering if someone could tell me how to have multilog automatically
> write standard Unix timestamps to its logfiles instead of the tai64n

Well, multilog won't do that for you. What you *could* do is pipe your
log information through something to prepend your desired timestamp and
pipe the output of that into multilog. You would then leave out the 't'
in the multilog invocation to stop multilog adding its own timestamps.

> The second questions is the 0 after the gid and before the smtpd keyword in
> the following start script for. I know smtp specifies the port but after
> looking at the man page I still can't figure out what the 0 is for. Anyways

The second paragraph of DESCRIPTION describes the 'host' argument.

Regards,

james
-- 
James Raftery (JBR54)  -  Programmer Hostmaster  -  IE TLD Hostmaster
   IE Domain Registry  -  www.domainregistry.ie  -  (+353 1) 706 2375
  "Managing 4000 customer domains with BIND has been a lot like
   herding cats." - Mike Batchelor, on [EMAIL PROTECTED]




Greg Moeller <[EMAIL PROTECTED]> wrote:

> I'm one of the admins of a largish Qmail installation (~60,000 mailboxes)
> and the hardware we're running it on it near the limit.
> (Sun Ultra 450, dual processor, A1000 storage array)
> The system is very IO bound, sometimes with a load average of 20-25.
> (although usually between 3-8)
> 
> Now, we called Sun, asking about a high capacity disk solution, one that might 
> help with the IO problems.  (cache on the disk array to take care of all the 
> fsyncs Qmail does) They told us that around 50k-60k
> mailboxes is about the limit of Qmail. 
> 
> Now, my question to all of you is how expandable is Qmail, and what's the best 
> way to do it?
> 
> We're looking to expand the system to 150,000-200,000 mailboxes.

Their answer was predictable - at least they have to try
and sell their SIMS.

I don't know about qmail - but as we have used a Sun U2
(two cpus) with 100,000 mailboxes for a short period of
time with sendmail, qmail should easily handle much more.

The problem - in this case - is Suns filesystem and qmails
file operations. You didn't mention the number of disks in
your A1000 - but maybe you should add some and spread the
load between them.

My suggestion, though, would be to dump the E450 and grab
a reasonable sized Intel box (maybe dual PII 500) with FreeBSD
on it. With FreeBSD, ffs and softupdates your i/o
headaches should be gone.

By
T�ns
-- 
Linux. The dot in /.




Could you, or anyone else who would care to join this discussion, please be
more specific re: "Suns filesystems and qmails file operations"?  We are
load balancing a pair of Sun E250's sharing one disk array via NFS.  All
Maildirs are on the NFS share.  So far (roughly 10,000 mailboxes) I don't
notice any real problems.  But I would be very interested in more detail
regarding these two issues (Sun filesystems and qmail file operations) in
case I do begin to notice I/O issues on the NFS server.  Can you give a
detailed explanation or perhaps point me to some appropriate docs for more
detail?

Thanks,

Mike

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Toens
> Bueker
> Sent: Wednesday, June 28, 2000 7:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Building very large Qmail instalations...
> Importance: High
>
>
>
> The problem - in this case - is Suns filesystem and qmails
> file operations. You didn't mention the number of disks in
> your A1000 - but maybe you should add some and spread the
> load between them.
>
> My suggestion, though, would be to dump the E450 and grab
> a reasonable sized Intel box (maybe dual PII 500) with FreeBSD
> on it. With FreeBSD, ffs and softupdates your i/o
> headaches should be gone.
>
> By
> T�ns
> --
> Linux. The dot in /.
>





Greg Moeller writes:
 > Now, we called Sun, asking about a high capacity disk solution, one that might 
 > help with the IO problems.  (cache on the disk array to take care of all the 
 > fsyncs Qmail does)
 > They told us that around 50k-60k mailboxes is about the limit of Qmail.

They have no clue.  I've designed multiple sites with close to a
milllion mailboxes running on Sun hardware (well, okay, one of them is 
just starting up, but it's designed for five million mailboxes).

 > Now, my question to all of you is how expandable is Qmail, and what's the best 
 > way to do it?

Just the way you're doing it: single mailstore with multiple front-ends.

 > We're looking to expand the system to 150,000-200,000 mailboxes.
 > 
 > How does Qmail deal with a single storage array linked to multiple load 
 > balenced servers?

Very well.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Is Unix compatible with
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | Linux?




Title: RE: Building very large Qmail instalations...

I am also tackling the same problem. My idea is to have a line of frontend servers load-balanced at network level and other line of servers solely taking care of storage. The mail servers would access the storage via NFS on a private network. My current problem is to pick the right techology: NAS like NetApp or SAN like SGI's CXFS.

Gustav

Gustav Yeung
Senior Systems Manager
renren.com Holdings Ltd.
Email: [EMAIL PROTECTED]

Joy is not in Things, It is in us.
        Richard Wagner (1813-1883)


-----Original Message-----
From: Greg Moeller [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 3:49 PM
To: [EMAIL PROTECTED]
Subject: Building very large Qmail instalations...


I'm one of the admins of a largish Qmail installation (~60,000 mailboxes)
and the hardware we're running it on it near the limit.
(Sun Ultra 450, dual processor, A1000 storage array)
The system is very IO bound, sometimes with a load average of 20-25.
(although usually between 3-8)

Now, we called Sun, asking about a high capacity disk solution, one that might
help with the IO problems.  (cache on the disk array to take care of all the
fsyncs Qmail does)
They told us that around 50k-60k mailboxes is about the limit of Qmail.

Now, my question to all of you is how expandable is Qmail, and what's the best
way to do it?

We're looking to expand the system to 150,000-200,000 mailboxes.

How does Qmail deal with a single storage array linked to multiple load
balenced servers?

Greg





Well...I have a little 2c to chuck in as well

I have just finished designing a system (and implementing it) for our
corporation that allows distributed e-mail across a city, with hundreds,
possibly thousands, of different locations either dialing up or being
permanently connected to our main relay. And all e-mail is sent to
[EMAIL PROTECTED], no subdomains (although we have set it up to allow for
virtual domains in the future), and is delivered to the correct location.

All the e-mail is relayed to NFS shares on client machines around Sydney,
uing Qmail's maildir delivery format. If an NFS share is down (ie a site
hasn't dialed up recently or an ISDN link has failed), then it is deferred
for up to a week - simplistic but it works. All users can check their e-mail
internally from their local server or externally from the main server (only
internet viewable machine in the entire network, and even then through a
router) via NIS.

Why go to all this trouble? You may say. Why not just use aliases? Because
aliases can create excess traffic, bouncing e-mails when servers are down
and the like. The aim of this project was to make network traffic across the
whole network as small as possible, with reliability for as many locations
as possible and the ability for smaller ones to only have to dial in
(similar to UUCP). This way, the only network traffic is an e-mail being
transferred to an NFS share, and all employees are happy. If a server goes
down, no others are affected (except if the master server was to go down,
but even then POP and SMTP will still work, just being deferred until it
comes up again). We are also working on a redundant server for when a link
goes down or the server has a failure.

If you're still reading, congratulations you might be interested in all
this. I am considering writing a HOWTO for this (Reliable and Efficient
Distributed e-mail (REDE) across endless locations) if anybody wants it,
because I have to document it all anyway for the corporation. There might
already be something already out there, I dunno. But it was a great learning
experience for me in Qmail, NFS, NIS, network infrastructure between
locations... If anybody is interested in a HOWTO in the future, please
e-mail me personally.

Regards

Brett Randall






hi,

today i got my webserver connected to the internet. of course, there were
some things to do. but the most worst thing i am struggling with is the
following:

i am running qmail together with qmail-pop3d. now, the following problem
occurs today:

i can send emails from console to any of my friends and there is no
problem sending emails from console to one of my virtual domains like
i.e. [EMAIL PROTECTED] that works all perfectly.

BUT, sending an email to i.e. [EMAIL PROTECTED] from another host
somewhere on the net always fails with "sorry, no mailbox by that name".

i am trying to fix this since 6 hours now, but i am really confused now
and a little bit tired of reading all the docs. somebody here who solved
this ?

-- 
regards,
jens
---------------------------------------------------------------------------
department computer science, university of dortmund
linux ... life's too short for reboots!




hi,

i fixed the problem right now ! it was a dns and not qmail problem.
mydomain.com was always resolved to www.mydomain.com and of course
qmail didn't know what to with email for [EMAIL PROTECTED] because
it was configured for mydomain.com in control/virtualdomains only :-).
this problem was caused by the fact that i am using my provider's dns
until my one works perfectly and my isp used a slightly different zone-
file. grrr .... much of wasted time today....

> i am trying to fix this since 6 hours now, but i am really confused now
> and a little bit tired of reading all the docs. somebody here who solved
> this ?

-- 
regards,
jens
---------------------------------------------------------------------------
department computer science, university of dortmund
linux ... life's too short for reboots!




Back in March someone asked about the multilog: fatal: unable to open directory
 /var/log/qmail: access denied problem. Dave asked that person to 
Post the output of:
 ls -ld /var/log/qmail /var/log /var /
 cat /var/qmail/supervise/qmail-send/log/run
but I searched the archive and didn't see their reply. Since I am getting the same
problem, I will do as Dave suggests.
----
[root@***** /var/log/qmail]# ls -ld /var/log/qmail /var/log /var /
drwxr-xr-x  19 root     root         1024 Jun 21 16:05 /
drwxr-xr-x  18 root     root         1024 May 31 14:33 /var
drwxr-xr-x   7 root     root         1024 Jun 25 04:02 /var/log
drwxrwxr-x   6 qmaill   qmail        1024 May 31 14:37 /var/log/qmail
-----
[root@***** /var/log/qmail]# cat /var/qmail/supervise/qmail-send/log/run 
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail
-----
BTW - I am also getting the 'multilog: fatal: unable to lock directory 
/var/log/qmail/smtpd: access denied' error.
[root@***** /var/log/qmail]# dir
drwxrwxr-x   2 879      root         1024 May 31 11:29 qmail-pop3d
drwxrwxr-x   2 879      root         1024 Jun 26 10:31 qmail-send
drwxrwxr-x   2 qmaill   qmail        1024 Jun 26 10:16 qmail-smtpd
drwxrwxr-x   2 qmaill   nofiles      1024 Jun  1 11:22 smtpd
------
I'll gladly give any more info if needed. 
Thanks again,
tony.campisi







On Wed, Jun 28, 2000 at 10:55:26AM -0500, Tony Campisi wrote:
> Back in March someone asked about the multilog: fatal: unable to open directory
>  /var/log/qmail: access denied problem. Dave asked that person to 
> Post the output of:
>  ls -ld /var/log/qmail /var/log /var /
>  cat /var/qmail/supervise/qmail-send/log/run
> but I searched the archive and didn't see their reply. Since I am getting the same
> problem, I will do as Dave suggests.

I'm afraid you didn't look well enough, or the archive is broken ;-)
I posted the results of the command as well and provided my own 'solution'

"Ok, the /var/log/qmail permissions weren't the problem
/var/qmail/supervise and all in it needed to be owned by qmaill as well ;)"

HTH,
 Steffan

> ----
> [root@***** /var/log/qmail]# ls -ld /var/log/qmail /var/log /var /
> drwxr-xr-x  19 root     root         1024 Jun 21 16:05 /
> drwxr-xr-x  18 root     root         1024 May 31 14:33 /var
> drwxr-xr-x   7 root     root         1024 Jun 25 04:02 /var/log
> drwxrwxr-x   6 qmaill   qmail        1024 May 31 14:37 /var/log/qmail
> -----
> [root@***** /var/log/qmail]# cat /var/qmail/supervise/qmail-send/log/run 
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail
> -----
> BTW - I am also getting the 'multilog: fatal: unable to lock directory 
> /var/log/qmail/smtpd: access denied' error.
> [root@***** /var/log/qmail]# dir
> drwxrwxr-x   2 879      root         1024 May 31 11:29 qmail-pop3d
> drwxrwxr-x   2 879      root         1024 Jun 26 10:31 qmail-send
> drwxrwxr-x   2 qmaill   qmail        1024 Jun 26 10:16 qmail-smtpd
> drwxrwxr-x   2 qmaill   nofiles      1024 Jun  1 11:22 smtpd
> ------
> I'll gladly give any more info if needed. 
> Thanks again,
> tony.campisi
> 
> 
> 

-- 
http://therookie.dyndns.org





> Steffan Hoeke:

> "Ok, the /var/log/qmail permissions weren't the problem
> /var/qmail/supervise and all in it needed to be owned by qmaill as well ;)"

why that?

clemens




On Thu, Jun 29, 2000 at 01:55:14AM +0200, clemensF wrote:
> > Steffan Hoeke:
> 
> > "Ok, the /var/log/qmail permissions weren't the problem
> > /var/qmail/supervise and all in it needed to be owned by qmaill as well ;)"
> 
> why that?
No other reason than : Before the permission change qmail start would freak out
with unable to change to current directory.
When i changed the permissions on /var/qmail/supervise and it's subs to qmaill.qmail 
it worked like a charm.
 

I know it's not a scientific approach, but i couldn't find anything in lwq about the 
proper permissions (Dave, if you're reading this ;-))

> clemens
 Steffan
-- 
http://therookie.dyndns.org





On Wed, Jun 28, 2000 at 08:49:51AM +0200, Steffan Hoeke wrote:
> Daniel,
> 
> On Wed, Jun 28, 2000 at 01:43:45AM -0500, Snowcrash wrote:
> > 
> >     This one may be in the works already.. but has there been any thought
> > into adding folder capabilities?  I have some users that owuld like to be
> > able to create custom folders for mail sorting.
> IMHO this is *not* something qmail should be able to do.
> It's more a MUA thing.
> Most MUA's i know support creating your own folders to save mail in.
> If you want to automate it you could use something like procmail.

So ... how does procmail handle maildir then? Or doesn't procmail care
about that at all?

It's the only thing I need to know before I switch to qmail, as I have
a very nice and wellfunctioning .procmailrc.

> 
> >     Daniel Daley
> >     [EMAIL PROTECTED]
> Greetz,
>  Steffan 
> 
> -- 
> http://therookie.dyndns.org
> 

-- 
Morten Liebach <[EMAIL PROTECTED]> ; http://home1.stofanet.dk/liebach
"Our scientific power has outrun our spiritual power. We have guided
 missiles and misguided men (Martin Luther King, Jr.)"




>So ... how does procmail handle maildir then? Or doesn't procmail care
>about that at all?

AFAIK (someone correct me if I am wrong), procmail does not support Maildir.

BR





On Thu, Jun 29, 2000 at 02:12:16AM +1000, Brett Randall wrote:
> >So ... how does procmail handle maildir then? Or doesn't procmail care
> >about that at all?
> 
> AFAIK (someone correct me if I am wrong), procmail does not support Maildir.

Well, stand corrected :->

Newest procmail supports Maildir.

Get it at www.procmail.org (or from redhat or wherever you want...)

-Johan
-- 
Johan Almqvist




On 28-Jun-2000, Morten Liebach wrote:
> So ... how does procmail handle maildir then? Or doesn't procmail care
> about that at all?

procmail has "native" maildir support since 3.14.

> It's the only thing I need to know before I switch to qmail, as I have
> a very nice and wellfunctioning .procmailrc.

The only changes you need to make in your procmailrc is to remove
locking (not necessary anymore) and add a trailing slash at the end of
each maildir name (to indicate that it's a maildir procmail is
delivering to), e.g.

        :0:
        * ^delivered-to: mailing list qmail@list\.cr\.yp\.to
        qmail

becomes

        :0
        * ^delivered-to: mailing list qmail@list\.cr\.yp\.to
        qmail/

Hope that helps,

        Ronny




Brett Randall wrote:
>AFAIK (someone correct me if I am wrong), procmail does not support Maildir.

It does, as of version 3.14.

Mark

-- 
Do not reply directly to this e-mail address
--
Mark Mentovai
UNIX Engineer
Gillette Global Network





On Thu, Jun 29, 2000 at 02:12:16AM +1000, Brett Randall wrote:
> >So ... how does procmail handle maildir then? Or doesn't procmail care
> >about that at all?
> 
> AFAIK (someone correct me if I am wrong), procmail does not support Maildir.

There are patches for procmail to make use of Maildirs; I've been
using procmail for a couple of years at this point.

Just look on <http://www.qmail.org/> for 'procmail'.  There are
pointers for 'maildrop' as well, which I have not explored yet...

> 
> BR
> 

-- 
Brian 'you Bastard' Reichert            [EMAIL PROTECTED]
37 Crystal Ave. #303                    Daytime number: (603) 434-6842
Derry NH 03038-1713 USA                 Intel architecture: the left-hand path




On Wed, Jun 28, 2000 at 11:15:44AM -0500, Ronny Haryanto wrote:
> On 28-Jun-2000, Morten Liebach wrote:
> > So ... how does procmail handle maildir then? Or doesn't procmail care
> > about that at all?
> 
> procmail has "native" maildir support since 3.14.
> 
> > It's the only thing I need to know before I switch to qmail, as I have
> > a very nice and wellfunctioning .procmailrc.
> 
> The only changes you need to make in your procmailrc is to remove
> locking (not necessary anymore) and add a trailing slash at the end of
> each maildir name (to indicate that it's a maildir procmail is
> delivering to), e.g.
> 
>       :0:
>       * ^delivered-to: mailing list qmail@list\.cr\.yp\.to
>       qmail
> 
> becomes
> 
>       :0
>       * ^delivered-to: mailing list qmail@list\.cr\.yp\.to
>       qmail/
> 
> Hope that helps,
> 
>       Ronny
Cool, just what I needed to know, I just have to upgrade procmail then!

Thanks a lot!

        Morten

-- 
Morten Liebach <[EMAIL PROTECTED]> ; http://home1.stofanet.dk/liebach
"Our scientific power has outrun our spiritual power. We have guided
 missiles and misguided men (Martin Luther King, Jr.)"




Brett:

Apparently procmail 3.15pre supports maildir.  It even has a sample script...

Eric Wolven





   We are currently using qmail 1.03 on a Sun E450 running Solaris 8. We
are having a problem with mail taking a very long time to be delivered
locally (sometimes in excess of 6 or 8 hours). The load on the box isn't
that bad at all, it just seems that qmail isn't sending out the mail in a
timely fashion. We installed the big todo patch for qmail, but that didn't
seem to help much. Does anyone know of any other parameters that need to
be tuned in qmail?

Here is the output from qmail-showctl:

qmail home directory: /disk8/var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 105, 106, 107, 0, 108, 109, 110, 111.
group ids: 36, 35.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is milo.cfw.com.

concurrencylocal: Local concurrency is 90.

concurrencyremote: Remote concurrency is 30.

databytes: SMTP DATA limit is 8000000 bytes.

defaultdomain: Default domain name is cfw.com.

defaulthost: Default host name is cfw.com.

doublebouncehost: (Default.) 2B recipient host: milo.cfw.com.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is milo.cfw.com.

helohost: SMTP client HELO host name is mail.cfw.com.

idhost: Message-ID host name is mail.cfw.com.

localiphost: Local IP address becomes mail.cfw.com.

locals: 
Messages for **REMOVED** are delivered locally.

me: My name is milo.cfw.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is cfw.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: Message lifetime in the queue is 345600 seconds.

rcpthosts: 
SMTP clients may send messages to recipients at **REMOVED**

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: SMTP greeting: 220 mail.cfw.com.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: SMTP server data timeout is 300 seconds.










>    We are currently using qmail 1.03 on a Sun E450 running 
> Solaris 8. We are having a problem with mail taking a very
> long time to be delivered locally (sometimes in excess of
> 6 or 8 hours).

        Check your trigger:

http://web.infoave.net/~dsill/lwq.html#trigger

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




Brian Masney <[EMAIL PROTECTED]> wrote:

>   We are currently using qmail 1.03 on a Sun E450 running Solaris 8. We
>are having a problem with mail taking a very long time to be delivered
>locally (sometimes in excess of 6 or 8 hours). The load on the box isn't
>that bad at all, it just seems that qmail isn't sending out the mail in a
>timely fashion. We installed the big todo patch for qmail, but that didn't
>seem to help much. Does anyone know of any other parameters that need to
>be tuned in qmail?

The severity of your problem indicates that it requires more than
tuning.

What does "qmail-qstat" report? Do you constantly have a large
backlog? How many qmail-local processes are running, typically? Is
qmail-send logging anything unusual? At what rate are messages being
delivered to local users? What does vmstat and iostat output look
like? I.e., do you see signs of memory starvation or I/O bottlenecks?

-Dave




Hallo all,

I want specified users to get or send only mails from a specified
domain, called "a". The users are system users with a valid mail box.
The prob here is, that theoretically the users can tell their mail
client another domain which is hosted on my server, let it call "b".

What do I have to do so the users can only get or send mails from domain
"a"?

Thanks for your help.

Thomas






I'm new to qmail, and I'm considering using it as a replacement for
Exchange at several clients.

Is there a shared address book component, similar to the Global Address
List in Exchange?

Is there a webmail interface that anyone particularly likes?

Has anyone implemented one of the My-SQL components? I like the idea of
using a database rather than dealing with bloated mail files.

Thanks!

Mike





 




Hi,

We've got an internal machine here inside our firewall that we check
our email on. We've also got 2 external machines handling email for
our customers at the domains mydomain.net (a linux machine running
sendmail) and mydomain.org (a linux machine running qmail). Employess
have their mail forwarded to our internal machine, web0.mydomain.net.

What we'd like to do is to be able to send mail to each other at our
@mydomain.net/.org addresses and have them try to deliver locally
first, on our internal machine, then deliver to the other machines if the 
user isn't found internally first.

This is what I set up to do this (defaultdomain,me and plusdomain were
set up by a previous sysadmin):

me
web0.mydomain.net

defaultdomain
mydomain.net

locals
localhost
web0
web0.mydomain.net
web0.mydomain.org
mydomain.net
mydomain.org

plusdomain
mydomain.net

rcpthosts
localhost
web0
web0.mydomain.net
web0.mydomain.org

locals
localhost
web0
web0.mydomain.net
web0.mydomain.org
mydomain.net
mydomain.org

plusdomain
mydomain.net

rcpthosts
localhost
web0
web0.mydomain.net
web0.mydomain.org

.qmail-default
|fastforward -Npd /etc/aliases.cdb  |forward "$[EMAIL PROTECTED]" 

eve.mydomain.net accepts mail and then forwards on to
grace.mydomain.org if a user isn't found there.

What is happening now is that mail is delivered locally, but if the mail
has to be delivered to eve first, the message arrives with NO message
body. I am lost as to why this would happen.

Does anyone have any suggestions for me? Does it matter if the
.qmail-default file has the commands on separate lines? Should I add
mydomain.net and mydomain.org to the rcpthosts file? Does it make a
difference if the machine email is being redirected to is running
sendmail?

Qmail is new to me so any advice is very much appreciated.

TIA

-- 
--
Lisa Phillips
Speakeasy Network



----- End forwarded message -----

-- 
--
Lisa Phillips
Speakeasy Network










hello list


can some one tell me what file permissions are required
for
1>  ~Home/Maildir
2>    Maildir
3> cur
4> new
5> tmp

 i have tried giving it  644 but its not working qmail is not able to
deliever mail nor qmail-pop3d  is able
to retrive mails from users  /Maildir/new

when i made it 777 for /Maildir/*
and 755 for Maildir

its working fine

but i cant make it 777 , so want to know what it should be and why its not
working in my case
i am using qmail 1-03 with qmail-ldap-20000601-patch compiled on RedHat
linux 6.1

please guide me

regards
Prashant Desai








[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> can some one tell me what file permissions are required
> for
> 1>  ~Home/Maildir
> 2>    Maildir
> 3> cur
> 4> new
> 5> tmp

If you want only the owner/user to be able to use it, make the Maildir and
its subdirectories mode 0700.

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




        Hi list,

        How i can limit the traffic of my mail server for connections out of my 
LAN? I'm thinking to put 2 network boards on the machine and use shaper in 
one of them, so i set MX to a board and pop3.xxx.com and smtp.xxx.com to 
other board (not shaped), that's ok, but i can't make a routing table to this.

        Look the scheme:
        -----------------------------------------
        At Linux:
        10.0.0.2 - eth0
        10.0.0.3 - eth1 (shaped at 512k)

        At DNS:

        xxx.com          IN     MX 10.0.0.3

        pop3.xxx.com     IN     A  10.0.0.2
        smtp.xxx.com     IN     A  10.0.0.2
        -------------------------------------------

        Any Ideias?


        Tkz,
        Jorge Rocha
--
Node 1 Internet
http://www.node1.com.br
Tel.: (11) 5092-6020
Fax.: (11) 5092-6033





Hi qmailers

I am running qmail 1.03 for our local users, and it connects to the internet
by a ppp link , using serialmail to send and fetchmail to download mail, and
it works fine.
Now I'm trying to deliver all local mail to other host without any luck.
I removed all entries from "locals" and add one in smtproutes wich points
our domain to the new host "Mydomain.com:192.168.1.100"
What happend is that all outgoing mail goes fine  to the pppdir ( my
virtualdomains file says ":alias-ppp", and from there to my ISP, but when I
try to send something to my domain, it also goes to the pppdir, it never
reaches the smtproute, and if I include our domain in "locals" it reach the
users in the actual host, never the new one. May be this should be simple,
but I feel blind at this time.
Any help will be welcome.

Thanks.


Eduardo Moor







First of all, this is a really stupid situation we should never have run
into in the first place ; however :

Due to some not so interesting reasons, for a couple of days our DNS has
pointed to another machine with our cloned qmail-configuration on
another IP in another town. I have complete root access to that machine. 

Now everything is back as before, but while this machine was MX for quite
a bunch of virtual domains we host, the mail arrived there.

What I need to do now, and I am discovering qmail, is a way to get all the
mail from the distant server to be sent to our machine with a minimum of
fuss and if possible transparent to the users (just being late, extra
headers don't hurt as long as they are of the kind lusers see by default
in their mailer).

I have started plunging into the really dense documentation of qmail and
read some interesting contributions in the archive of this list, compiled
maildircmd and taken a look at its doc as well. 

While I feel that there must be a simple solution short of writing a
brute-force-and-ignorance-script with a complete list of maildirs to be
processed, I lack the experience to figure this out on my own.

Thanks in advance to the list for some pointers to intelligent solutions
for my stupid problem.

-- 
Best Regards
Andr� Morin





It depends on where the mail is on this clone server. Is it in the
mail queue or has it been locally delivered to users there?

The former is much easier to deal with than the latter.


Regards.

On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
> 
> First of all, this is a really stupid situation we should never have run
> into in the first place ; however :
> 
> Due to some not so interesting reasons, for a couple of days our DNS has
> pointed to another machine with our cloned qmail-configuration on
> another IP in another town. I have complete root access to that machine. 
> 
> Now everything is back as before, but while this machine was MX for quite
> a bunch of virtual domains we host, the mail arrived there.
> 
> What I need to do now, and I am discovering qmail, is a way to get all the
> mail from the distant server to be sent to our machine with a minimum of
> fuss and if possible transparent to the users (just being late, extra
> headers don't hurt as long as they are of the kind lusers see by default
> in their mailer).
> 
> I have started plunging into the really dense documentation of qmail and
> read some interesting contributions in the archive of this list, compiled
> maildircmd and taken a look at its doc as well. 
> 
> While I feel that there must be a simple solution short of writing a
> brute-force-and-ignorance-script with a complete list of maildirs to be
> processed, I lack the experience to figure this out on my own.
> 
> Thanks in advance to the list for some pointers to intelligent solutions
> for my stupid problem.
> 
> -- 
> Best Regards
> Andr� Morin
> 





Unfortunately, the second option is what I have to face.

On Wed, 28 Jun 2000 [EMAIL PROTECTED] wrote:

> Date: Wed, 28 Jun 2000 17:00:11 -0700
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: how do I resync two machines after MX confusion ?
> 
> It depends on where the mail is on this clone server. Is it in the
> mail queue or has it been locally delivered to users there?
> 
> The former is much easier to deal with than the latter.
> 
> 
> Regards.
> 
> On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
> > 
> > First of all, this is a really stupid situation we should never have run
> > into in the first place ; however :
> > 
> > Due to some not so interesting reasons, for a couple of days our DNS has
> > pointed to another machine with our cloned qmail-configuration on
> > another IP in another town. I have complete root access to that machine. 
> > 
> > Now everything is back as before, but while this machine was MX for quite
> > a bunch of virtual domains we host, the mail arrived there.





On Thu, Jun 29, 2000 at 02:03:46AM +0200, Andre Morin wrote:
>
> Unfortunately, the second option is what I have to face.


Then unless you have a way of definitively identifying which emails
to extract from whathever local delivery method each user employs,
then you have no perfect solution.

If the user has control of the delivery/forwarding in any way,
they may not be retreivable at all. If there was some user mail on the
clone prior to the MX mixup, then you'll need a way to separate them.

If you are lucky and the only delivey method is Maildir and the only
emails on that system are ones that can be redirected, then you
can probably qmail-inject them back into your clone system with
an smtproutes entry. You may need to grep out certain Delivered-to:
headers to avoid hitting the anti-loop code of qmail.

If you are not so lucky, then it'll be painful and thankless and
probably imperfect and there is no one solution.


Regards.


> > It depends on where the mail is on this clone server. Is it in the
> > mail queue or has it been locally delivered to users there?
> > 
> > The former is much easier to deal with than the latter.
> > 
> > 
> > Regards.
> > 
> > On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
> > > 
> > > First of all, this is a really stupid situation we should never have run
> > > into in the first place ; however :
> > > 
> > > Due to some not so interesting reasons, for a couple of days our DNS has
> > > pointed to another machine with our cloned qmail-configuration on
> > > another IP in another town. I have complete root access to that machine. 
> > > 
> > > Now everything is back as before, but while this machine was MX for quite
> > > a bunch of virtual domains we host, the mail arrived there.
> 






On Wed, 28 Jun 2000 [EMAIL PROTECTED] wrote:

> Date: Wed, 28 Jun 2000 17:11:02 -0700
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: how do I resync two machines after MX confusion ?
> 
> On Thu, Jun 29, 2000 at 02:03:46AM +0200, Andre Morin wrote:
> >
> > Unfortunately, the second option is what I have to face.
> 
> 
> Then unless you have a way of definitively identifying which emails
> to extract from whathever local delivery method each user employs,
> then you have no perfect solution.
> 
> If the user has control of the delivery/forwarding in any way,
> they may not be retreivable at all. If there was some user mail on the
> clone prior to the MX mixup, 

Yes there was.

> then you'll need a way to separate them.
> 
> If you are lucky and the only delivey method is Maildir and the only
> emails on that system are ones that can be redirected, then you
> can probably qmail-inject them back into your clone system with
> an smtproutes entry. You may need to grep out certain Delivered-to:
> headers to avoid hitting the anti-loop code of qmail.

Nearly all use simple maildir delivery.

How would I do this ?
Write a script to grep out the last Delivered-to: header ?
Use some qmail-program to do that ?

What would be the right way to do the qmail-inject then ?

Will I need to create a smtproute-file in spite of the fact that the
correct MX is now known to the DNS-servers used by the clone to resolve
names ?

> If you are not so lucky, then it'll be painful and thankless and
> probably imperfect and there is no one solution.
 
I am really a comple newbie to qmail, while I am discovering the doc, I am
quite amazed about its nifty design.

The other option for me would be some ugly script doing some rsync-alike
things to the maildirectories of the users. 

Thank You for your responsiveness, even if you confirm what I felt :
I'm in trouble...

> Regards.
> 
> 
> > > It depends on where the mail is on this clone server. Is it in the
> > > mail queue or has it been locally delivered to users there?
> > > 
> > > The former is much easier to deal with than the latter.
> > > 
> > > 
> > > Regards.
> > > 
> > > On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
> > > > 
> > > > Due to some not so interesting reasons, for a couple of days our DNS has
> > > > pointed to another machine with our cloned qmail-configuration on
> > > > another IP in another town. I have complete root access to that machine. 
> > > > 
> > > > Now everything is back as before, but while this machine was MX for quite
> > > > a bunch of virtual domains we host, the mail arrived there.
> > 
> 





If it was delivered to maildirs, would a simple tar / FTP /untar solution
work ?? assuming ofcourse that both machines have the same maildir setup ?

At 02:38 AM 6/29/00 +0200, you wrote:
>
>
>On Wed, 28 Jun 2000 [EMAIL PROTECTED] wrote:
>
>> Date: Wed, 28 Jun 2000 17:11:02 -0700
>> From: [EMAIL PROTECTED]
>> To: [EMAIL PROTECTED]
>> Subject: Re: how do I resync two machines after MX confusion ?
>> 
>> On Thu, Jun 29, 2000 at 02:03:46AM +0200, Andre Morin wrote:
>> >
>> > Unfortunately, the second option is what I have to face.
>> 
>> 
>> Then unless you have a way of definitively identifying which emails
>> to extract from whathever local delivery method each user employs,
>> then you have no perfect solution.
>> 
>> If the user has control of the delivery/forwarding in any way,
>> they may not be retreivable at all. If there was some user mail on the
>> clone prior to the MX mixup, 
>
>Yes there was.
>
>> then you'll need a way to separate them.
>> 
>> If you are lucky and the only delivey method is Maildir and the only
>> emails on that system are ones that can be redirected, then you
>> can probably qmail-inject them back into your clone system with
>> an smtproutes entry. You may need to grep out certain Delivered-to:
>> headers to avoid hitting the anti-loop code of qmail.
>
>Nearly all use simple maildir delivery.
>
>How would I do this ?
>Write a script to grep out the last Delivered-to: header ?
>Use some qmail-program to do that ?
>
>What would be the right way to do the qmail-inject then ?
>
>Will I need to create a smtproute-file in spite of the fact that the
>correct MX is now known to the DNS-servers used by the clone to resolve
>names ?
>
>> If you are not so lucky, then it'll be painful and thankless and
>> probably imperfect and there is no one solution.
> 
>I am really a comple newbie to qmail, while I am discovering the doc, I am
>quite amazed about its nifty design.
>
>The other option for me would be some ugly script doing some rsync-alike
>things to the maildirectories of the users. 
>
>Thank You for your responsiveness, even if you confirm what I felt :
>I'm in trouble...
>
>> Regards.
>> 
>> 
>> > > It depends on where the mail is on this clone server. Is it in the
>> > > mail queue or has it been locally delivered to users there?
>> > > 
>> > > The former is much easier to deal with than the latter.
>> > > 
>> > > 
>> > > Regards.
>> > > 
>> > > On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
>> > > > 
>> > > > Due to some not so interesting reasons, for a couple of days our
DNS has
>> > > > pointed to another machine with our cloned qmail-configuration on
>> > > > another IP in another town. I have complete root access to that
machine. 
>> > > > 
>> > > > Now everything is back as before, but while this machine was MX
for quite
>> > > > a bunch of virtual domains we host, the mail arrived there.
>> > 
>> 
>
>
>




I'd copy all the messages from all the users to the ~alias Maildir, and then
use djb's serialmail (the maildirsmtp util, to be exact) to blast'em to the
original machine.

After checking, delete the messages.

This shouldn't work with mailboxes, tough.

Armando

-----Original Message-----
From: Andre Morin <[EMAIL PROTECTED]>
>How would I do this ?
>Write a script to grep out the last Delivered-to: header ?
>Use some qmail-program to do that ?

smime.p7s





On Wed, 28 Jun 2000, Darcy Buskermolen wrote:

> Date: Wed, 28 Jun 2000 17:50:43 -0700
> From: Darcy Buskermolen <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: how do I resync two machines after MX confusion ?
> 
> If it was delivered to maildirs, would a simple tar / FTP /untar solution
> work ?? assuming ofcourse that both machines have the same maildir setup ?

They do indeed have the same setup.

I was looking into such a brute force approach as well.
It will certainly do the trick, but I hoped to end up with a more elegant
(qmail) solution.

But it looks like I will have to do just what you suggest.

I do not see any specific qmail-precautions to take while I untar the
stuff, am I right ?

Thank you anyway to both of you, who answered my questions so quickly,
for confirming me that I did not overlook some really cheap trick.
 
> At 02:38 AM 6/29/00 +0200, you wrote:
> >
> >
> >On Wed, 28 Jun 2000 [EMAIL PROTECTED] wrote:
> >
> >> Date: Wed, 28 Jun 2000 17:11:02 -0700
> >> From: [EMAIL PROTECTED]
> >> To: [EMAIL PROTECTED]
> >> Subject: Re: how do I resync two machines after MX confusion ?
> >> 
> >> On Thu, Jun 29, 2000 at 02:03:46AM +0200, Andre Morin wrote:
> >> >
> >> > Unfortunately, the second option is what I have to face.
> >> 
> >> 
> >> Then unless you have a way of definitively identifying which emails
> >> to extract from whathever local delivery method each user employs,
> >> then you have no perfect solution.
> >> 
> >> If the user has control of the delivery/forwarding in any way,
> >> they may not be retreivable at all. If there was some user mail on the
> >> clone prior to the MX mixup, 
> >
> >Yes there was.
> >
> >> then you'll need a way to separate them.
> >> 
> >> If you are lucky and the only delivey method is Maildir and the only
> >> emails on that system are ones that can be redirected, then you
> >> can probably qmail-inject them back into your clone system with
> >> an smtproutes entry. You may need to grep out certain Delivered-to:
> >> headers to avoid hitting the anti-loop code of qmail.
> >
> >Nearly all use simple maildir delivery.
> >
> >How would I do this ?
> >Write a script to grep out the last Delivered-to: header ?
> >Use some qmail-program to do that ?
> >
> >What would be the right way to do the qmail-inject then ?
> >
> >Will I need to create a smtproute-file in spite of the fact that the
> >correct MX is now known to the DNS-servers used by the clone to resolve
> >names ?
> >
> >> If you are not so lucky, then it'll be painful and thankless and
> >> probably imperfect and there is no one solution.
> > 
> >I am really a comple newbie to qmail, while I am discovering the doc, I am
> >quite amazed about its nifty design.
> >
> >The other option for me would be some ugly script doing some rsync-alike
> >things to the maildirectories of the users. 
> >
> >Thank You for your responsiveness, even if you confirm what I felt :
> >I'm in trouble...
> >
> >> Regards.
> >> 
> >> 
> >> > > It depends on where the mail is on this clone server. Is it in the
> >> > > mail queue or has it been locally delivered to users there?
> >> > > 
> >> > > The former is much easier to deal with than the latter.
> >> > > 
> >> > > 
> >> > > Regards.
> >> > > 
> >> > > On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
> >> > > > 
> >> > > > Due to some not so interesting reasons, for a couple of days our
> DNS has
> >> > > > pointed to another machine with our cloned qmail-configuration on
> >> > > > another IP in another town. I have complete root access to that
> machine. 
> >> > > > 
> >> > > > Now everything is back as before, but while this machine was MX
> for quite
> >> > > > a bunch of virtual domains we host, the mail arrived there.
> >> > 
> >> 
> >
> >
> >
> 





File and directory ownership could give some headaches...

If you have good bandwidth between the machines, I again recomend
maildirsmtp.

Armando

From: Andre Morin <[EMAIL PROTECTED]>
>I do not see any specific qmail-precautions to take while I untar the
>stuff, am I right ?

smime.p7s





There is purportedly a patch for this but the link on the qmail website
is stale. (The site exists but the file isn't there anymore.)

Search for "limits the number of RCPT TO: commands" on:

  http://www.qmail.org/top.html

I'm in need of this myself, does anyone have it lying around?

Thanks!
~Jason

Marcilio Jorgensen Cassella wrote:
> 
> Hi,
> 
>         How do i limit number of RCPT TO in my SMTP server ?
> 
> Thanks,
> 
> Marcilio Jorgensen
> [EMAIL PROTECTED]
> AlterNex S/A
> Brazil




On Wed, Jun 28, 2000 at 05:53:15PM -0700, Jason Ingham wrote:
> There is purportedly a patch for this but the link on the qmail website
> is stale. (The site exists but the file isn't there anymore.)
> 
> Search for "limits the number of RCPT TO: commands" on:
> 
>   http://www.qmail.org/top.html
> 
> I'm in need of this myself, does anyone have it lying around?

I don't have it anywhere I can reach it now, but I've posted a port of the maxrcpt 
patch from 1.02 to 1.03 (i suppose that's the one you're talking about).
Search this mlist's archives.

RC

> 
> Thanks!
> ~Jason
> 
> Marcilio Jorgensen Cassella wrote:
> > 
> > Hi,
> > 
> >         How do i limit number of RCPT TO in my SMTP server ?
> > 
> > Thanks,
> > 
> > Marcilio Jorgensen
> > [EMAIL PROTECTED]
> > AlterNex S/A
> > Brazil

-- 
+-------------------
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Engenharia ISP / Rede T�cnica 
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal
| Tel: +351 21 3166730/00 (24h/dia) - Fax: +351 21 3166701






does qmail support the filehandle in linux?





I've looked at the web pages for both tools and in the archives
themselves, but I can't find anything having to do with licensing
issues for these two programs.  I know they're not GNU, but I was
wondering about distribution for them.

I've made Mandrake RPMs for them would like to know if I can
distribute them.  The only changes I've made are to place the
binaries in /usr/bin instead of /usr/local/bin.  Can I distribute
binaries this way?  No patches or anything else have been applied to
them.  Or do I have to put them into /usr/local/bin in order to
distribute them?

Thank you in advance.  If you can point me to a page describing the
license for either program as well, I would sincerely appreciate it
(as I think the license should be included in the RPMs also).

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 3 days 4 hrs and 16 mins.




on 6/28/00 9:17 PM, Vincent Danen at [EMAIL PROTECTED] wrote:

> I've looked at the web pages for both tools and in the archives
> themselves, but I can't find anything having to do with licensing
> issues for these two programs.  I know they're not GNU, but I was
> wondering about distribution for them.
> 
> I've made Mandrake RPMs for them would like to know if I can
> distribute them.  The only changes I've made are to place the
> binaries in /usr/bin instead of /usr/local/bin.  Can I distribute
> binaries this way?  No patches or anything else have been applied to
> them.  Or do I have to put them into /usr/local/bin in order to
> distribute them?
> 
> Thank you in advance.  If you can point me to a page describing the
> license for either program as well, I would sincerely appreciate it
> (as I think the license should be included in the RPMs also).

A quick peek on the list archive came up with no definative answer.  The
only page that might help you out is:

ftp://koobera.math.uic.edu/www/lists.html#qmaildist which tells you how to
subscribe to a list which is for distributors of qmail-related packages.
I'd have to assume that ucspi-tcp and daemontools are somewhat qmail
related.

Pat





Hi all
I used qmail-smtpd, qmail-pop3d  with tcpserver, but i don't understand why 
tcpserver too slow, here my tcpserver commands

_ tcpserver -v -H -R -x /etc/tcp.smtp.cdb -c20 -u $QMAILUID -g $QNOFILEGID 0 
smtp /var/qmail/bin/qmail-smtpd 2>1&

_ tcpserver -v -H -R -b30 -c10 0 pop3 /var/qmail/bin/qmail-popup <mydomain> 
/var/qmail/auth_pop /var/qmail/bin/qmail-pop3d Maildir 2>1&

I am using qmail-ldap

Thanks for every feedback
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com





Before I make some unecessary work for myself, I was wondering two
things:

Are there manpages for ucspi-tcp 0.88 somewhere?  None are in the
package.  Also, is there a html2man program or something I can use to
make this easier?

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 3 days 4 hrs and 58 mins.





guys,

lets say i have a quota limit then when there is an incoming mail that
exceed my quota of course the mail will be bounce. does qmail accept the
mail before bouncing it back or check first if its exceed the qmail wont
acept it (i mean no need to put in the queue)







hello charles
thanks a lot for your help ,

i have already tried it by making 700 and even 755 , but it didt worked
i am again sending details please try to locate the point of mis
configuration


1> using Maildir to retrive  mails for users
2> using qmail -qmail-ldap-latest-patch
3> ~Home/user/Maildir
     Maildir is 755 owned by user and in same group as all other qmail users
are
     ~Maildir/cur    is 777
                    tmp  is 777
                    new  is   777

with this file permissions its working fine , but if i change it to
something else its
not working

if i made new  ~Maildir/700  then  qmail-pop3d is not able to delete
messages from the users ~/Maildir/new   once they are gets downloaded to
users pop client

i have tried all the things that i know , now i dont know what to do

so please try to locate the point where i have misconfigured , if you want
any
other details then do write me , i will certainly send it


other problem is

is it possible to configure qmail- along with qmail-ldap-patch(20000601)
its working fine except the above problem  that i have described

now i also want that same qmail server will except  mails for multiple
domain
i know rcpthost ,virtualdomains and .qmail-*  files

but how can i configre my qmail  to receive mails for

[EMAIL PROTECTED]
[EMAIL PROTECTED]

mails destined to [EMAIL PROTECTED] must go to "user"'s maildir
and ya
mails destined to [EMAIL PROTECTED]  must go to "user"'s maildir
which must be diff from  [EMAIL PROTECTED]

so the point is that
can i use LDAP directory to store same user ID for diff domains and then
accordingly tell qmail to send mails to diff mail box depending on the
domains
that is specified in directory server ,



with warmest regards
Prashant desai





----- Original Message -----
From: Charles Cazabon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 29, 2000 12:33 AM
Subject: Re: urgent help require to :newbie qmail-ldap file permissions
(fwd)


> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > can some one tell me what file permissions are required
> > for
> > 1>  ~Home/Maildir
> > 2>    Maildir
> > 3> cur
> > 4> new
> > 5> tmp
>
> If you want only the owner/user to be able to use it, make the Maildir and
> its subdirectories mode 0700.
>
> 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.
> -----------------------------------------------------------------------





Hi,

Does anyone know anything about a new release of qmail???

Thanks
Tonino




On Thu, Jun 29, 2000 at 10:03:43AM +0200, TAG wrote:
> Does anyone know anything about a new release of qmail???

nope. a new release of qmail would be a revolution :)
everybody would talk about it (news sites, freshmeat, maybe
even television, etc...:)

Oli
-- 
_________________________________________________________________
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland





in 3 days ago i try to cp /var/qmail/queue/mess to other directory and make link  at /var/qmail/queue/ in name mess But i cannot use So i find program to move queue from qmail.org But after i  up this daemon again i still got Error message like this

Jun 29 15:03:59 yahoo qmail: 962265839.162779 delivery 171902: success: 203.149.0.8_accepted_message./Remote_host_said:_250_PAA11752_Message_accepted_for_delivery/
Jun 29 15:03:59 yahoo qmail: 962265839.173883 status: local 0/45 remote 56/120
Jun 29 15:03:59 yahoo qmail: 962265839.174031 end msg 175931
Jun 29 15:04:03 yahoo qmail: 962265843.206145 warning: trouble opening remote/22/176156; will try again later
Jun 29 15:04:03 yahoo qmail: 962265843.206351 warning: trouble opening remote/7/175819; will try again later
Jun 29 15:04:03 yahoo qmail: 962265843.206480 warning: trouble opening remote/14/176171; will try again later


Have Any idea to repair it ?

=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=
PipE

System Engineer
Samart Infonet Co.ltd
99/12 Software Park, 30th Floor Chaengwattana Rd., Klong Gluar, Pak-kred Nonthaburi 11120

[EMAIL PROTECTED]
icq uin # 10831
office phone : (662) 502-6388 fax : (662) 502-6382      
=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=
                





On Thu, Jun 29, 2000 at 03:06:39PM +0700, PipE wrote:
> 
> in 3 days ago i try to cp /var/qmail/queue/mess to other directory and make link  at 
>/var/qmail/queue/ in name mess But i cannot use So i find program to move queue from 
>qmail.org But after i  up this daemon again i still got Error message like this 
> 
[snipped error message]

> 
> Have Any idea to repair it ? 
Have you tried looking for qmail queuefix ? Or was that the program you used to
move the queue in the first place ?
Should have a link on www.qmail.org somewhere ;-)
 
> PipE 
HTH,
 Steffan                 
-- 
http://therookie.dyndns.org




Hi!

We have a qmail-system that is running fine, as expected. The only problem is
that my users are not able to send mails to techfak.uni-bielefeld.de because
of "CNAME lookup failed temporarily. (#4.4.3)" happening.
I got this mail from their admin that says, it is a qmail fault. The error
is in the used version of libresolv. I cannot believe this.
Please give me some statements to help me argue. ;-)

----- Begin forwarded message -----

Hallo,

> >  > <[EMAIL PROTECTED]>:
> >  > CNAME lookup failed temporarily. (#4.4.3)

wie ich vermutet habe ist das ein Problem mit "qmail" im Zusammenspiel mit
der Resolver-Library. "qmail" ist an der Stelle ``broken by design'' und
der eigentliche Fehler steckt in der eingesetzten Version der libresolv.

Wenden Sie sich bitte an Ihren Netz-/Systemverwalter, um das Problem dort
beheben zu lassen.

Gruss,
  Peter Koch

----- End forwarded message -----

Greetings
-- 
Robert Sander
Epigenomics GmbH         www.epigenomics.de           Kastanienallee 24
+493024345330                                              10435 Berlin




On Thu, Jun 29, 2000 at 10:11:18AM +0200, Robert Sander wrote:
> Hi!
> 
> We have a qmail-system that is running fine, as expected. The only problem is
> that my users are not able to send mails to techfak.uni-bielefeld.de because
> of "CNAME lookup failed temporarily. (#4.4.3)" happening.
> I got this mail from their admin that says, it is a qmail fault. The error
> is in the used version of libresolv. I cannot believe this.
> Please give me some statements to help me argue. ;-)

Do you have any internal DNS:s?

>From here, it looks perfectly fine:

~: dnsmxip techfak.uni-bielefeld.de
129.70.134.106 100
129.70.136.103 100
129.70.128.106 100
129.70.129.106 100
129.70.132.106 100
134.95.100.208 300


(dnsmxip comes in your qmail-distribution)

/magnus

--
http://x42.com/




On Thu, Jun 29, 2000 at 10:22:06AM +0200, Magnus Bodin wrote:
> Do you have any internal DNS:s?

I have them, but it also looks okay: host -t mx techfak.uni-bielefeld.de
techfak.uni-bielefeld.de        MX      300 mail1.rrz.Uni-Koeln.DE
techfak.uni-bielefeld.de        MX      100 gemma.techfak.uni-bielefeld.de

> (dnsmxip comes in your qmail-distribution)
Oh, yes, but it didn't got installed...

I think, these MX's were set up after my first complaint...

Greetings
-- 
Robert Sander
Epigenomics GmbH         www.epigenomics.de           Kastanienallee 24
+493024345330                                              10435 Berlin




There is one thing bothering me for a while. I first compiled qmail using Maildir but decided to back to Mailbox instead later. But whenever I add a new user using "useradd" on my redhat, it automatically adds a Maildir in the user's folder. Even after I recompiled qmail. Does anybody have the same experience before? Any help is appreciated. Alan ******************************** $B%7%9%F%`%^%M!<%8%c!<(B $B%"%i%s!!%A%c%s(B ******************************** $B%7%k%P!<%(%C%0%F%/%N%m%8!<3t<02qhttp://www.silveregg.co.jp ********************************



Try removing Maildir/ from /etc/skel (or /etc/newuser) Brett Randall -----Original Message----- From: Alan Chung <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, June 29, 2000 7:00 PM Subject: Maildir >There is one thing bothering me for a while. I first compiled qmail using >Maildir but decided to back to Mailbox instead later. But whenever I add a >new user using "useradd" on my redhat, it automatically adds a Maildir in >the user's folder. Even after I recompiled qmail. Does anybody have the >same experience before? > >Any help is appreciated. > >Alan >******************************** >$B%7%9%F%`%^%M!<%8%c!<(B >$B%"%i%s!!%A%c%s(B >******************************** >$B%7%k%P!<%(%C%0%F%/%N%m%8!<3t<02q >$B9A6h@V:d(B 2-14-15 $B%W%i%6%_%+%I(B303$B9f(B >TEL : 03-3560-1831 >FAX : 03-3560-1832 >Email: [EMAIL PROTECTED] >Homepage: http://www.silveregg.co.jp >********************************





check your /skel directory remove your .qmail file there. 
if your using linux try in /etc/skel




At 05:59 PM 6/29/00 +0900, you wrote:
>There is one thing bothering me for a while.  I first compiled qmail using 
>Maildir but decided to back to Mailbox instead later.  But whenever I add a 
>new user using "useradd" on my redhat, it automatically adds a Maildir in 
>the user's folder.  Even after I recompiled qmail.  Does anybody have the 
>same experience before?
>
>Any help is appreciated.
>
>Alan
>********************************
>$B%7%9%F%`%^%M!<%8%c!<(B
>$B%"%i%s!!%A%c%s(B
>********************************
>$B%7%k%P!<%(%C%0%F%/%N%m%8!<3t<02q<R(B
>$B9A6h@V:d(B 2-14-15 $B%W%i%6%_%+%I(B303$B9f(B
>TEL : 03-3560-1831
>FAX : 03-3560-1832
>Email: [EMAIL PROTECTED]
>Homepage: http://www.silveregg.co.jp
>********************************
>
>



Reply via email to