Re: svscan on linux

2001-04-25 Thread Peter Cavender

 The only other thing I see is
 
 process = get_part(NULL, '\n');
 
 which I think means that if you put the SV line at the end of inittab
 without a newline, the process field is not read properly (trying to
 read past EOF?).
 
 Mate
 

I have been bitten by this once before, I do not remember where.  So now
my paranoid Unix thinking is to put a LF or three at the end of every
(config) file.

How long will it take untill ALL the ancient unix tools have been
rewritten with complete painfully correct robustness by the likes of
DJB?

I, for one, have been intrigued by a suggestion to replace init completely
with a shell script (sash?) that invokes svscan to keep certain things
running...but I have not had the time to tinker with it.

--Pete




Re: Vulnerable MUAs ...

2001-04-23 Thread Peter Cavender

On Mon, 23 Apr 2001, David Talkington wrote:

 -BEGIN PGP SIGNED MESSAGE-
 
 Roger Merchberger wrote:
 
 Just because one runs (for example) Eudora doesn't mean one's not clueful...
 
 No offense intended.  I believe Eudora uses IE's engine if you choose
 to use HTML mail (which the clueful user won't, of course), and has
 been affected by IE vulnerabilities for that reason, hence its
 (perhaps unwarranted) inclusion in my search.
 

Well it certainly can't use IE's engine if I have _no_ Microsoft software
on my Macintosh.  I have been using eudora for 5 years, and have had zero
problems.  It doesn't execute anything, and it seems to have it's own HTML
render engine.  If you _do_ know of any documented problems with eudora,
please refer me to them.

--Pete




Re: Pine for Maildir

2001-04-13 Thread Peter Cavender

The RedHat RPM of pine is patched to support Maildirs.

--Pete

On Sat, 14 Apr 2001, Stefan Laudat wrote:

 
 there are patches for pine Maildir access, please rtfm at www.qmail.org
 I've tested that and worked a couple of months ago.
 
 On Fri, Apr 13, 2001 at 01:49:37PM -0700, Al Sparks wrote:
  
  --- Steven Katz [EMAIL PROTECTED] wrote:
   I'm looking for a version of Pine that will read messages from Maildir 
   directly, rather than moving them to 'mail'. Anyone know of any?
   
   Thanks,
   Steven
  
  To my knowledge, pine does not directly read Maildir formatted
  mailboxes.  If your server runs an IMAP service, you can get pine to
  read mail via IMAP.
  
  If you want a text based email client that reads Maildir formatted
  mailboxes, use mutt.  I?ve never used it, so I don?t have a
  recommendation as to it?s usefulness, but I?ve seen posts raving about
  it.
 === Al
  
  
  __
  Do You Yahoo!?
  Get email at your own domain with Yahoo! Mail. 
  http://personal.mail.yahoo.com/
  
 
 -- 
 Stefan Laudat
 CCNA  CCAI
 -
 "- I think my men can take care of one little penguin. 
  - No Mr. Gates, your men are already dead."
 




Re: Maildir (dir) to file for /var/mail/$USR (Inbox) [imapd]

2001-04-13 Thread Peter Cavender

 Hi
 
 .. let's start from right note here .. by sayin' i'm using qmail w/ Maildir
 and imapd (doesn't really matter which one but if someone wants to know i'm
 using the one the came with pine package (uw-imapd)) .. 

Ummm, it DOES matter, because IMAP accesses the mail

 and i'm using very
 popular client known as Outlook Express and/or Outlook and i'm sure many
 more will have same problem/thing..

It shouldn't matter WHAT client you are using...

 since there is no Inbox from client point of view (it points to god knows
 where probably standard unix box /var/mail/$user or somethin), 

Not at all, it is ~/Maildir

 I have to
 browse for an additiona folder which would be in $HOME/Maildir.. and it also
 addes this folder in the list of others.. unfortinatly I can't just change
 name of that folder Maildir to Inbox due to conflict with existing on e-mail
 client end (and none existing on server side) folder/file.
 
 what i need is: I want everyone's standard e-mail client to take Maildir as
 a Inbox

Then configure your IMAP / POP server to serve the right folder...this
should all be server-side!

 
 my question is: how do i do that?

CourierIMAP
 
 solution: .. maybe i can somehow trick my system in that Maildir is not
 really a dir and it's just a file? this way I can put a symbol link into
 /var/mail/$user to that file that's somehow is directory (Maildir) ?
 
 or maybe there are other solutions for that?
 
 it's really uncomfortable for me to do it and for for others users to
 explain to add Maildir in their clients and there are some other
 complications to that (which I dont really want to bore you with)
 
 please e-mail me any possible solutions here
 
 thanks in advance
 
 Bye

I hope this helps...it seems you are coming at the problem from the wrong
direction..

--P 




Re: Very slow qmail response

2001-04-08 Thread Peter Cavender



On Fri, 6 Apr 2001, Markus Stumpf wrote:

 On Fri, Apr 06, 2001 at 09:50:14AM -0700, Tom Jackson wrote:
  Also note that a few recent messages were in error in suggesting -h flag
  to tcpserver. The options I used are:
  
  -v -p -l 0 -H -R -x /etc/tcp.smtp.cdb 
  
  But isn't the -p not correct here?
 
 If you use -p and DNS is broken you will get a lot of timeouts, as
 -p enforces a few more DNS lookups.
 
 And "-l 0" is also nonsense. This should be "-l localhostname" this is
 a NAME, not a number.

No, it is not nonsense.  Read the page you cited below yourself.

But -H and -p do seem contradictory.

If DNS is "broken", for whatever reason, I use -H -R -l 0
 
 See
 http://cr.yp.to/ucspi-tcp/tcpserver.html
 
   \Maex
 




Re: Very slow qmail response

2001-04-05 Thread Peter Cavender

Have there been any changes on the DNS setup for your system; i.e., your
nameservers.  In my experience this has been the #1 cause of delays,
because email/qmail depends heavliy on DNS service.  I have several
nameserver changeovers, and when things are not exactly kosher, qmail
grinds to a crawl.

Secondly, look at the que and see what is there.

my $0.02

--Pete

On Thu, 5 Apr 2001, Tom Jackson wrote:

 My qmail has been running fine for a year or more. Now it is very slow
 to accept connections on SMTP or POP3 ports. 
 
 I get this behavior from other computers on the local network, but
 everything works as usual from the qmail server.
 
 I've tried it with telnet, Netscape and other software with the same
 results.
 
 What can/should I check?
 
 Thanks,
 
 --Tom Jackson
 




Re: Simple Question

2001-04-04 Thread Peter Cavender

 Thanks for the response. I have changed /var/qmail/rc to use Maildir instead 
 of Mailbox. I removed Mailbox and the link on my home directory.
 
 Now when I send a mail to for example to myself, it goes but I cannot read 
 it. I have created Maildir directory under $home, so it's $home/Maildir but 
 there is nothing in there!
 
 Where is the mail going to?

How do you know nothing is there?  there should be 3 subdirectories in
the maildir: cur, tmp, new

Is there anything in any of them?

are you checking your mail via POP3 or are you running an MUA on the
host?  If you are running pine on the host, you need a patched version
that recognizes maildirs.

Any more questions tonight ask me now, I'm crashing out soon :-)

--Pete

 
 What should I check to see if Maildir is working?
 
 I did 
 
% maildirmake $HOME/Maildir
% echo ./Maildir/  ~/.qmail
 
 as the Help recommends, and Maildir exists, but there is no mail in there...
 nor in /var/mail.
 
 The FAQ says nothing about this.
 
 Any help would be appreciated.
 
 Thanks.
 
 Martin,.
 
 
 On Wednesday 04 April 2001 02:17, you wrote:
  Why do you want to put all the mail in /var/mail?  The better solution in
  qmail is to have the mail delivered to the user's home directory, and
  better yet to have it delivered there in Maildir format.
 
  I dunno about OpenBSD, but Linux has an /etc/skel directory, and things
  there are replicated into a new user's home directory when their account
  is created.  Make a maildir there, and you are done.
 
  A Maildir is a directory tree where each email is in one file.  A Mabox is
  ALL mail messages in one big, awkward file.
 
  --Pete
 
   Hello:
  
 I have recently replaced sendmail in an OpenBSD 2.8 box. Since Qmail is
   a package I did install it that way. Then I proceed to read the
   INSTALL. that I was supposed to.
  
 Apparently it's working perfectly. Local mail works using mail command
   line tool. From internet to [EMAIL PROTECTED] works also. I can send
   through my smtp two...
  
 Now the question is: I did configured qmail to use $user/Mailbox and
   created a symbolic link to /var/mail/user.
 Do I have to do this for each user on my system??? I'm planning to
   handle +100 pop users (i haven't configured pop nor checkpassword yet)
  
 Is there a better way to accomplish this??? I didn't create the users
   yet. Frankly I did not understand 100% what INSTALL.mailbox did mean, or
   what is the difference between maildir or mbox... I reread all FAQs but
   either I am stupid (probably) or I am missing something.
  
 A little hand will be appreciated if it helps me to understand what is
   the best way to accomplish this kind of task (that is having 100 users
   and not having to ln manually each mailbox)
  
 Thanks in advance,
  
  
   --
   Martin Marconcini
  
 | Unix, MS-DOS, Windows.
 | Also known as The Good, The Bad
 | And the Ugly...
  
   --
 




Re: Simple Question

2001-04-04 Thread Peter Cavender

Oh yeah, what is in your .qmail file?  It should contain
./Maildir/

--Pete

On Wed, 4 Apr 2001, Martin Marconcini wrote:

 Thanks for the response. I have changed /var/qmail/rc to use Maildir instead 
 of Mailbox. I removed Mailbox and the link on my home directory.
 
 Now when I send a mail to for example to myself, it goes but I cannot read 
 it. I have created Maildir directory under $home, so it's $home/Maildir but 
 there is nothing in there!
 
 Where is the mail going to?
 
 What should I check to see if Maildir is working?
 
 I did 
 
% maildirmake $HOME/Maildir
% echo ./Maildir/  ~/.qmail
 
 as the Help recommends, and Maildir exists, but there is no mail in there...
 nor in /var/mail.
 
 The FAQ says nothing about this.
 
 Any help would be appreciated.
 
 Thanks.
 
 Martin,.
 
 
 On Wednesday 04 April 2001 02:17, you wrote:
  Why do you want to put all the mail in /var/mail?  The better solution in
  qmail is to have the mail delivered to the user's home directory, and
  better yet to have it delivered there in Maildir format.
 
  I dunno about OpenBSD, but Linux has an /etc/skel directory, and things
  there are replicated into a new user's home directory when their account
  is created.  Make a maildir there, and you are done.
 
  A Maildir is a directory tree where each email is in one file.  A Mabox is
  ALL mail messages in one big, awkward file.
 
  --Pete
 
   Hello:
  
 I have recently replaced sendmail in an OpenBSD 2.8 box. Since Qmail is
   a package I did install it that way. Then I proceed to read the
   INSTALL. that I was supposed to.
  
 Apparently it's working perfectly. Local mail works using mail command
   line tool. From internet to [EMAIL PROTECTED] works also. I can send
   through my smtp two...
  
 Now the question is: I did configured qmail to use $user/Mailbox and
   created a symbolic link to /var/mail/user.
 Do I have to do this for each user on my system??? I'm planning to
   handle +100 pop users (i haven't configured pop nor checkpassword yet)
  
 Is there a better way to accomplish this??? I didn't create the users
   yet. Frankly I did not understand 100% what INSTALL.mailbox did mean, or
   what is the difference between maildir or mbox... I reread all FAQs but
   either I am stupid (probably) or I am missing something.
  
 A little hand will be appreciated if it helps me to understand what is
   the best way to accomplish this kind of task (that is having 100 users
   and not having to ln manually each mailbox)
  
 Thanks in advance,
  
  
   --
   Martin Marconcini
  
 | Unix, MS-DOS, Windows.
 | Also known as The Good, The Bad
 | And the Ugly...
  
   --
 




Re: Mail Parsing

2001-04-04 Thread Peter Cavender

Hi-

Our good buddy DJB has been there and done that.  Take a look at:

http://cr.yp.tp/mess822.html

--Pete

On Thu, 5 Apr 2001, Mathew Chandy wrote:

 Hi all,
 
 I would like to know if there is any mail parsing (MIME) library in C which i can 
use to parse the mails and extract the from address , attachments , body etc from a 
mail body .
 
 if not please tell me how to handle this in Java
 There are mail api s in Java to handle this but the question is how to ?
 
 Please Help
 
 Thanks in advance 
 Mathew 
 




Re: Simple Question

2001-04-03 Thread Peter Cavender


Why do you want to put all the mail in /var/mail?  The better solution in
qmail is to have the mail delivered to the user's home directory, and
better yet to have it delivered there in Maildir format.

I dunno about OpenBSD, but Linux has an /etc/skel directory, and things
there are replicated into a new user's home directory when their account
is created.  Make a maildir there, and you are done.

A Maildir is a directory tree where each email is in one file.  A Mabox is
ALL mail messages in one big, awkward file.

--Pete

 Hello:
 
   I have recently replaced sendmail in an OpenBSD 2.8 box. Since Qmail is a 
 package I did install it that way. Then I proceed to read the INSTALL. 
 that I was supposed to. 
 
   Apparently it's working perfectly. Local mail works using mail command line 
 tool. From internet to [EMAIL PROTECTED] works also. I can send through my 
 smtp two...
 
   Now the question is: I did configured qmail to use $user/Mailbox and created 
 a symbolic link to /var/mail/user. 
   Do I have to do this for each user on my system??? I'm planning to handle 
 +100 pop users (i haven't configured pop nor checkpassword yet)
 
   Is there a better way to accomplish this??? I didn't create the users yet. 
 Frankly I did not understand 100% what INSTALL.mailbox did mean, or what is 
 the difference between maildir or mbox... I reread all FAQs but either I am 
 stupid (probably) or I am missing something.
 
   A little hand will be appreciated if it helps me to understand what is the 
 best way to accomplish this kind of task (that is having 100 users and not 
 having to ln manually each mailbox)
 
   Thanks in advance,
 
 
 --
 Martin Marconcini
   | Unix, MS-DOS, Windows.
   | Also known as The Good, The Bad
   | And the Ugly...
 --
 




Re: another error mail in qmail account

2001-04-01 Thread Peter Cavender

Hello-

"cron" (periodic task scheduler) on most systems redirects the output of
anything it runs into an email sent to root@hostname.  Look in your
/etc/cron.weekly file to see what the heck is running.

This is actually a handy feature; muy backup script runs in cron, and all
the status output is conveniently emailed to root, and since root is
aliased in qmail, it goes to the "real" sysadmin account


--Pete

On Mon, 2 Apr 2001, KY Lui wrote:

 hello
 
 i got a mail in my qmail account, the subject is "Cron root@egain2
 run-parts /etc/cron.weekly"
 and the content is "Read file error: ./rec.1 No such file or directory"
 
 what is happening?
 could you please advice
 
 regards
 KY
 




[OT] supervise sshd?

2001-03-19 Thread Peter Cavender

I want to run the openssh daemon under supervise...should my "run" script be:

#!/bin/sh
exec /usr/local/sbin/sshd -D

I am not sure what options to use with sshd.
As above it seems to work;
if I use no options it flips out;
using fghack it seems to work but I always get a zombied (initial) 
sshd process.


Anybody else doing this?

Thanks



Re: rc directory

2001-03-12 Thread Peter Cavender



On Tue, 13 Mar 2001, Essy Ren wrote:

 I'll try install qmail to my computer,
 and I follow the instruction from INSTALL guide 
 the problem is I don't find the rc direktori at /var/qmail/
 There's only 
 /alias
 /bin
 /boot
 /control
 /doc
 /man
 /queue
 /users
 Why it's gonna happen ? and should I make the directory by myself ?
 thanks ... 


I think you are referring to the /etc/rc.d/init.d, or similar directory,
dpending on your distributionwhere are your start scripts
stored?  What distro are you using?

--Pete




Re: IT WORKS!

2001-03-08 Thread Peter Cavender

hatem:

I tried to reply off-list and got a bounce.  qmail may be working, but you
have some DNS issues

--Pete

On Thu, 8 Mar 2001, hatem@assistant01 wrote:

 I could not believe that my Lovely qmail server is now working ...!! 
 
 I would like to share this great moment with you, for the stress that everyone had 
from me and the help that you offered.
 I specialize my thanks to Mr. Edward J. Allen, who gave me excellent courage and 
helped me out to understand the mystries of qmail..Thank you very much Edward!
 
 By the way, this e-mail is sent through my qmail server.. the reply address still 
not working as it will take up to 24 hours to have my qmail.hahlabs.com registered in 
the internet.
 
 I wanted to remove my name from the list, but I thought, since people were there to 
help me out.. I must be there to help others...
 Well, I am not trying to say I am an expert .. but at least I know how to get this 
working..
 
 Thanks all. 
 regards, Hatem 
 
 




Re: mbox w/o home

2001-03-06 Thread Peter Cavender

Hi-

qmail needs a non-world-writable location to place a user's email.  If all
your users have /tmp as home, who owns /tmp/mbox???

You need to setup your user accounts properly with individual,
non-world-writabele home directories, or
use some other tool to locally deliver the mail.

--Pete

On Tue, 6 Mar 2001, Rodolfo Sampaio wrote:

   
   Hi!
 
   Im migrating from sendmail to qmail 1.03+fastfoward using mbox format
 /var/spool/mail. The problem is that almost all of my users uses /tmp as
 home and /dev/null as a fake shell and qmail is refusing to distribute
 these mails... it wont give an error... it justs drop the mail. There is a
 way that i can make qmail distribute these emails? 
 
   []'s
 
   Rodolfo Sampaio
 
 




Re: reverse DNS?

2001-03-06 Thread Peter Cavender

 At 10:07 AM 06-03-2001 -, John Conover wrote:
 As a matter of policy, is it reasonable to reject messages that fail a
 reverse DNS lookup on HELO's FQDN/authentication?
 
 Well two of our service providers haven't arranged reverse DNS lookups for
 our Internet visible subnets. Our DNS servers are ready, but they either
 don't want to do it or don't know how to do it. So you can't look up names
 from our IPs. And it's been more than a year already.
 
 So I'm biased and I'd say it's not reasonable ;).
 
 Why would you want to do that anyway?

Spam prevention.  Have had the same problem myself.  It is indeed sad that
we have to jump through these hoops because a few folks insisting on
emailing everyone about their inkjet refills or lower mortgage rates
necessitate this.
 
 Cheerio,
 Link.





Re: My mail is lost!!

2001-03-03 Thread Peter Cavender


 Ok, After I had all the problems resovled ... from installation to the 
configuration!!
 I am now able to do the following:
 1) login and use qmail as my SMTP / POP server:
 that is , when I use outlook or pine for example, to check for e-mails on qmail 
server, I got no errors reported at all.
 
 but when I use it to send e-mails, they do not arrive.
 when I send e-mails to it i.e. to : [EMAIL PROTECTED] no problems reported and the 
message does not seem to be there!!
 
 Can someone help me in this matter!! I think I am pretty close to this.. 
 Thanks.

qmail by default does not relay any mail.

If you are running qmail-smtpd with tcpserver, referencing
/etc/tcp.smtp.cdb, you need to add the IP addresses TO FORWARD FROM, to
/etc/tcp.smtp, and compile it to a cdb file

Look at LifeWithQmail

--Pete




Re: Qmail and time zone

2001-03-03 Thread Peter Cavender

I tried to "fix" this once, succeeded, then decided it was Not A Good
Thing, and changed it back.

IIRC, some amount of fiddling with the hardware clock and the time zone
settings in the OS (Linux here) resulted in "correct" timestamps on mail 
as well as correct timstamps elsewhere.  I think I just said I was in
Grenwich.

It seems to me that there are standards, damn standards, and The Way
Things Are.  Email I get from diverse global origins (eg, this list) NEVER
sorts properly on the actual UTC transmission time due to the variety ways
dates are stamped on messages by assorted MUAs/MTAs.

my $0.02

--Pete
 On Sun, Mar 04, 2001 at 05:36:17AM +, Mark Delany wrote:
  On Sat, Mar 03, 2001 at 11:28:30PM -0500, Kari Suomela wrote:
   
   Thursday March 01 2001 22:41, David Dyer-Bennet wrote to All:
   
 No, it's not! That's how I noticed it. Someone was blaming my 
 client
 for it, but the problem is the same with all of them. I have tested
 it with various Netscapes, Outlook 98, Outlook 2000, Outlook
 Express, PMMail Pro 2000, Sqwebmail and Adjewebmail.
   
DB That's because you didn't use a client which adjusts header
DB timestamps, though.
   
   I am not talking about clients! Mail generated on a qmail server 
   doesn't have proper date headers, whereas mail coming from a sendmail 
   server does.
  
  Er, what do you mean by "proper date headers" and how are you sure you
  definition of "proper date headers" isn't being met by qmail?
  
  I suspect what is happening is that qmail is creating Date: headers
  that are UTC based and you are used to seeing Date: headers in your
  local time zone. Are you sure that what qmail is doing is incorrect or
  is it's possible that it's legal according to the standards, but just
  that it's different from what you want?
 
 And if it puts the Date header in your local time, what happens when you send
 mail to someone on the other side of the planet, or, for that matter, in the
 next time zone?
 
 Chris
 




qmail 2.0 exploit

2001-02-28 Thread Peter Cavender

What is this qmail version 2.0 that securityfocus.com claims there is an
explot for?  Am I missing something, or are they?

Being that I have better things to do than to try to screw up my mail
server, has anyone tried this claimed explot?  What really happens?

--Pete




tcpserver for pop3 and telnet

2001-02-27 Thread Peter Cavender

The LWQ description of setting up pop3 for qmail only
says to put the tcpserver command in the qmail startup file.

Shouldn't this "service" be supervised by svscan?  Why do the other qmail
processes get this, but pop3 does not?

Also, I am moving towards eliminating inetd, and have set up in.telnetd to
be run by tcpserver in a line in rc.local (RH Linux 6.2 here).  In the
inetd.conf file, it runs in.telnetd via /usr/sbin/tcpd.  In the man page
is says that tcps does some logging and other stuff, but I see no signs of
it.  When I try to use tcpserver-tcpd-in.telnetd, it doesn't
work.  Remove tcpd and all is fine.  Should I be happy discarding tcpd?

Also, since my inetd.conf file is now *empty*, can I disable it
altogether, or or will I lose essential internal services?  Is there a kit
for making tcpserver mimic all the inetd services?

Thanks
 
--Pete





Re: how can i change from inetd to xinetd in Redhat 7.0??

2001-02-22 Thread Peter Cavender

You should read life with qmail, and use tcpserver rather than inetd or
xinetd.

--Pete

On Fri, 23 Feb 2001, jerry wrote:

 I install with Redhat 7.0, but qmail FAQ only has something in inetd.conf, and 
Redhat 7.0 change the file to xinetd.conf, I don't know how to install with it.
 
 jerry
 
 below is the content of xinetd.conf
 #
 # Simple configuration file for xinetd
 #
 # Some defaults, and include /etc/xinetd.d/
 
 defaults
 {
  instances   = 60
 log_type= SYSLOG authpriv
 log_on_success  = HOST PID
 log_on_failure  = HOST RECORD
 }
 
 includedir /etc/xinetd.d
 
  
 




Re: rcpthosts file - newbe question

2001-02-21 Thread Peter Cavender


 This has to be something simple but I've been banging my
 head against it for a couple of hours and can't get
 anywhere.  If this is covered in the FAQ, INSTALL or man
 files, I either can't find it or am misunderstanding it.
 The situation:
 
 I have a small home network.  I have a designated server,
 corwin.mydomain.org, running qmail on debian 2.2 with kernel
 2.4.1.  I can locally log into corwin, open pine, and send
 and recieve email.  
 
 My normal box, merlin.mydomain.org, uses kmail.  I have it
 configured to receive email via pop3 from corwin.  This
 works fine.  I can send mail to [EMAIL PROTECTED] and
 receive it on merlin via corwin.  I also have kmail on
 merlin configured to send email via SMTP on corwin.
 However, everything I send gets bounced - relaying denied
 because "that domain isn't in my rcpthosts file."  I have
 tried all of the following in my rcpthosts file on corwin:
 
 mydomain.org
 .mydomain.org
 merlin
 merlin.mydomain.org
 
 I'm not sure if it matters but merlin is listed in my hosts
 file on corwin.  I can ping either merlin or
 merlin.riddlemaster.org from corwin.
 
 What do I need to do to convince corwin to relay mail from
 merlin?  Thanks in advance for any assistance.

If you want corwin to _relay_ mail from merlin, that is not something that
goes in the rcpthosts file - that file should only contain domains that
you want merlin to _accept_ mail for, not relay.

You need to modify your /etc/tcp.smtp file, which controlls
relaying.  Don't forget to run tcprules after you change it, to
"compile" it.  if you are using the LWQ qmail start file, just do:
/etc.rc.d/init.d/qmail cdb
Actual path may vary with disro/OS.

HTH

--Pete




Need Arguments for qmail

2001-02-20 Thread Peter Cavender

Hi-

I volunteered to talk about and "defend" qmail at a Linux Users' Group
meeting where there will be people speaking on 3 or 4 of the main MTAs.

I am competent in setting up and maintaining qmail, but I must say that I
am unable to respond properly to a lot of the criticism of qmail, mostly
in comparison to sendmail (which I have never administered).

I would appreciate any and all rebuffings of qmail myths, relevant
anecdotes, or theoretical analysis that would aid in my presentation.

Off-list responses are welcome, to avoid list clutter.

Thanks,

--Pete





Re: (OT) DJB-itization

2001-02-20 Thread Peter Cavender

 Carl [EMAIL PROTECTED] wrote:
  
  Soon I'll do it, I'm hyped about the idea, it'd be cool if some
  people talked more about the idea, i.e. what would they want in it.
 
 Wishlist:  a djb replacement for Vixie cron.  Especially topical at the
 moment.
 
 Charles


Same here.  I sent an off-list email to DJB just a few days ago asking if
he was contemplating such a project.

As far as the DJB-ification tool, what I do is just make a big shell
script that nukes the undesired software, and the does all the normal
un-tarring, configuring, compiling and configuration.  I have had good
luck, for the most part just putting all the actions listed in LWQ into a
shell script.  The only dificulty I can see would be OS or distribution
specific stuff, like where the qmail start file goes.

--Pete




Re: Importing Emails into ezmlm-idx

2001-02-14 Thread Peter Cavender

* Charles Cazabon [EMAIL PROTECTED] [010213 16:29]:
  Jeremy Suo-Anttila [EMAIL PROTECTED] wrote:
   anyone know how i can import 350 email addy's from a text file 
into ezmlm ?
 
  `man ezmlm-sub`.

Dear Sirs:

I just tried the command above and it didn't add any subscribers at ALL! It
just printed out a bunch of USELESS words at me AND DIDN"T ADD ANYTHING TO
MY LIST!!!


Ummm, I think those worthless words were the INSTRUCTIONS to do what 
you wanted.


if you have them in a text file, simply do
ezmlm-sub /path/to/ezmlm/list  the_text_file

and change the /path/to./ezmlm/list and the_text_file to the proper 
values, do not type as shown above.

Think you can handle THAT??

BTW, these questions are for the ezmlm list -- I and others just 
finished answering this same questioin there 20 minutaes ago...




RE: adding users

2001-02-14 Thread Peter Cavender

Hi-

note that your reply went just to me, not the list.

what do you mean by "qmailadmin for that domain"?

try:
 
ezmlm-list /path/to/ezmlm/list

to get a dump of the subscribed addresses.

--Pete



Ok guys that was helpfull as can be that saved me tons O time. I did
ezmlm-sub /path/to/ezmlm/list  address_list and then it started processing
the list and only took a few minutes. But for some reason none of the
addresses show up in qmailadmin for that domain

-Original Message-----
From: Peter Cavender [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 12:36 PM
To: [EMAIL PROTECTED]
Subject: Re: adding users


   I have done this a few times with a shell script.  If you have all
   the addresses in a text file address_list:
  
   #!/bin/sh
   for foo in `cat address_list`; do
 ezmlm-sub /path/to/ezmlm/list $foo
   done
 
 Too wasteful since it calls ezmlm-sub thousands of times.  Just
 
 ezmlm-sub /path/to/ezmlm/list  address_list
 
 Mate

COOL!

I did not know it could do that, but am glad I know now.

Thanks, Mate!




Re: remote/roaming pop/imap users - sending email?

2001-02-14 Thread Peter Cavender

The issue for me, however, is that I need to allow relaying for mobile
users dialing into the internet from national ISPs, thus usually ending 
 up with different IPs each time they dial in.)

The solution is simple, and often overlooked, and often asked on this
list.  Maybe somebody should write a "Life with email" document ;-)

If they have dialin access through a "national ISP" then that ISP most
certainly has a relaying SMTP server that they can designate in their MUA
as their SMTP server.  There is no reason on earth that they should have
to relay back through the home office server, unless their ISP sucks.

You do _NOT_ have to send outgoing mail through the machine that is your
_INCOMING_ mail server!

OK, there may be some clues in the mail header that the email was not sent
from the home office, but who cares?  These people are on the road!  If
they know how to configure a MUA than the return address will look OK and
nobody will care or notice.

--Pete




ucspi-tcp man pages?

2001-02-12 Thread Peter Cavender

I just installed the latest ucspi-tcp from the tarball on cr.yp.to, and
there are no man pages.  My previous install almost 2 years ago included
them, and I am wondering if they are no longer included or if I missed
something.

Thanks,

Peter




Re: SMTP-after-POP3 AUTH

2001-02-10 Thread Peter Cavender

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: maildirs not at home

2001-02-09 Thread Peter Cavender

 Hello.  I have been reading over Richard Blum's book Running Qmail and all
 the docs that distribute as well as the FAQs on the qmail.org and DJB's
 site and I doubt this is incredibly difficult but I can't find a straight
 answer anywhwere so perhaps you gurus can tell me...
 
 I want to use maildir format for everyone's mailboxes but I don't want to
 put them under /home ... i want to put them under /mail which is
 physically on the mailserver (/home is not) and is faster and emptier than
 /home. 
 
 is there a system-wide way to specify a default path to a maildir?  I
 suppose I could put a symbolic link in everyone's home directory to
 /mail/$USER but that seems sloppy and breakable.
 
 ideas?  thank you for your input.
 
 --gill


Well, since the .qmail file specifies where to deliver mail, and in the
default setup contains "./Maildir/", why not just have it contain 
"/mail/joe_user/"

Of course, yor useradd script or whatever would have to 1) create the
.qmail file, and 2) call maildirmake with the proper path.  And if you
have problems, remember how particular qmail is about Maildir permissions
and ownership.  Also, putting the maildir in a non-standard location may
confuse mail clients like Pine as well as POP3 servers that don't read the
.qmail file

