qmail Digest 17 Feb 2001 11:00:01 -0000 Issue 1278

Topics (messages 57385 through 57454):

scripting problems with qmail-inject and qmail-local
        57385 by: David Cunningham
        57386 by: James Raftery

Re: multiple names - one pop3d server
        57387 by: Mike Lichtenwalner

Carbon Copy question
        57388 by: Nilo Menezes
        57389 by: Frank Tegtmeyer

where is qmail-hier.c?
        57390 by: Dario Dal Ben

QMTP
        57391 by: Federico Edelman Anaya
        57392 by: Johan Almqvist
        57395 by: Frank Tegtmeyer
        57397 by: Peter van Dijk
        57409 by: Federico Edelman Anaya
        57411 by: Frank Tegtmeyer
        57414 by: Federico Edelman Anaya
        57415 by: Frank Tegtmeyer
        57418 by: Federico Edelman Anaya
        57420 by: Frank Tegtmeyer
        57421 by: Johan Almqvist

Re: CNAME Look up failed.
        57393 by: Charles Cazabon

Re: Qmail on RH 6.2
        57394 by: Charles Cazabon

Maximum Number of POP3 connects
        57396 by: qmailu
        57430 by: Dave Sill

vpopmail
        57398 by: Ari Arantes Filho

I need to block IP Address
        57399 by: Antonio Ferri Charbone
        57402 by: Pawel Garbowski
        57403 by: Charles Cazabon
        57404 by: Frank Tegtmeyer
        57407 by: Uwe Ohse

Newsletter mailings with qmail+ezmlm
        57400 by: Marcus Korte
        57406 by: Charles Cazabon

qmail and DNS
        57401 by: Marcus Korte
        57429 by: Dave Sill

Re: Quota Notification
        57405 by: Pawel Garbowski

query
        57408 by: Rohit Gupta
        57410 by: Pawel Garbowski

Re: SSL
        57412 by: Pawel Garbowski
        57432 by: Dave Sill

unsubscribe
        57413 by: Casey Allen Shobe

Mail2db or maildir2html
        57416 by: Barry Smoke
        57428 by: Jeremy Anttila

virtualdomains and MX...
        57417 by: rocael.usa.net
        57422 by: Frank Tegtmeyer

Re: I can't find qmail's log file.
        57419 by: Qiao Aijun
        57423 by: Frank Tegtmeyer

paranoid checking and simultaneous connections
        57424 by: Jeff_Newton
        57426 by: Peter van Dijk

Stuck with maildirsmtp
        57425 by: Mario Thaten

Re: How to un-break sendmail, well one part of it? :-)
        57427 by: Hubbard, David

Re: can't send mail quickly, please help me!!
        57431 by: Dave Sill

Re: how to send out more emails
        57433 by: Dave Sill

Re: Newbie Help With MS Exchange Using qmail as Gateway
        57434 by: Dave Sill

Mail hub for relay and outgoing only - no local
        57435 by: Dion_Vansevenant.psdi.com
        57440 by: Sid Wilroy

qmail-inject refuses to work if it's parent process is qmail-local?
        57436 by: David Cunningham
        57442 by: Charles Cazabon
        57444 by: David Cunningham

Domain Gateway/Relay Was: Newbie Help
        57437 by: schoon.amgt.com
        57452 by: Mario Thaten

queue is not going down...
        57438 by: Sid Wilroy

LWQ Init Script/qmail-pop3d
        57439 by: Kyle
        57441 by: ari.doctordata.com.br
        57443 by: Kyle
        57454 by: ari.doctordata.com.br

Re: Logging customization?
        57445 by: Simple

outgoing message(with multi recipient address)  was sent multi-times
        57446 by: Qiao Aijun
        57451 by: Andy Bradford

make mailing list private
        57447 by: Sashka

Time zones in Qmail.
        57448 by: Cameron Lowe

Re: redirecting Mail ??
        57449 by: Andy Bradford

ipchains and nslookup for qmail
        57450 by: Mark Lo

Re: qmail-ldap and courier-imap & authentication ?
        57453 by: Prashant Desai

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'm trying to write a script that will watch for incoming mail and send out
a response when one arrives.  I've tried to spawn the script from .qmail but
it appears that qmail-inject refuses to accept input from my script when the
script is ran by qmail-local.  Any suggestions for how to write a script to
get around this problem?





On Fri, Feb 16, 2001 at 03:49:24AM -0800, David Cunningham wrote:
> I'm trying to write a script that will watch for incoming mail and send out
> a response when one arrives.  I've tried to spawn the script from .qmail but
> it appears that qmail-inject refuses to accept input from my script when the
> script is ran by qmail-local.

Please define "refuses". Doesn't execute? Gives an error? Siliently
discards mail?

> Any suggestions for how to write a script to
> get around this problem?

Use one of the auto-responders on http://www.qmail.org/top.html?

james
-- 
James Raftery (JBR54)
  "It's somewhere in the Red Hat district"  --  A network engineer's
   freudian slip when talking about Amsterdam's nightlife at RIPE 38.




         Reply to:   Re: multiple names - one pop3d server
I don't believe qmail-smtpd is bound to a single address.  This is the script that 
calls it:

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

The new name and original name both resolve to the same IP address.

_________________________________
Mike Lichtenwalner
Technology Specialist
Manheim Township School District
Lancaster, PA, USA


Charles Cazabon wrote:
>Mike Lichtenwalner <[EMAIL PROTECTED]> wrote:
>> I have a qmail server which is also running qmail-pop3d.  We recently
>> registered a second domain name, and I would like the existing server to
>> handle both the old and new names (the new one is significantly shorter -
>> which makes it easier for our users!).  This is not a virtual hosting
>> situation - simply 2 names for the same box.
>> >> Configuring SMTP (control/rcpthosts and control/locals) was not a problem.
>> The server will now accept and correctly deliver messages addressed to the
>> new domain.
>> >> POP is a problem.  When I try to telnet on port 110 to the new name, I get a
>> "could not open connection message" (DNS is OK).
>
>Is qmail-smtpd (or rather, its tcpserver instace) bound to only a single
>address?  Does the new name have a different address than the old name?
>
>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.
>-----------------------------------------------------------------------
>
>
>RFC822 header
>-----------------------------------
>
> Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 19448 invoked from network); 15 Feb 2001 22:33:29 -0000
> Received: from unknown (HELO muncher.math.uic.edu) (131.193.178.181)
>   by mail.mtwp.k12.pa.us with SMTP; 15 Feb 2001 22:33:29 -0000
> Received: (qmail 6191 invoked by uid 1002); 15 Feb 2001 22:12:56 -0000
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> Delivered-To: mailing list [EMAIL PROTECTED]
> Received: (qmail 22748 invoked from network); 15 Feb 2001 22:12:56 -0000
> Received: from sal.qcc.sk.ca (198.169.27.3)
>   by muncher.math.uic.edu with SMTP; 15 Feb 2001 22:12:56 -0000
> Received: (qmail 1276 invoked by uid 1016); 15 Feb 2001 22:12:29 -0000
> Date: Thu, 15 Feb 2001 16:12:29 -0600
> From: Charles Cazabon <[EMAIL PROTECTED]>
> To: qmail <[EMAIL PROTECTED]>
> Subject: Re: multiple names - one pop3d server
> Message-ID: <[EMAIL PROTECTED]>
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> User-Agent: Mutt/1.2i
> In-Reply-To: <no.id>; from [EMAIL PROTECTED] on Thu, Feb 15, 2001 at >04:57:02PM 
>-0500
>





I figured out a strange behavior with my little server, specially that with an 64K channel.
 
A user need to send a domn XLS file to 10 other people in the other factory unit, so
he puts 9 of them in the cc line and one in the to line. My question is: qmail is
sending that message 10 times to the same host. I can see 10 qmail-remote instances,
running together, delivery the same message 10 times. It's a 3MB message x 10 = 30 MB
to pass in a 64K channel. It's simply shutdown any other connections due to traffic.
 
Why my mail server don't sent the message only once, to ten users in the same domains
at one time ?
 
I use qmail-1.03 + vpopmail in a Linux small server.
 
Nilo Menezes




This behaviour is intentional.

> A user need to send a domn XLS file to 10 other people in the other factory unit,

One solution is to create an expansion alias at the other end of the line 
and address to that alias. Another one is to use serialmail with some sort 
of duplicates recognition (Russell Nelson has a script that does that for 
one user).

The simplest solution in your case may be to use Postfix instead. Qmail is 
not perfect in every infrastructure.

Regards, Frank




