Re: Clustering qmail servers

2001-02-11 Thread Herbie

I guess that depends how you set up your users, we have ours in a flat
file:

username [EMAIL PROTECTED]

so we just run a script on that file and autocreate the .qmail files on a
nightly cron job. soon I guess we'll create the flat file from an LDAP
database but that's not done yet.

Herbie

On Sat, 10 Feb 2001, Tracy R Reed wrote:

 On Fri, Feb 09, 2001 at 01:08:47PM -0600, Herbie wrote:
  Well the simplest way is to have one machine act as the gateway for all
  mail and create alias files to forward the mail onto the second machine. I
  used a simple perl script from a flat file to create the .qmail alias's.
 
 I guess that could work but there is no easy automated way to manage so
 many qmail files and we already have 1760 in there already. I think I'll
 just have my qmail-queue wrapper rewrite the envelope recipient address
 and add a headerline which is basically what qmail-alias does when it
 forwards an email on somewhere else. I was just wondering if anyone came
 up with a more correct solution but it seems not.
 
 --
 Tracy Reed  http://www.ultraviolet.org
 * Maelcum likes his flame broiled dragon on sourdough
 




qmail Digest 11 Feb 2001 11:00:01 -0000 Issue 1272

2001-02-11 Thread qmail-digest-help


qmail Digest 11 Feb 2001 11:00:01 - Issue 1272

Topics (messages 56963 through 56986):

Re: Getting the most out of Qmail?
56963 by: Frank Tegtmeyer

Re: SMTP-after-POP3 AUTH
56964 by: Charles Cazabon
56965 by: Bruce Dang
56966 by: Charles Cazabon
56977 by: Peter Cavender

POP Users w/o System Accounts
56967 by: Alex Le Fevre
56968 by: Charles Cazabon
56969 by: Charles Cazabon

latest qmail rpm for Red hat 7.0
56970 by: Michael Slade
56971 by: Charles Cazabon

Invisible .qmail files in users ftp directories -- How did I do that?
56972 by: Dan Poynor
56973 by: Charles Cazabon

svscan does not recurse into subdirectories
56974 by: Mario Thaten
56975 by: Andy Bradford

sendmail migration
56976 by: Jason Radford
56978 by: Charles Cazabon

Mayor problems with .qmail!
56979 by: Halfdan Mouritzen
56980 by: Chris Johnson
56981 by: Vince Vielhaber
56982 by: sberg.white.pangaealink.com

PIC s
56983 by: nelsontakashiyunaka.ig.com.br
56984 by: Charles Cazabon

Re: Clustering qmail servers
56985 by: Tracy R Reed
56986 by: Herbie

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]


--



 Then tell us exactly what hardware you have, what kind of I/O subsystem and
 disk /var/qmail/queue is on, what disk you're logging to, how you're logging
 (splogger, multilog, etc).

I suspect that information about the type of internet access is required 
too. Maybe the line is saturated.
How is DNS access done? Maybe the DNS Cache doesn't work well. 

Regards, Frank




Bruce Dang [EMAIL PROTECTED] wrote:
 Is it possible to have users send email only after they've been
 POP3-authenticated.

Yes, it's an excellent method of providing an SMTP relay to roaming users.
Several implementations for qmail exist; they are mentioned on www.qmail.org.

However, I'll point you straight to what I consider to be the best of them --
Bruce Guenter's relay-ctrl:

http://em.ca/~bruceg/relay-ctrl/

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 have looked at Mr. Guenter's implementation...but the direction were kind
of vague..and I do not use tcpserver, how would I install this?

- Original Message -
From: "Charles Cazabon" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 10, 2001 9:23 AM
Subject: Re: SMTP-after-POP3 AUTH


 Bruce Dang [EMAIL PROTECTED] wrote:
  Is it possible to have users send email only after they've been
  POP3-authenticated.

 Yes, it's an excellent method of providing an SMTP relay to roaming users.
 Several implementations for qmail exist; they are mentioned on
www.qmail.org.

 However, I'll point you straight to what I consider to be the best of
them --
 Bruce Guenter's relay-ctrl:

 http://em.ca/~bruceg/relay-ctrl/

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


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Bruce Dang [EMAIL PROTECTED] wrote:
 I have looked at Mr. Guenter's implementation...but the direction were kind
 of vague..and I do not use tcpserver, how would I install this?

Well, ideally, switch to tcpserver first.  It's really not that painful,
and there are other benefits.  I don't even run inetd/xinetd on any of the
boxes I have qmail on.

What particularly in his instructions did you find vague?  Bruce runs a few
mailing lists of his own for support for his software -- asking there might
get you answers.  [EMAIL PROTECTED] and [EMAIL PROTECTED] might be
appropriate -- they're ezmlm lists, so the -subscribe addresses work.

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 just have to ask why you need to do this.  Is there not an SMTP server

Re: Mayor problems with .qmail!

2001-02-11 Thread Halfdan Mouritzen



Vince Vielhaber wrote:
 
 On Sat, 10 Feb 2001, Chris Johnson wrote:
 
  On Sun, Feb 11, 2001 at 04:57:14AM +0100, Halfdan Mouritzen wrote:
   In the .qmail-robot file I've written
  
   |usr/hotel/topdog/WWW/temp/qmailtest.php
 
  Can you just go piping things into a php script and expect your PHP interpreter
  to spring into action to interpret the script for you? Isn't there supposed to
  be a web server involved somewhere? (Maybe you can do this, but it would come
  as a surprise to me.) What happens if you pipe the data into the script
  directly, without involving qmail?

