qmail Digest 31 Mar 2001 11:00:00 -0000 Issue 1320

Topics (messages 60019 through 60055):

Re: Help!!!
        60019 by: Henning Brauer

Re: Divert RBL messages?
        60020 by: Tullio Andreatta

Re: Random Bounce
        60021 by: Niles

Re: bug in qmail? showctl
        60022 by: Charles Cazabon
        60023 by: Dean Browett
        60025 by: Charles Cazabon
        60033 by: Dean Browett
        60034 by: Charles Cazabon

Be all, end all checkpasswd
        60024 by: Dan Newcombe
        60026 by: Charles Cazabon

Re: A real "bouncesaying"
        60027 by: Filip Salomonsson
        60028 by: Peter van Dijk
        60029 by: Dave Sill
        60030 by: Filip Salomonsson
        60032 by: Filip Salomonsson
        60035 by: Filip Salomonsson
        60037 by: Magnus Bodin

Error configuring vqadmin
        60031 by: John Chapman

SMTP Problem
        60036 by: Sunil .
        60038 by: Charles Cazabon

Inter7 mirror
        60039 by: Christopher Tolley
        60040 by: Alex Kramarov
        60041 by: Dave 'Duke of URL' Weiner

binding qmail to a specific ip address
        60042 by: Leni Mayo
        60043 by: Sean Chittenden

qmail and IMAP and checkpassword
        60044 by: Michael Boyiazis

How to convert mailbox to maildir !!!!!!!!!
        60045 by: lkhanna.hughes-ecomm.com
        60046 by: Tim Hunter

easiest way to queue and de-queue mail for exchange.
        60047 by: Qmail
        60054 by: Peter van Dijk

can't find hosts
        60048 by: Michael Cartmel
        60049 by: Alex Pennace
        60050 by: Michael Cartmel
        60052 by: Alex Pennace
        60053 by: Michael Cartmel

Re: Removing from queue
        60051 by: omicron

Re: easiest way to queue and de-queue mail for exchange.]
        60055 by: Kashan Sadiq

Administrivia:

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

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

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

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


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


On Fri, Mar 30, 2001 at 01:23:55PM +0200, José Ramón Jiménez wrote:
> Hello
> I have Solaris 8, qmail 1.0.3 (with path for LDAP), Netscape Directory 
> Server 4.0.(LDAP)
> What POP3 server support LDAP?
> What IMAP server can i work?
> And, what webmail server can i work?

read http://www.lifewithqmail.org/ldap/

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




Johan Almqvist <[EMAIL PROTECTED]> wrote:
>Hi!
>
>I'm looking for a way to divert messages that come from RBL listed hosts
>on a system-wide basis... All messages from hosts that are in the RBL
>should go to the spamtrap user for example...