I've successfully applied big-concurrency.patch to qmail-1.03 but when I
try to patch it with big-todo.patch it try to patch qmail-hier.c wich
I'm not able to find in qmail-1.03 source directory. Where is that file?

Dario




Where can I get help about qmail with qmtp?





* Federico Edelman Anaya <[EMAIL PROTECTED]> [010216 12:29]:
> Where can I get help about qmail with qmtp?

http://www.almqvist.net/johan/qmail/qmail-qmtpc.html

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

PGP signature






> Where can I get help about qmail with qmtp?
Describe your problem, then someone may be able to help you.

If you want to run qmail-qmtpd - that's not different from qmail-smtpd. If 
you want to use one of the qmtp-patches to qmail-remote you have to get 
them first. Look at www.qmail.org for Russell's patch or at
http://www.almqvist.net/johan/qmail/qmail-qmtpc.html
for Johan ALmqvist's patch.

Regards, Frank




On Fri, Feb 16, 2001 at 04:42:04PM +0100, Johan Almqvist wrote:
> * Federico Edelman Anaya <[EMAIL PROTECTED]> [010216 12:29]:
> > Where can I get help about qmail with qmtp?
> 
> http://www.almqvist.net/johan/qmail/qmail-qmtpc.html

And when you have that set up, go to http://www.dataloss.nl/services/
to find out how to receive the qmail mailinglist and others via QMTP.

Greetz, Peter.




I am running qmail-1.03 + big-concurrency.patch + qmail-1.03-big-dns.patch +
badrcptto.patch + qmail-1.03-qmtpc-mailroutes-1.5.patch in two servers

But.. I don't understand how qmail work with control/mailroutes.. I can't get
help for this implementation..

Daemontools-0.70
qmail-conf-0.54
ucspi-tcp-0.88

The system run under supervise script ( service/qmail , service/qmail-smtpd ,
service/qmail-qmtpd)

Well.. I sent a message to [EMAIL PROTECTED] to
verify my configuration ..
but I am under a firewall. I received a mail from this server. My server 1
send a mails to qmtp service. But, when I sent a mail from Server 1 to Server
2, the mail was sent to SMTP service .. I don't know what I do because
I don't know exactly work the qmail qmtp service .. or mailroutes ..:(((

Where I can get information about this problem? :)

Thanks!




Frank Tegtmeyer wrote:

> > Where can I get help about qmail with qmtp?
> Describe your problem, then someone may be able to help you.
>
> If you want to run qmail-qmtpd - that's not different from qmail-smtpd. If
> you want to use one of the qmtp-patches to qmail-remote you have to get
> them first. Look at www.qmail.org for Russell's patch or at
> http://www.almqvist.net/johan/qmail/qmail-qmtpc.html
> for Johan ALmqvist's patch.
>
> Regards, Frank






> But.. I don't understand how qmail work with control/mailroutes.. I can't get
> help for this implementation..
This is documented in the updated man page for qmail-remote.

> but I am under a firewall. I received a mail from this server. My server 1
> send a mails to qmtp service. But, when I sent a mail from Server 1 to Server
> 2, the mail was sent to SMTP service .. I don't know what I do because
> I don't know exactly work the qmail qmtp service .. or mailroutes ..:(((

If port 209 is firewalled at your site you will never send/receive with 
qmtp. qmail-remote always falls back to smtp in this case.

Regards, Frank




Yeah.. the port 209 is firewalled .. but.. the server1 and server2 are locals
machines ..

Frank Tegtmeyer wrote:

> > But.. I don't understand how qmail work with control/mailroutes.. I can't get
> > help for this implementation..
> This is documented in the updated man page for qmail-remote.
>
> > but I am under a firewall. I received a mail from this server. My server 1
> > send a mails to qmtp service. But, when I sent a mail from Server 1 to Server
> > 2, the mail was sent to SMTP service .. I don't know what I do because
> > I don't know exactly work the qmail qmtp service .. or mailroutes ..:(((
>
> If port 209 is firewalled at your site you will never send/receive with
> qmtp. qmail-remote always falls back to smtp in this case.
>
> Regards, Frank






> Yeah.. the port 209 is firewalled .. but.. the server1 and server2 are locals
> machines ..

How do you route between them?
If you used smtproutes before you have to use mailroutes now.

server1.example.com:[192.168.1.1]:209:qmtp
and
server2.example.com:[192.168.1.2]:209:qmtp
at the other machine.

If you use DNS set the correct MX preferences (12801).

Did you restart qmail after applying the patch? Just to be sure ...

Regards, Frank




Ummmm.. I'd like the Qmail send to QMTP if the remote host have this service ..
but if the remote host don't have running de QMTP service .. my sever send to
SMTP service .. :) Is this way the qmail work?

Frank Tegtmeyer wrote:

> > Yeah.. the port 209 is firewalled .. but.. the server1 and server2 are locals
> > machines ..
>
> How do you route between them?
> If you used smtproutes before you have to use mailroutes now.
>
> server1.example.com:[192.168.1.1]:209:qmtp
> and
> server2.example.com:[192.168.1.2]:209:qmtp
> at the other machine.
>
> If you use DNS set the correct MX preferences (12801).
>
> Did you restart qmail after applying the patch? Just to be sure ...
>
> Regards, Frank






> Ummmm.. I'd like the Qmail send to QMTP if the remote host have this service ..
> but if the remote host don't have running de QMTP service .. my sever send to
> SMTP service .. :) Is this way the qmail work?

No, this is only the fallback of the qmtp-patch. The actual patch 
implementation checks if QMTP is (better: could be) available at the 
destination. This is done through mailroutes or through MX preferences 
(see Dan's MXPS documentation at http://cr.yp.to/proto/mxps.txt).

If that fails (f.e. because of firewalled port) the above mentioned 
fallback is activated.

Regards, Frank




* Federico Edelman Anaya <[EMAIL PROTECTED]> [010216 16:22]:
> Ummmm.. I'd like the Qmail send to QMTP if the remote host have this
> service .. but if the remote host don't have running de QMTP service ..
> my sever send to SMTP service .. :) Is this way the qmail work?

Yes, if you use my patch (or Russell's patch with Ian's patch on top of
it). Note that QMTP only will be attempted if the remote domain announces
QMTP capability by MXPS or in control/mailroutes

Your firewall will obviously have to let outgoing connections to port 209
(or whatever you define in control/mailroutes) through.

BTW: Are you [EMAIL PROTECTED]? The best-MX host for that domain can't
     be reached from my server (qmtptest).

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

PGP signature





Mark Lo <[EMAIL PROTECTED]> wrote:
> 
> I want to knwo how to overcome the problem of CNAME look up failure in qmail.
> I have been gone through all the mailing list. and they didn't come up an
> answer at all.  

Make sure you have a proper resolver specified in /etc/resolv.conf, and
don't use any hostnames in your script which can't be found through DNS --
qmail never looks at /etc/hosts.

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




Anurag Jalan <[EMAIL PROTECTED]> wrote:

When starting a new topic, don't reply to an existing one.  It messes up the
threading for those of us reading the list, and messes up the archive.  It
also reduces the number of people who will actually read your message.

> i) What POP3 daemon should i use ? [ Mbox OR Maildir ]

Depends on your requirements.  I like using Maildirs, and so qmail-pop3d.

> ii) Usermail directories are in /var/spool/mail ...SO

You can either change to using Maildirs under home directories, or use
a different POP3 daemon, like qpopper.

> What can i do, so that i do not lose any existing mail ?

Use one of the mbox-to-Maildir scripts people have written to convert 
current mail over -- find them at www.qmail.org, or write one in 
awk/bash/Perl/Python.

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,
 
What is the default maximum value of POP3 connects in VPOPMAIL 4.9.6 ?Where do I specify the maximum number of POP3 connects ?
 
Raghu




"qmailu" <[EMAIL PROTECTED]> wrote:

>What is the default maximum value of POP3 connects in VPOPMAIL 4.9.6
>?Where do I specify the maximum number of POP3 connects ?

If you're serving POP3 through tcpserver, the default is 40. You can
increase that to whatever you want by modifying the tcpserver command
line.

-Dave




Hi all,

I'am having serious problems with authentication user in vpopmail.

- The creation of virtual domains, account users are OK.
- The delivery to the account users are OK.

But, if I try:
/var/qmail/bin/qmail-popup myhost.com /var/qmail/vpopmail/bin/vchkpw pwd 
with a normal users (/etc/passwd) it's ok, but with a user created with:
/var/qmail/vpopmail/bin/vadduser test 1234
the system shows:
-ERR authorization failed