Since PHP is built as an Apache module I recon that it gets
invoked even when I call the script from commend line.
(I can do it anyway)

 
 You can build PHP for command line use, but even from the command line
 the first thing it does is prints some html headers.  I never found a
 way to shut that off, but I also didn't try that hard.  I guess you can
 grep them out but the end result is why bother?
 
The first line of the file reads
# !/usr/local/bin/php -q

This ofcourse tells the server where to find the PHP
interpreter and the '-q' tells it to shut up, 
that it shouldn't output anything to stdout.

Anyway a PHP doesn't output anything if you don't use any
output functions (echo, print, header functions)

// Halfdan


 Vince.
 --
 ==
 Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
 Online Campground Directoryhttp://www.camping-usa.com
Online Giftshop Superstorehttp://www.cloudninegifts.com
 ==




Small problem with graphics and qmailadmin

2001-02-11 Thread Roger Arnold

Roger Arnold wrote:

Just a little problem relating to graphics and qmailadmin.
After adding a domain, qmailadmin no longer displays any graphics with
the new domain and after delving into the problem graphics no longer
display in the current domain.
Qmailadmin still works fine with all domains, just the graphics don't
display.
So is it possible (or dangerous) to reinstall qmailadmin to try and
resolve the problem?
Any other suggestions?

Thanks in advance

Roger




Re: Mayor problems with .qmail!

2001-02-11 Thread Vince Vielhaber

On Sun, 11 Feb 2001, Halfdan Mouritzen wrote:



 Vince Vielhaber wrote:
  You can build PHP for command line use, but even from the command line
  the first thing it does is prints some html headers.  I never found a
  way to shut that off, but I also didn't try that hard.  I guess you can
  grep them out but the end result is why bother?
 
 The first line of the file reads
 # !/usr/local/bin/php -q

 This ofcourse tells the server where to find the PHP
 interpreter and the '-q' tells it to shut up,
 that it shouldn't output anything to stdout.

 Anyway a PHP doesn't output anything if you don't use any
 output functions (echo, print, header functions)

Interesting.  And useful.  Learn something new, etc.  I just tried
this out and not only does it work as described, I think I just found
a replacement for straight perl (I'm much more comfortable with PHP
than perl).

I also just tried some simple stdin stuff with it and it does what it
should.   So I'd have to ask what exactly you're doing, what exactly
is happening and what were you expecting to happen?

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==








RE: SMTP-after-POP3 AUTH

2001-02-11 Thread Steve Kapinos

If you use tcpserver (which I strongly suggest) you can use the relay
control scripts on qmail.org.  I use this method and it works very well.
You can have tcpserver coexist with inetd, etc, just have inetd stop
controlling those services.

Follow the qmail HOWTO sections about tcpserver, and once you get that
installed, the relayctrl scripts will make alot more sense.  I'd show you
mine, but unless you are already running tcpserver, its useless to you.

-Steve