I patched rblsmtpd adding an option -T who set RELAYCLIENT to option argument
when the host is in rbl (instead of starting it's limited smtp server.)
Then I can use virtualdomain support to catch all messages coming from a
spam source. See:

http://www.troppoavanti.it/qmail/ucspi-tcp-0.88-rblsmtp.rbltrap-0.1.patch

 (Currently untested - I don't use it in production servers)

Ciao.


--
Tullio Andreatta
Logicom S.r.l. (Gruppo Finmatica) http://www.logicom.it/
Sede operativa:  Via Vergnano, 2 - I-25100 Brescia ITALY




[EMAIL PROTECTED] wrote:
> As I indicated on my first post, this is our isp's server.
Consequently,
> the bounce message is all I have to work with.  I was hoping someone
would
> give some general suggestions on where to look so that I could pass
it on to
> my isp.  Sorry to have troubled you all.
>
OK, let me change my request for info.. What do *their* mail log files
indicate?  If I were a betting man, I would bet money that as soon as
you find out what is being logged, you won't need help from this list
to determine the problem.  Unfortunately, many ISP's are admin'd by
young wanna-be's who don't know their ass from a hole in the ground
and got their job by fast talking (if you can't dazzle 'em with
brilliance, baffle 'em with bullshit).  Don't for a minute think that
just because they have large clients, they have competent help.

In your original post you asked:
One reason I am still uncomfortable; if my isp (local but handles
several large companies and thousands of dial-up) who has so much more
experience running qmail than I can't figure out a "mysterious" bouce
problem, how will I cross that bridge?

I believe you will be able to cross that bridge with ease because you
will have access to *all* the info you need to identify where your
problem lies.  And once the root of a problem is exposed, the solution
becomes apparent.

Niles





Dean Browett <[EMAIL PROTECTED]> wrote:
> As requested...............

Excellent.

> locals:
> Messages for bizonline.co.uk are delivered locally.
[...] 
> rcpthosts:
[...] 
> SMTP clients may send messages to recipients at fasttrack-assoc.com.
[...]
> virtualdomains:
> Virtual domain: fasttrack-assoc.com:fasttrack-assoc.com__

Okay, so far, so good.  How about the following:

    `ls -ld ~fasttrack ~fasttrack/.qmail*`

Also, what are the permissions on every directory between ~fasttrack and / ?
Then, the contents of every .qmail* file in fasttrack's homedir.

I do not recall the original error message -- was it "No mailbox here by 
that name" or "This user has no HOME/Maildir", or what?

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 of the addresses for fasttrack map to a local user 'fast.trevor.wright'.
If mail is sent directly to this user it arrives without a hitch. This
proves that the entry in the database is correct and the .qmail file is
doing it's thing.

For the record the file permissions are as follows:

[root@hermes-1 /root]# ls -ld / /home /home/fas /home/fas/fast.trevor.wright
/home/fas/fast.trevor.wright/.qmail*
drwxr-xr-x   20 root     root         4096 Feb 28 17:00 /
drwxr-xr-x  1088 qmailuse pop3user    16384 Mar 30 12:06 /home
drwxr-xr-x    5 qmailuse pop3user     4096 Mar 14 17:18 /home/fas
drwxr-xr-x    3 qmailuse pop3user     4096 Mar 14 17:18
/home/fas/fast.trevor.wright
-rw-r--r--    1 qmailuse pop3user       11 Mar 14 17:18
/home/fas/fast.trevor.wright/.qmail


 Dean Browett
 Network Operations Manager
 Business Online Group plc

 ====== Inventors of Free Internet & Unmetered Access =====
 http://www.bizonline.net
 http://www.publiconline.net
 http://www.thefreeinternet.net
 ============================================
 Opinions expressed in this email are those of the
 author and are not binding upon Business Online Group plc.
 ============================================



----- Original Message -----
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 3:04 PM
Subject: Re: bug in qmail? showctl


> Dean Browett <[EMAIL PROTECTED]> wrote:
> > As requested...............
>
> Excellent.
>
> > locals:
> > Messages for bizonline.co.uk are delivered locally.
> [...]
> > rcpthosts:
> [...]
> > SMTP clients may send messages to recipients at fasttrack-assoc.com.
> [...]
> > virtualdomains:
> > Virtual domain: fasttrack-assoc.com:fasttrack-assoc.com__
>
> Okay, so far, so good.  How about the following:
>
>     `ls -ld ~fasttrack ~fasttrack/.qmail*`
>
> Also, what are the permissions on every directory between ~fasttrack and /
?
> Then, the contents of every .qmail* file in fasttrack's homedir.
>
> I do not recall the original error message -- was it "No mailbox here by
> that name" or "This user has no HOME/Maildir", or what?
>
> 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.
> -----------------------------------------------------------------------
>





Dean Browett <[EMAIL PROTECTED]> wrote:
> > Okay, so far, so good.  How about the following:
> >
> >     `ls -ld ~fasttrack ~fasttrack/.qmail*`
> >
> > Also, what are the permissions on every directory between ~fasttrack and /
> ?
> > Then, the contents of every .qmail* file in fasttrack's homedir.
> >
> > I do not recall the original error message -- was it "No mailbox here by
> > that name" or "This user has no HOME/Maildir", or what?

> All of the addresses for fasttrack map to a local user 'fast.trevor.wright'.
> If mail is sent directly to this user it arrives without a hitch. This
> proves that the entry in the database is correct and the .qmail file is
> doing it's thing.

Okay, not quite what I asked for.  Your virtualdomains entry for
fastrack-assoc.com was "fasttrack-..."; I assumed it was a local user
"fasttrack" handling the domain.  Apparently not.  If not, it must be
alias.

You've proved 'fast.trevor.wright' can receive mail; the problem is therefore
between alias and that user.  Post the ownership, permissions, and 
contents of every file matching "~alias/.qmail-fasttrack*".

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





Ok, let me clear something up.........the only .qmail file that a user has
is in their home directory. This file contains './Maildir/.
In /var/qmail/alias there several files none of which affect the domain in
question. '.qmail-default' contains  '| fastforward -d /etc/aliases.cdb' .

ALL aliases for virtual domains and local addresses e.g. postmaster, root
etc live in /etc/aliases.........this may not be the best method, but it
works...too much like sendmail eh 8-(( .

The original error message was "No mailbox here by that name".

The file permissions for all things /var/qmail/alias/.qmail*

[root@hermes-1 /root]# ls -ld  /var /var/qmail /var/qmail/alias
/var/qmail/alias/.qmail*

drwxr-xr-x   18 root     root         4096 Feb 28 11:47 /var
drwxr-xr-x   12 root     qmail        4096 Mar 14 13:03 /var/qmail
drwxr-sr-x    2 alias    qmail        4096 Mar 29 17:28 /var/qmail/alias
-rw-r--r--    1 root     root           35 Feb 28  2000
/var/qmail/alias/.qmail-default
-rw-r--r--    1 root     qmail          11 Mar 15 13:34
/var/qmail/alias/.qmail-diaasoft:co:uk__-default
-rw-r--r--    1 root     qmail           6 Mar 15 13:45
/var/qmail/alias/.qmail-leisureactivity:com__-default
-rw-r--r--    1 root     qmail          22 Mar 15 13:46
/var/qmail/alias/.qmail-medicalguide:co:uk__-default
-rw-r--r--    1 root     qmail           9 Mar 27 09:48
/var/qmail/alias/.qmail-merchantsolutionsltd:com__-default
-rw-r--r--    1 root     qmail          13 Mar 15 13:50
/var/qmail/alias/.qmail-ttvpictures:co:uk__-default

Regards

 Dean Browett



----- Original Message -----
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 3:53 PM
Subject: Re: bug in qmail? showctl


> Dean Browett <[EMAIL PROTECTED]> wrote:
> > > Okay, so far, so good.  How about the following:
> > >
> > >     `ls -ld ~fasttrack ~fasttrack/.qmail*`
> > >
> > > Also, what are the permissions on every directory between ~fasttrack
and /
> > ?
> > > Then, the contents of every .qmail* file in fasttrack's homedir.
> > >
> > > I do not recall the original error message -- was it "No mailbox here
by
> > > that name" or "This user has no HOME/Maildir", or what?
>
> > All of the addresses for fasttrack map to a local user
'fast.trevor.wright'.
> > If mail is sent directly to this user it arrives without a hitch. This
> > proves that the entry in the database is correct and the .qmail file is
> > doing it's thing.
>
> Okay, not quite what I asked for.  Your virtualdomains entry for
> fastrack-assoc.com was "fasttrack-..."; I assumed it was a local user
> "fasttrack" handling the domain.  Apparently not.  If not, it must be
> alias.
>
> You've proved 'fast.trevor.wright' can receive mail; the problem is
therefore
> between alias and that user.  Post the ownership, permissions, and
> contents of every file matching "~alias/.qmail-fasttrack*".
>
> 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.
> -----------------------------------------------------------------------
>





Dean Browett <[EMAIL PROTECTED]> wrote:
> 
> Ok, let me clear something up.........the only .qmail file that a user has
> is in their home directory. This file contains './Maildir/.

You're omitting information.  The name of this file is critical; if the
user controls a virtualdomain, ".qmail" in their home directory won't
control mail in the virtual domain, while ".qmail-default" will.

> In /var/qmail/alias there several files none of which affect the domain in
> question. '.qmail-default' contains  '| fastforward -d /etc/aliases.cdb' .
> 
> ALL aliases for virtual domains and local addresses e.g. postmaster, root
> etc live in /etc/aliases.........this may not be the best method, but it
> works...too much like sendmail eh 8-(( .

Sorry, then, but I can't help you.  I don't use fastforward, and never have.
I don't think it's particularly common among qmail administrators to handle
a virtualdomain that way, but I could be wrong.

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





So, there is the wonderful checkpasswd util.  
There is a patch which lets it work with the cdb databases (which correct
me if I'm wrong, but will let me have one user with 4000 mailboxes and
this should let each "virtual user" get to their own mail)

There is a patch to add PAM support for password lookups, which I will
need since my users will not have /etc/passwd entries.

There is a patch to do MD5, so the users can securly send their password
for POP and SMTP AUTH transactions.

So, that is three patches I can think of that I need.  Something has me
worried that they are gonna start interferring.

Is there a definitive way to:

  - allow SMTP_AUTH and POP passwd checking with secure/MD5 passwords
and 
  - allow each user to have their own mail directory under something like
     /var/spool/maildirs  so I do not need a system account for each user
and 
  - allow checkpasswd to do it's password lookups via PAM

I'll admit I'm probably missing the obivious, but I feel like I'm in
Middle Earth here looking for the One Ring to bind them all.

Thanks!
        -Dan





Dan Newcombe <[EMAIL PROTECTED]> wrote:
> 
> So, that is three patches I can think of that I need.  Something has me
> worried that they are gonna start interferring.

A lot of things can be accomplished without patches, because qmail is so
modular.

> Is there a definitive way to:
> 
>   - allow each user to have their own mail directory under something like
>      /var/spool/maildirs  so I do not need a system account for each user

Both vmailmgr and vpopmail give this capability.  I don't know much about
vpopmail, but vmailmgr does it without any patches to qmail.

>   - allow checkpasswd to do it's password lookups via PAM

There is a PAM patch to checkpassword 0.81.  It doesn't apply cleanly to
0.90.

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




On Thu, Mar 29, 2001 at 07:30:38PM +0200, Filip Salomonsson wrote:
> [snip]
> > Qmail isn't handling virtual domains correctly, as far as I can tell.

Peter van Dijk:
> Wut?
> Greetz, Peter.

>From the dot-qmail man page:

       When  qmail-local  forwards  a  message  as  instructed in
       .qmail-ext  (or   .qmail-default),   it   checks   whether
       .qmail-ext-owner   exists.    If   so,   it   uses  local-
       owner@domain as the envelope sender for the forwarded mes--
       sage.   Otherwise  it  retains  the envelope sender of the
       original message.


Oh, great. here's a line from my virtualdomains file:
  netdesign.se:salo

in ~salo/.qmail-filip:
  ./Maildir/
  &[EMAIL PROTECTED]

in ~salo/.qmail-filip-owner:
  &[EMAIL PROTECTED]


A message is recieved for [EMAIL PROTECTED], delivered locally to
salo-filip, which puts the message in my maildir and forwards a copy to
[EMAIL PROTECTED] The envelope sender for the forwarded message is set to
[EMAIL PROTECTED], just as the docs say ("local" is salo-filip).
But it makes no sense. If the delivery fails, the bounce message will be
sent to [EMAIL PROTECTED], and the delivery instructions will be
sought for in ~salo/.qmail-salo-filip-owner, which doesn't exist. Good job.
The -owner files render themselves completely useless.

Also, any message sent to [EMAIL PROTECTED] will have "Delivered-To:
[EMAIL PROTECTED]" in the header, which is confusing.
[EMAIL PROTECTED] would be "correct". As would
[EMAIL PROTECTED] (the "me" control file says
kepler.netdesign.se).


In short -- qmail handles deliveries to virtual domains/users exactly the
way the docs say (as far as I can tell). But what the docs say is just plain
stupid.

/filip





On Fri, Mar 30, 2001 at 05:03:59PM +0200, Filip Salomonsson wrote:
[snip]
> Oh, great. here's a line from my virtualdomains file:
>   netdesign.se:salo
> 
> in ~salo/.qmail-filip:
>   ./Maildir/
>   &[EMAIL PROTECTED]
> 
> in ~salo/.qmail-filip-owner:
>   &[EMAIL PROTECTED]
> 
> 
> A message is recieved for [EMAIL PROTECTED], delivered locally to
> salo-filip, which puts the message in my maildir and forwards a copy to
> [EMAIL PROTECTED] The envelope sender for the forwarded message is set to
> [EMAIL PROTECTED], just as the docs say ("local" is salo-filip).
> But it makes no sense. If the delivery fails, the bounce message will be
> sent to [EMAIL PROTECTED], and the delivery instructions will be
> sought for in ~salo/.qmail-salo-filip-owner, which doesn't exist. Good job.
> The -owner files render themselves completely useless.

Never toyed with that, sorry.

> Also, any message sent to [EMAIL PROTECTED] will have "Delivered-To:
> [EMAIL PROTECTED]" in the header, which is confusing.
> [EMAIL PROTECTED] would be "correct". As would
> [EMAIL PROTECTED] (the "me" control file says
> kepler.netdesign.se).

Delivered-To is there primarily for loopdetection. It also happens to
be useful for multidrop pop3, and serialmail. Strip off the prefix and
you know the address.

Greetz, Peter.




"Filip Salomonsson" <[EMAIL PROTECTED]> wrote:

>A message is recieved for [EMAIL PROTECTED], delivered locally to
>salo-filip, which puts the message in my maildir and forwards a copy to
>[EMAIL PROTECTED] The envelope sender for the forwarded message is set to
>[EMAIL PROTECTED], just as the docs say ("local" is salo-filip).
>But it makes no sense. If the delivery fails, the bounce message will be
>sent to [EMAIL PROTECTED], and the delivery instructions will be
>sought for in ~salo/.qmail-salo-filip-owner, which doesn't exist. Good job.
>The -owner files render themselves completely useless.

So create ~salo/.qmail-salo-filip-owner or ~salo/.qmail-salo-default.

>Also, any message sent to [EMAIL PROTECTED] will have "Delivered-To:
>[EMAIL PROTECTED]" in the header, which is confusing.

To whom? Delivered-To fields are there for loop detection, if users
look at them, they should understand how they work.

>In short -- qmail handles deliveries to virtual domains/users exactly the
>way the docs say (as far as I can tell). But what the docs say is just plain
>stupid.

You're certainly entitled to your opinion, but calling the current,
documented behavior incorrect is misleading.

-Dave




Filip Salomonsson:
> >The -owner files render themselves completely useless.

Dave Sill:
> So create ~salo/.qmail-salo-filip-owner or ~salo/.qmail-salo-default.

Well, that's what I've done. Works like a charm. But what if there was a
salo@ address(and/or salo-filip@ with a corresponding -owner file)? Many
problems can be worked around, but that's rarely a good permanent solution.

> You're certainly entitled to your opinion, but calling the current,
> documented behavior incorrect is misleading.

So is the current, documented behavior.

/filip





Filip Salomonsson:
> > Also, any message sent to [EMAIL PROTECTED] will have "Delivered-To:
> > [EMAIL PROTECTED]" in the header, which is confusing.
> > [EMAIL PROTECTED] would be "correct". As would
> > [EMAIL PROTECTED] (the "me" control file says
> > kepler.netdesign.se).

Peter van Dijk:
> Delivered-To is there primarily for loopdetection.

Sure. But while it's there, why not make it as useful as possible? I'm not
saying that there's anything wrong with the way Delivered-To lines are
written today. I'm only suggesting something that I think would be a better
solution.

> It also happens to be useful for multidrop pop3, and serialmail.
> Strip off the prefix and you know the address.

Sure, I can do that. But only if I already know that I'm dealing with a
virtual domain.

/filip





Me:
> Sure. But while it's there, why not make it as useful as possible? I'm not
> saying that there's anything wrong with the way Delivered-To lines are
> written today. I'm only suggesting something that I think would
> be a better solution.

Let me withdraw that comment. Delivered-To is obviously not the appropriate
header for showing the envelope recipient. I don't know what I was thinking.
Sorry.

/filip





On Fri, Mar 30, 2001 at 06:56:06PM +0200, Filip Salomonsson wrote:
> Me:
> > Sure. But while it's there, why not make it as useful as possible? I'm not
> > saying that there's anything wrong with the way Delivered-To lines are
> > written today. I'm only suggesting something that I think would
> > be a better solution.
> 
> Let me withdraw that comment. Delivered-To is obviously not the appropriate
> header for showing the envelope recipient. I don't know what I was thinking.
> Sorry.

You were thinking the exactly same thing that I was when I first encountered
this header. I think that showing the envelope recipient per default would
have been "a good thing". Possible through patching, of course.

/magnus

--
http://x42.com/




As this is the qmail list, the chances are that many are using 
vpopmail and vqadmin. I am having a problem running configure on 
vqadmin.  Error and info pasted below.

I am attempting to configure vqadmin.
Qmail is working correctly. 
Vpopadmin is working correctly. Users added from the command line 
work correctly, etc. 


I then move to configuring vqadmin.

root@simba:/usr/local/src/vqadmin-1.4# ./configure --enable-
cgibindir=/var/lib/apache/cgi-bin/

And the results are:

checking whether struct tm is in sys/time.h or time.h... time.h
./configure: line 1805: syntax error near unexpected token `in'
./configure: line 1805: `for ac_func in '
root@simba:/usr/local/src/vqadmin-1.4#


The full output from configure to error is pasted below:

root@simba:/usr/local/src/vqadmin-1.4# ./configure --enable-
cgibindir=/var/lib/apache/cgi-bin/
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i586-unknown-linux
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for POSIXized ISC... no
checking how to run the C preprocessor... gcc -E
checking for AIX... no
yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for working const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
./configure: line 1805: syntax error near unexpected token `in'
./configure: line 1805: `for ac_func in '
root@simba:/usr/local/src/vqadmin-1.4#

Thank You Sincerely,

John Chapman
John Chapman
CNI Consulting
[EMAIL PROTECTED]
www.cniconsulting.com
817-774-0369




Hi Martin , Qmail List Users
thanks for your earlier help.
Anyway, it seems there is some problem here with the SMTP instead.
Here is the error i received while trying to send an email vis SMTP.

-----------------------------------------------------------------------
The message could not be sent because one of the recipients was rejected by 
the server. The rejected e-mail address was '[EMAIL PROTECTED]'. 
Subject 'sdasdsadsd', Account: 'mentortech.org.sg', Server: 
'mentortech.org.sg', Protocol: SMTP, Server Response: '553 sorry, that 
domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25, 
Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
-----------------------------------------------------------------------

I understand that if i added a listing in the rcpthosts for a certain 
domain, let's say hotmail.com, it should work for that domain. But my 
problem is that, what if i want a user to be able to send an email to 
anybody he wants. Does that mean, that i have to add a list of all that 
domains?? Well, this sounds a little stupid as there are thousands of 
domains listed on the web. Imagine adding each and everyone of them !!

My another concern is security. I acually want to be able to allow only 
authenticated users to use my SMTP server as i don't think it would be good 
if some guy is able to hog my bandswidth by sending a huge file thru my SMTP 
server. Is that possible to allow only users who have been authenticated 
thru POP, to be able to use my SMTP server ??

Regards,
Sunil

>From: Martin Edlman <[EMAIL PROTECTED]>
>To: "Sunil ." <[EMAIL PROTECTED]>
>Subject: Re: qmail & imap
>Date: Thu, 29 Mar 2001 08:20:30 +0200
>
>Hi Sunil,
>
> > i need your help here. So sorry, if this reply is not what you expected.
>
>booh booh :(, you're right, I expected some help for me :))))
>
> > Anyway, it seems you are using POP3d with the authentication module that
> > comes with vpopmail. I am currently having problems with pop3
> > authentication. I am very sure it has something to with vpopmail 
>although i
> > can't seem to solve the problem. I am able to login in, send and receive
> > emails through sqwebmail (the web based interface client). But when i 
>try to
> > login via POP, they give me an error something like this: 
>"Authentication
> > failed: Wrong password". It's surprising, because i am able to login 
>with
> > the web.....
>
>Hmmm. I'm not sure how sqwebmail works, I've never used it, but I
>suppose it uses the vpopmail's authentication utility called vchkpw
>(located in bin dir of vpopmail user home dir, e.g.
>/var/qmail/vpopmail/bin).
>
> > Anyway, i installed checkpasswd initially, but later i realized (or 
>rather
> > read on some web page) that qmail passes the authentication job to 
>vpopmail
> > which in turns does the checking of username and passwds, so i don't 
>really
> > see a need for checkpasswd here.
>
>Of course is't no use for checkpasswd utility when you use vpopmail, as
>it comes with bunch of utils to maintain users and domains (vadddomain,
>vadduser, ....) Everything is stored in cdb files, located in vpopmail's
>home and checkpasswd knows nothing about it. You have to use vchkpw for
>authentication.
>And the best (and only way as far as I know) is to say which
>authentication program qpop3 should use. And you say it in file
>/var/qmail/control/checkpassword, so do following (change paths as
>required):
># echo /var/qmail/vpopmail/bin/vchkpw > /var/qmail/control/checkpassword
>
> > I have been trying to get this done for the past 3 weeks but in vain.
> > pls advice.
>
>I hope this will help..
>
>Edas

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





Sunil . <[EMAIL PROTECTED]> wrote:
> 
> I understand that if i added a listing in the rcpthosts for a certain 
> domain, let's say hotmail.com, it should work for that domain. But my 
> problem is that, what if i want a user to be able to send an email to 
> anybody he wants. Does that mean, that i have to add a list of all that 
> domains?? Well, this sounds a little stupid as there are thousands of 
> domains listed on the web. Imagine adding each and everyone of them !!

rcpthosts is not the mechanism you're looking for; what you want is selective
relaying, and is a FAQ.  Check the mailing list archives for (hundreds of
copies of) the solution(s) to your problem.

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





All,

Inter7's website is down due to moving ISP's.  I was wondering if anyone
had knowledge of, or possession of, mirror content of inter7.com?  I'm
specifically seeking current releases of qmailadmin, vpopmail and vqadmin
(full and devel versions).

Even if someone could send me current copies to this address, or links to
copies, I would greatly appreciate it.

Thanks,


-CT




> All,
>
> Inter7's website is down due to moving ISP's.  I was wondering if anyone
> had knowledge of, or possession of, mirror content of inter7.com?  I'm
> specifically seeking current releases of qmailadmin, vpopmail and vqadmin
> (full and devel versions).
>
> Even if someone could send me current copies to this address, or links to
> copies, I would greatly appreciate it.

Sorry for posting to this list, but inter7 is down.

I have put the some of the items in question on my server :

http://212.179.48.82/inter7

if anyone has updates or missing items (like vqadmin) and can help me out,
please send them to me.

This is my first and last post on this matter.

Thank you






> I have put the some of the items in question on my server :
>
> http://212.179.48.82/inter7
>
> if anyone has updates or missing items (like vqadmin) and can help me out,
> please send them to me.
>
> This is my first and last post on this matter.

If anybody knows how to get in touch with Ken Jones or any of the other guys
over at Inter7, I'd be happy to mirror all the pages as well as the tarballs
for qmailadmin, sqwebmail, vpopmail, etc. on my server.  If you are able to
get in contact with them, e-mail me off-list for a phone number where they
can get in touch with me.

>
> Thank you

Dave Weiner





I'm qmail running on a box with 2 network interface cards and want
to bind qmail to a specific IP address in order to simplify
firewall rules.  

I'm thinking along the lines of the apache "BindAddress" keyword,
so qmail would only use a specific ip address when listening and
as a source address for outbound connections.

If anyone has a hack for qmail 1.03 along these lines, I'd love to
see a copy of the source.

Leni.




        Check out tcpserver.  Here's a run file that should be a start
for 'ya:

#!/bin/sh

# Using tcpserver to listen to the internet

exec env - PATH="/var/qmail/bin:$PATH" tcpserver -v -u 1003 -g 1002 192.168.1.1 smtp 
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3


        -sc

On Sat, Mar 31, 2001 at 09:05:16AM +1000, Leni Mayo wrote:
> Delivered-To: [EMAIL PROTECTED]
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> Delivered-To: mailing list [EMAIL PROTECTED]
> Date: Sat, 31 Mar 2001 09:05:16 +1000
> From: Leni Mayo <[EMAIL PROTECTED]>
> X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U)
> X-Accept-Language: en
> To: [EMAIL PROTECTED]
> Subject: binding qmail to a specific ip address
> 
> I'm qmail running on a box with 2 network interface cards and want
> to bind qmail to a specific IP address in order to simplify
> firewall rules.  
> 
> I'm thinking along the lines of the apache "BindAddress" keyword,
> so qmail would only use a specific ip address when listening and
> as a source address for outbound connections.
> 
> If anyone has a hack for qmail 1.03 along these lines, I'd love to
> see a copy of the source.
> 
> Leni.

-- 
Sean Chittenden

PGP signature





Hi,
   We're need a IMAP product that uses Maildir's and we'd like to 
authenticate using our own hacked checkpassword.

I've read in the archives that courier-imap uses Maildirs, but can it
use checkpassword for authentication or will I need something
like that mentioned below and wrap checkpassword with some perl
scripts?

http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/04/msg01189.html


Thanks,
 
Mike.





Dear all,
 
I am using qmail1.03 with mailbox format, But i want to implement Maildir format now.
I am allready having nearly 700 pop accounts and their mailbox in their respective home directory.
 
Is there any way to convert their existing mailbox to Maildir ?
 
Regards
 
lokesh




check www.qmail.org, there are plenty of utils there.
 
----- Original Message -----
Sent: Friday, March 30, 2001 11:32 AM
Subject: How to convert mailbox to maildir !!!!!!!!!

Dear all,
 
I am using qmail1.03 with mailbox format, But i want to implement Maildir format now.
I am allready having nearly 700 pop accounts and their mailbox in their respective home directory.
 
Is there any way to convert their existing mailbox to Maildir ?
 
Regards
 
lokesh




Any suggestions are appreciated.

We are looking for some way to help out a few dozen exchange customers while
northpoint is down.

Thanks.

Lance





On Fri, Mar 30, 2001 at 09:10:30PM -0800, Qmail wrote:
> Any suggestions are appreciated.
> 
> We are looking for some way to help out a few dozen exchange customers while
> northpoint is down.

Either 
- install serialmail and give them each their own Maildir (serialmail
docs show you how)
- set secondary MXes to you (you probably have this already) and touch
all their mail every, say, 6 days (because qmail bounces at 7, by
default) until their primary MX is up again.

I'd go for the first option.

Greetz, Peter.




Hi,
 
Hoping someone can help.
 
I've tested my qmail setup and all the tests using qmail-inject work ok, however, if a mail comes in through qmail-smtpd it bounces with 'Sorry, I couldn't find and host named...'.
 
All dns tools are working fine, it just seems to be qmail. Anyone know the answer?
 
        Cheers,        -mic

smime.p7s





On Sat, Mar 31, 2001 at 04:21:18PM +1000, Michael Cartmel wrote:
> I've tested my qmail setup and all the tests using qmail-inject work ok, however, if 
>a mail comes in through qmail-smtpd it bounces with 'Sorry, I couldn't find and host 
>named...'.
> 
> All dns tools are working fine, it just seems to be qmail. Anyone know the answer?

What do the logs say? How are you invoking qmail-smtpd?




Yeah, I just fixed it actually after reading that qmail doesn't actually do
dns lookups.
Found tcpserver to be the culprit. xinetd makes it run fine. I'll probably
just leave it at that now...

        Cheers,     -mic

----- Original Message -----
From: "Alex Pennace" <[EMAIL PROTECTED]>
To: "Michael Cartmel" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, March 31, 2001 4:58 PM
Subject: Re: can't find hosts


> On Sat, Mar 31, 2001 at 04:21:18PM +1000, Michael Cartmel wrote:
> > I've tested my qmail setup and all the tests using qmail-inject work ok,
however, if a mail comes in through qmail-smtpd it bounces with 'Sorry, I
couldn't find and host named...'.
> >
> > All dns tools are working fine, it just seems to be qmail. Anyone know
the answer?
>
> What do the logs say? How are you invoking qmail-smtpd?





On Sat, Mar 31, 2001 at 05:01:39PM +1000, Michael Cartmel wrote:
[qmail-smtpd causing messages to be bounced]
> Yeah, I just fixed it actually after reading that qmail doesn't actually do
> dns lookups.
> Found tcpserver to be the culprit. xinetd makes it run fine. I'll probably
> just leave it at that now...

I don't suspect that at all. I believe that your tcpserver
configuration caused $RELAYCLIENT to be set to something other than
"", which can cause the problems you were having. Hence my earlier
request for logs and the run script for qmail-smtpd under tcpserver.




the run script for tcpserver was as outlined in the Qmail HOWTO from
www.qmail.org.

----- Original Message -----
From: "Alex Pennace" <[EMAIL PROTECTED]>
To: "Michael Cartmel" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, March 31, 2001 5:32 PM
Subject: Re: can't find hosts


> On Sat, Mar 31, 2001 at 05:01:39PM +1000, Michael Cartmel wrote:
> [qmail-smtpd causing messages to be bounced]
> > Yeah, I just fixed it actually after reading that qmail doesn't actually
do
> > dns lookups.
> > Found tcpserver to be the culprit. xinetd makes it run fine. I'll
probably
> > just leave it at that now...
>
> I don't suspect that at all. I believe that your tcpserver
> configuration caused $RELAYCLIENT to be set to something other than
> "", which can cause the problems you were having. Hence my earlier
> request for logs and the run script for qmail-smtpd under tcpserver.





hi,
        i got a shell script that can do that. if the 1st arg is NULL,
it's going to flush the list, if it is a message number ( get it from
qmail-qread ), then it is going to delete that message..
        here is it.

------------------<>--------------------
#!/bin/sh
cd /var/qmail/queue
MID=$1
FLAG=0
/etc/init.d/qmail stop
for file in `find . -iname \* | grep "./*/[0-9]"`
do
        FILENAME=`basename $file`
        if [ -n "$MID" ];then
           if [ "$MID" != "$FILENAME" ];then
                  continue
           fi
        fi
        
        if [ -f $file ];then    
                echo "removing $file..."
                 rm   $file 
                FLAG=1
        fi
done

if [ $FLAG -ne 1 ];then
        echo "No message deleted from queue"
fi

/etc/init.d/qmail start
/etc/init.d/qmail status

--------------------<>--------------------------

        hope this helps.
regards
omicron

-- 
******
omicron         Mail:[EMAIL PROTECTED]
(Sridhar N)      www:omicron.symonds.net
             pubkeys:omicron.symonds.net/pubkeys

           C O G I T O   E R G O   S U M
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






But what if there are two servers running qmail on both of them. One is
primary and the second is backup mail server which is for use of Queueing
only. Now how would the mails on secondary mail server transfer to primary
mail server and then stores in user accounts.

Thanks for ur help and I am also working on it.

Kashan
Peter van Dijk <[EMAIL PROTECTED]> wrote:
On Fri, Mar 30, 2001 at 09:10:30PM -0800, Qmail wrote:
> Any suggestions are appreciated.
> 
> We are looking for some way to help out a few dozen exchange customers
while
> northpoint is down.

Either 
- install serialmail and give them each their own Maildir (serialmail
docs show you how)
- set secondary MXes to you (you probably have this already) and touch
all their mail every, say, 6 days (because qmail bounces at 7, by
default) until their primary MX is up again.

I'd go for the first option.

Greetz, Peter.


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


Reply via email to