In our maillog, the following message is showed:
Feb 16 11:42:22 intranet vpopmail[10036]: vchkpw:
setgid() failed

Someone help me, please

Regards,

Ari






Hi,

I need urgently to block IP Address in qmail, anybody knows what is the
manner of make it ?

thanks
begin:vcard 
n:Ferri Charbone;Antonio
x-mozilla-html:TRUE
org:Telcel Celular C.A.;Gerencia de Operaciones
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Administrador de Sistemas
x-mozilla-cpt:;-19088
fn:Antonio Ferri Charbone
end:vcard




Hello,

* Antonio Ferri Charbone <[EMAIL PROTECTED]> [010216 16:40] wrote:
> Hi,
> 
> I need urgently to block IP Address in qmail, anybody knows what is the
> manner of make it ?

Block the domain in /var/qmail/badmailfrom
or use firewall tool for block 25 port for this ip.

in qmail afik you can't block ip.

cheers,

p.  

-- 
pawel garbowski
[EMAIL PROTECTED]




Antonio Ferri Charbone <[EMAIL PROTECTED]> wrote:
> 
> I need urgently to block IP Address in qmail, anybody knows what is the
> manner of make it ?

If you invoke qmail-smtpd with tcpserver, add a rule like

1.2.3.4:deny

somewhere in the appropriate tcprules file.  Then recompile the rules to
the appropriate .cdb file.

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





> I need urgently to block IP Address in qmail, anybody knows what is the
> manner of make it ?

"man tcpserver" if you are running qmail-smtpd under tcpserver.
-x is the switch that helps you.

Your operating system may also be able to block packets from defined IP 
addresses.

Regards, Frank




On Fri, Feb 16, 2001 at 11:33:12AM +0400, Antonio Ferri Charbone wrote:
 
> I need urgently to block IP Address in qmail, anybody knows what is the
> manner of make it ?

use tcpservers functionality (1.2.3.4:deny).

Regards, Uwe




Hi,

is there an easy way to have a newsletter mailing with qmail and ezmlm?
I mean send one mail to thousands of receipiants + automatic handling of
bounces?
How to set it up?

Best regards,
Marcus




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





Marcus Korte <[EMAIL PROTECTED]> wrote:
> 
> is there an easy way to have a newsletter mailing with qmail and ezmlm?

This is a standard setup for a moderated ezmlm list.

> I mean send one mail to thousands of receipiants + automatic handling of
> bounces?

That's what ezmlm does.

> How to set it up?

See Dan's pages on ezmlm, plus ezmlm.org.

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 all,

is there an remarkable performance improvement, if the mailserver has a
local DNS cache (instead of contacting a external nameserver)?

Best regards,
Marcus

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





Marcus Korte <[EMAIL PROTECTED]> wrote:

>is there an remarkable performance improvement, if the mailserver has a
>local DNS cache (instead of contacting a external nameserver)?

Potentially. If your current nameserver is not very fast and you
switch to a local dnscache that's properly configured, you should see
good improvement. Since dnscache is so easy to install, why not just
give it a shot and see if it helps?

-Dave




Hello,

Please, wrap Your lines!

* Sumith Ail <[EMAIL PROTECTED]> [010215 14:07] wrote:
> Hello
>  
> We are using RH 6.2, Qmail, Vpopmail, Qmailadmin and webmin, Since we are a hosting 
>company we give Unix System Disk Quota for each domain.I am specifying user quota in 
>webmin. Is it possible to send Quota Exceeded / infomation notification by mail to 
>these users. As far as I know this is not possible in webmin, so can you all guide me 
>to an alternative solution for this.

Try to modificate this shell script:
http://www.tibus.net/pgregg/projects/qmail/mailquotacheck/mailquotacheck.sh


greetz,

p.

-- 
pawel garbowski
[EMAIL PROTECTED]




any way out for new mail notifications except biff and terminal notifications...




* Rohit Gupta <[EMAIL PROTECTED]> [010216 17:42] wrote:
> any way out for new mail notifications except biff and terminal notifications...

sound

-- 
pawel garbowski
[EMAIL PROTECTED]




Hello,

* Miles Scruggs <[EMAIL PROTECTED]> [010216 01:32] wrote:
> Just a couple SSL questions.
> 
> Is there anyway to implement into the qmail pop3d?  If so where can I find
> some good docs on it?

You can use stunnel.

The stunnel program is designed to work  as  SSL  encryption
wrapper between remote client and local (inetd-startable) or
remote server. The concept is that having non-SSL aware dae-
mons  running  on  your  system you can easily setup them to
communicate with clients over secure SSL channel.

stunnel can be used to add  SSL  functionality  to  commonly
used  inetd  daemons  like  POP-2,  POP-3  and  IMAP servers
without any changes in the programs' code.

URL:
http://www.stunnel.org/

p.

-- 
pawel garbowski
[EMAIL PROTECTED]




<[EMAIL PROTECTED]> wrote:

>Is there anyway to implement into the qmail pop3d?  If so where can I find
>some good docs on it?

stunnel, as Pawel Garbowski pointed out, will do this.

>I looked at Frederik Vermeulen's patch for SSL, and couldn't really make
>much sense of it.  First is it possible to have qmail-smtp answer to both
>ssl and non-ssl requests?

Yes. This patch implements the STARTTLS extension to SMTP. A client
makes a normal, unsecured connection to port 25, then issues the
STARTTLS command to begin encrypting the stream.

This is different from simply wrapping qmail-smtpd via stunnel and
listening on another port, which is another approach. There's also the
SMTP AUTH extension, implemented in a couple patches for qmail, that
allows the client to authenticate with the server, but doesn't encrypt
the traffic. This is useful for secure relay control.

Which method you should use depends upon what you're trying to achieve
*and* what your users/clients are using to read/send their mail.

>Second, where can I find some good documentation on implementing this
>patch?

Read the appropriate RFC, the web page for the patch, archives for the
list, etc.

-Dave





unsubscribe

-- 
Casey Allen Shobe - [EMAIL PROTECTED] - http://mail.aixos.net
------------------------------------------------------------
Now offering free E-Mail addresses to anyone who is tired of
slow servers and banner advertisements.  POP3, IMAP, Webmail
access available.  E-mail me with a username for an account!






I am in need of taking an e-mail user(like [EMAIL PROTECTED]) and piping
the mail recieved into either an html file, or preferably a mysql table.

I would like the table to include the time and date field, and the
body(which would be the text of the message without the headers)  Html
formatting should be fine, since this will be incorporated into an automated
web announcements system....integrated with php-nuke, or geeklog, etc...

I know this is a special project, and will probably end up writing the whole
thing....but right now I am looking for shortcuts to make it easier.
I see an existing project... Mail2db which uses a python script, and
postgresql....has anyone played with this?  Is there already a program that
will take a message body, and pipe it to an html, or text file?

Thanks,
Barry Smoke





Take a look at mhonarc it converts emails to html you can see it at

http://www.oac.uci.edu/indiv/ehood/mhonarc.html

Jps

-----Original Message-----
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 1:07 PM
To: qmail
Subject: Mail2db or maildir2html



I am in need of taking an e-mail user(like [EMAIL PROTECTED]) and piping
the mail recieved into either an html file, or preferably a mysql table.

I would like the table to include the time and date field, and the
body(which would be the text of the message without the headers)  Html
formatting should be fine, since this will be incorporated into an automated
web announcements system....integrated with php-nuke, or geeklog, etc...

I know this is a special project, and will probably end up writing the whole
thing....but right now I am looking for shortcuts to make it easier.
I see an existing project... Mail2db which uses a python script, and
postgresql....has anyone played with this?  Is there already a program that
will take a message body, and pipe it to an html, or text file?

Thanks,
Barry Smoke






Hi all!
I want to set up my mail server to handle another domains, now is working fine
handling one domain, lets say for example:
my linux RH6.2 box its real IP is 100.100.100.100 and it has 3 more vitual ips
added:
100.100.100.101
100.100.100.102
100.100.100.103

mail.domain1.com its IP 100.100.100.100 is with an MX 100.100.100.100

now I have domain2.com & domain3.net, I want to handle mails for both, What
should I do?
domain2.com with an IP address of 100.100.100.102 and 
mail.domain2.com its MX is 100.100.100.100  is this correct?
and domain3.net with an IP address of 100.100.100.103 and
mail.domain3.net its MX is 100.100.100.100

Then in rcpthost I should add
mail.domain2.com or domain2.com
mail.domain3.net or domain3.net

and in virtualdomains I put
www.domain2.com:domain2
www.domain3.net:domain3
I this right?