--Pete




Re: Do I need to restart anything in QMail if I make changes to thecontrol files?

2001-02-08 Thread Peter Cavender


Depending on your distro, etc:

/etc/rc.d/init.d/qmail restart

On Thu, 8 Feb 2001, Uwe Ohse wrote:

 On Thu, Feb 08, 2001 at 04:42:29PM +1300, Martin Searancke wrote:
 
 [nothing but the subject]
 
 See the fine qmail-send manual page:
 
 CONTROL FILES
   WARNING:  qmail-send  reads its control files only when it
   starts.  If you change the control files,  you  must  stop
   and restart qmail-send.  Exception: If qmail-send receives
   a HUP signal, it will reread locals and virtualdomains.
 
 Regards, Uwe
 




LWQ - Was: anybody know howto make 3 virtual domain in the one machine,and each virtualdomain not use the fullname(mean username is test@abc.com)??

2001-02-08 Thread Peter Cavender

At 10:15 PM 2/7/2001, dick wrote:

sigh.i think we all know the awnser

read LWQ at http://www.lifewithqmail.org

dave - you should charge $1.00 for every person that reads LWQ, 
you'd be a very wealthy man. :-)


If he charged $1 for everyone who _didn't_ read it before posting, 
he'd be even richer :-)


~kurth

