qmail Digest 16 Mar 2000 11:00:01 -0000 Issue 942

Topics (messages 38565 through 38602):

Re: Problem with daemontools 0.70
        38565 by: D. J. Bernstein

Re: mbox has changed to Mailbox
        38566 by: Ricardo Cerqueira

qmailanalog examples howto
        38567 by: Andr�s

OE4/5 fix
        38568 by: petervd.vuurwerk.nl

Re: qmail equiv of sendmail access.db and genericstable?
        38569 by: Erwin Hoffmann
        38573 by: Charles Cazabon

qmail and uscpi-tcp
        38570 by: Pierre-Yves DESLANDES
        38571 by: Mads E Eilertsen
        38572 by: Pierre-Yves DESLANDES
        38574 by: Charles Cazabon

SMTP authentication?
        38575 by: Reuben King
        38576 by: Krzysztof Dabrowski

Re: Why fstat() in qmail-send.c:markdone()?
        38577 by: Fred Lindberg
        38579 by: Dave Sill
        38580 by: Fred Lindberg

qmail and ucspi-tcp succeeded
        38578 by: Pierre-Yves DESLANDES

Increasing deferral time
        38581 by: Chuck Milam
        38582 by: Charles Cazabon
        38583 by: Dave Sill

Re: Bounce Loops?
        38584 by: smanjourides.corp.visto.com
        38585 by: Adam McKenna
        38590 by: Russ Allbery
        38593 by: Adam McKenna
        38594 by: Magnus Bodin

Web interface
        38586 by: Dan Barber
        38588 by: Bill Parker

Additional Request --> Re: Web interface
        38587 by: Scott D. Yelich
        38589 by: Reuben King
        38591 by: Scott D. Yelich
        38592 by: Olivier M.
        38598 by: Reuben King
        38599 by: Olivier M.
        38600 by: Marcin Jaskowiak

dot-qmail Files
        38595 by: Christopher Tarricone

"instantly processed"
        38596 by: Casey Zacek
        38597 by: Kai MacTane

POP-before-SMTP implementations
        38601 by: Erik Bystr�m
        38602 by: Petr Novotny

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]


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


The RedHat 5.1 poll() emulation library fails to clear revents when
select() returns 0. This caused DNS lookups to loop when they should
have timed out. Version 0.87 of ucspi-tcp has a workaround.

---Dan




On Wed, Mar 15, 2000 at 09:43:29PM +1100, Manfred Bartz wrote:
> Grimshaw Stuart <[EMAIL PROTECTED]> writes:
> 
> > That is the only thing that has changed, followed by a reboot because I
> > hit the wrong power switch (don't ask). Since qmail was back up and
> > running the mail has started to be delivered to ~/Mailbox instead of
> > ~/mbox so my pop3 deamon (the one that comes with RH6.0) wasn't
> > recognising there was any new mail.
> 
> Someone or some program changed your ~/.qmail and probably a few other
> things...
> 
> man dot-qmail

Actually, I think "man qmail-start" will be more helpful to change that behaviour.


                                                Regards;
                                                        Ricardo
-- 
+-------------------
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Rede T�cnica 
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal




Thanks a lot.

It gave me that error but it worked :-) (my files are named "@*").

It doesn't delete any file. Now I'm going to try all the z* utilities.

I have a question: Was I supposed to know how I had to do ALL these things?
How, with paranormal power? Hehehehe, thanks a lot again :-)

I'm going to forward this message to the mailing list too so maybe it can
help more people, or the author perform his "documentation".

----- Original Message -----
From: Dewald Strauss <[EMAIL PROTECTED]>
To: 'Andr�s' <[EMAIL PROTECTED]>
Sent: Wednesday, March 15, 2000 12:48 PM
Subject: RE: qmailanalog howto


hi again...

Try the following (hope I remember this correctly!!!)

First feed the logs through matchup:
(copy the logs to /tmp first, not sure if this is 100%)
cat /tmp/maillog* | /usr/local/qmailanalog/bin/matchup >
/tmp/maillog-matchup

(you might get an error about fd5 being open, just ignore it)

Now you can generate your stats from the processed maillog-matchup
Use the z* utilities in /usr/local/qmailanalog/bin/