-Original Message-
From: Peter Cavender [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 10, 2001 9:15 PM
To: Bruce Dang
Cc: [EMAIL PROTECTED]
Subject: Re: SMTP-after-POP3 AUTH


I just have to ask why you need to do this.  Is there not an SMTP server
available, provided by whatever entity provides internet access?

On Fri, 9 Feb 2001, Bruce Dang wrote:

 Is it possible to have users send email only after they've been
 POP3-authenticated.  For example, if I want to send an email, I would have
 to check my mail first..then for a duration for like 2 or 3 minutes, I can
 send my email.  The reason I want this is because I do not want to have an
 open relay and my users want to send/check their mail from home.  I looked
 at Mr.Guenter's relay-ctl, but it seems to lack directions.  I do not
 understand how to set it up.  I installed qmail according to Dr.
Bernstein's
 INSTALL direction, so I did not use tcpserver (daemontools).  Can someone
 help me out?

 Regards,

 Bruce


 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com






What am I doing wrong??? FreeBSD 4.0, LWQ

2001-02-11 Thread SF

Well, I finally figured that I would stick with FreeBSD as my OS for
installing qmail and have played with it quite a bit to figure out some of
the differences between it and some other *nix flavors.  I installed the OS
and qmail using the FreeBSD ports, but am running into many, many problems.
(I am using "LWQ" and "running qmail", by Rich Blum, as guides and used the
CD that comes with "running qmail" to install FreeBSD 4.0 and the qmail.)

For a while, I had things running, but delivery to the local mailboxes was
using the mbox as the local delivery destination, instead of Maildir - which
I wanted to change it to, so I could use pop3d.  I modified the rc file
(which in FreeBSD 4.0 is the rc script in /var/qmail linked to a qmail.sh
script located in /usr/local/etc/rc.d) and restarted the server.  Now, if I
try to send mail to any of the bogus users I had working with the mbox, no
mail is received.  It is as if the local delivery has stopped and/or cannot
find the destination.

I guess the real question I need to ask is whether someone has actually set
up qmail on FreeBSD 4.0 using the qmail ports and following any given set of
directions.  I am a bit confused as to what I should do with the old
sendmail daemon (although I followed the directions on "LWQ" as best I
could - making the necessary modifications to match the location of sendmail
on my BSD sys), how I should start up the qmail services and where the
scripts should go.

Any advice?

Thanks,
SF




Re: What am I doing wrong??? FreeBSD 4.0, LWQ

2001-02-11 Thread Charles Cazabon

SF [EMAIL PROTECTED] wrote:
 (I am using "LWQ" and "running qmail", by Rich Blum, as guides and used the
 CD that comes with "running qmail" to install FreeBSD 4.0 and the qmail.)

"Running qmail" has not received a very warm response from the members of
this list.  You would probably be better off to ignore it, and follow
"Life with qmail" exclusively.  The FreeBSD port, as well, has received some
criticism here.  You may want to try installing from pristine source from
djb's site.

 Now, if I try to send mail to any of the bogus users I had working with the
 mbox, no mail is received.  It is as if the local delivery has stopped and/or
 cannot find the destination.

The qmail logs will say exactly why delivery is failing.  You haven't given
us enough information to even guess at the cause.  If the logs don't provide
a clear enough answer for you, post a snippet of them here, showing delivery
failing for one of these bogus users, along with the output of
`qmail-showctl`.

 I guess the real question I need to ask is whether someone has actually set
 up qmail on FreeBSD 4.0 using the qmail ports and following any given set of
 directions.

Many people here use FreeBSD or OpenBSD.  I do not know how many of them used
the ports to install qmail.

 I am a bit confused as to what I should do with the old sendmail daemon
 (although I followed the directions on "LWQ" as best I could - making the
 necessary modifications to match the location of sendmail on my BSD sys), how
 I should start up the qmail services and where the scripts should go.

Once qmail is working, delete sendmail entirely, including removing any
entries in inetd.conf.

Current best practice for starting and running qmail is to have it
running under svscan/supervise.  This is the method that djb currently
recommends.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Mayor problems with .qmail!

2001-02-11 Thread Sean C Truman

Just so you know.. this will disable the HTML output (Unless ofcourse its a
PHP warning or Error).

#!/usr/local/bin/php -q


Sean
- Original Message -
From: "Vince Vielhaber" [EMAIL PROTECTED]
To: "Chris Johnson" [EMAIL PROTECTED]
Cc: "Halfdan Mouritzen" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, February 10, 2001 10:55 PM
Subject: Re: Mayor problems with .qmail!


 On Sat, 10 Feb 2001, Chris Johnson wrote:

  On Sun, Feb 11, 2001 at 04:57:14AM +0100, Halfdan Mouritzen wrote:
   In the .qmail-robot file I've written
  
   |usr/hotel/topdog/WWW/temp/qmailtest.php
 
  Can you just go piping things into a php script and expect your PHP
interpreter
  to spring into action to interpret the script for you? Isn't there
supposed to
  be a web server involved somewhere? (Maybe you can do this, but it would
come
  as a surprise to me.) What happens if you pipe the data into the script
  directly, without involving qmail?

 You can build PHP for command line use, but even from the command line
 the first thing it does is prints some html headers.  I never found a
 way to shut that off, but I also didn't try that hard.  I guess you can
 grep them out but the end result is why bother?

 Vince.
 --
 ==
 Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
 Online Campground Directoryhttp://www.camping-usa.com
Online Giftshop Superstorehttp://www.cloudninegifts.com
 ==








Re: Mayor problems with .qmail!

2001-02-11 Thread Vince Vielhaber

On Sun, 11 Feb 2001, Sean C Truman wrote:

 Just so you know.. this will disable the HTML output (Unless ofcourse its a
 PHP warning or Error).

 #!/usr/local/bin/php -q

Yes, but in this case I believe it's desirable to turn the html off.

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: Mayor problems with .qmail!

2001-02-11 Thread Sean C Truman

They asked if there was a command to turn off the html output produced (I
believe he is talking about the header information that php sends) -q will
accomplish this..

Sean

- Original Message -
From: "Vince Vielhaber" [EMAIL PROTECTED]
To: "Sean C Truman" [EMAIL PROTECTED]
Cc: "Chris Johnson" [EMAIL PROTECTED]; "Halfdan Mouritzen"
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, February 11, 2001 12:55 PM
Subject: Re: Mayor problems with .qmail!


 On Sun, 11 Feb 2001, Sean C Truman wrote:

  Just so you know.. this will disable the HTML output (Unless ofcourse
its a
  PHP warning or Error).
 
  #!/usr/local/bin/php -q

 Yes, but in this case I believe it's desirable to turn the html off.

 Vince.
 --
 ==
 Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
 Online Campground Directoryhttp://www.camping-usa.com
Online Giftshop Superstorehttp://www.cloudninegifts.com
 ==








Re: Mayor problems with .qmail!

2001-02-11 Thread Halfdan Mouritzen



Vince Vielhaber wrote:
 
 On Sun, 11 Feb 2001, Sean C Truman wrote:
 
  Just so you know.. this will disable the HTML output (Unless ofcourse its a
  PHP warning or Error).
 
  #!/usr/local/bin/php -q
 
 Yes, but in this case I believe it's desirable to turn the html off.
It certainly is.
If any HTML is output from the script, the shell will
terminate the script.
(Thats why I couldn't make my cron jobs work for a little while...)

// Halfdan

 
 Vince.
 --
 ==
 Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
 Online Campground Directoryhttp://www.camping-usa.com
Online Giftshop Superstorehttp://www.cloudninegifts.com
 ==

-- 
//
Halfdan Mouritzen
Director of multimedia design
[EMAIL PROTECTED]
http://www.topdog.dk
//



Re: POP Users w/o System Accounts

2001-02-11 Thread Alex Le Fevre

  
 threeacesolutions.com:alias-threeacesolutions
   
   in virtualdomains will make
   [EMAIL PROTECTED] be controlled by
   ~alias/.qmail-threeacesolutions-info .  
  
 No, ~alias means 'the home directory of user
 "alias"', which is needed by qmail.
 It doesn't involve the creation of any additional
 accounts.  A standard qmail
 install will have ~alias as /var/qmail/alias . 
 Therefore the necessary .qmail
 file is
 /var/qmail/alias/.qmail-threeacesolutions-info .
 
I went ahead and made sure it wasn't in locals, and
then made .qmail-threeacesolutions-info in
/var/qmail/alias, with contents of
"[EMAIL PROTECTED]". It's still not working -- in
fact, it doesn't even show up in my maillog. I also
tried an identical file in /home/alias (which is where
my .qmail-postmaster file is), and it yielded the same
(lack of) result.

I even tried making the file
.qmail-info-threeacesolutions, since the
virtualdomains syntax was
threeacesolutions:alias-threeacesolutions (thus
info-three...), and that did no good either.

Any idea what else I could try?

Thanks,
Alex

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Re: Mayor problems with .qmail!

2001-02-11 Thread Sean C Truman

If your PHP is sending errors or warnings then there is something wrong with
the code. If properly written NO HTML will be shown with the -q flag.

Sean

- Original Message -
From: "Halfdan Mouritzen" [EMAIL PROTECTED]
To: "Vince Vielhaber" [EMAIL PROTECTED]
Cc: "Sean C Truman" [EMAIL PROTECTED]; "Chris Johnson"
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, February 11, 2001 1:02 PM
Subject: Re: Mayor problems with .qmail!




 Vince Vielhaber wrote:
 
  On Sun, 11 Feb 2001, Sean C Truman wrote:
 
   Just so you know.. this will disable the HTML output (Unless ofcourse
its a
   PHP warning or Error).
  
   #!/usr/local/bin/php -q
 
  Yes, but in this case I believe it's desirable to turn the html off.
 It certainly is.
 If any HTML is output from the script, the shell will
 terminate the script.
 (Thats why I couldn't make my cron jobs work for a little while...)

 // Halfdan

 
  Vince.
  --
 
==
  Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]
http://www.pop4.net
   128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
  Online Campground Directoryhttp://www.camping-usa.com
 Online Giftshop Superstorehttp://www.cloudninegifts.com
 
==

 --
 //
 Halfdan Mouritzen
 Director of multimedia design
 [EMAIL PROTECTED]
 http://www.topdog.dk
 //





Re: Mayor problems with .qmail!

2001-02-11 Thread Halfdan Mouritzen

If proplerly written, no html will be shown even without the
-q flag.
At the same time you can use @ infront of any error returning functions
(like calling a database which could be unavaliable) 
The @ turns of error messages.

// Halfdan

Sean C Truman wrote:
 
 If your PHP is sending errors or warnings then there is something wrong with
 the code. If properly written NO HTML will be shown with the -q flag.
 
 Sean
 
 - Original Message -
 From: "Halfdan Mouritzen" [EMAIL PROTECTED]
 To: "Vince Vielhaber" [EMAIL PROTECTED]
 Cc: "Sean C Truman" [EMAIL PROTECTED]; "Chris Johnson"
 [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Sunday, February 11, 2001 1:02 PM
 Subject: Re: Mayor problems with .qmail!
 
 
 
  Vince Vielhaber wrote:
  
   On Sun, 11 Feb 2001, Sean C Truman wrote:
  
Just so you know.. this will disable the HTML output (Unless ofcourse
 its a
PHP warning or Error).
   
#!/usr/local/bin/php -q
  
   Yes, but in this case I believe it's desirable to turn the html off.
  It certainly is.
  If any HTML is output from the script, the shell will
  terminate the script.
  (Thats why I couldn't make my cron jobs work for a little while...)
 
  // Halfdan
 
  
   Vince.
   --
  
 ==
   Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]
 http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
   Online Campground Directoryhttp://www.camping-usa.com
  Online Giftshop Superstorehttp://www.cloudninegifts.com
  
 ==
 
  --
  //
  Halfdan Mouritzen
  Director of multimedia design
  [EMAIL PROTECTED]
  http://www.topdog.dk
  //
 

-- 
//
Halfdan Mouritzen
Director of multimedia design
[EMAIL PROTECTED]
http://www.topdog.dk
//



Re: What am I doing wrong??? FreeBSD 4.0, LWQ

2001-02-11 Thread Chris Johnson

On Sun, Feb 11, 2001 at 11:18:09AM -0600, SF wrote:
 For a while, I had things running, but delivery to the local mailboxes was
 using the mbox as the local delivery destination, instead of Maildir - which
 I wanted to change it to, so I could use pop3d.  I modified the rc file
 (which in FreeBSD 4.0 is the rc script in /var/qmail linked to a qmail.sh
 script located in /usr/local/etc/rc.d) and restarted the server.  Now, if I
 try to send mail to any of the bogus users I had working with the mbox, no
 mail is received.  It is as if the local delivery has stopped and/or cannot
 find the destination.

Did you create a Maildir in the users' home directories? You can create one in
/usr/share/skel so that new users automatically get a Maildir, but for existing
users you'll have to create one with /var/qmail/bin/maildirmake (and make sure
you chown -R it to the user).

 I am a bit confused as to what I should do with the old sendmail daemon.

You can ignore it. Make sure you have sendmail_enable="NO" in /etc/rc.conf to
keep it from starting up. In /etc/mail/mailer.conf you'll want to change the
location of sendmail and send-mail to "/var/qmail/bin/sendmail" and the locate
of mailq to "/var/qmail/bin/qmail-qread." You can also change newaliases to
"/var/qmail/bin/newaliases."

Chris

 PGP signature


Re: POP Users w/o System Accounts

2001-02-11 Thread Charles Cazabon

Alex Le Fevre [EMAIL PROTECTED] wrote:

  Therefore the necessary .qmail file is
  /var/qmail/alias/.qmail-threeacesolutions-info .

 I went ahead and made sure it wasn't in locals, and then made
 .qmail-threeacesolutions-info in /var/qmail/alias, with contents of
 "[EMAIL PROTECTED]". It's still not working -- in fact, it doesn't even show
 up in my maillog. I also tried an identical file in /home/alias (which is
 where my .qmail-postmaster file is), and it yielded the same (lack of)
 result.

1.  Did you HUP qmail-send or restart qmail?  qmail-send only reads
virtualdomains at startup.

2.  Post the output of `qmail-showctl`.

3.  Send a message to [EMAIL PROTECTED], wait for it to disappear
into the ether or bounce, then post the relevent portions of the qmail
logs, showing this message making it into the queue and all delivery
attempts for it.  These messages will state exactly why delivery is not
happening like you expect it to.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: SMTP-after-POP3 AUTH

2001-02-11 Thread Tim Hunter

Some users do not understand how to setup their machines to use seperate
smtp servers depending on how they connect.
I can relate with traveling sales and support people.
Really though Bruce's package is the best, and you should be using tcpserver
anyway.

- Original Message -
From: "Peter Cavender" [EMAIL PROTECTED]
To: "Bruce Dang" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, February 10, 2001 9:15 PM
Subject: Re: SMTP-after-POP3 AUTH


 I just have to ask why you need to do this.  Is there not an SMTP server
 available, provided by whatever entity provides internet access?

 On Fri, 9 Feb 2001, Bruce Dang wrote:

  Is it possible to have users send email only after they've been
  POP3-authenticated.  For example, if I want to send an email, I would
have
  to check my mail first..then for a duration for like 2 or 3 minutes, I
can
  send my email.  The reason I want this is because I do not want to have
an
  open relay and my users want to send/check their mail from home.  I
looked
  at Mr.Guenter's relay-ctl, but it seems to lack directions.  I do not
  understand how to set it up.  I installed qmail according to Dr.
Bernstein's
  INSTALL direction, so I did not use tcpserver (daemontools).  Can
someone
  help me out?
 
  Regards,
 
  Bruce
 
 
  _
  Do You Yahoo!?
  Get your free @yahoo.com address at http://mail.yahoo.com
 






Re: sendmail migration

2001-02-11 Thread Tim Hunter

FYI the vpopmail package supports multiple UID accounts now so you can have
an entire virtual domain as a seperate user.

- Original Message -
From: "Charles Cazabon" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 10, 2001 10:40 PM
Subject: Re: sendmail migration


 Jason Radford [EMAIL PROTECTED] wrote:
 
  I've spent some time looking over the qmail documenation and want to
migrate
  from sendmail because of it's lackluster virtual domain support.

 You won't regret the switch.  By the way, www.qmail.org has numerous
pointers
 to information about all the things you mention here.

 There are two main packages that do what you want:  vmailmgr, by Bruce
 Guenter, and vpopmail.

  The things I would like to do are:
 
  1. Have email/pop accounts without adding system users (/etc/passwd)

 Both packages support this.

  2. Have clear seperation of the virual domains, with domain1 having a
  seperate directory with it's /var/spool/mail equivelent.  So that mail
would
  be delivered to /domain1-com/jradford and another would be
  /domain2-com/jradford

 vpopmail handles all virtual domains under one system account.  Not sure
how
 it separates them in the filesystem, as I don't use it.  vmailmgr uses one
 system account per virtual domain, and all users for that domain are
stored
 under that account's home directory.

  3. Users getting their pop mail could use a username of
[EMAIL PROTECTED]
  and other use [EMAIL PROTECTED] to login for their pop3 services and
the
  qmail pop3 daemon would know to go to the right /domain directory to
retrieve
  their email based on the username/domain combination.

 They both support this.  Note, however, that your clients may have to
replace
 the '@' with another character in their mail client, as some clients
silently
 truncate a POP3 username at the first '@'.  vmailmgr lets you choose your
 own character; IIRC ':' and '%' are common choices.  vmailmgr also
supports
 an invisible method of determing what virtual domain a user account
belongs
 to, if you can have multiple IP addresses on the machine.

 Check vmailmgr.org, qmail.org for more details, and look in the qmail
mailing
 list archives.

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





WARNING

2001-02-11 Thread Rembrandt Lensink



Stop 
sending us your hahaha Snowhite and the 7 Dwarfs E-mail virus or we will chase 
you and attack your system!!!


Re: WARNING

2001-02-11 Thread Frank Precissi

*blink blink*

Uhm..

Nevermind..

Rembrandt Lensink wrote:

 _Stop sending us your hahaha Snowhite and the 7 Dwarfs E-mail virus or 
 we will chase you and attack your system!!!_
 




Re: POP Users w/o System Accounts

2001-02-11 Thread Alex Le Fevre

 1.  Did you HUP qmail-send or restart qmail? 
 qmail-send only reads
 virtualdomains at startup.
I do that after every change. I had made that kind of
mistake earlier, and felt really stupid after folks on
the list pointed it out.

 
 2.  Post the output of `qmail-showctl`.

qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 1009, 1010, 1011, 0, 1012, 1013, 1014, 1015.
group ids: 1009, 1010.

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

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

bouncehost: (Default.) Bounce host name is
schnarff.com.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is
20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is schnarff.com.

defaulthost: (Default.) Default host name is
schnarff.com.

doublebouncehost: (Default.) 2B recipient host:
schnarff.com.

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

envnoathost: (Default.) Presumed domain name is
schnarff.com.

helohost: (Default.) SMTP client HELO host name is
schnarff.com.

idhost: (Default.) Message-ID host name is
schnarff.com.

localiphost: (Default.) Local IP address becomes
schnarff.com.

locals: 
Messages for schnarff.com are delivered locally.
Messages for antelopeinc.com are delivered locally.
Messages for elderlinda.com are delivered locally.
Messages for royalgenealogy.com are delivered locally.
Messages for www.schnarff.com are delivered locally.

me: My name is schnarff.com.

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

plusdomain: Plus domain name is schnarff.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the
queue is 604800 seconds.

rcpthosts: 
SMTP clients may send messages to recipients at
schnarff.com.
SMTP clients may send messages to recipients at
antelopeinc.com.
SMTP clients may send messages to recipients at
elderlinda.com.
SMTP clients may send messages to recipients at
royalgenealogy.com.
SMTP clients may send messages to recipients at
www.schnarff.com.
SMTP clients may send messages to recipients at
threeacesolutions.com.
SMTP clients may send messages to recipients at
3acesolutions.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220
schnarff.com.

smtproutes: (Default.) No artificial SMTP routes.

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

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

timeoutsmtpd: (Default.) SMTP server data timeout is
1200 seconds.

virtualdomains: 
Virtual domain:
threeacesolutions.com:alias-threeacesolutions

rcphosts: I have no idea what this file does.


 3.  Send a message to [EMAIL PROTECTED],
 wait for it to disappear
 into the ether or bounce, then post the relevent
 portions of the qmail
 logs, showing this message making it into the queue
 and all delivery
 attempts for it.

Feb 11 17:46:47 www qmail: 981931607.668108 info msg
437786: bytes 405 from [EMAIL PROTECTED] qp
30299 uid 1000
Feb 11 17:46:47 www qmail: 981931607.945872 starting
delivery 856: msg 437786 to local
alias-threeacesolutions-info@threeaceso
lutions.com
Feb 11 17:46:47 www qmail: 981931607.947880 status:
local 1/10 remote 0/20
Feb 11 17:46:47 www qmail: 981931607.978230 delivery
856: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Feb 11 17:46:48 www qmail: 981931608.022079 status:
local 0/10 remote 0/20
Feb 11 17:46:48 www qmail: 981931608.197615 bounce msg
437786 qp 23215
Feb 11 17:46:48 www qmail: 981931608.222175 end msg
437786
Feb 11 17:46:48 www qmail: 981931608.307161 new msg
437787
Feb 11 17:46:48 www qmail: 981931608.308283 info msg
437787: bytes 952 from  qp 23215 uid 1015
Feb 11 17:46:48 www qmail: 981931608.413360 starting
delivery 857: msg 437787 to local
[EMAIL PROTECTED]
Feb 11 17:46:48 www qmail: 981931608.415226 status:
local 1/10 remote 0/20
Feb 11 17:46:48 www qmail: 981931608.514949 delivery
857: success: did_1+0+0/
Feb 11 17:46:48 www qmail: 981931608.543842 status:
local 0/10 remote 0/20
Feb 11 17:46:48 www qmail: 981931608.544996 end msg
437787

Looks like I've probably just got my .qmail file named
screwy. Hopefully this will help you pinpoint the
problem.

I *really* appreciate your help here. I know people
like you get nothing out of replying to newbie posts
like mine, and so I'd really like to thank you for
going the extra mile to help me out.

Thanks,
Alex

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Selective relaying with xinetd

2001-02-11 Thread Kari Suomela

I am still having a problem getting selective relaying to work. Here is
my smtp file:

service smtp
{
  disable  = no
  socket_type = stream
  protocol= tcp
  wait = no
  user = qmaild
  server  = /var/qmail/bin/tcp-env
  server_args = /var/qmail/bin/qmail-smtpd
  env  = RELAYCLIENT=
}

The problem is that this creates a wide open relay. "only_from" doesn't
seem the right alternative, since it blocks incoming mail from other
addresses.

How would I properly allow relaying from our local net, and block
others?

 KS

 É»
 º  KARICO Business Services  º
 º  Toronto, ON Canada  http://www.ksbase.com º
 ȼ

... Postmen never die, they just lose their zip.




Re: Clustering qmail servers

2001-02-11 Thread Henning Brauer

On Fri, Feb 09, 2001 at 04:52:51PM -0800, Tracy R Reed wrote:
 I am not trying to send a bunch of email (aka spam). I am trying to
 receive a bunch of email (aka spam) and let users pop/imap it.  Using the
 perdition (search freshmeat) imap/pop proxy I think I can have multiple
 pop/imap servers with users assigned to each one and pass the user off to
 the correct one according to a dbm/ldap/whatever lookup. Now the problem
 is how do I get email addressed to a particular user onto the correct
 server?  Say I want all email for users with names from a-m to go to
 server1 and m-z to server2? 

qmail-ldap can do this. http://www.nrg4u.com and
http://www.lifewithqmail.org/ldap/

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



Logfile Turnover

2001-02-11 Thread Alex Le Fevre

My /var/log/maillog file has suddenly decided that
it's a good idea to turn over every hour. Obviously,
this is a bad thing, as it will seriously clutter my
system (not to mention make trakcing any problems
highly irritating). I'm not quite sure what I would
have done to cause this, or how to change it back to
daily or so. Can anyone tell me where I can tweak
this?

Thanks,
Alex Le Fevre

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Re: Logfile Turnover

2001-02-11 Thread Greg White

On Sun, Feb 11, 2001 at 04:28:14PM -0800, Alex Le Fevre wrote:
 My /var/log/maillog file has suddenly decided that
 it's a good idea to turn over every hour. Obviously,
 this is a bad thing, as it will seriously clutter my
 system (not to mention make trakcing any problems
 highly irritating). I'm not quite sure what I would
 have done to cause this, or how to change it back to
 daily or so. Can anyone tell me where I can tweak
 this?
 
I seriously doubt that anyone can give you any useful advice -- you
haven't given us enough information. What generates /var/log/maillog?
syslog, multilog, (insert your program of choice here)? 


-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



Re: Logfile Turnover

2001-02-11 Thread Alex Le Fevre

 I seriously doubt that anyone can give you any
 useful advice -- you
 haven't given us enough information. What generates
 /var/log/maillog?
 syslog, multilog, (insert your program of choice
 here)? 

Honestly, I'm a bit newbieish to say concretely. I
know that Qmail has been handling my e-mail, and that
only e-mail was showing up in that file...but I don't
really know what program would be handling logging
Qmail's actions. Any idea how I could check?

Alex

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Re: POP Users w/o System Accounts

2001-02-11 Thread Charles Cazabon

Alex Le Fevre [EMAIL PROTECTED] wrote:

As a side note, the MX for threeacesolutions.com seems to be
inbound.threeacesolutions.com.criticalpath.net -- that's correct, is it?
Just an odd hostname.

  2.  Post the output of `qmail-showctl`.
[...] 
 locals: 
 Messages for schnarff.com are delivered locally.
 Messages for antelopeinc.com are delivered locally.
 Messages for elderlinda.com are delivered locally.
 Messages for royalgenealogy.com are delivered locally.
 Messages for www.schnarff.com are delivered locally.

That seems okay.

 rcpthosts: 
 SMTP clients may send messages to recipients at schnarff.com.
 SMTP clients may send messages to recipients at antelopeinc.com.
 SMTP clients may send messages to recipients at elderlinda.com.
 SMTP clients may send messages to recipients at royalgenealogy.com.
 SMTP clients may send messages to recipients at www.schnarff.com.
 SMTP clients may send messages to recipients at threeacesolutions.com.
 SMTP clients may send messages to recipients at 3acesolutions.com.

That seems okay as well.

 virtualdomains: 
 Virtual domain:
 threeacesolutions.com:alias-threeacesolutions

Good.

 rcphosts: I have no idea what this file does.

That's a typo; you can delete that file.

  3.  Send a message to [EMAIL PROTECTED], wait for it to disappear
  into the ether or bounce, then post the relevent portions of the qmail
  logs, showing this message making it into the queue and all delivery
  attempts for it.
 
 Feb 11 17:46:47 www qmail: 981931607.668108 info msg
 437786: bytes 405 from [EMAIL PROTECTED] qp
 30299 uid 1000
 Feb 11 17:46:47 www qmail: 981931607.945872 starting
 delivery 856: msg 437786 to local
 alias-threeacesolutions-info@threeaceso
 lutions.com
 Feb 11 17:46:47 www qmail: 981931607.947880 status:
 local 1/10 remote 0/20
 Feb 11 17:46:47 www qmail: 981931607.978230 delivery
 856: failure:
 Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

That's odd, it should work if the .qmail file is right.

 Looks like I've probably just got my .qmail file named screwy. Hopefully this
 will help you pinpoint the problem.

Indeed.  As the next thing, how about the output of the following commands:
`ls -ld / /var /var/qmail /var/qmail/alias /var/qmail/alias/.qmail*`
`cat /var/qmail/alias/.qmail-threeacesolutions-info`
`ls -ld ~alias`

 I *really* appreciate your help here. I know people like you get nothing out
 of replying to newbie posts like mine, and so I'd really like to thank you
 for going the extra mile to help me out.

On the contrary; I get the satisfaction of seeing someone actually putting
the effort into running qmail, and being polite about it at the same time.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Selective relaying with xinetd

2001-02-11 Thread Charles Cazabon

Kari Suomela [EMAIL PROTECTED] wrote:
 I am still having a problem getting selective relaying to work. Here is 
 my smtp file:

Looks like xinetd.

 How would I properly allow relaying from our local net, and block 
 others?

Switch to tcpserver.  Chances are you can get it set up correctly in
thirty minutes or less if you follow Life with qmail, and there are more
eyes here familiar with tcpserver configuration than with xinetd.

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



.qmail-default files and virtual hosts

2001-02-11 Thread Bruce Dang

I host 4 domains..test1.com test2.com and test3.com...I have them in
/var/qmail/control/rcpthosts and /var/qmail/control/virtualdomains.  I have
like:

test1.com:bd
test2.com:bd
test3.com:bd

I would like all mails delivered to [EMAIL PROTECTED] [EMAIL PROTECTED]  to be
delivered to [EMAIL PROTECTED], is that possible?


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: Selective relaying with xinetd

2001-02-11 Thread Jason Radford


As a very new qmail guy (1 day) I would recommend the url:

http://www.palomine.net/qmail/selectiverelay.html

Had me in and out in 10 minutes, switching from inetd to tcpserver
(thanks chris Johnson if your on this list!).

Only caveat I ran into was 127.0.0.1 (localhost) has to go in there
too along with valid IP's if you need it, that goofed me up for 4-5 minutes
doing tests with telnet localhost 25.

-Jason

 
 Switch to tcpserver.  Chances are you can get it set up correctly in
 thirty minutes or less if you follow Life with qmail, and there are more
 eyes here familiar with tcpserver configuration than with xinetd.
 
 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.
 ---
 



Selective relaying with xinetd

2001-02-11 Thread Kari Suomela


Sunday February 11 2001 21:03, Charles Cazabon wrote to All:

 CC Looks like xinetd.

  How would I properly allow relaying from our local net, and block
  others?

 CC Switch to tcpserver.  Chances are you can get it set up correctly 
 CC in
 CC thirty minutes or less if you follow Life with qmail, and there 
 CC are

I have looked at it and it seems overkill for a small server. As I also 
have pretty well everything else working ok under xinetd, I'd like to 
solve this last issue.

 KS





Selective relaying with tcpserver

2001-02-11 Thread Abdul Elhati

hi
I'm using RedHat 6.2 + qmail + vpopmail
I'm using 10.0 schema for my local network.
I want all my local users to relay mail EXCEPT a specific IP address " e.g.
10.0.0.10 "
is there anyway to setup the tcp.smtp file in order to get this result ??
regards
Abdul




Re: Mayor problems with .qmail!

2001-02-11 Thread Johan Almqvist

* Halfdan Mouritzen [EMAIL PROTECTED] [010211 04:57]:
In the .qmail-robot file I've written
|usr/hotel/topdog/WWW/temp/qmailtest.php

Apart from all the other (half-useful) discussion, isn't there a / missing
between | and usr/  ?

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

 PGP signature


Re: SMTP authentication

2001-02-11 Thread Michail A.Baikov


250-AUTH=LOGIN CRAM-MD5 PLAIN
250-AUTH LOGIN CRAM-MD5 PLAIN
250-PIPELINING
250 8BITMIME

Where RFC2554? Sorry, but i'm don't have this RFC...


 [arith@foo arith]$ telnet foo.com 25
 Trying 192.0.0.1...
 Connected to foo.com
 Escape character is '^]'.
 220 foo.com ESMTP
 ehlo foo.com
 250-foo.com
 250-PIPELINING
 250 8BITMIME

 qmail don't support RFC2554

 -Original Message-
 From: Michail A.Baikov [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 08, 2001 4:31 PM
 To: Matt Simonsen; Enrique Vadillo
 Cc: [EMAIL PROTECTED]
 Subject: Re: SMTP authentication


 Qmail support SMTP Authorization (RFC2554) ?


 - Original Message -
 From: "Enrique Vadillo" [EMAIL PROTECTED]
 To: "Matt Simonsen" [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, February 07, 2001 10:40 PM
 Subject: Re: SMTP authentication


  I got exactly the same problem, the only thing i could do for now is
  to give them a webmail frontend but most people are very used to sending
  mail using their favorite mail programs.
 
  anyone here know any way this can be done? i use qmail on solaris,
  i'm open to any ideas.
 
  iPass has no information on this even though it's very related to their
  business.
 
  Enrique-
 
  |o|  Matt Simonsen escribi 
  |o| Is it possible/adviseable to run a Qmail server to authenticate all
 relay
  |o| SMTP traffic so that we can leave the relay open but not allow
 spammers
  |o| access? I have Qmail running with Courier IMAP server, my problem is
 that we
  |o| have some users with laptops who travel and use different ISPs out
of
 the
  |o| office and would not be able to get email through out SMTP server.
To
 ask
  |o| them to change settings may be too much. I have thought of setting
up
 2
  |o| Outlook profiles for them with different outgoing mail servers, but
I
 am
  |o| hoping there is a way to allow their traffic through via a username
 and
  |o| password combo.
  |o|
  |o| Thanks
  |o| Matt




domain blocking

2001-02-11 Thread Raymond Orchison

Hi,

How do I stop mail from a particular domain on my local mail system?

Thank you
Raymond




Re: domain blocking

2001-02-11 Thread Ruprecht Helms


Hi,

How do I stop mail from a particular domain on my local mail system?

enter it in the badmailfrom-list. You will find the file under 
/var/qmail/control.
If it don't exist, you have to create it.

Regards,
Ruprecht