any suggestion is welcome.




Re: unsubscribe ??

2001-01-29 Thread Peter Cavender

Read the first message you got when you subscribed to the list, it tells
you how.

Since the list is run by ezmlm, maybe you should look at the documentation
for it.

I also offer a service where I can get you unsubscribed for $59.95.  I
accept payment by paypal or cash, but you must be willing to type an email
message exactly as I instruct from the proper address.  If you are
unable to do so, I can subcontract with Kelly Temporary services to send a
computer-literate secretary to your site to do the typing for
you.  Additional fees equalling their charges will apply.

If none of these options are acceptable, I can fly to your site, and for
$50 an hour plus actual expenses, perform the unsubscribe at your
location.

If this fails, we can hire a negotiation/moderation consulting firm to
contact DJB personally to arrainge an unsubscribe.

If he is unwilling to negotiate, I can hire team of lawyers in
his jurisdiction to take the matter before the courts.

If this proves fruitless, and you are determined, a team of mercenaries
equipped with white phosphorus grenades may be able to take out the server
hosting this list. (this offer may not be available at all locations).

But if the sever is housed in a hardened bunker, repeated strikes with
thermonuclear devices may be necessary to get you unsubscibed.  I can
contact former USSR personnel for current rates.

Unfortunately, since the internet was designed to deal with catastrophic
faults of this exact nature, you still may not be removed from the mailing
list.