example cat /tmp/maillog-matchup | /usr/local/qmailanalog/bin/zoverall >
/tmp/overall-stats

now you can read /tmp/overall-stats, quite nice.

Hope this is correct, let me know if you get stuck.

cheers
Dewald

> -----Original Message-----
> From: Andr�s [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 15, 2000 1:23 PM
> To: Dewald Strauss
> Subject: RE: qmailanalog howto
>
> I'm using it on my RedHat 6.0
>
> I have qmail 1.03 (I think I installed the Memphis RPM version). I'm
> running
> daemontools and tcpserver.
>
> My logs are inside /var/log: qmail and qmail-smtpd.
>
> Qmail is inside /var/qmail. Qmailanalog is inside /usr/local/qmailanalog.
>
> I use Cyclog to create the logs, look:
>
> This is what I have in qmail.init (correponding to cyclog):
>
> | setuser $LOGUSER cyclog $FILESIZE $FILENO $LOGDIR &
>
> And this inside a log file:
>
> 948989145.602145 starting delivery 97: msg 524301 to local [EMAIL PROTECTED]
> 948989145.602184 status: local 1/10 remote 0/20
> 948989145.615594 delivery 97: deferral:
> Unable_to_chdir_to_maildir._(#4.2.1)/
> 948989145.615632 status: local 0/10 remote 0/20
> 948994507.612565 starting delivery 98: msg 524297 to local [EMAIL PROTECTED]
> 948994507.612603 status: local 1/10 remote 0/20
> 948994507.612624 starting delivery 99: msg 524300 to local [EMAIL PROTECTED]
> 948994507.612657 status: local 2/10 remote 0/20
> 948994507.612678 starting delivery 100: msg 524293 to local [EMAIL PROTECTED]
> 948994507.612711 status: local 3/10 remote 0/20
> 948994507.613345 starting delivery 101: msg 524294 to local [EMAIL PROTECTED]
> 948994507.613377 status: local 4/10 remote 0/20
>
> Thanks in advance.
>
> ----- Original Message -----
> From: Dewald Strauss <[EMAIL PROTECTED]>
> To: 'Andr�s' <[EMAIL PROTECTED]>
> Sent: Wednesday, March 15, 2000 12:09 PM
> Subject: RE: qmailanalog howto
>
>
> ok...
> telll me what your setup looks like....
> version of qmail....
> install dir of qmail...
> etc
>
> do you use splogger or cyclog ?
>
> let me know
>
> > -----Original Message-----
> > From: Andr�s [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, March 15, 2000 1:03 PM
> > To: Dewald Strauss
> > Subject: RE: qmailanalog howto
> >
> > I'm afraid not. Charlez Cazabon tried to explain something, but not what
> I
> > wanted exactly :-(
> >
> >
> > ----- Original Message -----
> > From: Dewald Strauss <[EMAIL PROTECTED]>
> > To: 'Andr�s' <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 15, 2000 7:43 AM
> > Subject: RE: qmailanalog howto
> >
> >
> > Hi there,
> >
> > Did someone give you an example yet on how to use qmailanalog?
> > If not, give me shout...
> >
> > cheers
> > Dewald
> >
> >
>






My friend reports:
'increase the smtp server timeout in outlook'
(Tools->Services->Internet mail->Advanced).

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




Hi,

again.


At 17:30 14.3.2000 -0500, you wrote:
> 
>> >How do I go about doing this with qmail? Esp since I will
>> >be sending this mail unaltered from the old mailserver to
>> >the new qmail host (in the mailhub setup, your client 
>> >doesnt touch the headers, its all up to the mailhub right?)
>> 
>> I agree with Chareles for this item.
>
>Well, I agree that we should be setting these things in
>the MUA, but let me ask you an embarassingly stupid question.
>sendmail masquerading feature -- how does qmail deal
>with this?
>
>I have a box where people have shell access, which
>has a name shell.mydomain.com (its using sendmail), 
>my second machine mailhost.otherdomain.com is my qmail 
>host.
>

Ok lets take that scenario. People on shell.mydomain.com have some kind of
MUA (eg. Netscape) and shell.mydomain.com employs sendmail from here.


>Now I want people on shell.mydomain.com to send 
>mail through mailhost.otherdomain.com, 

-- Wait. You may distinguish in the MUA between a POP3 (receive) host
(which should be shell.mydomain.com) and a SMTP (sending) host -
mailhost.otherdomain.com. But obviously, thats not what you want.
 
>but I need
>mailhost to rewrite the address 
>from [EMAIL PROTECTED] to [EMAIL PROTECTED],
>and in some cases from [EMAIL PROTECTED]
>to [EMAIL PROTECTED] . 

-- Ok. That means effectively that mailhost.otherdomain.com receives SMTPD
Mail from shell.mydomain.com and rewrites the address. Otherwise, QMAIL
will transparently forward the Mail.


>An example
>of how to do this with .qmail files would be
>really helpful.

-- Not just this. 

(1) You have to convince shell.mydomain.com to use mailhost as the first
SMTP hop.
(2) mailhost has to catch the Mail and to interpret it to be local. Check
the relayclient section in SPAMCONTROL readme.
(3) Check the QMAIL add-on "newaliases" or even better "fastforward" and
install it.
(4) Put the users/hosts/domains in a file like you do it for sendmail's
alias mechanism and employ fastforward as described.
(5). Include the following lines into the file
/var/qmail/alias/.qmail-default:
|/var/qmail/bin/fastforward -p /var/qmail/etc/rewritten.cdb
|/var/qmail/bin/forward "$LOCAL"@"$HOST"

Here, rewritten.cdb is the fastforwarding database including any address
you may need to be rewritten (see 4). Any other address will stay as-is.

Cheers.
eh.

PS: Sorry. Nothing is easy with QMAIL - but its working well thereafter.
+-----------------------------------------------------------------------+
|  fff        hh                                     Dr. Erwin Hoffmann |
| ff          hh                                                        |
| ff    eee   hhhh      ccc   ooo    mm mm  mm       Wiener Weg 8       |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm     50858 Koeln        |
| ff  ee eee  hh  hh  cc   oo     oo mm   mm  mm                        |
| ff  eee     hh  hh   cc   oo   oo  mm   mm  mm     Tel 0221 484 4923  |
| ff   eeee   hh  hh    ccc   ooo    mm   mm  mm     Fax 0221 484 4924  |
+-----------------------------------------------------------------------+




anindya <[EMAIL PROTECTED]> wrote:
> 
> Well, I agree that we should be setting these things in
> the MUA, but let me ask you an embarassingly stupid question.
> sendmail masquerading feature -- how does qmail deal
> with this?
> 
> I have a box where people have shell access, which
> has a name shell.mydomain.com (its using sendmail), 
> my second machine mailhost.otherdomain.com is my qmail 
> host.
> 
> Now I want people on shell.mydomain.com to send 
> mail through mailhost.otherdomain.com, but I need
> mailhost to rewrite the address 
> from [EMAIL PROTECTED] to [EMAIL PROTECTED],
> and in some cases from [EMAIL PROTECTED]
> to [EMAIL PROTECTED] . An example
> of how to do this with .qmail files would be
> really helpful.
 
Why can't the user just set their address in their MUA to the appropriate
items?  As for controlling the envelope sender, the hostname can be overridden
by setting the QMAILHOST or MAILHOST environment variables, if you call
qmail-inject.

Charles
-- 
----------------------------------------------------
Charles Cazabon         <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------




Hi everybody, i'm using Qmail with tcpserver.And i can't manage to use my mail server to forward outgoing messages.
I have put a smtproutes file in my qmail control directory with :
:smtp.myprovider.net
but i think i should modify my smtp.rules and my smtp.cdb in /etc/tcpcontrol.
What should i do for having it working good ???
 
Thanks for help




On Wed, 15 Mar 2000, Pierre-Yves DESLANDES wrote:

> Hi everybody, i'm using Qmail with tcpserver.And i can't manage to use my mail 
>server to forward outgoing messages.

What happens when you try to send a message?
What does the log say?

Mads





yes sorry i forgot to give the log :
'553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)'
----- Original Message -----
From: Mads E Eilertsen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 15, 2000 3:32 PM
Subject: Re: qmail and uscpi-tcp


> On Wed, 15 Mar 2000, Pierre-Yves DESLANDES wrote:
>
> > Hi everybody, i'm using Qmail with tcpserver.And i can't manage to use
my mail server to forward outgoing messages.
>
> What happens when you try to send a message?
> What does the log say?
>
> Mads





Pierre-Yves DESLANDES <[EMAIL PROTECTED]> wrote:
> Hi everybody, i'm using Qmail with tcpserver.And i can't manage to use my mail 
>server to forward outgoing messages.
> I have put a smtproutes file in my qmail control directory with :
> :smtp.myprovider.net
> but i think i should modify my smtp.rules and my smtp.cdb in /etc/tcpcontrol.
> What should i do for having it working good ???

If you want to allow a particular (static) IP address to relay through you,
add them to the smtp.rules file as follows:

1.2.3.4:allow,RELAYCLIENT=""

and then rebuild your smtp.cdb.  If the user you want to allow relaying for
has a dynamic IP address or roams, look into one of the relay-control packages
(such as Bruce Guenter's SMTP-after-POP relay-control at
www.em.ca/~bruceg/relay-control/)

Charles
-- 
----------------------------------------------------
Charles Cazabon         <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------




All my users use Outlook 2000 and Outlook Express 5...  Both of which
support SMTP authentication.  Is there a good implementation of this for
Qmail?  It would strike me (as an ignorant newbie) as a better alternative
to relay control than tcpserver...  Any thoughts?

TIA,
-R





At 09:19 2000-03-15 -0600, Reuben King wrote:
>All my users use Outlook 2000 and Outlook Express 5...  Both of which
>support SMTP authentication.  Is there a good implementation of this for
>Qmail?  It would strike me (as an ignorant newbie) as a better alternative
>to relay control than tcpserver...  Any thoughts?

http://www.elysium.pl/members/brush/qmail-smtpd-auth/index.html

Work with both clients without any problems.

Kris





On Fri, 10 Mar 2000 14:42:15 -0600, Fred Lindberg wrote:

>   fd = open_write(fn.s);
>   if (fd == -1) break;
>   if (fstat(fd,&st) == -1) { close(fd); break; }
>   if (seek_set(fd,pos) == -1) { close(fd); break; }

Ok, I get it. qmail-send doesn't trust qmailq. Without the fstat()
call, qmailq could (via symlink) cause qmail-send (root) to write to an
arbitrary location. fstat() should be faster and more portable than
temporarily dropping privileges(?).

-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






"Fred Lindberg" <[EMAIL PROTECTED]> wrote:

>call, qmailq could (via symlink) cause qmail-send (root) to write to an

qmail-send runs as qmails, not root.

-Dave




On Wed, 15 Mar 2000 11:59:11 -0500 (EST), Dave Sill wrote:

>qmail-send runs as qmails, not root.

Yes. And the file in question is owned by qmails not qmailq in a
directory writable only by qmails.

If open fails to report an error, this should become obvious in
write(). The fstat() info is not used, but if only qmails can create a
symlink and qmail-send runs as qmails, we're back to the original
question: Why is the fstat() there?


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






I succeed in this way.
First i deleted the rcpthosts file i had in my qmail control directory
But someone (Petr Novotny) that i thanks, explained me it was a wrong way. So i put it back and modify my smtp rules which i compiled.
And now it works ...
Thanks all,
Bye ...





I provide secondary MX service for a site that may be down for more than
10 days.  I would like to increase my deferral/spooling time to something
longer than the default (I believe it's 7 days under qmail?).  

Can this be done without getting to deep under the qmail hood?

-- 
Chuck Milam - [EMAIL PROTECTED]
I.T. Division - Academic Computing
University of Wisconsin Oshkosh





Chuck Milam <[EMAIL PROTECTED]> wrote:
> 
> I provide secondary MX service for a site that may be down for more than
> 10 days.  I would like to increase my deferral/spooling time to something
> longer than the default (I believe it's 7 days under qmail?).  
> 
> Can this be done without getting to deep under the qmail hood?

Create a file /var/qmail/control/queuelifetime.  Put in it the number of
seconds you want messages to stay in the queue (default 604800, or 1 week).

Charles
-- 
----------------------------------------------------
Charles Cazabon         <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------




Charles Cazabon <[EMAIL PROTECTED]> wrote:

>Chuck Milam <[EMAIL PROTECTED]> wrote:
>> 
>> I provide secondary MX service for a site that may be down for more than
>> 10 days.  I would like to increase my deferral/spooling time to something
>> longer than the default (I believe it's 7 days under qmail?).  
>> 
>> Can this be done without getting to deep under the qmail hood?
>
>Create a file /var/qmail/control/queuelifetime.  Put in it the number of
>seconds you want messages to stay in the queue (default 604800, or 1 week).

Then restart qmail.

-Dave




Title: RE: Bounce Loops?
Hmmm, I guess I wasn't asking exactly what I want. I need to know how QMail detects a message as being a bounced bounce.
 
Example:
 
Mr.Spammer sends email to my QMail server. The envelope has a non-existent return address. The msg is sent to a non-existent user on my system. So, QMail bounces the message, but that bounce is bounced back to QMail.
 
The problem was that the bounced bounce was sent to "MAILER-DAEMON" at my localhost. Unfortunately that account did not exist, so this msg was bounced. Loop.
 
I'm now dropping all mail to "MAILER-DAEMON" (see my previous question on this list), but I wanted to make sure this is the correct procedure.
 
Thanks again,
 
- Scott
-----Original Message-----
From: Stephen Mills [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 14, 2000 6:26 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: RE: Bounce Loops?

man qmail-send reveals all

Cheers
--Stephen

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 15, 2000 12:20 PM
To: [EMAIL PROTECTED]
Subject: Bounce Loops?


How does QMail handle bounced bounces?

- Scott





On Wed, Mar 15, 2000 at 10:41:45AM -0800, [EMAIL PROTECTED] wrote:
> Hmmm, I guess I wasn't asking exactly what I want. I need to know how QMail
> detects a message as being a bounced bounce.
>  
> Example:
>  
> Mr.Spammer sends email to my QMail server. The envelope has a non-existent
> return address. The msg is sent to a non-existent user on my system. So,
> QMail bounces the message, but that bounce is bounced back to QMail.
>  
> The problem was that the bounced bounce was sent to "MAILER-DAEMON" at my
> localhost. Unfortunately that account did not exist, so this msg was
> bounced. Loop.

No.  If you installed qmail correctly, you would have created an account
called mailer-daemon, which is required to be RFC compliant.

--Adam




Adam McKenna <[EMAIL PROTECTED]> writes:

> No.  If you installed qmail correctly, you would have created an account
> called mailer-daemon, which is required to be RFC compliant.

I believe the only required e-mail account is postmaster.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>




Really?  I thought root and mailer-daemon were requirements.

OK, how about "If you installed qmail according to the instructions in
my HOWTO, LWQ or README.alias" :)

--Adam

On Wed, Mar 15, 2000 at 11:37:08AM -0800, Russ Allbery wrote:
> Adam McKenna <[EMAIL PROTECTED]> writes:
> 
> > No.  If you installed qmail correctly, you would have created an account
> > called mailer-daemon, which is required to be RFC compliant.
> 
> I believe the only required e-mail account is postmaster.
> 
> -- 
> Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>
> 




On Wed, Mar 15, 2000 at 11:37:08AM -0800, Russ Allbery wrote:
> Adam McKenna <[EMAIL PROTECTED]> writes:
> 
> > No.  If you installed qmail correctly, you would have created an account
> > called mailer-daemon, which is required to be RFC compliant.
> 
> I believe the only required e-mail account is postmaster.

Yes, according to RFC 2142. <http://rfc2142.x42.com/>

But as qmail is bouncing in the name of mailer-daemon, it would be nice to
implement that too.

/magnus

-- 
http://x42.com/





Can anyone recommend a good web interface for qmail with
maildirs, virtualhosts and sql backend which includes an
addressbook and is relatively easy to configure?

thanks

Dan





At 01:57 PM 3/15/00 -0500, you wrote:
>
>Can anyone recommend a good web interface for qmail with
>maildirs, virtualhosts and sql backend which includes an
>addressbook and is relatively easy to configure?

Take a look at qmail-admin and vpopmail at http://www.inter7.com

-Bill






-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 15 Mar 2000, Dan Barber wrote:
> Can anyone recommend a good web interface for qmail with
> maildirs, virtualhosts and sql backend which includes an
> addressbook and is relatively easy to configure?

and one that doesn't require 15 other small packages to
be installed or for the web server to be modified?

ie: no mysql and no php... etc?

Scott


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBOM/gBFpGPE+AF6qBAQEB1AQAnJUvPknWQHf6RtXeGO4ciLsOLs4rhJEn
uR1n9L/kmh7HrQGerpvZjechFrHyPsJ6RzVBCjApiumx+fXBYUMReQSXcGfYkOfg
7fky8I6xGQQZa6/QoR9iWYKyCreb5gRVaK4Z28aC5P0nkiHtmp97L1JO0jjBz4Qh
nlSadT2oO70=
=EhlP
-----END PGP SIGNATURE-----






Well, wouldn't you just like your cake and eat it too... :-)


> -----Original Message-----
> From: Scott D. Yelich [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 15, 2000 1:10 PM
> To: Dan Barber
> Cc: [EMAIL PROTECTED]
> Subject: Additional Request --> Re: Web interface
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> On Wed, 15 Mar 2000, Dan Barber wrote:
> > Can anyone recommend a good web interface for qmail with
> > maildirs, virtualhosts and sql backend which includes an
> > addressbook and is relatively easy to configure?
> 
> and one that doesn't require 15 other small packages to
> be installed or for the web server to be modified?
> 
> ie: no mysql and no php... etc?
> 
> Scott
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.2
> 
> iQCVAwUBOM/gBFpGPE+AF6qBAQEB1AQAnJUvPknWQHf6RtXeGO4ciLsOLs4rhJEn
> uR1n9L/kmh7HrQGerpvZjechFrHyPsJ6RzVBCjApiumx+fXBYUMReQSXcGfYkOfg
> 7fky8I6xGQQZa6/QoR9iWYKyCreb5gRVaK4Z28aC5P0nkiHtmp97L1JO0jjBz4Qh
> nlSadT2oO70=
> =EhlP
> -----END PGP SIGNATURE-----
> 




-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 15 Mar 2000, Reuben King wrote:
> Well, wouldn't you just like your cake and eat it too... :-)

Hey, I didn't ask for DOCUMENTATION did I?

Scott

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBOM/mSVpGPE+AF6qBAQHPpAP+PVST+hhNVPcMASUnpuubqzp7Bzl28EWb
ZUZgTPYSuKji1//oUHG17Qn+wdLqB+071A3FTog0TBfmMO91oTfxxM/0vBVgiU4i
JM6NVn1aSIrtYsOAQDoUjj/rbbhnq0L2vFB1jM1sSL4MGM5P6U7uZX97TPoaoZN5
W9bKNZ6/STA=
=rUbG
-----END PGP SIGNATURE-----





   
On Wed, Mar 15, 2000 at 12:09:56PM -0700, Scott D. Yelich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> On Wed, 15 Mar 2000, Dan Barber wrote:
> > Can anyone recommend a good web interface for qmail with
> > maildirs, virtualhosts and sql backend which includes an
> > addressbook and is relatively easy to configure?
>
> and one that doesn't require 15 other small packages to
> be installed or for the web server to be modified?
  
> ie: no mysql and no php... etc?
  
In a few days, you will have http://www.omnis.ch/omail-test/omail.pl .
Login = test, passwd = test, email = [EMAIL PROTECTED]
It's currently in beta-test phase : comments welcome.
  
Features :
- Full Maildir support
- virtualhost support if you use vmailmgrd
- no pop/imap needed (read the files directely on the harddisk)
- signature/adressbook/userconfig support (with flat text files -> no sql needed)
- basic folders support (sent,trash,saved)
- french/english/german version
- open source
- etc...
  
Olivier
  





I might suggest looking into something like Cold Fusion or Tango, both of
which are available for Linux.

For ultra simplicity, CF or Tango against MS Access as a database is often
used (and is actually quite robust considering the amount of brain damage
needed to use it)... Of course, Access is Windows only..

CF has some very easy to use POP and SMTP functionality.  I could probably
write a basic web mail app within 3 hours within CF..

My database of choice is usually Oracle, however... Can get a free
developer's license (for Linux) of Oracle 8i at http://technet.oracle.com

Regards,
-RK

-----Original Message-----
From: Scott D. Yelich [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 15, 2000 1:10 PM
To: Dan Barber
Cc: [EMAIL PROTECTED]
Subject: Additional Request --> Re: Web interface


-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 15 Mar 2000, Dan Barber wrote:
> Can anyone recommend a good web interface for qmail with
> maildirs, virtualhosts and sql backend which includes an
> addressbook and is relatively easy to configure?

and one that doesn't require 15 other small packages to
be installed or for the web server to be modified?

ie: no mysql and no php... etc?

Scott


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBOM/gBFpGPE+AF6qBAQEB1AQAnJUvPknWQHf6RtXeGO4ciLsOLs4rhJEn
uR1n9L/kmh7HrQGerpvZjechFrHyPsJ6RzVBCjApiumx+fXBYUMReQSXcGfYkOfg
7fky8I6xGQQZa6/QoR9iWYKyCreb5gRVaK4Z28aC5P0nkiHtmp97L1JO0jjBz4Qh
nlSadT2oO70=
=EhlP
-----END PGP SIGNATURE-----





Hi Dan,

On Wed, Mar 15, 2000 at 03:23:18PM -0500, Dan Barber wrote:
> I love it! It looks tons better than everything else I've seen so
> far.  Are there any modifications to getting it to work with
> qmail, both local users and virtuals?

Will work in any case, I'm currently working on it (well, it's 2 a.m. 
now, but won't be able to sleep before everything is working... :)

  # 6 possible cases : 
  #
  # user cgi mode    (only for one Maildir or a single vmailmgr-based virtual domain) 
-> no suid.
  #
  # a) just a Maildir : no auth                                                
vmailmgr=0  vmailmgr_old=0
  # b) vmailmgr old : against $homedir/passwd                                  
vmailmgr=1  vmailmgr_old=0
  # c) vmailmgr new : against $homedir/passwd.cdb via vcheckuserid             
vmailmgr=1  vmailmgr_old=1
  #
  # suid cgi mode
  #
  # -> findout $homedir and $passwd using /etc/passwd and 
/var/qmail/control/virtualdomains
  #
  # d) just qmail  ->  auth against /etc/passwd and /etc/shadow                
vmailmgr=0  vmailmgr_old=0
  # e) vmailmgr old -> auth against /homedir/passwd                            
vmailmgr=1  vmailmgr_old=0
  # f) vmailmgr new -> auth against /homedir/passwd.cdb via vcheckuserid       
vmailmgr=1  vmailmgr_old=1


More to come later,
Olivier





On Wed, 15 Mar 2000, Scott D. Yelich wrote:

> On Wed, 15 Mar 2000, Dan Barber wrote:
> > Can anyone recommend a good web interface for qmail with
> > maildirs, virtualhosts and sql backend which includes an
> > addressbook and is relatively easy to configure?
> 
> and one that doesn't require 15 other small packages to
> be installed or for the web server to be modified?
> 
> ie: no mysql and no php... etc?

So decide if you want a small efficent qmail interface (i wrote it, called
webmail) or a large qmail-mysql-php service. Thats two different things.
(I'm planning to evolve my stuff to become a sql-organized qmail-www (no
php, only postgres, qmail and gcc compiler required;) server. So maybe
i'll release it on a GNU license. 

Cya!

Greetings,
Marcin Jaskowiak

"It's better to burn out than to fade away..."
                        - Kurt Cobain





I am using vpopmail and I am wondering were my .qmail files go if I want
to forward to another e-mail address... Any Ideas?





Well, this might be a stupid question, so I'm sorry in advance.

I just setup a qmail server (my first) for an outgoing queueing relay
server for us and our customers.  From the moment I installed it, the
"instant processing" hasn't been happening.  Messages always get
queued, and will be processed immediately once qmail is restarted (but
not kill -ALRM'ed), but they are not processed as soon as they hit the
queue. :(

NOTE: smtp.800hosting.com does not yet resolve to this machine.  We're
working on phasing out IMail. (please, don't ask)

Here's my setup:

qmail-1.03 on FreeBSD 3.4
daemontools 0.53 (Didn't have time to figure out the new versions, the
FAQ uses 0.53 tools)

qmail-smtpd is started like so:

tcpserver -v -H -l `hostname` -x /var/qmail/tcp.smtp.cdb -u 82 -g 81 0 smtp\
    /var/qmail/bin/qmail-smtpd /var/qmail/smtp_auth/bin/checkpasswd 2>&1 |\
    /usr/local/bin/accustamp | cyclog -s 1000000 -n 20 /var/log/smtpd &

qmail-start is started like so:

exec env - PATH="/var/qmail/bin:$PATH" \
    qmail-start ./Maildir/ /usr/local/bin/accustamp | \
    setuser qmaill /usr/local/bin/cyclog -s 1000000 -n 20 /var/log/qmail

NOTE: No, there are *no* mailboxes to be delivered to on this machine.

/var/qmail/control/ stuff:

defaultdomain:
    800hosting.com

me:
    smtp.800hosting.com

plusdomain:
    800hosting.com

Whenever I send a message (either from other hosts or even using echo
"to: root" | qmail-inject), it goes in the queue and qmail-qstat says
1 msg in queue, 1 msg not yet preprocessed.

help?  TIA.

-- 
-- Casey Zacek
   Senior Staff Engineer
   1-800-Hosting.com




At 3/15/2000 04:58 PM -0600, Casey Zacek wrote or quoted:

>I just setup a qmail server (my first) for an outgoing queueing relay
>server for us and our customers.  From the moment I installed it, the
>"instant processing" hasn't been happening.  Messages always get
>queued, and will be processed immediately once qmail is restarted (but
>not kill -ALRM'ed), but they are not processed as soon as they hit the
>queue. :(

Check the modes and permissions on the queue/lock/trigger file. It should 
be as follows:

[root@set qmail]# ls -l queue/lock/
total 1
-rw-------   1 qmails   qmail           0 Oct 15 22:48 sendmutex
-rw-r--r--   1 qmailr   qmail        1024 Mar 15 15:33 tcpto
prw--w--w-   1 qmails   qmail           0 Mar 15 15:32 trigger|
[root@set qmail]#

-----------------------------------------------------------------
                              Kai MacTane
                          System Administrator
                       Online Partners.com, Inc.
-----------------------------------------------------------------
 From the Jargon File: (v4.0.0, 25 Jul 1996)

house wizard /n./

A hacker occupying a technical-specialist, R&D, or systems position
at a commercial shop. A really effective house wizard can have influ-
ence out of all proportion to his/her ostensible rank and still not
have to wear a suit.





Has anyone implemented a POP-before-SMTP (selective relaying) system
that doesn't rely on the assumption that qmail and the POP daemon are
on the same host? Those I found on the qmail page unfortunately did.

DRAC[1] does this with RPC calls and a daemon on the MTA host that
inserts the IP address into a map file, but this approach only has
support for sendmail/postfix as of today (according to the web page).
A solution for tcpserver, anyone?

The other way to do it would to let the POP daemon put authenticated
IP addresses in a (My?)SQL table or LDAP database which tcpserver
maybe could be patched to read from. Are there any plans (or patches)
to implement that?

Regards,

/erik.


[1] http://mail.cc.umanitoba.ca/drac/




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16 Mar 00, at 9:48, Erik Byström wrote:

> Has anyone implemented a POP-before-SMTP (selective relaying) system
> that doesn't rely on the assumption that qmail and the POP daemon are
> on the same host? Those I found on the qmail page unfortunately did.

No. They rely on POP daemon (authentication component) creating
a CDB, and tcpserver of SMTP using it. You can accomplish this
with NFS (or even with rsync!).

> DRAC[1] does this with RPC calls and a daemon on the MTA host that
> inserts the IP address into a map file, but this approach only has
> support for sendmail/postfix as of today (according to the web page).
> A solution for tcpserver, anyone?

RPC? Yuck.


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBONCgkVMwP8g7qbw/EQIpZwCgv6ebNcdTztktCN6Qz9VpibaW9RcAnjXG
7LhryGT4IGhKbIwoJoeZ1WtJ
=AluY
-----END PGP SIGNATURE-----


Reply via email to