Is this the correct way to set it up?
I want to have pop users without system accounts, I followed the instructions
step by step but is not working yet.
I have installed Qmail following "life with Qmail", so in order to be read
virtualdomains and rcpthosts I should just do a kill -HUP  pid of qmail-send
or also kill -HUP pid of supervise  qmail-send???

also when I do ping to mail.domain2.com or mail.domain3.net I have no answer,
what does it means?

Thanks for your help!
Rocael.






____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1





> my linux RH6.2 box its real IP is 100.100.100.100 and it has 3 more vitual ips
> added:
> 100.100.100.101

virtualdomains has nothing to do with virtual interfaces. It is a concept 
to prepend a given destination address with a free choosen string. This 
string is used for further delivery through any other qmail mechanism 
(users/assign, alias, real user). The flexibility results from this 
"prepending" and the address extension mechanism in qmail.

Regards, Frank





> Let us see the owner and permissions of /varlog/qmail.
> 
> ls -la /var/log | grep qmail

drwx--S---    2 root     root         1024 Feb 15 14:37 qmail

 
> .
> 
> On Fri, Feb 16, 2001 at 12:28:07AM -0000, Qiao Aijun wrote:
> > I have tried /var/log/qmail. There is nothing in the directory.
> > 
> > Qiao
> > ----- Original Message -----
> > From: "Jerry Lynde" <[EMAIL PROTECTED]>
> > To: "qmail list" <[EMAIL PROTECTED]>
> > Sent: 15 February 2001 23:49
> > Subject: Re: I can't find qmail's log file.
> > 
> > 
> > > At 04:12 PM 2/15/2001, qiao aijun wrote:
> > > >I wan't switch syslog to multilog. I could't find log file in
> > /var/log/qmail
> > > >after I changed   qmail rc file and restart the machine.
> > > >
> > > >The following is my rc file.
> > > >#!/bin/sh
> > > >
> > > ># Using splogger to send the log through syslog.
> > > ># Using qmail-local to deliver messages to ~/Mailbox by default.
> > > >
> > > >exec env - PATH="/var/qmail/bin:$PATH" \
> > > >qmail-start ./Maildir/ multilog t /var/log/qmail
> > > >
> > > >Qiao
> > >
> > > Try /var/log/qmail
> > >
> > >
> > > Jer
> > >
> > >
> > >
> > 
> 
> -- 
> Jose AP Celestino  <[EMAIL PROTECTED]>  || SAPO / PT Multimedia
> Administra��o de Sistemas / Opera��es || http://www.sapo.pt
> --------------------------------------------------------------
> Gravity brings me down.
> 
> 





 
> drwx--S---    2 root     root         1024 Feb 15 14:37 qmail

chown qmaill /var/log/qmail
chmod 700 /var/log/qmail

This should do it.





I've noticed that when I enable paranoid checking the number of
simultaneous connections soars to the max I have set (400).  With
paranoid off the connections hover around 65.  

Anyone care to share what they see.  I'd like to run tcpserver with
paranoid checking but not if my machine can't keep up.  Is there any way
to guage how many connections your machine should be able to handle?

Cheers,

-- 
Jeff Newton




On Fri, Feb 16, 2001 at 10:42:14AM -0800, Jeff_Newton wrote:
> 
> I've noticed that when I enable paranoid checking the number of
> simultaneous connections soars to the max I have set (400).  With
> paranoid off the connections hover around 65.  

Paranoid connections take some extra time to do some checks. Depending
on the host connecting, these checks can take upto several minutes.
This explains why you see a large increase in number of inbound
connections.

> Anyone care to share what they see.  I'd like to run tcpserver with
> paranoid checking but not if my machine can't keep up.  Is there any way
> to guage how many connections your machine should be able to handle?

Trial and error has always worked for me :)

Greetz, Peter.




Hi everybody,

I'd be pleased if one of you could point me in the right direction,
since I am stuck with maildirsmtp for a while now. I've got a small
LAN with about 15 clients and a mail server with a PPP-uplink. From
today on I deliver the messages via maildirsmtp with an alias-ppp
user, as described in Mr. van der Woudes fine documentation. This
works fine except that I am not able to send mail from the server
to my 2 other local mailinglist-servers on the LAN. Any mail to
localnet ends up in the ppp-Maildir.
>From the man-page of qmail-send I took that defining both hosts as
locals on the primary MX does not make sense. Do I have to set
up virtual domains for each of them?

A simple RTFM that leads me to the solution would be really
appreciated! :)

Yours, Mario

-- 
 .~.    Mario Thaten ([EMAIL PROTECTED])
 /V\    
/( )\   "There are just 2 rules in life:
 ^ ^     Always be yourself, but never mind to change."




In RedHat's infinite wisdom, they distributed a version of
linuxconf with version 6.2 that writes sendmail.cf files
in such a way that they will illegally reject mail with
an empty Return-Path.  Would anyone happen to know what
needs to be fixed in sendmail.cf to make it stop doing
that?  I have been getting a lot of double bounces since
my qmail server sends the bounce without the Return-Path.

I'd like to know what I need to tell the admins of these
nasty sendmail servers to do so they can start receiving
their bounces instead of me.
        
Thanks,

Dave




"zbeinet" <[EMAIL PROTECTED]> wrote:

>I setup freebsd4.2 with qmail in my intranet, I used 192.168...IP
>address; and I have a DNS server with 202.96...IP address to provide
>name service to dialup users(outside), the FB and DNS are connected
>with a router. I hope dialup users could send and receive mail. When
>they dialed up, they could receive mail smoothly, but the sending was
>very slowly, although it still works.

Where was the delay occurring? In the initial connection? How slow is
"very slowly"?

>The dialup user automaticly got an 202.96...address. I was not sure
>where is the problem, the DNS, qmail, or router? Someone said I must
>assign my FB an legal address, was that true?

FB is the FreeBSD box? What do you mean by "legal address"? If the FB
system can reach other hosts on the Internet, and incoming connections
to your domain on port 25 go to it, that's all you need.

-Dave




"ed lim" <[EMAIL PROTECTED]> wrote:

>My concurrency remote is already 250...how do I install a big to-do
>script?

You want the big-concurrency patch.

>is it easy?

Yes, for some people. :-) There's some information on patching qmail
at:

  http://www.lifewithqmail.org/lwq.html#patches

>qmail doesn't go more than 250 when I start sending out emails. 

Good, so concurrencyremote is working.

-Dave




<[EMAIL PROTECTED]> wrote:

>       I've almost read Running qmail, various docs and searched the email
>archives. There is a thread about qmail as a smart relay host for ms
>exchange, but it's not quite right. It looks like I need to setup a
>virtual domain for my real domain! For some reason I can't get my brain
>around creating a virtual domain for an exisiting, registered domain.

There's nothing magic about the term "virtual domain", it's just a
handy mechanism that qmail provides. It's often used for handling the
local domain specially.

>Am I correct in this assumption?

I'm not sure...I can't tell exactly what you're trying to do.

>Will creating a virtual domain hold all email for my domain until my
>exchange server can SMTP out the firewall to pick it all up?

No, you can't pick up mail via SMTP. SMTP delivers mail. You could
pick it up with POP or IMAP, or use the AutoTURN trick to cause the
qmail system to flush the messages to the Exchange server.

>       On the topic of sending email, I'm a little confused. I think I need to
>relay all email from my domain out to the internet. cat amgt.com >
>/var/qmail/control/rcpthosts sounds right, but I'm not sure.

Perhaps you mean "echo", not "cat". What do you mean by "relay all
email from my domain out into the internet"?

>I don't want to accidently setup an open relay or have all outbound
>email trying to be sent back to the Exchange server.

As long as you have a control/rcpthosts, you won't be an open relay.

-Dave




Having been charged with the task of creating a new mail server for our
local Sun boxes, I looked at sendmail again, realized what a pain it would
be and turned to qmail. Setup of qmail has been relatively easy considering
until last week I hadn't even heard about it before.

I've been through various docs (LWQ, FAQTS, online man pages) and been
searching through the archives, but I don't think I've quite gotten a
handle on how to do what I want to do with qmail.

For testing I have set-up a qmail server and a mini-qmail installation on
two machines. The qmail server will act as a mail hub for all internal Sun
boxes to send outgoing mail through, as well as a redirection server for
incoming mail to the domain pern.com (names changed to protect the
helpless).

I have manage to configure the mini-qmail server to send out through the
mail hub and have messages appear as [EMAIL PROTECTED] even though the internal
network has a different domain name. Very cool.