If repeated strikes with multi-megaton devies are needed, my fees will
includes the cost of constructing a personal sustainable biosphere.

Local taxes will apply.

If you are still reading this and think I am serious, please be advised
that this is satyrical.   RTFFMYG! (read the first frigging message you
got)

--P


On Tue, 30 Jan 2001 [EMAIL PROTECTED] wrote:

 how do I unsubscribe?
 there is no info on qmail.org??
 
 Kevin
 




Re: [OT] pine and Maildir (was: Maildir versus malibox)

2001-01-24 Thread Peter Cavender

  But, it doesn't matter - Pine does IMAP right? (Isn't that it's real
  reason for existence?) So hook your Maildirs up with IMAP, and point
  Pine at that.
  
  Seems pretty simple to me.
 
 How about this:  Use a non-crappy, open source e-mail client instead?
 
 --Adam

And what MUA is that?

I am happy that RedHat, despite all the people who hate them, distributes
PINE patched to work with Maildirs.

PINE may be limited, but it sure is useful as a quick and dirty
console-base MUA.  I figured out how to use in in about 3 minutes without 
having to RTFM.

I have to admit that I am sick of
_yet_another_non_GPL_free_software_license_, with every college having to
advertise "our students/faculty did something remotely usefull", but it
works, and it is free enough for most purposes.  But as I said, if I am 
missing some great GPL MUA, pray tell...