I have also managed to send mail to [EMAIL PROTECTED] and have it
redirected to my real email address on our Notes server, appearing as from
the original sender and to the intended recipient. This is good as well as
we have many addresses for support purposes, such as [EMAIL PROTECTED], that
presently get forwarded to real users via sendmail aliases.

No local deliveries are to be performed. The qmail server is only to
redirect mail.

Any local mail sent from a Sun box on our network should be redirected to a
real email address on our Notes server. Our Sun user accounts vary, but our
Notes addresses take the form of [EMAIL PROTECTED]

Mail coming in to the qmail server must also be redirected, regardless if
an account exists on the qmail server. Some of the incoming mail is to
groups, some to individual users.

My questions are:

1) How do I prevent qmail from trying to deliver locally on the qmail
server? I read the man page for qmail-users, but I'm not sure if that is
what I need to use.
2) How can I correctly set-up the group redirects in a way that will
eliminate (if not reduce) duplication due to an error sending to one
address in the group?
3) What would be a good way of redirecting local names to the appropriate
email address for the local messages from our Sun servers (ie: bobs ->
[EMAIL PROTECTED]): individual /var/qmail/alias files, or some other
method?

I would prefer to avoid using fastforward if possible, but am willing to
change my mind if it would make the administration easier. The user list is
relatively small (about 30) and doesn't change all that often. The current
sendmail alias list is about 30 lines long, but could probably be pared
down as I don't believe it has been updated in a while.

A quick diagram of the flow would be something like this:

  external mail to [EMAIL PROTECTED]  -->   qmail server  -->  support-group
[[EMAIL PROTECTED], [EMAIL PROTECTED], ...]

  external mail to [EMAIL PROTECTED]  -->  qmail server  -->
[EMAIL PROTECTED]

  local internal mail to brubble  --> qmail server  -->
[EMAIL PROTECTED]

A user may or may not appear in a group in addition to having their own
mail redirected. That is:

  external mail to [EMAIL PROTECTED]  --> qmail server  -->  [EMAIL PROTECTED]

  external mail to  [EMAIL PROTECTED]  -->  qmail server  -->  info-group
[[EMAIL PROTECTED], [EMAIL PROTECTED] ...]


Suggestions would be greatly appreciated. TIA

Dion Vansevenant
Internetwork Administrator
MRO.com







[EMAIL PROTECTED] wrote:

> Having been charged with the task of creating a new mail server for our
> local Sun boxes, I looked at sendmail again, realized what a pain it would
> be and turned to qmail. Setup of qmail has been relatively easy considering
> until last week I hadn't even heard about it before.
>
> I've been through various docs (LWQ, FAQTS, online man pages) and been
> searching through the archives, but I don't think I've quite gotten a
> handle on how to do what I want to do with qmail.
>
> For testing I have set-up a qmail server and a mini-qmail installation on
> two machines. The qmail server will act as a mail hub for all internal Sun
> boxes to send outgoing mail through, as well as a redirection server for
> incoming mail to the domain pern.com (names changed to protect the
> helpless).
>
> I have manage to configure the mini-qmail server to send out through the
> mail hub and have messages appear as [EMAIL PROTECTED] even though the internal
> network has a different domain name. Very cool.
>
> I have also managed to send mail to [EMAIL PROTECTED] and have it
> redirected to my real email address on our Notes server, appearing as from
> the original sender and to the intended recipient. This is good as well as
> we have many addresses for support purposes, such as [EMAIL PROTECTED], that
> presently get forwarded to real users via sendmail aliases.
>
> No local deliveries are to be performed. The qmail server is only to
> redirect mail.
>
> Any local mail sent from a Sun box on our network should be redirected to a
> real email address on our Notes server. Our Sun user accounts vary, but our
> Notes addresses take the form of [EMAIL PROTECTED]
>
> Mail coming in to the qmail server must also be redirected, regardless if
> an account exists on the qmail server. Some of the incoming mail is to
> groups, some to individual users.
>
> My questions are:
>
> 1) How do I prevent qmail from trying to deliver locally on the qmail
> server? I read the man page for qmail-users, but I'm not sure if that is
> what I need to use.

On the mail servers that are used just for relaying you could not startup
the local delivery daemons. - qmail-inject, qmail-lspawn, qmail-local...


>
> 2) How can I correctly set-up the group redirects in a way that will
> eliminate (if not reduce) duplication due to an error sending to one
> address in the group?

?

>
> 3) What would be a good way of redirecting local names to the appropriate
> email address for the local messages from our Sun servers (ie: bobs ->
> [EMAIL PROTECTED]): individual /var/qmail/alias files, or some other
> method?
>

If you are using fast forward you could use an /etc/aliases file...

>
> I would prefer to avoid using fastforward if possible, but am willing to
> change my mind if it would make the administration easier. The user list is
> relatively small (about 30) and doesn't change all that often. The current
> sendmail alias list is about 30 lines long, but could probably be pared
> down as I don't believe it has been updated in a while.
>

What about using http://cr.yp.to/ezmlm.html

>
> A quick diagram of the flow would be something like this:
>
>   external mail to [EMAIL PROTECTED]  -->   qmail server  -->  support-group
> [[EMAIL PROTECTED], [EMAIL PROTECTED], ...]
>
>   external mail to [EMAIL PROTECTED]  -->  qmail server  -->
> [EMAIL PROTECTED]
>
>   local internal mail to brubble  --> qmail server  -->
> [EMAIL PROTECTED]
>
> A user may or may not appear in a group in addition to having their own
> mail redirected. That is:
>
>   external mail to [EMAIL PROTECTED]  --> qmail server  -->  [EMAIL PROTECTED]
>
>   external mail to  [EMAIL PROTECTED]  -->  qmail server  -->  info-group
> [[EMAIL PROTECTED], [EMAIL PROTECTED] ...]
>
> Suggestions would be greatly appreciated. TIA
>
> Dion Vansevenant
> Internetwork Administrator
> MRO.com





I'm trying to write a script that sends out a reply email when someone send
email to a certain address in my domain.  The idea is someone sends mail to
[EMAIL PROTECTED] and a generic message is sent back to them.  So far I
can't get anything sent anywhere if I let qmail-local run the program.
Here's the details:

/home/radius/.qmail-info contains:
|/home/radius/replyscript.pl


The replyscript.pl contains:
#!/usr/bin/perl

system ("cat message > /tmp/message");
system ("/var/qmail/bin/qmail-inject < message");
exit 0;

And /home/radius/message contains:
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Did it work?

Test........


If I send mail to [EMAIL PROTECTED] the script will copy the message to the
/tmp directory.  This tells me that the script does in fact execute and the
file /home/radius/message is in the present working directory.  However when
the script attempts to send the message to qmail-inject, the following error
is logged:
qmail-inject:_fatal:_read_error/did_0+0+1/

If I log into the Linux box and run the script directly it works fine.  It
seems as if qmail-inject refuses to work if it's parent process is
qmail-local.  Is this true?  Know of any workarounds?

<|>/\\/|<|>





David Cunningham <[EMAIL PROTECTED]> wrote:
> I'm trying to write a script that sends out a reply email when someone send
> email to a certain address in my domain.

You don't need to re-invent the wheel.  There's also many things your script
doesn't consider (not responding to other autoresponders, not responding
to bounces, etc).  Just look for "autoresponder" on www.qmail.org and you'll
find some examples from people who have considered these issues.

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




Thank you Charles.  I'll be sure to look at that.  The goal here is not so
much to get a functional autoresponder as it is to satisfy my curiosity
about the behavior of qmail in terms of script processing.  I like to
"re-invent the wheel" because it gives me insights I wouldn't have
otherwise.


-David

----- Original Message -----
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 5:10 PM
Subject: Re: qmail-inject refuses to work if it's parent process is
qmail-local?


> David Cunningham <[EMAIL PROTECTED]> wrote:
> > I'm trying to write a script that sends out a reply email when someone
send
> > email to a certain address in my domain.
>
> You don't need to re-invent the wheel.  There's also many things your
script
> doesn't consider (not responding to other autoresponders, not responding
> to bounces, etc).  Just look for "autoresponder" on www.qmail.org and
you'll
> find some examples from people who have considered these issues.
>
> 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.
> -----------------------------------------------------------------------
>





David and all:

        Thanks for replying to my call for help! I do have qmail working on a
per user basis just fine. Here's my network:


internet                qmail
|               |
|               |
-----------------------------------------------
        |
        |
       firewall
        |
        |       192.168.x.x
----------------------------------------------
                |
        Exchange Server


        What I would like to do is have the qmail server out on the internet
hold all email for my domain for the Exchange server to pick up. I don't
think the qmail server can forward directly to the Exchange server
through the server because its IP address is private and nonroutable. I
prefer - for security reasons - to have the Exchange server initiate
opening a connection to the qmail server. Maybe I'm way off base on
this, comments are most welcome. What I don't know how to do is config
qmail to hold all the email for my domain users and let the Exchange
server make a mail run to pick it all up. Configuring Exchange is easy
enough - it's already working with my ISP... Any help is greatly
appreciated!!

Thanks again!

.mark
>




* On 02/16/01 23:49 [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:

> internet              qmail
> |             |
> |             |
> -----------------------------------------------
>       |
>       |
>        firewall
>       |
>       |       192.168.x.x
> ----------------------------------------------
>               |
>       Exchange Server
> 
> 
>       What I would like to do is have the qmail server out on the internet
> hold all email for my domain for the Exchange server to pick up. I don't
> think the qmail server can forward directly to the Exchange server
> through the server because its IP address is private and nonroutable. I
> prefer - for security reasons - to have the Exchange server initiate
> opening a connection to the qmail server. Maybe I'm way off base on
> this, comments are most welcome. What I don't know how to do is config
> qmail to hold all the email for my domain users and let the Exchange
> server make a mail run to pick it all up. Configuring Exchange is easy
> enough - it's already working with my ISP... Any help is greatly
> appreciated!!

If you have access to the firewall, you might consider ip routing
resp. packet redirection, else ip tunneling from the qmail server
through the firewall might be possible. These ideas are for the
Qmail server to directly forward the mails for your domain to the
Exchange server which is, from my point of view, preferable.

Greetz, Mario

-- 
 .~.    Mario Thaten ([EMAIL PROTECTED])
 /V\    
/( )\   "There are just 2 rules in life:
 ^ ^     Always be yourself, but never mind to change."







I have a problem with messages staying in the queue. I was running some
tests that
relayed 7,000 messages through one qmail server (n201) to another qmail
server (saturn) which processed the messages locally. All on a local
network.

[root@n201 bin]# ./qmail-qstat
messages in queue: 252
messages in queue but not yet preprocessed: 0

But there are no qmail connection from n201 to saturn.

10 minutes later I check the queue
[root@n201 bin]# ./qmail-qstat
messages in queue: 254
messages in queue but not yet preprocessed: 0

I don't understand.. All the messages were the same, but the messages in
the queue are not going down...

[root@saturn bin]# ./qmail-qstat
messages in queue: 5
messages in queue but not yet preprocessed: 0
[root@saturn bin]# ./qmail-qstat
messages in queue: 11
messages in queue but not yet preprocessed: 0
[root@saturn bin]# ./qmail-qstat
messages in queue: 6
messages in queue but not yet preprocessed: 0






List,
     I recently decided to move my qmail-pop3d process out of inetd on my
RedHat 6.2 machine and under the control of daemontools like the rest of my
qmail processes.  I installed semi-following LWQ, and making other changes
as I went.  Daemontools and ucspi-tcp were installed from RPMs (if that
matters).  I stopped qmail, created a directory under /var/qmail/ for
qmail-pop3d, and put in the necessary scripts (details at end of message).
I am using the LWQ SysVinit scripts, and added appropriate lines for
qmail-pop3d under the pause, cont, and restart sections.  Since the
start/stop section just uses /var/qmail/supervise/* and
/var/qmail/supervise/*/log , it didn't look like I'd need to add qmail-pop3d
there.  The problem is such:  All features of the scripts work fine except
for start/stop.  If I issue 'qmail stop', it kills off everything except
qmail-pop3d.  What's worse is a few seconds later it restarts
qmail-send/qmail-smtpd, so it's more or less a restart now.  I'm sure I
missed something, but I have no clue what.  Any ideas as to how to make
qmail-pop3d behave in this script like qmail-send and qmail-smptd do ?  TIA

Kyle

/var/qmail/supervise:
drwxr-xr-x    5 root     root         4096 Feb 16 19:09 .
drwxr-xr-x   11 root     qmail        4096 Feb 16 19:10 ..
drwxr-xr-t    4 root     root         4096 Feb 16 19:21 qmail-pop3d
drwxr-xr-t    4 root     root         4096 Nov 10 15:28 qmail-send
drwxr-xr-t    4 root     root         4096 Feb 16 19:17 qmail-smtpd

/var/qmail/supervise/qmail-pop3d:
drwxr-xr-t    4 root     root         4096 Feb 16 19:21 .
drwxr-xr-x    5 root     root         4096 Feb 16 19:09 ..
drwxr-xr-x    3 root     root         4096 Feb 16 19:20 log
-rwxr-xr-x    1 root     root          164 Feb 16 19:21 run
drwx------    2 root     root         4096 Feb 16 19:34 supervise

/var/qmail/supervise/qmail-pop3d/run:
#!/bin/sh

    /usr/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
mail.only-linux.com \
        /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir 2>&1

(LWQ startup line, minus splogger (did I cut out too much?) and with
checkpoppasswd insted of checkpasswd)

Parts of /etc/rc.d/init.d/qmail:
  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 "."
    ;;
  pause)
    echo "Pausing qmail-send"
    svc -p /var/qmail/supervise/qmail-send
    echo "Pausing qmail-smtpd"
    svc -p /var/qmail/supervise/qmail-smtpd
    echo "Pausing qmail-pop3d"
    svc -p /var/qmail/supervise/qmail-pop3d
    ;;
  cont)
    echo "Continuing qmail-send"
    svc -c /var/qmail/supervise/qmail-send
    echo "Continuing qmail-smtpd"
    svc -c /var/qmail/supervise/qmail-smtpd
    echo "Continuing qmail-pop3d"
    svc -c /var/qmail/supervise/qmail-pop3d
    ;;
  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
    echo "* Restarting qmail-pop3d."
    svc -u /var/qmail/supervise/qmail-pop3d
    ;;


--
Kyle Knack
Server Engineer - SkyNetWEB/Affinity Internet
[EMAIL PROTECTED]
http://www.skynetweb.com





I saw this too, put "exec" before tcpserver


----- Original Message -----
From: "Kyle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 9:38 PM
Subject: LWQ Init Script/qmail-pop3d


> List,
>      I recently decided to move my qmail-pop3d process out of inetd on my
> RedHat 6.2 machine and under the control of daemontools like the rest of
my
> qmail processes.  I installed semi-following LWQ, and making other changes
> as I went.  Daemontools and ucspi-tcp were installed from RPMs (if that
> matters).  I stopped qmail, created a directory under /var/qmail/ for
> qmail-pop3d, and put in the necessary scripts (details at end of message).
> I am using the LWQ SysVinit scripts, and added appropriate lines for
> qmail-pop3d under the pause, cont, and restart sections.  Since the
> start/stop section just uses /var/qmail/supervise/* and
> /var/qmail/supervise/*/log , it didn't look like I'd need to add
qmail-pop3d
> there.  The problem is such:  All features of the scripts work fine except
> for start/stop.  If I issue 'qmail stop', it kills off everything except
> qmail-pop3d.  What's worse is a few seconds later it restarts
> qmail-send/qmail-smtpd, so it's more or less a restart now.  I'm sure I
> missed something, but I have no clue what.  Any ideas as to how to make
> qmail-pop3d behave in this script like qmail-send and qmail-smptd do ?
TIA
>
> Kyle
>
> /var/qmail/supervise:
> drwxr-xr-x    5 root     root         4096 Feb 16 19:09 .
> drwxr-xr-x   11 root     qmail        4096 Feb 16 19:10 ..
> drwxr-xr-t    4 root     root         4096 Feb 16 19:21 qmail-pop3d
> drwxr-xr-t    4 root     root         4096 Nov 10 15:28 qmail-send
> drwxr-xr-t    4 root     root         4096 Feb 16 19:17 qmail-smtpd
>
> /var/qmail/supervise/qmail-pop3d:
> drwxr-xr-t    4 root     root         4096 Feb 16 19:21 .
> drwxr-xr-x    5 root     root         4096 Feb 16 19:09 ..
> drwxr-xr-x    3 root     root         4096 Feb 16 19:20 log
> -rwxr-xr-x    1 root     root          164 Feb 16 19:21 run
> drwx------    2 root     root         4096 Feb 16 19:34 supervise
>
> /var/qmail/supervise/qmail-pop3d/run:
> #!/bin/sh
>
>     /usr/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
> mail.only-linux.com \
>         /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir 2>&1
>
> (LWQ startup line, minus splogger (did I cut out too much?) and with
> checkpoppasswd insted of checkpasswd)
>
> Parts of /etc/rc.d/init.d/qmail:
>   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 "."
>     ;;
>   pause)
>     echo "Pausing qmail-send"
>     svc -p /var/qmail/supervise/qmail-send
>     echo "Pausing qmail-smtpd"
>     svc -p /var/qmail/supervise/qmail-smtpd
>     echo "Pausing qmail-pop3d"
>     svc -p /var/qmail/supervise/qmail-pop3d
>     ;;
>   cont)
>     echo "Continuing qmail-send"
>     svc -c /var/qmail/supervise/qmail-send
>     echo "Continuing qmail-smtpd"
>     svc -c /var/qmail/supervise/qmail-smtpd
>     echo "Continuing qmail-pop3d"
>     svc -c /var/qmail/supervise/qmail-pop3d
>     ;;
>   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
>     echo "* Restarting qmail-pop3d."
>     svc -u /var/qmail/supervise/qmail-pop3d
>     ;;
>
>
> --
> Kyle Knack
> Server Engineer - SkyNetWEB/Affinity Internet
> [EMAIL PROTECTED]
> http://www.skynetweb.com
>
>