--Pete

Written using PINE, telnet'ed in from a remote location to my ISP





Re: [OT] pine and Maildir (was: Maildir versus malibox)

2001-01-24 Thread Peter Cavender

  PINE may be limited, but it sure is useful as a quick and dirty
  console-base MUA.  I figured out how to use in in about 3 minutes
  without having to RTFM.
 
 If you've ever had to deal with the code, dirty is definitely an accurate
 description.

Well, yes.  I once tried to hack just pico, and gave up in
disgust.  weemacs???

OK, on your advice I will look into mutt and give it a whirl, but god
knows I have better things to do with my time than evaluate MUA's.  But
then I can't be closed mindedThanks.

--Pete




Re: How to remove a email from a mailbox

2001-01-17 Thread Peter Cavender

1) use an editor to see how many of the lines at the top of the file you
want to keep, say for example 30
2) # head -n 30 mail_file_name  foo
3) # mv -f foo mail_file_name


--Pete


On Thu, 18 Jan 2001, kh wrote:

 the problem is, what is the better text editor I can use rather than vi,
 since the attachement has thousands of lines.
 
 - Original Message -
 From: "Grant" [EMAIL PROTECTED]
 To: "kh" [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, January 18, 2001 10:54 AM
 Subject: Re: How to remove a email from a mailbox
 
 
  My instructions were to delete the 12 MB email, not every file in the
  Mailrdir/new
 
  Just edit Maildir/new/file with a text editor and remove the attachment.
 
  On Thu, 18 Jan 2001, kh wrote:
 
   there are other emails in the mailbox, I do wish to do is that, just to
   delete the attachement, not the entire mailbox
   ckh :)
   - Original Message -
   From: "Grant" [EMAIL PROTECTED]
   To: "kh" [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Thursday, January 18, 2001 10:17 AM
   Subject: Re: How to remove a email from a mailbox
  
  
cd /home/user/Maildir/new
   
Delete the file that is 12 MB
   
On Thu, 18 Jan 2001, kh wrote:
   
 Is it possible to remove a email from a user mailbox? because I have
 a
   email with about 12M of attachement in the mailbox.
 thanks
 ckh :)

   
  
  
 
 




Re: pop3 question!

2001-01-17 Thread Peter Cavender

The POP daemon will only remove messages when told to do so by the user's
email client software.  Eudora, for example, tells the server to delete
each message after it has been downloaded.  The client software can opt to
not delete the messages at all.


--Pete

On Thu, 18 Jan 2001, kh wrote:

 Is it the pop3 will remove all the emails from the mailbox after all emails were 
downloaded to the local mailbox or pop3 daemon will delete email by email after each 
email was downloaded?
 
 thanks
 




RE: A firestorm of protest?

2001-01-16 Thread Peter Cavender

 Laurence Brockman writes:
   I'm going to jump into the discussion here and ask why we don't do something
   like perl has done with cpan? They don't call them patches, or upgrades, or
   anything else. They call them Modules and have a central repository that
   users can go and search from. I think this would be ideal for qmail.org
   site... 
 
 He's done *just that*.  That's what program delivery in a .qmail file
 is for.  That's what qmail-getpw is for.  That's what users/assign is
 for.  That's what qmail-queue is for.  Nobody patches the source of
 perl -- they just go to the published APIs and add things.  So why are 
 we patching qmail instead of writing replacements?

What do you mean by "writing replacements"?  That people should write
their own mail servers, rather than try to enhance qmail?




Re: Mass email to database/checking bounces

2001-01-06 Thread Peter Cavender

I would definately suggest ezmlm-idx also.  Works like a charm.

It is also quite easy to whip up a small shell script calling
qmail-inject; I have done this several times for quick and dirty one-time
mailings.

--Pete

On Sat, 6 Jan 2001, John P wrote:

 Repost as I posted a HTML message last time (darn Outlook Express..)
 ---
 
 I have a database of over 50,000 customer e-mails that we wish to send a
 newsletter to, probably monthly, from a RH System running Qmail. Would this
 require any special configuration changes or should a stock Qmail install
 work just fine? At the moment sending mail is working fine from the machine.
 
 This database is in MySQL. I was thinking of using PHP to retrieve and send
 each individual e-mail; is this the best way, or is there another way I
 should do it?
 
 Also, I would like to manage bouncebacks somehow - how could I track any
 failed e-mails and either remove this from the database or add them to a new
 database that I could check each time I send this e-mail.
 
 Finally, any good utilities around to help with composing MIME e-mail?
 Ideally I could construct the e-mail on a Windows PC and then copy it over
 to the RedHat box..
 
 I'm looking for resources, pointers etc.. as I can probably send all the
 things now but don't want it dying halfway through!
 
 
 Many thanks in advance
 John
 