Man, you just made my day ;)  It worked perfect, thanks a lot!

Kyle

--
Kyle Knack
Server Engineer - SkyNetWEB/Affinity Internet
System Administrator - Only-Linux.Com
[EMAIL PROTECTED]
http://www.skynetweb.com

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: Kyle <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 8:51 PM
Subject: Re: LWQ Init Script/qmail-pop3d


> I saw this too, put "exec" before tcpserver
>
>
> ----- Original Message -----
> From: "Kyle" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 16, 2001 9:38 PM
> Subject: LWQ Init Script/qmail-pop3d
>
>
> > List,
> >      I recently decided to move my qmail-pop3d process out of inetd on
my
> > RedHat 6.2 machine and under the control of daemontools like the rest of
> my
> > qmail processes.  I installed semi-following LWQ, and making other
changes
> > as I went.  Daemontools and ucspi-tcp were installed from RPMs (if that
> > matters).  I stopped qmail, created a directory under /var/qmail/ for
> > qmail-pop3d, and put in the necessary scripts (details at end of
message).
> > I am using the LWQ SysVinit scripts, and added appropriate lines for
> > qmail-pop3d under the pause, cont, and restart sections.  Since the
> > start/stop section just uses /var/qmail/supervise/* and
> > /var/qmail/supervise/*/log , it didn't look like I'd need to add
> qmail-pop3d
> > there.  The problem is such:  All features of the scripts work fine
except
> > for start/stop.  If I issue 'qmail stop', it kills off everything except
> > qmail-pop3d.  What's worse is a few seconds later it restarts
> > qmail-send/qmail-smtpd, so it's more or less a restart now.  I'm sure I
> > missed something, but I have no clue what.  Any ideas as to how to make
> > qmail-pop3d behave in this script like qmail-send and qmail-smptd do ?
> TIA
> >
> > Kyle
> >
> > /var/qmail/supervise:
> > drwxr-xr-x    5 root     root         4096 Feb 16 19:09 .
> > drwxr-xr-x   11 root     qmail        4096 Feb 16 19:10 ..
> > drwxr-xr-t    4 root     root         4096 Feb 16 19:21 qmail-pop3d
> > drwxr-xr-t    4 root     root         4096 Nov 10 15:28 qmail-send
> > drwxr-xr-t    4 root     root         4096 Feb 16 19:17 qmail-smtpd
> >
> > /var/qmail/supervise/qmail-pop3d:
> > drwxr-xr-t    4 root     root         4096 Feb 16 19:21 .
> > drwxr-xr-x    5 root     root         4096 Feb 16 19:09 ..
> > drwxr-xr-x    3 root     root         4096 Feb 16 19:20 log
> > -rwxr-xr-x    1 root     root          164 Feb 16 19:21 run
> > drwx------    2 root     root         4096 Feb 16 19:34 supervise
> >
> > /var/qmail/supervise/qmail-pop3d/run:
> > #!/bin/sh
> >
> >     /usr/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
> > mail.only-linux.com \
> >         /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir 2>&1
> >
> > (LWQ startup line, minus splogger (did I cut out too much?) and with
> > checkpoppasswd insted of checkpasswd)
> >
> > Parts of /etc/rc.d/init.d/qmail:
> >   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 "."
> >     ;;
> >   pause)
> >     echo "Pausing qmail-send"
> >     svc -p /var/qmail/supervise/qmail-send
> >     echo "Pausing qmail-smtpd"
> >     svc -p /var/qmail/supervise/qmail-smtpd
> >     echo "Pausing qmail-pop3d"
> >     svc -p /var/qmail/supervise/qmail-pop3d
> >     ;;
> >   cont)
> >     echo "Continuing qmail-send"
> >     svc -c /var/qmail/supervise/qmail-send
> >     echo "Continuing qmail-smtpd"
> >     svc -c /var/qmail/supervise/qmail-smtpd
> >     echo "Continuing qmail-pop3d"
> >     svc -c /var/qmail/supervise/qmail-pop3d
> >     ;;
> >   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
> >     echo "* Restarting qmail-pop3d."
> >     svc -u /var/qmail/supervise/qmail-pop3d
> >     ;;
> >
> >
> > --
> > Kyle Knack
> > Server Engineer - SkyNetWEB/Affinity Internet
> > [EMAIL PROTECTED]
> > http://www.skynetweb.com
> >
> >
>
>





Thanks Kris Kelly! (Re: qpop3 keeps alive!)

----- Original Message -----
From: "Kyle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 9:15 PM
Subject: Re: LWQ Init Script/qmail-pop3d


> Man, you just made my day ;)  It worked perfect, thanks a lot!
>
> Kyle
>
> --
> Kyle Knack
> Server Engineer - SkyNetWEB/Affinity Internet
> System Administrator - Only-Linux.Com
> [EMAIL PROTECTED]
> http://www.skynetweb.com
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: Kyle <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Friday, February 16, 2001 8:51 PM
> Subject: Re: LWQ Init Script/qmail-pop3d
>
>
> > I saw this too, put "exec" before tcpserver
> >
> >
> > ----- Original Message -----
> > From: "Kyle" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, February 16, 2001 9:38 PM
> > Subject: LWQ Init Script/qmail-pop3d
> >
> >
> > > List,
> > >      I recently decided to move my qmail-pop3d process out of inetd on
> my
> > > RedHat 6.2 machine and under the control of daemontools like the rest
of
> > my
> > > qmail processes.  I installed semi-following LWQ, and making other
> changes
> > > as I went.  Daemontools and ucspi-tcp were installed from RPMs (if
that
> > > matters).  I stopped qmail, created a directory under /var/qmail/ for
> > > qmail-pop3d, and put in the necessary scripts (details at end of
> message).
> > > I am using the LWQ SysVinit scripts, and added appropriate lines for
> > > qmail-pop3d under the pause, cont, and restart sections.  Since the
> > > start/stop section just uses /var/qmail/supervise/* and
> > > /var/qmail/supervise/*/log , it didn't look like I'd need to add
> > qmail-pop3d
> > > there.  The problem is such:  All features of the scripts work fine
> except
> > > for start/stop.  If I issue 'qmail stop', it kills off everything
except
> > > qmail-pop3d.  What's worse is a few seconds later it restarts
> > > qmail-send/qmail-smtpd, so it's more or less a restart now.  I'm sure
I
> > > missed something, but I have no clue what.  Any ideas as to how to
make
> > > qmail-pop3d behave in this script like qmail-send and qmail-smptd do ?
> > TIA
> > >
> > > Kyle
> > >
> > > /var/qmail/supervise:
> > > drwxr-xr-x    5 root     root         4096 Feb 16 19:09 .
> > > drwxr-xr-x   11 root     qmail        4096 Feb 16 19:10 ..
> > > drwxr-xr-t    4 root     root         4096 Feb 16 19:21 qmail-pop3d
> > > drwxr-xr-t    4 root     root         4096 Nov 10 15:28 qmail-send
> > > drwxr-xr-t    4 root     root         4096 Feb 16 19:17 qmail-smtpd
> > >
> > > /var/qmail/supervise/qmail-pop3d:
> > > drwxr-xr-t    4 root     root         4096 Feb 16 19:21 .
> > > drwxr-xr-x    5 root     root         4096 Feb 16 19:09 ..
> > > drwxr-xr-x    3 root     root         4096 Feb 16 19:20 log
> > > -rwxr-xr-x    1 root     root          164 Feb 16 19:21 run
> > > drwx------    2 root     root         4096 Feb 16 19:34 supervise
> > >
> > > /var/qmail/supervise/qmail-pop3d/run:
> > > #!/bin/sh
> > >
> > >     /usr/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
> > > mail.only-linux.com \
> > >         /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir 2>&1
> > >
> > > (LWQ startup line, minus splogger (did I cut out too much?) and with
> > > checkpoppasswd insted of checkpasswd)
> > >
> > > Parts of /etc/rc.d/init.d/qmail:
> > >   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 "."
> > >     ;;
> > >   pause)
> > >     echo "Pausing qmail-send"
> > >     svc -p /var/qmail/supervise/qmail-send
> > >     echo "Pausing qmail-smtpd"
> > >     svc -p /var/qmail/supervise/qmail-smtpd
> > >     echo "Pausing qmail-pop3d"
> > >     svc -p /var/qmail/supervise/qmail-pop3d
> > >     ;;
> > >   cont)
> > >     echo "Continuing qmail-send"
> > >     svc -c /var/qmail/supervise/qmail-send
> > >     echo "Continuing qmail-smtpd"
> > >     svc -c /var/qmail/supervise/qmail-smtpd
> > >     echo "Continuing qmail-pop3d"
> > >     svc -c /var/qmail/supervise/qmail-pop3d
> > >     ;;
> > >   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
> > >     echo "* Restarting qmail-pop3d."
> > >     svc -u /var/qmail/supervise/qmail-pop3d
> > >     ;;
> > >
> > >
> > > --
> > > Kyle Knack
> > > Server Engineer - SkyNetWEB/Affinity Internet
> > > [EMAIL PROTECTED]
> > > http://www.skynetweb.com
> > >
> > >
> >
> >
>
>