Re: PGP

2000-12-30 Thread Peter Cavender

PGP is done entirely on the user's email program (MUA), not on qmail.
The message is encryted before and decrypted after qmail sees it.  qmail
does not notice or care that it is an encrypted message.

Users should configure whatever PGP setup works with their client software
and OS.


--Pete


On Sat, 30 Dec 2000, Sridhar Balasubramanian wrote:

 Hi,
 
 I'm new to this concept of encrypting messages with PGP. Does it have
 anything to do with the mail server. If so, how can I work 'PGP' with qmail?
 
 can someone point me out a documentation on-line or in their own words
 explain?
 
 thanks,
 -Sridhar
 




Re: Bye

2000-12-01 Thread Peter Cavender

I'm taking a vacation from this list until the level of newbie
tolerance improves dramatically.

Sorry, I just can't take it any longer.

-Dave

I am sorry to see you go, Dave, you have been a great help to myself 
and countless others.

Even though some of the newbie questions make me cringe, the level of 
rudeness and abuse others inject is totally unacceptable.

Why do some of you have to act so macho, trying to prove how smart 
you are?  Do you yourselves not come to this list for help, or are 
you just lurking sadists who wait for some under-informed soul to 
make a sincere request for information, so that you can pounce at the 
opportunity to belittle?  Every one of you (except djb) have at one 
time known less about qmail than these new people.

If members of this list really want to promote a program we believe 
in and help others get up to speed wit it, manners and consideration 
are in order.

I hope the fact that you have just caused the vacationing of one of 
the most informed aaand helpful members of this list will give you 
all pause.

--Pete Cavender




Re: removing Delivered-To header...?

2000-11-16 Thread Peter Cavender

Quoting Peter Cavender ([EMAIL PROTECTED]):
  Hi-
 
  I have a qmail server hosting several virtual domains, and all mail
  delivered to recipients in the virtual domains have a Delivered-To
  header line indicating the "main" domain name of the server.

Fascinating.  Is that a government secret, or something?


haha - no, I just host several domains for third parties, and the 
people on domain3 ask why domain1 shows up in their mail headers... 
Just trying to make my mail services *completely* virtualized.

People at local-bapist-church.org wouldn't want hot-sex-pics.com in 
their mail headers. ;-)

Doesn't the Received header also mention what your domain name is?

Not an issue for me - I only have incoming POP boxes, no relaying.


  I want to delete this line, and I understand that the -d option to
  preline is the way to do this, but *where* do do do this?

Hmmm, but what program will you use to actually do the delivery?
You don't mention what mailbox format you're using.

Vanilla Maildir delivery on local machine.


Anyway, Delivered-To is there to prevent mail loops.  Not all that
terrific an idea to cut them out.


Hmmm...

--Pete




removing Delivered-To header...?

2000-11-15 Thread Peter Cavender

Hi-

I have a qmail server hosting several virtual domains, and all mail 
delivered to recipients in the virtual domains have a Delivered-To 
header line indicating the "main" domain name of the server.

I want to delete this line, and I understand that the -d option to 
preline is the way to do this, but *where* do do do this?

TIA

--Pete



Removing Delivered-To header

2000-11-14 Thread Peter Cavender

Hi-

I have a qmail server hosting several virtual domains, and all mail 
delivered to recipients in the virtual domains have a Delivered-To 
header line indicating the "main" domain name of the server.

I want to delete this line, and I understand that the -d option to 
preline is the way to do this, but *where* do do do this?

TIA

--Pete



Virtual Domain Message Header Pollution

2000-06-23 Thread Peter Cavender

Hi-

I have qmail set up on a server with multiple virtual domains.  I am 
puzzled by, and want to remove, extraneous header entries that end up 
in incoming mail for accounts on the virtual domains.

Specifically, there are various "Delivered-To:" entries that reveal 
the primary domain name.  If I am virtually hosting foo.com on my 
server which is primarily bar.com, I do do not want foo.com's 
incoming email to reveal this in its header.

Is there a simple way to configure this in qmail, or am I forced to 
write scripts to process incoming messages?

Thanks!



Re: templet user

2000-05-24 Thread Peter Cavender

Hi-

I think you mean "user template".  I am not sure about BSD, but in 
Linux, you add the stuff you want new users to have to the /etc/skel 
directory.

The qmail utility "maildirmake" will create a maildir in a certain directory.

If you tell maildirmake to create one in /var/skel ,then all new 
users will get a maildir.

see:  man maildirmake

In the basic Linux install of qmail, it is located at:
/var/qmail/bin/maildirmake

I hope this helps...

--Pete




Another big qmail user..

2000-05-24 Thread Peter Cavender

I am always happy when I see another "big" web operation using qmail..

I just discovered paypal.com runs qmail, after I got the "I'm sorry 
it didn't work out." bounce message from a typo...

--Pete



Re: qmail is like a chainsaw

2000-05-18 Thread Peter Cavender

  [EMAIL PROTECTED] (Thu 18.0500-13:26):
 
  qmail is like a chainsaw: exceedingly fast and powerful and able to
  chop off your foot in less than a second.

one of the most important things to watch in qmail is =permissions=.  if
set right, the foot stays in your mouth.



qmail?  I think that truth applies to *nix in general. 7 out of 10 of 
my hair-pulling puzzles have boiled down to =permissions=.

And I'll take that as a compliment to qmail.  Here, in Vermont, I 
have seen people frame houses with a chainsaw.  Real Fast. Efficient 
in the hands of an expert, dangerous in the hands of a novice.

Seems to be true for a lot of thingqmail, Linux, guns, power tools, cars...

--Pete

PS.  Not that I am trying to be arrogantI did perhaps 80-100 
re-installs of linux/qmail/apache/etc on my server (because I was 
trying to automate it with a script) before I got it right and knew 
what I was doing, and I sawed off my root a lot.




Re: I want to leave this list

2000-05-18 Thread Peter Cavender


Why don't we TRY ADDING A FOOTER WITH UNSUBSCRIBE INSTRUCTIONS TO EACH
MESSAGE, just TRY it?  What is there to be afraid of?


I use qmail/ezmlm-idx, and it adds subscribe/unsubscribe stuff to the 
HEADER.  Maybe this list should use thes extensions...?




Re: qmail is like a chainsaw

2000-05-18 Thread Peter Cavender

  And I'll take that as a compliment to qmail.  Here, in Vermont, I
  have seen people frame houses with a chainsaw.  Real Fast. Efficient
  in the hands of an expert, dangerous in the hands of a novice.

do you mean they made pieces of wood the right size with a chainsaw?  thats
how i (i'm german) understand the term "people frame houses".  what kind of
houses do they build, and how long does this take and what does it cost?
do people just move to vermont to live there and get their housing that
way?


Yes, I mean cutting 2x4's and 2x6's, and plywood. etc, to within a 
1/16 (+/- 2mm for metric) with a chainsaw.  I have done a bit of it 
myself, but I prefer a hand saw for the tight stuff.

People move here for all kinds of reasonsmany are leftists or 
homosexuals, but many are also survivalists and libertariansI 
don't know how it translates to German, but in colloquial English... 
"I'm a Vermonta, I do what I wanta"

Vermont is the only place in North America where you can carry a 
loaded, concealed firearm with no permitit is also the only place 
that homosexuals can marry (as of two weeks ago)... it is also the 
only place you can get a non-photo drivers' license...


  PS.  Not that I am trying to be arrogantI did perhaps 80-100
  re-installs of linux/qmail/apache/etc on my server (because I was
  trying to automate it with a script) before I got it right and knew
  what I was doing, and I sawed off my root a lot.

hope it's back on, your root.


call me qmail Bobbit...

--Pete

PS. I know this is *way* off topic but I can't resist a flame...




Re: Virtual POP Users and Domains

2000-01-06 Thread Peter Cavender

I am trying to set up Qmail to be a pop mail server for several of our
company domain names. The users do not need, nor do i want to give them,
a login account. There will be some identical user names in the
different domains but they must be handled differently. How would I set
up the POP storage and create the virtual user accounts for them to log
in and retrieve their mail.

Eric


Create the user accounts with the "-s /bin/false" option; this gives 
them a "shell" of /bin/false, which essentially preventys login. 
qmail will work fine.



Re: VHosting

2000-01-03 Thread Peter Cavender

Hello,

I read the virtual hosting faq, but I'm left wondering how do I set up a
virtual mail domain that will send mail to seperate mail users.  The FAQ,
as I understand it, only explains how to send everyone@yourdom.com to
one individuals mail box.  I ( my customers ) need to be able to receive
mail addressed to their domain in different mail box's.  For example:

Mail For:  Deliver To:

[EMAIL PROTECTED] - /home/jill/Maildir
[EMAIL PROTECTED] - /home/bobe/Maildir
[EMAIL PROTECTED] - /home/elli/Maildir

Should I use procmail to do this or does one of the mail guru's out there
have a super elegant way to achieve this?

Thanks for the help, as usual!


Josh

You do send all the mail for a domain to one user (I have a user 
"forwarder" for this purpose), then, for that user, you have multiple 
.qmail files that tell where to deliver the messages.  It took me 
forever to figure this out myself.

in virtualdomains:
domain1.com:forwarder-domain1
domain2.com:forwarder-domain2

Then make the .qmail files:
/home/forwarder/.qmail-domain1-jill
contains "jill"

/home/forwarder/.qmail-domain2-bobe
contains "bobe"

etc.


Pete



qmail patch list?

2000-01-02 Thread Peter Cavender

Does anyone have a complete list of the available qmail patches and 
what they do?

Pete



Virtual domains..?

2000-01-02 Thread Peter Cavender

I have qmail running several virtual domains (and a "real" domain) on 
a server.  I am trying to make it so that the operation of the 
virtual domains appears independent of the master domain.

The problem is:
1) bounce messages for [EMAIL PROTECTED] come from [EMAIL PROTECTED]

2) A message delivered to [EMAIL PROTECTED] has the following at the 
top of it's header:
Delivered-To: [EMAIL PROTECTED]

If this is un-fixable, just lety me know. :-)



Virtual Domains - main domain shows

2000-01-01 Thread Peter Cavender

Hi-

I have qmail running several virtual domains (and a "real" domain) on 
a server.  I am trying to make it so that the operation of the 
virtual domains appears independent of the master domain.

The problem is:
1) bounce messages for [EMAIL PROTECTED] come from [EMAIL PROTECTED]

2) A message delivered to [EMAIL PROTECTED] has the following at the 
top of it's header:
Delivered-To: [EMAIL PROTECTED]

Of course, I can fix this by getting rid of /virtualdomans and 
putting everything in /locals, but that has drawbacks too: I want 
each domain to have it's own "MAILER-DAEMON' and 'postmaster'...

TIA...



UTC vs Local Time timestamps (Linux)

1999-12-30 Thread Peter Cavender

Has anyone noticed that if you have your hardware clock set to UTC 
but the Linux clock to local time, that regular messages have the 
local time time-stamp, but bounce messages are dated in UTC?

After messing with this a while, I decided to just just put my HW 
clock on local time, to heck with UTC and DST. Comments?

My Context: qmail 1.03 under RH Linux 6.1 on intel



virtual domains in qmail/ezmlm?

1999-12-28 Thread Peter Cavender

Hi-

I have finally mastered qmail (OK, "I installed qmail and it works") 
and am now trying to set up a couple ezmlm lists on a server with 
virtual domains.

My  /var/qmail/control/virtualdomains file looks like this:
domain1.com:forwarder-domain1
domain2.com:forwarder-domain2
...

I obviously have a special user, "forwarder", set up with lots of 
.qmail files, and all is fine  working for normal qmail traffic.

I try making a list, [EMAIL PROTECTED]:
ezmlm-make /virtual/domain1/ezmlm  /home/forwarder/.qmail-domain1 
domain1  domain1.com
(that's one line, the dir is OK, and the links get created in /home/forwarder/)

But I get:
"Sorry, no mailbox here by that name. (#5.1.1)"
when I try to talk to it. (mailing to [EMAIL PROTECTED])

I am trying to make simple, public lists for a couple of virtual 
domains.  I think all I have to do is get the ezmlm-make command line 
right.

Any help would be greatly appreciated!

Thanks,
Pete

PS: Am I missing something, or are the only docs what comes in the .tar.gz?


Linux kernel 2.4.*   -   The final NT service pack.



Happy holidays!

1999-12-24 Thread Peter Cavender

And thank you, everyone, for all the good information.  May we all be 
forgiven for our flames and flame bait!

Pete



Re: Learning more about Linux skills.

1999-12-20 Thread Peter Cavender

Hi everybody! 

My name is Marvel Carvalho. 

I work in a company called Portway. We developed systems to HandHeld 
and Palm platform , and also Sales Administration Systems to Intel 
platform - with Delphi and Oracle. 

I'm interested in setting up a Linux station in our net NT.
We want it working as a PROXI server, FTP Server, internal e-mail Server. 

I need to learn how to do all of these things. I know that it can 
take many time. Which is the best way to learn it? Courses / Books / 
what else 

I'll appreciate your opinion very much... 

I'm looking forward to hearing from you. 

Marvel Carvalho 
Portway - Brazil - SP

Hello Marvel-

The best way to learn Linux is to get a computer and a Linux CD and 
install it, play with it, and read the documentation on the CD and on 
the internet.  There are many good Linux distributions, but I am most 
familiar with and recommend RedHat.  It is easy to install and has 
good documentation.

http://www.redhat.com

You can download Linux for free, but it is difficult for a beginner. 
You can buy $2 CDs of most popular Linux distributions from Linux 
Mall:

http://www.linuxmall.com


Each of these sites below contains much documentation.

For ftp, there are two popular servers: wu-ftpd is more popular, and 
proftpd is newer and more flexible.  (wu-ftpd comes with RedHat)

http://www.wu-ftpd.org
http://www.proftpd.org

For mail, there is sendmail and qmail.  I prefer qmail.  Download the 
"Life with qmail" manual. (sendmail comes with RedHat)

http://www.qmail.org
http://www.sendmail.org

For web serving, there is apache: (comes with RedHat)
http://www.apache.org


If you want a server as you described, a company in Canada, e-smith, 
has a nice Linux distribution that comes pre-configured to do what 
you need (and more).

http://www.e-smith.net

To learn about free software and the License for linux, visit the 
Free Software Foundation:

http://www.fsf.org

Books published by O'Reilly are the best Linux books.

Good Luck!
Peter



Re: Windows Mailing list

1999-12-20 Thread Peter Cavender

You can buy the Windows license that came with my PC - make an offer.

I just have to wonder, how on earth did you find *this* list, and 
*not* figure out where to buy MS stuff?


Hi all,

I am sorry to present a Non qmail on this list.
I need a few Windows Mailing lists.

Purpose: I need to find out where to buy
some cheap licenses for Windows/Word/Office etc.

Thank you for tolerating this on this list
Jacob

--
Random Dhammapada Verse 156
They who have not led the Holy Life, who in youth had not acquired 
wealth, he like worn out bows, sighing after the past.



Fwd: Re: new to list, install questions

1999-12-10 Thread Peter Cavender

  Mark Maggelet wrote:

  I believe you are using  a RedHat. This is what I did:
 
  1) Remove the 'sendmail' software link from '/etc/rc.d/rc3.d'. Just cd to
  this directory and rm the 'S80sendmail' link. (Note, the number could be
  different from your system).