Hi,
How can i get the qmail-conf-0.54?

Tkanks!

Simple Lee 






----- Original Message ----- 
From: "Federico Edelman Anaya" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, February 15, 2001 7:13 PM
Subject: Logging customization?


> Hi! I have a server with 100 list and 3.5 millions of subscribers ..
> 
> I am running Qmail-1.03 + big-concurrency.patch + dns.patch, ezmlm-0.53
> + ezmlm-idx-0.324, ucspi-tcp-0.88 and daemontools-0.70 and
> qmail-conf-0.54
> 
> I am logging with multilog, I'd need logging with the follow parameters:
> 
> 
> 
> TAI  - From - To  - Listname
> 
> it's possible?
> 
> 
> Thanks!
> 




I have routed outgoing message to my ISP's SMTP server. I hope our email with multi recipient address are forwarded to my ISP's SMTP once. How can I do that?
 
Qiao




Thus said "Qiao Aijun" on Sat, 17 Feb 2001 02:49:41 GMT:

> I have routed outgoing message to my ISP's SMTP server. I hope our email with multi 
>recipient address are forwarded to my ISP's SMTP once. How can I do that?
> 

Unless someone has written this functionality for qmail to do this then 
it won't do it.  Look on qmail.org for patches, but I don't believe 
anyone has ever had the ``itch'' to do it.

Andy
-- 
[-----------[system uptime]--------------------------------------------]
 12:39am  up 3 days, 41 min, 10 users,  load average: 1.01, 1.09, 1.13






Hello,

  how can I make mailing list private in ezml? All i need, is 4
  persons to be able to send and receive e-mail from that mailing
  list. also, I need to add Reply-To: [EMAIL PROTECTED]
  how to do these things?

  thanks.

-- 
 Sashka






How do I change the timezone information that qmail puts in the
received
header?
Qmail is running on openbsd 2.8.

This is my /var/qmail/rc file.

exec env - PATH="/var/qmail/bin:$PATH" \
TZ=Australia/Victoria qmail-start '|preline procmail' splogger qmail

Here are the headers that qmail is putting in:

Received:(qmail 20111 invoked from network); 16 Feb 2001 03:43:07
-0000
Received:from localhost ([EMAIL PROTECTED]) by localhost with SMTP; 16
Feb
2001 03:43:06 -0000

I would like qmail to put in the timezone GMT+11 or
Australia/Victoria.
-- 
   (*)(*)
     ||
   \____/
Cameron Lowe
[EMAIL PROTECTED]




Thus said TAG on Fri, 16 Feb 2001 11:36:05 +0200:

> ok - Yes - how

Put a single ``#'' in your dotqmail file for postmaster.
> 
> and NO - why not ??

What if for some strange reason someone starts spamming from your mail 
server.  I would like to be able to send an email to postmaster to 
inform of the criminal act.  If I don't hear back from postmaster in 24 
hours I will submit your domain to one of the open relay lists thus 
blocking your IP from sending mail to those who participate.  Is that 
incentive enough?

Andy
-- 
[-----------[system uptime]--------------------------------------------]
 12:32am  up 3 days, 34 min, 10 users,  load average: 1.13, 1.18, 1.17






Hi,
 
   I have a questions about "ipchains" and "nslookup for qmail" to ask.  Currently, I am using a DENY EVERYTHING by DEFAULT ipchains firewall.  Once the firewall is started, I am not able to do a "nslookup" at my machine.  So, what port do I have to open in order to perform a "nslookup" job.  Also, qmail won't be able to resolve a remote site name if nslookup is not allowed.  Is this correct ??
 
Below is my firewall script for DNS.  once I used the below firewall script, then I am not able to do a "nslookup".  Please tell me what port do I have to open for nslookup.

# Local client to server DNS transaction
 
ipchains -A output -i $external_interface -p udp \
         -s $ipaddr $unprivports \
         -d $anywhere 53 -j ACCEPT
 
ipchains -A input -i $external_interface -p udp \
         -s $anywhere 53 \
         -d $ipaddr $unprivports -j ACCEPT
 
ipchains -A output -i $external_interface -p tcp \
         -s $ipaddr $unprivports \
         -d $anywhere 53 -j ACCEPT
 
ipchains -A input -i $external_interface -p tcp ! -y \
         -s $anywhere 53 \
         -d $ipaddr $unprivports -j ACCEPT
 
ipchains -A output -i $external_interface -p udp \
         -s $ipaddr 53 \
         -d $anywhere 53 -j ACCEPT
 
ipchains -A input -i $external_interface -p udp \
         -s $anywhere 53 \
         -d $ipaddr 53 -j ACCEPT
 
# ---------------------------------------------------------------
 
# Remote Client Lookup
 
ipchains -A input -i $external_interface -p udp \
         -s $anywhere $unprivports \
         -d $ipaddr 53 -j ACCEPT
 
ipchains -A output -i $external_interface -p udp \
         -s $ipaddr 53 \
         -d $anywhere $unprivports -j ACCEPT
 
ipchains -A input -i $external_interface -p tcp \
         -s $anywhere $unprivports \
         -d $ipaddr 53 -j ACCEPT
 
ipchains -A output -i $external_interface -p tcp ! -y \
         -s $ipaddr 53 \
         -d $anywhere $unprivports -j ACCEPT
 
 
 
# Server to server DNS transaction
 
ipchains -A input -i $external_interface -p udp \
         -s $anywhere 53 \
         -d $ipaddr 53 -j ACCEPT
 
ipchains -A output -i $external_interface -p udp \
         -s $ipaddr 53  \
         -d $anywhere 53 -j ACCEPT
 
# Resolv.conf lookup
 
ipchains -A output -i $external_interface -p udp \
         -s $ipaddr $unprivports \
         -d $anywhere 53 -j ACCEPT
 
ipchains -A input -i $external_interface -p udp \
         -s $anywhere 53 \
         -d $ipaddr $unprivports -j ACCEPT
 
ipchains -A output -i $external_interface -p tcp \
         -s $ipaddr $unprivports \
         -d $anywhere 53 -j ACCEPT
 
ipchains -A input -i $external_interface -p tcp ! -y \
         -s $anywhere $53 \
         -d $ipaddr $unprivports -j ACCEPT
 
Thank you so much,
 
Mark
 






dennis wrote:

> Hi all..
>
> Can anyone suggest an authentication scheme for courier-imap when using
> qmail-ldap ?

  obviously you will use ldap for authentication because password should
be
same for pop-3 and imap , isnt it ?

>
>
> How should I compile authentication into ciourier if qmail-ldap is going to
> handle authentication via ldap ?
>

  you just have to install openldap SDK on the same mechine on which you
are
planning to install courier-imap , and run ./configure
                                                              make ,
make
install
it will get compiled with ldap authentication support , if not , then
you may
have to edit some paths in makefile of courier-imap




>
> Dennis


Reply via email to