The chkconfig(8) command is the preferred way to manage the symlinks under
/etc/rc.d/rc?.d directories in recent Redhat distributions (5.1 or later)


Running ntsysv on RedHat gives you a nice interface to  do the same 
thing.  Just un-select sendmail, and hit OK.



RE: Oops, someone tried to send you a virus

1999-12-09 Thread Peter Cavender

1) Like *I* am responsible for what my mail users receive!!
2) Most viruses are for Windows, which contribute to it's downfall.
3) I always buy products and services from SPAM on mailing lists.
4) If it is a Linux virus, aren't they required to include the source code?
5) What kind or dork runs executable attachments from unknown sources?
6) What kind or dork uses a MUA that auto-runs attachments?

Go away and take your alarmist spam with you.  I hope your 
quarantined viruses get loose on your NT server.



 The Star Scanning System discovered a potential virus
 or unauthorised code in a message sent to you.
 The original message was diverted into the virus holding
 pen (id 198661_944786082) and will be held for 10 days before
 being destroyed.

#include more_spam



RE: Virtual Domain Problem

1999-12-06 Thread Peter Cavender

Hello there,  I have been attemping to get virtual hosting up and 
running but have failed so far with the following message:

Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)

The domain was added to virtualdomains using the domain.com:user 
example in the FAQ.  The domain was also added to the rcphosts and 
the server was hupped a few hundred times...  Anyone have any 
insights into this particular problem?

Did you put the domain name in control/locals?



Fwd: Re: Virtual Domain Problem

1999-12-06 Thread Peter Cavender



  Hello there,  I have been attemping to get virtual hosting up and
  running but have failed so far with the following message:
  
  Sorry. Although I'm listed as a best-preference MX or A for that
host,
  it isn't in my control/locals file, so I don't treat it as local.
(#5.4.6)
  
  The domain was added to virtualdomains using the domain.com:user
  example in the FAQ.  The domain was also added to the rcphosts and
  the server was hupped a few hundred times...  Anyone have any
  insights into this particular problem?
 
  Did you put the domain name in control/locals?
 

I tried that as well and got the same error message.  Several docs on qmail
say NOT to put virtual domains in the locals file however.  That qmail-lint
program also checks to see if a virtualdomain in is locals and generates an
error message.


[HI FOLKS - WHEN REPLYING TO A MAILING LIST POST, MAKE SURE YOU HAVE 
THE RIGHT ADDRESS IN THE TO: FIELD, OTHERWISE IT GETS SENT TONLY TO 
THE PERSON WHO POSTED THE ORIGINAL MESSAGE   -Pete]



Fwd: Re: Virtual Domain Problem

1999-12-06 Thread Peter Cavender


You don't want this to be in your locals file. It's a virtual 
domain.  Hum.. Is
this a third level domain, or is it a first level? third.domain.com 
vs. domain.com

I've had these issues as well myself. Most of the time to solve it required to
make sure that the domain is spelled correctly, and there is a valid 
'user' it's
being handled by: domain.com:user
If this is a third level domain, you will need to add a dot infront 
of the domain
in your virtualdomains file: .domain.com:user
It's a wild card alias that will accept all third level domain names.

Other than that, there isn't much I can think of at the moment.

Hope this helped..

Philip

Peter Cavender wrote:

  Hello there,  I have been attemping to get virtual hosting up and
  running but have failed so far with the following message:
  
  Sorry. Although I'm listed as a best-preference MX or A for that host,
  it isn't in my control/locals file, so I don't treat it as 
local. (#5.4.6)
  
  The domain was added to virtualdomains using the domain.com:user
  example in the FAQ.  The domain was also added to the rcphosts and
  the server was hupped a few hundred times...  Anyone have any
  insights into this particular problem?
 
  Did you put the domain name in control/locals?


[HI FOLKS - WHEN REPLYING TO A MAILING LIST POST, MAKE SURE YOU HAVE 
THE RIGHT ADDRESS IN THE TO: FIELD, OTHERWISE IT GETS SENT TONLY TO 
THE PERSON WHO POSTED THE ORIGINAL MESSAGE.  I STAND CORRECTED ON THE 
"locals" ISSUE.   -Pete]



RE: Problems telneting to port 25

1999-12-04 Thread Peter Cavender

 Before  after installing qmail, which I believe I've done successfully, I
 cannot telnet to port 25 to test the installation. I can however send mail
 as root to external addresses. I'm trying to use fetchmail to suck down my
 mail from my ISP.

 I've included the stuff below to show that I have installed qmail.

 Any help would be greatly appreciated! I'm almost there, just give me a
 nudge :-) I wouldn't know how to troubleshoot this particular issue. I've
 read through the FAQ and INSTALL.* docs and have'nt seen a pointer to my
 specific issue.

 Thank you!

 [root@zamdrist doc]# telnet localhost 25
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 Connection closed by foreign host.


Have you done a port scan to see if anyone is home?  Sounds like 
nobody is accepting on that socket.

 tail /etc/rc.d/rc.sysinit (Is this where this belongs?)

 #QMAIL
 csh -cf '/var/QMAIL/rc '

Not if you are running RH Linux, which is what I know.

Look at the "Living With qmail" document (The best guide to getting 
qmail up); it explains how to make the qmail script in 
/etc/rc.d/init.d/qmail, and make links to it; i.e. 
/etc/rc.d/rc3.s/S80qmail  to start it, and
/etc/rc.d/rc6.d/K30qmail  to kill it.

I suspect you are trying to start qmail WAY too early in the boot process.

Pete



RE: Hmmm... Corel Linux

1999-11-24 Thread Peter Cavender

If that is the case, I may very well ditch  RH for my co-lo...I have 
two floppies worth of "mods" to my base RH 6.1.  Does Corel include 
all the extra goodies: checkpasswd,ucspi-tcp,daemontools,etc??  Does 
the .deb extension mean they are using the Debian installer thingey?

Please keep us posted!

Pete

P.S. I worked for Corel in 92. They seemed to suffer from a chronic 
case can't-get-it-out-the-door-when-we-promised syndrome, but 
Cowpland is a sharp cookie. Maybe they can do better when other 
people write the code.

---
The opinions expressed herein represent those of my employer, my 
religious organization, and of my federal government.


russ nelson sed:
Hmmm... Corel Linux includes among its packages a
"qmail-corel_1.03-1254.deb".  I haven't finished downloading the whole
thing, but it sure looks like Corel Linux comes standard with qmail.
Hooray!

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!



LWQ qmail rc script addition

1999-11-22 Thread Peter Cavender

I just discovered that if you are using the LWQ qmail rc script with 
RHL 6.1, you need to add the following lines:

to the "start" section:
touch /var/lock/subsys/qmail

to the "stop" section:
rm -f  /var/lock/subsys/qmail

Otherwise, qmail will not be properly shut down; the main rc script 
looks for the lock file before it cans a "subsystem".

Note that I arbitrarily chose "qmail" as the name of the lock file, 
but it seems a logical choice.

I dunno how this relates, if at all, to other Linux distros.

Pete Cavender

---
Curt Cobain understood gun control:  He hit exactly where he was aiming.



qmail-pop3d authentication errors

1999-11-16 Thread Peter Cavender

OK,

I have qmail-pop3d set up in inetd.conf (as per LWQ, pg 40, thanks, 
D.S.!!), and I installed checkpassword, but when I try to check my 
mail via POP3, I still get an error:

-ERR Authorization failed

I have disabled shaddow passwords, but still have MD5 passwords 
enabled on my system (RH Linux 6.1/intel, all the latest qmail 
components).  SMTP seems to work fine for incoming mail.

/var/log/qmail/qmail-pop3d  is empty...where do authentication errors 
get logged?

What are the proper privs for ~/Maildir/ ?

Thanks all..

--
I have been working on a one-honkin-big-bash-script that installs 
qmail (and apache and wu-ftpd) for a multi-domain server on top of RH 
Linux, with all the .tar.gz files on one floppy.  If anyone is 
curious or interested