Slow Mail Delivery

2000-05-17 Thread Ross Davis




I recently was running low on disk space on the my 
var partition.  To solve the problem, I moved all of the contents over to 
another partition on the same drive that had more space on it (usr).  After 
moving everything over I made it so that var wouldn't mount on its on partition 
and then started up in single user mode and built a link to the subdirectory on 
the usr partition.  /var --> /usr/rootvar.
 
Why would this be slowing things down?
 
I takes from 5 to 10 minutes to deliver a local 
email.  It never used to.
 
 


mail between 2 host in one domain

2000-05-17 Thread chenweih

hi.
  i have a domain called " paic.com". and i got 2 hosts:
 head.paic.com  primary mail server of paic.com
 alpha.paic.com secondary mail server of paic.com

i found that if  i send mail from alpha.paic.com to head.paic.com,
everything is ok.
but if i send mail from head.paic.com to alpha.paic.com, error occur with a
message below:

+
May 18 10:51:00 localhost qmail: 958618260.602667 starting delivery 24: msg
4820
1 to remote [EMAIL PROTECTED]
May 18 10:51:00 localhost qmail: 958618260.602729 status: local 0/10 remote
1/20
May 18 10:51:00 localhost qmail: 958618260.609898 delivery 24: failure:
Sorry._A
lthough_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_m
y_co
ntrol/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/


can i send mail between 2 mail server with defference priority in the same
domain?
if i could. what should i do with the configuration? thanks.
chan




Re: Purpose of this list

2000-05-17 Thread David L. Nicol

Brad Johnson wrote:

> The other section that doesn't exist (or does it? It's not easy to find) is
> "Qmail for users" which would talk about qmail just from the perspective of
> the *nix user, with the userland commands, without mixing it all in with the
> admin info.


there's man dot-qmail

-- 
  David Nicol 816.235.1187 [EMAIL PROTECTED]
drawn to the speed and performance



Re: tcpserver problem

2000-05-17 Thread Uwe Ohse

On Thu, May 18, 2000 at 02:31:09AM +0200, Federico Barbazza wrote:

> i am receiving lot of mail in my server.
> Tcpserver write me on terminal:
> "warning: dropping connection, unable to fork: temporary failure"
> What can i do to resolve this problem???

Use top and/or ps to see if you have too many processes running.
Use free and/or top to see how much memory is free.
Use system dependant tools to see how many file descriptors are free.
This is a unix sysadmin job, possibly best done by someone who knows
that kind of unix.

Adjust your administrative limits.

btw: if you run tcpserver out of a terminal then tcpserver 
inherited quite a lot of limits from that terminal. Start it
from init or svscan.

> Am i losting mail??

No, although incoming mail will be delayed until tcpserver can
fork again.

Regards, Uwe



Re: Where is the script that starts smtp server?

2000-05-17 Thread clemensF

> James (Wed 17.0500-13:46):
> 
> My question about the startup script from vpopmail is.. where do I insert
> that script in the qmail startup?  Or do I just wipe out the current qmail
> startup script and use only vpopmail's startup?

please send us the scripts in question and the setup you got working.  at
the time beeing i can't tell you anything for final.  and another thing:
what do you mean by "roaming users"?  are you running around with a phone
strapped to your head or did it grow worse?

> Thanks
thanks

-- 
clemens  [EMAIL PROTECTED]
do  D4685B884894C483



Mysterious `ezmlm-send:_fatal:_temporary_qmail-queue_error:_/'

2000-05-17 Thread Matthew Bloch

Hello, after seeing the above msg in my log files when trying to post to a
newly-created mailing list, I found that this exchange caused the error:

lists@kcsu:~$ ezmlm-make /home/lists/kings-budget \
  /home/lists/.qmail-kings-budget lists-kings-budget kcsu.org.uk
lists@kcsu:~$ ezmlm-sub /home/lists/kings-budget/ [EMAIL PROTECTED]
lists@kcsu:~$ ezmlm-send kings-budget/ http://www.soup-kitchen.demon.co.uk/ )
  ( ICQ 19482073 if you're lucky )




RE: Purpose of this list

2000-05-17 Thread Brad Johnson

> -Original Message-
> From: Eric Cox [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 17, 2000 10:14 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Purpose of this list
> 
> I think the reason repeated rtfm-style questions are so frustrating 
> (for me, anyway) is that qmail itself has some of the best "newbie" 
> documentation I think I've ever seen - it's all of the "do this, 
> then this, then this" variety - which was extremely friendly to me
> the first time I installed qmail.  Whether it was DJB, or whoever 
> wrote it went to great pains to aim it straight at the newbie. I 
> didn't even need Dave's excellent LWQ the first time I installed 
> it - and that reflects far more on the person that wrote the 
> INSTALL.* files than my mediocre prowess as an admin.
> 
I'd just like to say that the qmail documentation is brilliant. 
Because of that, I myself have come upon the problem of knowing more 
about qmail than *nix administration; setting up qmail has been my first 
task as a freebsd admin. Thus the qmail docs break down where they assume
knowledge of *nix stuff--which isn't really a fault of qmail.

However, qmail does suffer from the same issue as BSD traditionally has,
which is that everyone involved is too damned smart, so they 
write in terse, dense and frighteningly useful language and get annoyed
when people have difficulty parsing the information. 


The qmail.org page is also a bit confusing. It would be nice if the main
answers pages were organized together: 
Life With qmail, the qmail HOWTO, and the qmail man pages. They're all
listed under
User-Contributed Documentation, but they're mixed along with a whole bunch
of other
more specialized links.

There's just a little bit TOO much info on the qmail.org page;
it would be nice if it were separated out a bit. I only just looked at the
"big picture"
link, which is immensely useful. I didn't click on it, because I generally
avoid 
links in the middle of a paragraph if I'm looking for particular
information, especially
a paragraph with a lot of links.


If there were a quick meta-manual, which listed and described the
most-important 
manual/documentation links, that would be extremely useful. If it exists,
then it
should be one of the #1 links on the qmail.org page. 

The other section that doesn't exist (or does it? It's not easy to find) is 
"Qmail for users" which would talk about qmail just from the perspective of 
the *nix user, with the userland commands, without mixing it all in with the
admin 
info.



Re: Purpose of this list

2000-05-17 Thread Eric Cox

Ralf Günthner wrote:
> 
> My 2 cents:
> 
> >> Dave Sill <[EMAIL PROTECTED]> 17.05.2000  16.25 Uhr >>>
> 
> >not as "How would I know?". We deal with people whose experiences and
> >abilities are all over the spectrum, from complete newbie to kernel
> >hacker, and we don't know where you fall.
> 
> Based on past experience: Most of the readers of this list seem to lean 
> toward the developer's side and when someone who's "only" a qmail-admin 
> as a side-effect of his main job, like myself, (we use qmail purely as a 
> relay system in our DMZ, because it's secure) I often get short, cryptic 
> answers from a programmer's perspective.
> 
> The vast majority of my knowledge pertains to IT security, but I wouldn't 
> expect anyone asking me for advice to be familiar with the ins-and-outs 
> of the TCP/IP suite. I explain a new term before throwing it at the 
> questioner. The same attitude would make this list friendlier at times 
> ("put it in a .qmail file") Of course I don't encourage not reading any 
> FAQs or man pages but shooting all questions to the list instead.

I think the reason repeated rtfm-style questions are so frustrating 
(for me, anyway) is that qmail itself has some of the best "newbie" 
documentation I think I've ever seen - it's all of the "do this, 
then this, then this" variety - which was extremely friendly to me
the first time I installed qmail.  Whether it was DJB, or whoever 
wrote it went to great pains to aim it straight at the newbie. I 
didn't even need Dave's excellent LWQ the first time I installed 
it - and that reflects far more on the person that wrote the 
INSTALL.* files than my mediocre prowess as an admin.

Eric



Re: .qmail-default and some scripting

2000-05-17 Thread Einar Bordewich

No feedback on my question, but this does what I want.
.qmail-einar-default:
|if [ -d "$HOME/postmaster/Maildir/.$EXT/new" ]; then maildirdeliver
$HOME/postmaster/Maildir/.$EXT/ ; else maildirdeliver
$HOME/postmaster/Maildir ; fi

You have to fetch maildirdeliver from
http://www.din.or.jp/~ushijima/maildirdeliver-0.50.tar.gz

This is a simple way to have the different mailinglists to deliver mail for
you to individual maildirs for your user together with sqwebmail and/or imap
where you can make extra maildirfolders in your main Maildir.

--

IDG New Media Einar Bordewich
Technical Manager  Phone: +47 2336 1420
E-Mail:   [EMAIL PROTECTED]


- Original Message -
From: "Einar Bordewich" <[EMAIL PROTECTED]>
To: "Qmail-mailing list" <[EMAIL PROTECTED]>
Sent: Wednesday, May 17, 2000 10:12 PM
Subject: .qmail-default and some scripting


> On my home server I run qmail 1.03 with courier-imap, sqwebmail,
qmailadmin,
> vpopmail and Scan4Virus.
> I'm looking for some help regarding .qmail-default file.
> Since I'm not into shell/perl/awk/sed scripting, I'm hoping for some help
> regarding deliver mail to the correct folder depending on receipient
> address.
>
> All mail to [EMAIL PROTECTED] goes to INBOX, that is
postmaster/Maildir/.
> Under postmaster/Maildir/, I have other "Maildir" catalogs, like
> .einar-qmail, .einar-zebra, etc. They are all called einar-something. I
> could ofcourse make .qmail-einar-qmail and deliver the mail to
> postmaster/Maildir/.einar-qmail, something that works. But why bother by
> making a .qmail file for every address i deliver out, when the
> catalog/address structure is consistent.
>
> Mail to [EMAIL PROTECTED] should go to
> postmaster/Maildir/.einar-qmail/ if exists deliver there, if not, then
> postmaster/Maildir/
>
> Anyone that could help me with translating my wishes into shell script?
>
> Tnx.
> --
> 
> IDG New Media Einar Bordewich
> Technical Manager  Phone: +47 2336 1420
> E-Mail:   [EMAIL PROTECTED]
> 
>
>
>




How to run two copies of qmail?

2000-05-17 Thread Jianping Song

Hello all,

On Qmail homepages, i know someone can run two copies of
qmail, which is especially useful to recompile qmail and
change some configuration.

Can anyone give me a hint on how to do this? 
As i am new to qmail,the steps given on qmail pages is 
too succinct for me.

---
Best regards
Songmailto: [EMAIL PROTECTED]







newbie question on qmail and sendmail!

2000-05-17 Thread Jianping Song

hello,

Where can i find some details on the comparision between
Qmail and Sendmail, such as the performance, security?

Thanks.
---
Best regards
Songmailto: [EMAIL PROTECTED]







tcpserver problem

2000-05-17 Thread Federico Barbazza

hi all,
i am receiving lot of mail in my server.
Tcpserver write me on terminal:
"warning: dropping connection, unable to fork: temporary failure"
What can i do to resolve this problem???
Am i losting mail??
Thanks
Federico.



Re: MS SQL server with virtual domains?

2000-05-17 Thread Racer X

To use Microsoft SQL with qmail, you'll need some sort of ODBC driver
manager for Unix.  The one we use is Openlink (www.openlinksw.com),
which works fine for us.  The main headache is getting ODBC up and
running smoothly.  Once that's done, you can access the database just
like any other SQL database.

I'm not familiar with any of the SQL code in vpopmail, but it shouldn't
be too difficult to port it to ODBC, as the Openlink stuff comes with
headers and libraries.  Perl DBI is also an option, I believe the
DBD/DBI driver for ODBC is based on Openlink.

shag


- Original Message -
From: "Andy Grimberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wed 17 May 2000 15:20
Subject: MS SQL server with virtual domains?


> Does anyone know of a way to get an MS SQL server to work via ODBC
with
> any of the virtual domain systems out there for qmail?
>
> I know that vpopmail 3.4.12 is supposed to have support when it is
> finished, but I currently can't find any mention of it in the current
> beta.
>
> OTH any idea how hard it would be to convolute the current MySQL code
> for it to work across an iODBC connection?
>
> Thanks,
> -Andy-
>
> --
> Andrew J. Grimberg
> Programmer
> WebSuite.com
> 206-988-2233
>




MS SQL server with virtual domains?

2000-05-17 Thread Andy Grimberg

Does anyone know of a way to get an MS SQL server to work via ODBC with
any of the virtual domain systems out there for qmail?

I know that vpopmail 3.4.12 is supposed to have support when it is
finished, but I currently can't find any mention of it in the current
beta.

OTH any idea how hard it would be to convolute the current MySQL code
for it to work across an iODBC connection?

Thanks,
-Andy-

-- 
Andrew J. Grimberg
Programmer
WebSuite.com
206-988-2233



Re: I want to leave this list

2000-05-17 Thread Matt Clauson

Dirk Harms-Merbitz wrote:

> I would like to know as well.
>
> Dirk
>
> On Wed, May 17, 2000 at 06:54:34PM -0300, Frederiko dos Santos Costa wrote:
> > How I do to leave this list ?
> >

$ mail [EMAIL PROTECTED] -s "" < /dev/null




Re: Where is the script that starts smtp server?

2000-05-17 Thread Brent R . Matzelle

I just caught a misprint.  To create the symbolic link looks like this:
ln -s /etc/rc.d/init.d/tcpserver /etc/rc.d/init.d/rc3.d/S55tcpserver

> Then you have to create a symbolic link to the init script like so:

> 
> That'll do it.  Just as a note.  I am just finishing a beta setup guide for
> Linux users and administrators that wish to run qmail.  If anyone is interested
> I'd be glad to announce when it's finished.
> 
> Brent
> 
> 
> On Wed, 17 May 2000, James wrote:
> > I am using Mandrake 7.02 and I am trying to get vpopmail
> > (http://www.inter7.com/vpopmail) to work using roaming users.  One of the
> > suggestions in the FAQ (http://www.inter7.com/vpopmail/FAQ) suggests this:
> > ___
> > Your startup script for the qmail smtp server must use the 
> >tcpserver -x file command similar to this startup line. 
> > 
> > env - PATH="/var/qmail/bin:/usr/local/bin" \
> > tcpserver -H -R -x /etc/tcp.smtp.cdb -c20 -u503 -g503 0 smtp \
> > /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
> > ___
> > 
> > Ok, fine and dandy.. but I don't know where my startup line that contains
> > the script that starts the smtp server is.  Does anyone know where this
> > would go on Mandrake 7.02?
> > 
> > Thanks.
> > 
> > James
> -- 
> http://www.matzelle.net
-- 
http://www.matzelle.net



Re: I want to leave this list

2000-05-17 Thread Dirk Harms-Merbitz

I would like to know as well.

Dirk

On Wed, May 17, 2000 at 06:54:34PM -0300, Frederiko dos Santos Costa wrote:
> How I do to leave this list ?
> 



I want to leave this list

2000-05-17 Thread Frederiko dos Santos Costa

How I do to leave this list ?




potentially touchy topic of courier imap v imap clients (fwd)

2000-05-17 Thread Chris Dent


I posted the message below to the imap list at U Washington, to
see if I could get any comments. I didn't get much of a response,
so I thought I would try here as well. Thank you for any comments
you might have.

-- Forwarded message --
Date: Tue, 9 May 2000 17:12:34 -0500 (EST)
From: Chris Dent <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: potentially touchy topic of courier imap v imap clients



I realize this is probably a topic which has been beaten to
death, but my review of the list archives did not return a great
deal, so I thought I would poke around and see what kind of
responses I was able to get. Feel free to respond to me directly
or to the list, I can summarize if necessary.

My work environment is a smallish ISP with approximately 10,000
email accounts. Right now the vast majority of those users have 
their mail housed on pop servers running qmail and qmail-pop3d.
We went with qmail because of several reasons:

 we had significant success with it on our relays
 we could use Maildir on the POP machine, which meant that
  management of mail messages, quota, user management, logging,
  and a whole slew of stuff was going to be very easy to
  customize, tweak, make just so and generally be good.
 it's all fast and small

Soon we will be moving from our pop only or shell based mail only
mail environment to something we are calling mailstore, which
will be a place where users keep their mail that has multiple
access modes (initially just POP, IMAP and IMAP with something
like stunnel, but growing to Webmail and probably IMAP access
from the shell machine). We would like to avoid having to migrate
people's mail collections to a new format, to maintain the
advantages that Maildir gives us and to continue using the
considerable collection of custom code we have put together to
manage the machines. 

Which says to me that we should use an IMAP server which supports
Maildir.

I'm not sure of all the options (input is most welcome) but those
I've thought about so far have issues:

- UW with Maildir support, I've been told, still suffers from the
  memory footprint problems that the c-client programs suffer
- Courier-IMAP, I've beent old (again), suffers from signicant
  "doesn't play well with clients" issues and suffers from an
  author that doesn't want to play with others either.
- Cyrus present a lot of advantages and we can make it
  interoperate with whatever mail server we choose, but we will
  need to migrate from the existing Maildir structure and tools
  which manage users will need to be changed.

I want to use Courier-IMAP because I agree with the spirit of
it's design--small, modular, extensible through pipelines--but
because this is an ISP environment we have next to no control
over client use and must, for the sake of customer satisfaction
and technical support costs, minimize the trouble that an IMAP
server will cause.

Are the client interaction problems in Courier-IMAP that
significant? If so, does anyone care to guess how hard it would be
for a motivated person to code around them? Sam, if you are
listening, what are your comments or suggestions?

My feeling on this whole issue are nicely captured by Postel in
RFC 760 section 3.2:

  The implementation of a protocol must be robust.  Each implementation
  must expect to interoperate with others created by different
  individuals.  While the goal of this specification is to be explicit
  about the protocol there is the possibility of differing
  interpretations.  In general, an implementation should be conservative
  in its sending behavior, and liberal in its receiving behavior.  That
  is, it should be careful to send well-formed datagrams, but should
  accept any datagram that it can interpret (e.g., not object to
  technical errors where the meaning is still clear).

Which, unfortunately, people get very uptight about. (I know I've
been there).





Re: Where is the script that starts smtp server?

2000-05-17 Thread James

clemensF wrote:
:> env - PATH="/var/qmail/bin:/usr/local/bin" \
:> tcpserver -H -R -x /etc/tcp.smtp.cdb -c20 -u503 -g503 0 smtp \
:> /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
:incidently:  if you set up the smtp daemon this way nobody will listen to
:it's status messages, because they get dumped in the bit/bucket.  if you
:use multilog, "> /dev/null&" should be deleted for the logger to be able
:to catch it ("hark!  is this the wind?  or are daemons talking to me?").

Now you're speaking geek, err.. greek to me.  That example is taken
directly from vpopmail's Faq (http://www.inter7.com/vpopmail/FAQ) list,
number 4. on that page.  It's the suggested script for using qmail with
roaming users.

Ok, I figured my startup script was in /etc/rc.d/intit.d/, and it's the
startup script
(http://Web.InfoAve.Net/~dsill/lwq.html#start-qmail) 2.8.2 suggested
by Life With Qmail.. and I saved it as "qmail"  Qmail seems to be working
ok for now, but when I boot, I don't "see" it starting in the bootup
process (as I see other things starting, like httpd, etc.).

My question about the startup script from vpopmail is.. where do I insert
that script in the qmail startup?  Or do I just wipe out the current qmail
startup script and use only vpopmail's startup?

Thanks

James




Re: vpopmail pop3 access

2000-05-17 Thread Irwan Hadi

At 04:31 PM 5/17/00 -0400, Chester Chee wrote:
>Here is my line for starting pop3d, (basically, I followed the instruction 
>from Live with Qmail):
>tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup mydomain.com 
>/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir2>&1 | 
>/var/qmail/bin/splogger pop3d &

try this
http://www.inter7.com/vpopmail/FAQ
your question has the answer there




Re: Qmail on a linux cluster

2000-05-17 Thread Peter van Dijk

On Wed, May 17, 2000 at 03:13:45PM -0500, David L. Nicol wrote:
> 
> 
> Does NetFiler let you run other programs on it?  I would 
> put one instance of qmail on the netfiler, and insert little
> tcp-server-protected relay pipes on the other machines to answer
> port 25.  Use maildir.

No, the NetFiler runs a custom OS by Network Appliances, which does little
much than serving files. And it's quite good at it too :)

Greetz, Peter.
-- 
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]



Re: virus scanner

2000-05-17 Thread Steffan Hoeke

On Thu, May 18, 2000 at 04:14:05AM +0800, Mark Lo wrote:
> Hi,
> 
> I would like to know which virus would work with Linux and qmail ??

scan4virus (http://www.geocities.com/jhaar/scan4virus ) provides a wrapper
which supports a number of major virus scanners 

Also try checking the mailing list archives for the discussions started
in ligtht of the recent outbreak... ;-)
A number of scanners are mentioned in that discussion.
> Thanks
> Mark

HTH,
 Steffan

-- 
http://therookie.dyndns.org




Re: don't know if anyone noticed this, but...

2000-05-17 Thread Brent R . Matzelle

I've flipped through the Sendmail for Linux book myself in the hopes of gaining
some insight into sendmail's bizarre configuration.  The book wasn't helpful in
the slightest.  Over 500 pages and I got nothing.  If sendmail weren't on
nearly every Linux distribution it would be as dead as the dodo.  

On Tue, 16 May 2000, Russell Nelson wrote:
> Adam McKenna writes:
>  > I was browsing amazon today and noticed it:
>  > 
>  > 
>http://www.amazon.com/exec/obidos/ASIN/0672319454/qid%3D958501880/104-5030846-4577265
>  > 
>  > Who the hell is Rich Blum?  I never hoid of him.
> 
> On the other hand, you've heard of me, and I've only written a
> fraction of a book.  :(
> 
> -- 
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | "Ask not what your country
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.
-- 
http://www.matzelle.net



Re: vpopmail pop3 access

2000-05-17 Thread Chester Chee



Hi,
 
I have setup qmail with vpopmail. Basically, all my 
user for specific virtual domain are created via vpopmail. Now, I want to setup 
pop3 access for those users created by vpopmail. I started qmail-popup and 
qmail-pop3d via tcpserver. But user somehow can't authenticate because user is 
not a _really_ Unix user on the mail server. Anyone know how to work around 
this?
 
Here is my line for starting pop3d, (basically, I 
followed the instruction from Live with Qmail):
tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup 
mydomain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir2>&1 | 
/var/qmail/bin/splogger pop3d &
 
I think I need to do something about 
/bin/checkpassword, but I am not sure what/how I am suppose to do. Any help will 
greatly appreciated... Thanks in advance.
 
Chester


Re: ucspi-tcp package

2000-05-17 Thread Irwan Hadi

At 12:19 PM 5/17/00 -0400, Philip Koppel wrote:
>Hello,
>
> I am trying to install Dan Bernstein's ucspi-tcp package.
> But the ftp sites i keep seeing on-line are not working.
> ex.
> ftp://koobera.math.uic.edu/www/software/ucspi-tcp-0.84.tar.gz
>
> Could someone please inform me of where I can find a current version
>please?

ftp://id.wustl.edu



Re: virus scanner

2000-05-17 Thread Charles Cazabon

Mark Lo <[EMAIL PROTECTED]> wrote:
> 
> I would like to know which virus would work with Linux and qmail ??

If you mean "virus scanner", try Amavis.  It's been mentioned in this
mailing list fifty times in the last few months.

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: Where is the script that starts smtp server?

2000-05-17 Thread Brent R . Matzelle

Mandrake happens to be a very good Linux distribution based on RedHat, which
runs on the majority of Linux powered servers.  The startup scripts are
all found in /etc/rc.d/init.d and this is uniform on most Linux distributions. 
The only different one is Debian which the startup scripts are located in
/etc/init.d .  

Brent

On Wed, 17 May 2000, clemensF wrote:
> > James (Wed 17.0500-04:31):
> > I am using Mandrake 7.02 and I am trying to get vpopmail
> 
> isn't mandrake a kind of poisonious snake eating ape?  i don't know where
> the ape wants his starter scripts, but on unix systems it should either go
> into /usr/local/bin/ to get called manually, or
> into /etc/rc.local to get called automatically on startup.  linux hides his
> startup-scripts in peculiar places at times, but, fortunately, every linux
> distribution does it differently, so you would have to search the manuals
> (yes i know this is not what you want) on the subject of initialisation.
> 
> > env - PATH="/var/qmail/bin:/usr/local/bin" \
> > tcpserver -H -R -x /etc/tcp.smtp.cdb -c20 -u503 -g503 0 smtp \
> > /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
> 
> incidently:  if you set up the smtp daemon this way nobody will listen to
> it's status messages, because they get dumped in the bit/bucket.  if you
> use multilog, "> /dev/null&" should be deleted for the logger to be able to
> catch it ("hark!  is this the wind?  or are daemons talking to me?").
> 
> but this is another story.  feel free to feedback.
> 
> 
> -- 
> clemens  [EMAIL PROTECTED]
> do  D4685B884894C483
> gpg recv-key 0x9
> echo `gpg list-key 0x9 | cat -tv` | \
> gpg encrypt `gpg list-key 0x9 | 822address` | \
> mail -s your-key `gpg list-key 0x9 | 822address`
> wait
-- 
http://www.matzelle.net



Re: Qmail on a linux cluster

2000-05-17 Thread David L. Nicol



Does NetFiler let you run other programs on it?  I would 
put one instance of qmail on the netfiler, and insert little
tcp-server-protected relay pipes on the other machines to answer
port 25.  Use maildir.



"Matthew S. Crocker" wrote:
> 
> Hello,
> 
>  I'm building a new mail server/pop server cluster.
> 
>  The cluster will be built using 5 VA linux boxes and a Network Appliance
> NetFiler.  One of the boxes will be a LinuxDirector running the Linux
> Virtual Server kernel patch. I want all machines to handle SMTP/POP3/IMAP
> using qmail.  User directories will be NFS mounted from the netfiler. Mail
> queue's can either be local or NFS mounted. 


  David Nicol 816.235.1187 [EMAIL PROTECTED]
drawn to the speed and performance



virus scanner

2000-05-17 Thread Mark Lo

Hi,

I would like to know which virus would work with Linux and qmail ??

Thanks

Mark




.qmail-default and some scripting

2000-05-17 Thread Einar Bordewich

On my home server I run qmail 1.03 with courier-imap, sqwebmail, qmailadmin,
vpopmail and Scan4Virus.
I'm looking for some help regarding .qmail-default file.
Since I'm not into shell/perl/awk/sed scripting, I'm hoping for some help
regarding deliver mail to the correct folder depending on receipient
address.

All mail to [EMAIL PROTECTED] goes to INBOX, that is postmaster/Maildir/.
Under postmaster/Maildir/, I have other "Maildir" catalogs, like
.einar-qmail, .einar-zebra, etc. They are all called einar-something. I
could ofcourse make .qmail-einar-qmail and deliver the mail to
postmaster/Maildir/.einar-qmail, something that works. But why bother by
making a .qmail file for every address i deliver out, when the
catalog/address structure is consistent.

Mail to [EMAIL PROTECTED] should go to
postmaster/Maildir/.einar-qmail/ if exists deliver there, if not, then
postmaster/Maildir/

Anyone that could help me with translating my wishes into shell script?

Tnx.
--

IDG New Media Einar Bordewich
Technical Manager  Phone: +47 2336 1420
E-Mail:   [EMAIL PROTECTED]






Re: Where is the script that starts smtp server?

2000-05-17 Thread Brent R . Matzelle

The startup scripts for Mandrake (and RedHat, SuSE for that matter) are all in
/etc/rc.d/init.d/ .  You have to place the tcpserver init script in that
directory.
My own script (tcpserver) looks like this:
---
#!/bin/sh
# tcpserver startup script

export PATH="$PATH:/usr/local/bin"

case "$1" in
  start)
echo -n "Starting tcpserver: qmail-smtpd: "
exec tcpserver -x /etc/tcp.smtp.cdb -u 502 -g 501 0 smtp 
/var/qmail/bin/qmail-smtpd & 
echo "done"
;;
  stop)
echo -n "Shutting down tcpserver: "
killall tcpserver
echo "done"
;;
  *)
echo "Usage: tcpserver {start|stop}"
exit 1
esac

exit 0
-

Then you have to create a symbolic link to the init script like so:
ln -s /etc/rc.d/init.d/rc3.d/ ../init.d/tcpserver S55tcpserver

That'll do it.  Just as a note.  I am just finishing a beta setup guide for
Linux users and administrators that wish to run qmail.  If anyone is interested
I'd be glad to announce when it's finished.

Brent


On Wed, 17 May 2000, James wrote:
> I am using Mandrake 7.02 and I am trying to get vpopmail
> (http://www.inter7.com/vpopmail) to work using roaming users.  One of the
> suggestions in the FAQ (http://www.inter7.com/vpopmail/FAQ) suggests this:
> ___
> Your startup script for the qmail smtp server must use the 
>tcpserver -x file command similar to this startup line. 
> 
> env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -H -R -x /etc/tcp.smtp.cdb -c20 -u503 -g503 0 smtp \
> /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
> ___
> 
> Ok, fine and dandy.. but I don't know where my startup line that contains
> the script that starts the smtp server is.  Does anyone know where this
> would go on Mandrake 7.02?
> 
> Thanks.
> 
> James
-- 
http://www.matzelle.net



Bruce's latest qmail rpm and subdomain

2000-05-17 Thread Barry Smoke


I am running Bruce's latest RPM, and I love it...easy setup...works great.
I am also using his virtual domain package vmailmgr.

I don't know how many of you are familiar with his vmailmgr package, but it
works great.

I put out this question on the vmailmgr mailing list, and he said the
problem i am having is not vmailmgr related, it is qmail related.  So here
goes:

I have a virtual domain for example domain.com.
I have a subdomain called test.domain.com
I have a user [EMAIL PROTECTED]
and i have a user [EMAIL PROTECTED]

my /var/qmail/control/virtualdomains file reads:
domain.com:domain.com
test.domain.com:test.domain.com

If I send a message to [EMAIL PROTECTED], the message is being delivered
to [EMAIL PROTECTED]

qmail should parse this by looking for
test.domain.com
then .domain.com
then .com

Anyone know what might cause the MUA to send the mail to the wrong place?

##
here is my log file entry...the real domain is yourprospects.com:
##

May 17 14:42:20 dns1 qmail: 958592540.263598 status: local 2/10 remote 0/20
May 17 14:42:20 dns1 qmail: 958592540.268567 delivery 13: success:
did_0+0+0/
May 17 14:42:20 dns1 qmail: 958592540.310099 status: local 1/10 remote 0/20
May 17 14:42:20 dns1 qmail: 958592540.334021 delivery 14: success:
did_1+0+0/
May 17 14:42:20 dns1 qmail: 958592540.440181 status: local 0/10 remote 0/20
May 17 14:42:20 dns1 qmail: 958592540.440263 end msg 41396
May 17 14:53:47 dns1 qmail: 958593227.888630 new msg 41396
May 17 14:53:47 dns1 qmail: 958593227.888764 info msg 41396: bytes 907 from
 qp 6852 uid 112
May 17 14:53:48 dns1 qmail: 958593228.097990 starting delivery 15: msg 41396
to
local [EMAIL PROTECTED]
May 17 14:53:48 dns1 qmail: 958593228.098097 status: local 1/10 remote 0/20
May 17 14:53:48 dns1 qmail: 958593228.098155 starting delivery 16: msg 41396
to
local [EMAIL PROTECTED]
May 17 14:53:48 dns1 qmail: 958593228.098203 status: local 2/10 remote 0/20
May 17 14:53:48 dns1 qmail: 958593228.102911 delivery 15: success:
did_0+0+0/
May 17 14:53:48 dns1 qmail: 958593228.144389 status: local 1/10 remote 0/20
May 17 14:53:48 dns1 qmail: 958593228.144493 delivery 16: success:
did_0+0+1/
May 17 14:53:48 dns1 qmail: 958593228.232967 status: local 0/10 remote 0/20
May 17 14:53:48 dns1 qmail: 958593228.233045 end msg 41396






NT Authentication (if u're interested)

2000-05-17 Thread Matthew

here (attached) is a checkpassword proggy for NT authentication of
non-local pop users.  I got it working very well to host mail for a 
few windows users.  and maybe soon to transfer mail hosting completely
accross to a linux machine :-).

if there is a better way than this, please tell me. maybe an executable
that does nt auth + etcpasswd auth + non-standard pop passwd file ?

you'll need this perl module if you intereseted.

http://www.perl.com/CPAN/authors/id/P/PM/PMKANE/Authen-Smb-0.91.tar.gz

then change the four variables at the top of the script to point to your
PDC, BDC, DOMAIN, and popbox dir.


#!/usr/bin/perl

use Authen::Smb;

$PDC = "server1";
$BDC = "hewitt";
$DOMAIN = "rmnetnt";
$HOME = "/var/qmail/popboxes/methody-org";

# thanks [EMAIL PROTECTED]
sub read_uinfo() {
   my($user,$passwd,$apop_ts);
   open FD,"<&=3" or exit 1;
   $_ = ;
   # ugly; should use sysread instead
   ($user, $passwd, $apop_ts) = /^(.*)\0(.*)\0(.*)\0/;
   while () {};
   close FD;
   return ($user,$passwd,$apop_ts);
}

sub Validate_User($$) {
   my $user = $_[0], $passwd = $_[1];

   return 0 if (! $passwd || ! $user);
   
   my $authResult = Authen::Smb::authen($user, $passwd, $PDC, $BDC, $DOMAIN);

   return ($authResult == Authen::Smb::NO_ERROR);
}


# Main
{
   my $home;
   my ($user, $passwd, $apop_ts) = read_uinfo();
   
   if (Validate_User($user, $passwd)) {
  $home = "$HOME/$user";   
  @ENV{"SHELL","USER","HOME"} = ("/bin/sh", $user, $home);
  chdir $home or exit 1;
  exec @ARGV;
  die "can't exec $user_program: $!\n";
   }
}



RE: Qmail on a linux cluster

2000-05-17 Thread John D. Mitchell

> "Tim" == Tim Hunter <[EMAIL PROTECTED]> writes:
[...]
> Another piece of noteworthy information is to run NTP to keep the clocks
> on both servers synchronized if using sqwebmail, they really need to be
> within seconds of each other.

Suggestion:  Use DJB's clockspeed programs to keep the time sync'd.
http://cr.yp.to/clockspeed.html

Go wild,
John



Re: tcpserver unable to fork?

2000-05-17 Thread Tim Gollschewsky

On Wed, May 17, 2000 at 06:57:50PM +0200, Peter van Dijk spoke thusly:
> No. EAGAIN means for some _temporary_ reason it cannot fork. Maybe you have
> reached your max processes limit, globally or per user.

I su'd to qmaild and ran ulimit, it says unlimited.  Globally the machine
only has 80 processes, any other ideas?

Timbo.



Re: Remote users can't send

2000-05-17 Thread Steve Peace



I have the same situation here.  There are a couple of 
options.  Look for pop before smtp or the smtp auth patch.  I have 
looked at both of them and they will take care of any of your needs.  Also 
until I can get one of them implemented,  I have my mobile users set to 
user there ISP's smtp server, but configure their mail client (OE) to set the 
reply to address to there local email account here at work.  This way when 
a message is sent to somebody here on the job, the reply's will be sent to the 
mobile users work account and not the ISP's account.
 
Steve P.

  - Original Message - 
  From: 
  Roy 
  
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, May 17, 2000 10:14 
  AM
  Subject: Remote users can't send
  
  I'va a couple of users who are on the road, they 
  are logging into local isp's and than connecting to our qmail. I've setup 
  relayclients in tcp.smtp file and compiled that but, while thay can get their 
  email they cannot sent mail, any suggestions where i might 
look...
   
   
  Roy KerwoodNetwork 
  AdministratorCityXpress.com604-638-3800 ext 
  311604-831-2122


Re: How to apply a patch and conserve Bruce G's structure?

2000-05-17 Thread Ben Beuchler

On Wed, May 17, 2000 at 12:18:51PM -0400, Dave Sill wrote:

> >Pardon my ignorance, but why would one want more than one '@' in an
> >address,
> 
> Sendmail used it to implement routing. E.g., user@host1@host2 meant
> send the message to host2, who will deliver it to user@host1.
> 
> >and why would the ignorant masses fear such a server?
> 
> It's a way to do relaying.
> 
> -Dave

Gotcha.  Thanks!

Ben

-- 
Now, it's quite simple to defend yourself against a man armed with a banana.
First of all you force him to drop the banana; then, second, you eat the
banana, thus disarming him. You have now rendered him helpless. 
- Monty Python



Re: tcpserver unable to fork?

2000-05-17 Thread Peter van Dijk

On Wed, May 17, 2000 at 05:47:42PM +0100, Tim Gollschewsky wrote:
> Detectives,
> 
> smtpd (running from tcpserver) on my mailserver is logging this A LOT:
> 
> 958588648.209920 tcpserver: warning: dropping connection, unable to fork: tempor
> ary failure
> 
> I ran strace on the tcpserver and it's getting:
> 
> fork()  = -1 EAGAIN (Resource temporarily unavailable)
> 
> Now, EAGAIN means there wasn't enough memory to fork BUT, there is

No. EAGAIN means for some _temporary_ reason it cannot fork. Maybe you have
reached your max processes limit, globally or per user.

Greetz, Peter.
-- 
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]



tcpserver unable to fork?

2000-05-17 Thread Tim Gollschewsky

Detectives,

smtpd (running from tcpserver) on my mailserver is logging this A LOT:

958588648.209920 tcpserver: warning: dropping connection, unable to fork: tempor
ary failure

I ran strace on the tcpserver and it's getting:

fork()  = -1 EAGAIN (Resource temporarily unavailable)

Now, EAGAIN means there wasn't enough memory to fork BUT, there is
haps of free swap on that box.  To test, I wrote a little C program
that mallocs 20 Mb of memory and then does a fork(), works fine.

Anybody got any ideas?

Timbo.



Re: smtp-auth and amavis...

2000-05-17 Thread Steve Peace

No, after reinstalling the qmail binaries(removing the patch), I had to
reinstall AMaVis to get the server to function again.  I have not tried
patching it, and then installing AMaVis.  I'm going to go under the
ASSumption that if I do it in that order, it might work.  The only thing, is
I am trying to scrounge up a test server to try this on.

Steve P.
- Original Message -
From: "Rainer Link" <[EMAIL PROTECTED]>
To: "Steve Peace" <[EMAIL PROTECTED]>
Sent: Wednesday, May 17, 2000 9:45 AM
Subject: Re: smtp-auth and amavis...


> Hi!
>
> > I am running amavis-0.2.0-pre6-clm-rl-8.  The smtpd-auth patch seems to
be
> Ok :-)
>
> > know more about it than me.  AMaViS is running great and seems to work,
as
> > long as I dont patch qmail-smtpd.  As soon as I run the patch I stop
sending
> > and receiving mail.  Fortunately though it does not seem to give the
users
> > any errors when they try to send or receive mail, or I would have been
> > flooded with phone calls.  Also the weird part about it was that as soon
as
> > I re-installed the qmail binaries it still did not work.  I had to
reinstall
> > AMaViS as well.  I guess I just reinforced a lesson that I have already
> > learned multiple times the hard way.  "Don't try new things on
production
> > servers!!!".
>
> Hmm, strange. So, you've patched it and did a re-install of AMaviS.
> After the re-install, does AMaViS work now or is it still "broken" ?!
>
> > If you want to get a copy of the smtpd-auth patch to look at,
> > http://members.elysium.pl/brush/qmail-smtpd-auth/
> Well, I get:
> DNS Domain 'members.elysium.pl' is invalid: Host not found
> (authoritative).
> :-(
>
>
> best regards,
> Rainer Link
> --
> Rainer Link  | Student of Computer Networking
> [EMAIL PROTECTED] | University of Applied Sciences, Furtwangen, Germany
> rainer.w3.to | http://www.computer-networking.de/
>
>



mailquotacheck error

2000-05-17 Thread Luis Bezerra

Hello everyone

anyone knows this mailquotacheck error:

/usr/bin/mailquotacheck: fork: Rasource temporarily unavailable
QUOTACHECK ERROR: the mail quotacheck program cannot determine the size
of this message. Please inform postmaster of the site you are tryiong to
mail to.


-- 
-
Luís Bezerra de A. Junior
[EMAIL PROTECTED]
SecrelNet Informática LTDA
Fortaleza - Ceará - Brasil
Fone: 021852882090
-



Re: How to apply a patch and conserve Bruce G's structure?

2000-05-17 Thread Johan Almqvist

On Wed, May 17, 2000 at 11:55:32AM -0400, John R. Levine wrote:
> >(The reason for this is that all machines that accept mail with more than
> >one @ or % get their port 25 locked from the outside world by campus
> >network administration...)
> 
> It'd probably be easier to figure out which host they do their lame
> mail testing from, and tell tcpserver to reject connections from it.

Yeah, but that would still make them "lock out" my machine.

Ok, any constructive tips besides the mud-throwing?

-Johan
-- 
Johan Almqvist



Re: ucspi-tcp package

2000-05-17 Thread Peter van Dijk

On Wed, May 17, 2000 at 12:19:42PM -0400, Philip Koppel wrote:
> Hello,
> 
> I am trying to install Dan Bernstein's ucspi-tcp package.
> But the ftp sites i keep seeing on-line are not working.
> ex.
> ftp://koobera.math.uic.edu/www/software/ucspi-tcp-0.84.tar.gz
> 
> Could someone please inform me of where I can find a current version
> please?

http://cr.yp.to/ should be a very good starting point.

Greetz, Peter.
-- 
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]



ucspi-tcp package

2000-05-17 Thread Philip Koppel

Hello,

I am trying to install Dan Bernstein's ucspi-tcp package.
But the ftp sites i keep seeing on-line are not working.
ex.
ftp://koobera.math.uic.edu/www/software/ucspi-tcp-0.84.tar.gz

Could someone please inform me of where I can find a current version
please?

thanks,

philip




Re: How to apply a patch and conserve Bruce G's structure?

2000-05-17 Thread Peter van Dijk

On Wed, May 17, 2000 at 11:08:35AM -0500, Ben Beuchler wrote:
> On Wed, May 17, 2000 at 11:57:51AM -0400, Dave Sill wrote:
> 
> > Johan Almqvist <[EMAIL PROTECTED]> wrote:
> > 
> > >(The reason for this is that all machines that accept mail with more than
> > >one @ or % get their port 25 locked from the outside world by campus
> > >network administration...)
> > 
> > Just in case you weren't aware of this: your campus network
> > administration is stupid.
> 
> Pardon my ignorance, but why would one want more than one '@' in an
> address, and why would the ignorant masses fear such a server?

There is no real reason that one would want more than one '@' in an
address. The ignorant masses fear such a server since using more than one
'@' (or a '%') is a common trick to get a server to relay for you.

qmail, ofcourse, is not vulnerable to this problem.

There is no real reason that one would want to disallow more than one '@'
in an address. It is valid, so why disallow it.

Greetz, Peter.
-- 
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]



Re: How to apply a patch and conserve Bruce G's structure?

2000-05-17 Thread Dave Sill

Ben Beuchler <[EMAIL PROTECTED]> wrote:

>On Wed, May 17, 2000 at 11:57:51AM -0400, Dave Sill wrote:
>
>> Johan Almqvist <[EMAIL PROTECTED]> wrote:
>> 
>> >(The reason for this is that all machines that accept mail with more than
>> >one @ or % get their port 25 locked from the outside world by campus
>> >network administration...)
>> 
>> Just in case you weren't aware of this: your campus network
>> administration is stupid.
>
>Pardon my ignorance, but why would one want more than one '@' in an
>address,

Sendmail used it to implement routing. E.g., user@host1@host2 meant
send the message to host2, who will deliver it to user@host1.

>and why would the ignorant masses fear such a server?

It's a way to do relaying.

-Dave



Re: How to apply a patch and conserve Bruce G's structure?

2000-05-17 Thread Ben Beuchler

On Wed, May 17, 2000 at 11:57:51AM -0400, Dave Sill wrote:

> Johan Almqvist <[EMAIL PROTECTED]> wrote:
> 
> >(The reason for this is that all machines that accept mail with more than
> >one @ or % get their port 25 locked from the outside world by campus
> >network administration...)
> 
> Just in case you weren't aware of this: your campus network
> administration is stupid.

Pardon my ignorance, but why would one want more than one '@' in an
address, and why would the ignorant masses fear such a server?

Ben

-- 
Now, it's quite simple to defend yourself against a man armed with a banana.
First of all you force him to drop the banana; then, second, you eat the
banana, thus disarming him. You have now rendered him helpless. 
- Monty Python



Re: How to apply a patch and conserve Bruce G's structure?

2000-05-17 Thread Dave Sill

Johan Almqvist <[EMAIL PROTECTED]> wrote:

>(The reason for this is that all machines that accept mail with more than
>one @ or % get their port 25 locked from the outside world by campus
>network administration...)

Just in case you weren't aware of this: your campus network
administration is stupid.

-Dave



Re: Accessing Qmail using Netscapes mail client

2000-05-17 Thread Jason Brooke


If you're using vpopmail or some other pop3d where you have to specify
the whole email address as the username, you'll find that netscape
doesn't seem to send the username properly if it contains the '@'
character. Changing the '@' to '%' will fix the problem. 

eg: user%yourdomain.com 

jason 



Dave Sill wrote:
> 
> "dean klimt" <[EMAIL PROTECTED]> wrote:
> 
> > I am having a problem using Netscape's mail client.  I am
> > getting an error msg stating that an there is a problem with the
> > pop3 mail server.  I believe that my set up is correct.
> 
> What happens when you telnet to port 110 and manually log in? E.g.:
> 
>   $ telnet 0 110
>   Trying 0.0.0.0...
>   Connected to 0.
>   Escape character is '^]'.
>   +OK <[EMAIL PROTECTED]>
>   user dave
>   +OK
>   pass password
>   +OK
>   quit
>   +OK
> 
> -Dave



Re: How to apply a patch and conserve Bruce G's structure?

2000-05-17 Thread John R. Levine

>(The reason for this is that all machines that accept mail with more than
>one @ or % get their port 25 locked from the outside world by campus
>network administration...)

It'd probably be easier to figure out which host they do their lame
mail testing from, and tell tcpserver to reject connections from it.

-- 
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, 
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail



ezmlm-glmake

2000-05-17 Thread Rodney Edwards

Hi,

I'm trying to follow the instructions in the FAQ's for ezmlm/ezmlm.idx
to setup ezmlm to respond to host-centric commands.  Unfortunately it
requires me to have the command ezmlm-glmake which doesn't seem to be
included in my install (I have the latest version of qmail/ezmlm &
ezmlm.idx).
Can I simply copy the command over or is it version specific?
Any suggestions ?






Re: How to apply a patch and conserve Bruce G's structure?

2000-05-17 Thread Peter van Dijk

On Wed, May 17, 2000 at 05:53:42PM +0200, Johan Almqvist wrote:
[snip]
> 
> (The reason for this is that all machines that accept mail with more than
> one @ or % get their port 25 locked from the outside world by campus
> network administration...)

Bring out the spiky LART/cluestick then. Really, get them fired.

Greetz, Peter.
-- 
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]



How to apply a patch and conserve Bruce G's structure?

2000-05-17 Thread Johan Almqvist

Hi

I'm running qmail installed from Bruce Gunthers rpm and I'm very happy
with that. However, I will have to install a patch that disallows the use
of more than one @ sign (or % sign) directly in the smtpd RCPT TO: phase.
How can I achieve that without breaking everything else?

(The reason for this is that all machines that accept mail with more than
one @ or % get their port 25 locked from the outside world by campus
network administration...)

-Johan
-- 
Johan Almqvist



address reformatting

2000-05-17 Thread Greg Kopp

I'm having a problem that I can't seem to figure out. I was hoping that
someone out there that knows more about shell programming could help me.

I have two mailservers that handle e-mail for the same domain. One is qmail
and the other is lotus domino. The defautl mail server is the qmail  server.
I want to configure qmail (using .qmail-default) to forward any unknown mail
to the domino server. BUT, I also use vpopmail.

So using:

|forward "$[EMAIL PROTECTED]"

doesn;t work, because my $LOCAL is "server.com-user".

How can I strip off the domain name from the $LOCAL variable? I would
imagine that there HAS to be a way.

I'd appreciate any help.

Greg
---
Greg Kopp
Web & New Media Developer
IdeaStar, Inc.
v.(216) 587-9300 f.(216) 587-9301
[EMAIL PROTECTED]




Re: How do you do it?

2000-05-17 Thread Dave Sill

Rogerio Brito <[EMAIL PROTECTED]> wrote:

>   Dave is impressive, indeed.

Thanks. :-)

Note that I'm going to to be taking about a month off starting next
Monday to take the family out to the Grand Canyon. I won't be helping
out here till I get back.

> But Dan's got to get the prize.

Absolutely. No contest. Dan's the man.

-Dave



Re: Re: Purpose of this list

2000-05-17 Thread Ralf Günthner

My 2 cents:

>> Dave Sill <[EMAIL PROTECTED]> 17.05.2000  16.25 Uhr >>>

>not as "How would I know?". We deal with people whose experiences and
>abilities are all over the spectrum, from complete newbie to kernel
>hacker, and we don't know where you fall.

Based on past experience: Most of the readers of this list seem to lean toward the 
developer's side and when someone who's "only" a qmail-admin as a side-effect of his 
main job, like myself, (we use qmail purely as a relay system in our DMZ, because it's 
secure) I often get short, cryptic answers from a programmer's perspective. 

The vast majority of my knowledge pertains to IT security, but I wouldn't expect 
anyone asking me for advice to be familiar with the ins-and-outs of the TCP/IP suite. 
I explain a new term before throwing it at the questioner. The same attitude would 
make this list friendlier at times ("put it in a .qmail file") Of course I don't 
encourage not reading any FAQs or man pages but shooting all questions to the list 
instead.

Your own project, "Live with qmail" has done lots to improve the situation for 
newbies, though.

Cheers
Ralf




Re: REAL method for bringing up qmail...

2000-05-17 Thread Dave Sill

"Marcelo J. Iturbe" <[EMAIL PROTECTED]> wrote:

>I Installed tcpserver and "service" and they seem to be crashing.

What do you mean by "service"? Daemontools? What do you mean by
"crashing"?

>I placed the following in my rc.local file and it is creating havoc.

Try "rm havoc".

>/usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -c 100 -v -u 502 -g 501 0 
>smtp /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
>
>/bin/csh -cf '/usr/local/bin/svscan /service &'
>
>/usr/local/bin/supervise /service/qmail

The first command runs tcpserver serving qmail-smtpd on port 25.

The second command runs svscan to start all services in /service via
supervise.

The third command run the qmail service via supervise.

Depending upon the contents of /service, the first command may or may
not interfere with the second command. The third command *does*
interfere with second command.

>In my last boot up I just executed the first line ignoring the service 
>lines and it seems to be working fine.. but is it?

You tell us: is qmail running? Is mail going through? I doubt it.

Why don't you just follow the directions in "Life with qmail"?

See:

  http://Web.InfoAve.Net/~dsill/lwq.html

-Dave



qmail slowing down after a while (was: NFS slowness with MAILDIR)

2000-05-17 Thread qmail

Hi,
any results on the below questions from the qmail list? I feel like I'm
experiencing the very same behaviour in my test environment. But IMHO
not necessarilly related to NFS or Solaris (same with linux). Both POP3
and SMTP seem to be affected.

TIA
/ekki

---
   From: Curtis Generous 
   Date: Tue, 15 Feb 2000 20:12:46 -0500 (EST)
---
We have several sparcs (solaris 2.6) sharing user's maildirs via NFS on
a Netapp 760 filer.  We have noticed that when we first boot the
machines, we get great performance.

After the first 24 hours though, the same # of users cause the load on
these machines to slow down substantially.

By the 2nd day, these machines feel like molasses, and the only way to
fix this is a reboot.  The bottleneck appears to be NFS related.
We run NFS vers 2/UDP between the SPARCS and the NetApp.

Has anyone seen this kind of behavior before while running qmail?
[It doesn't seem to be related to qmail at all as far as we can tell]

Thanks,

--curtis




Re: Address marker

2000-05-17 Thread Chester Chee

Yup, that's what I am looking for. Thanks... You are the man

- Original Message - 
From: "Dave Sill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 17, 2000 9:51 AM
Subject: re: Address marker


> "Chester Chee" <[EMAIL PROTECTED]> wrote:
> 
> >Does anyone know how to change the address mark in qmail? Sendmail
> >uses "+" for the address marker, I have a filtering software depends
> >on that, I wonder if there is a way I can change the address marker
> >for Qmail to "+". Actually, I don't even know if Qmail support
> >address marker...
> 
> I don't know what an "address marker" is, but the only thing I can
> think of is the "+" sendmail uses to separate usernames from extension 
> addresses. E.g., [EMAIL PROTECTED] goes to "user" with a "foo"
> parameter passed to the delivery agent.
> 
> If that's what you're talking about, qmail uses "-" by default, but
> it's compile-time configurable by editing the "conf-break" file. And,
> as the note in conf-break says, you can override this choice at run
> time with the qmail-users mechanism.
> 
> -Dave
> 




Re: Remote users can't send

2000-05-17 Thread Jerry Walsh

Are you sure they are collecting their mail first and *THEN* sending?

Some clients try to send mail before recieving.

Regards

Jerry.

At 07:14 AM 5/17/00 -0700, Roy wrote:
>I'va a couple of users who are on the road, they are logging into local 
>isp's and than connecting to our qmail. I've setup relayclients in 
>tcp.smtp file and compiled that but, while thay can get their email they 
>cannot sent mail, any suggestions where i might look...
>
>
>Roy Kerwood
>Network Administrator
>CityXpress.com
>604-638-3800 ext 311
>604-831-2122




Re: Still Having 822field Troubles

2000-05-17 Thread Dave Sill

Kai MacTane <[EMAIL PROTECTED]> wrote:

>Specific contents of my .qmail-testing file now:
>
>|/usr/local/bin/822field Subject | grep -i "Delete" >/dev/null && echo 
>"Delete" && exit 99
>&kai
>
>(The first line is all one line in the actual file. The second line is &kai 
>rather than ./Maildir/ because this is in /var/qmail/alias.)
>
>Any other ideas?

I have a list that validates the sender using the following:

|if echo "`/usr/local/bin/822field From`" |grep -q "[EMAIL PROTECTED]" ; then exit 0; else 
|echo "you're not authorized to send to this address"; exit 100; fi
[EMAIL PROTECTED]
[EMAIL PROTECTED]
etc.

-Dave



Re: Purpose of this list

2000-05-17 Thread Dave Sill

James <[EMAIL PROTECTED]> wrote:

>I've received a couple of messages both on this list, and personal email
>that consistently suggest that I read the manual before posting here.

People usually do that when one asks a question that is clearly
answered by the documentation.

>Of course I realize that reading the manual, going through the steps of
>Life With Qmail or viewing the FAQs is the best first step.. but once one
>takes every step mentioned, and things STILL don't work, it's very hard to
>maintain calm as people *keep* suggesting that it's a good idea to read
>the manual.

Are you reading these documents carefully and understanding them, or
are you just skimming or not "getting it"?

>... For
>one example.. I have no idea as to why, when I sent a test message to
>[EMAIL PROTECTED] during one hour it was rejected multiple times, then
>trying again 4 hours later it goes through just fine.. when I changed
>*nothing* at all on my server.

If you truly did change nothing--and I don't doubt you--then either
someone or something else did, or something not on your server changed 
(such as DNS). qmail is not the slightest bit buggy, and unpredictable 
behavior is not characteristic.

>And one other soapbox spew.. When I receive a question such as "Are you
>sure you are talking to [your ip address here]?" and I answer "How would I
>know?".. this doesn't mean I haven't tested ping, or whois, or
>whereis etc.. because I have, it means that if there is some *other* way
>of knowing, please tell me now.

If you mean "If there is some *other* way of knowing, please tell me
now", you'll be doing everyone a favor if you write it that way, and
not as "How would I know?". We deal with people whose experiences and
abilities are all over the spectrum, from complete newbie to kernel
hacker, and we don't know where you fall.

-Dave



RE: Remote users can't send

2000-05-17 Thread Tim Hunter

watch your smtp connections and notice the IP they are connection from, make
sure that is in the tcp.smtp and compiled into the cdb.

I would worry about security in this situation however, it would be best to
tell them to use their local ISP's smtp server.

-- Tim


-Original Message-
From: Roy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2000 10:15 AM
To: [EMAIL PROTECTED]
Subject: Remote users can't send


I'va a couple of users who are on the road, they are logging into local
isp's and than connecting to our qmail. I've setup relayclients in tcp.smtp
file and compiled that but, while thay can get their email they cannot sent
mail, any suggestions where i might look...


Roy Kerwood
Network Administrator
CityXpress.com
604-638-3800 ext 311
604-831-2122




Remote users can't send

2000-05-17 Thread Roy



I'va a couple of users who are on the road, they 
are logging into local isp's and than connecting to our qmail. I've setup 
relayclients in tcp.smtp file and compiled that but, while thay can get their 
email they cannot sent mail, any suggestions where i might look...
 
 
Roy KerwoodNetwork 
AdministratorCityXpress.com604-638-3800 ext 
311604-831-2122


Re: Is there a way to relay mail based on username/password ?

2000-05-17 Thread Dave Sill

Dinesh Punjabi <[EMAIL PROTECTED]> wrote:

>Is there a way to authenticate users, based on 
>some password (possibly the same one as their
>email account!) which will determine their ability
>to relay email (smtp).

Yes, there are patches available (see www.qmail.org) that implement
the SMTP AUTH and STARTTLS extensions, which both allow authenticated
relaying.

-Dave



Re: One SMTP connection Multiple recipient?

2000-05-17 Thread Dave Sill

Jianping Song <[EMAIL PROTECTED]> wrote:

>Am i missing something here?

Just the fact that qmail doesn't send message with multiple RCPT's.

>How can i do the same thing with qmail?

You can't.

See:

  http://Web.InfoAve.Net/~dsill/lwq.html#multi-rcpt

-Dave



Re: One SMTP connection Multiple recipient?

2000-05-17 Thread Steffan Hoeke

Hi,

Check the qmail archives for the "Multi-RCPT vs. Single RCPT delivery" thread
on the mailing list archive.
This thread discussed exactly what you'r asking about 

HTH,
 Steffan


On Wed, May 17, 2000 at 09:54:48PM +0800, Jianping Song wrote:
> Hello,
> 
> If several recipients of the same mail are on the same server, such as
> hotmail, the mail can be sent to those recipients within one smtp
> connection with multiple RCPT TO: instruction. I know sendmail can do
> it.
> 
> When I want to do the same thing with qmail-inject:
>   qmail-inject -a [EMAIL PROTECTED] [EMAIL PROTECTED] < testmail
> I find that qmail does not act as i think. In this situation,
> qmail will queue the mail, but will connect to hotmail.com twice,
> each for seperate users.
> 
> Am i missing something here? How can i do the same thing with qmail?
> 
> Thanks.
> ---
> Best regards
> Songmailto: [EMAIL PROTECTED]
> 
> 
> 
> 

-- 
http://therookie.dyndns.org




Re: Accessing Qmail using Netscapes mail client

2000-05-17 Thread Dave Sill

"dean klimt" <[EMAIL PROTECTED]> wrote:

> I am having a problem using Netscape's mail client.  I am
> getting an error msg stating that an there is a problem with the
> pop3 mail server.  I believe that my set up is correct.

What happens when you telnet to port 110 and manually log in? E.g.:

  $ telnet 0 110
  Trying 0.0.0.0...
  Connected to 0.
  Escape character is '^]'.
  +OK <[EMAIL PROTECTED]>
  user dave
  +OK 
  pass password
  +OK 
  quit
  +OK

-Dave



Re: Anonymizing Email

2000-05-17 Thread Dave Sill

Alec Grynspan <[EMAIL PROTECTED]> wrote:

>[EMAIL PROTECTED] sends mail via a local dial-up in Georgia. 
>
>I need to recognize secret.com, grab the message and change the header
>to look as if it came from my machine. 
>
>The From: contains [EMAIL PROTECTED]
>
>The Received: from ipdiddle.com has to be changed to Received from:
>mail.secret.com., etcetera.

The easiest thing to do would be to set up a alias for joe to send to
that does the relaying. E.g., joe sends to [EMAIL PROTECTED], and
~alias/.qmail-anonymize contains something like:

  |/path/to/anonymizer

Where "anonymizer" is a script that reads the message on standard
input, verifies that it's from joe, munges it, and sends it out using
qmail-inject.

If you really need to scan all relayed messages for messages from joe, 
you'll need something like my dual-qmail processing set-up:

http://www.faqts.com/knowledge-base/view.phtml/aid/2142/fid/206/lang/en

-Dave



One SMTP connection Multiple recipient?

2000-05-17 Thread Jianping Song

Hello,

If several recipients of the same mail are on the same server, such as
hotmail, the mail can be sent to those recipients within one smtp
connection with multiple RCPT TO: instruction. I know sendmail can do
it.

When I want to do the same thing with qmail-inject:
  qmail-inject -a [EMAIL PROTECTED] [EMAIL PROTECTED] < testmail
I find that qmail does not act as i think. In this situation,
qmail will queue the mail, but will connect to hotmail.com twice,
each for seperate users.

Am i missing something here? How can i do the same thing with qmail?

Thanks.
---
Best regards
Songmailto: [EMAIL PROTECTED]







re: Address marker

2000-05-17 Thread Dave Sill

"Chester Chee" <[EMAIL PROTECTED]> wrote:

>Does anyone know how to change the address mark in qmail? Sendmail
>uses "+" for the address marker, I have a filtering software depends
>on that, I wonder if there is a way I can change the address marker
>for Qmail to "+". Actually, I don't even know if Qmail support
>address marker...

I don't know what an "address marker" is, but the only thing I can
think of is the "+" sendmail uses to separate usernames from extension 
addresses. E.g., [EMAIL PROTECTED] goes to "user" with a "foo"
parameter passed to the delivery agent.

If that's what you're talking about, qmail uses "-" by default, but
it's compile-time configurable by editing the "conf-break" file. And,
as the note in conf-break says, you can override this choice at run
time with the qmail-users mechanism.

-Dave



RE: Qmail on a linux cluster

2000-05-17 Thread Tim Hunter

Another piece of noteworthy information is to run NTP to keep the clocks on
both servers synchronized if using sqwebmail, they really need to be within
seconds of each other.

-Original Message-
From: Peter van Dijk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2000 9:38 AM
To: [EMAIL PROTECTED]
Subject: Re: Qmail on a linux cluster


On Wed, May 17, 2000 at 09:32:44AM -0400, Matthew S. Crocker wrote:
>
> Hello,
>
>  I'm building a new mail server/pop server cluster.
>
>  The cluster will be built using 5 VA linux boxes and a Network Appliance
> NetFiler.  One of the boxes will be a LinuxDirector running the Linux
> Virtual Server kernel patch. I want all machines to handle SMTP/POP3/IMAP
> using qmail.  User directories will be NFS mounted from the netfiler. Mail
> queue's can either be local or NFS mounted.   Has anyone done this?  Are

I'm doing a similar thing right now.

> there any pitfalls I should be aware of?  Can I use the same NFS mounted
> mailqueue on all machines?  Will there be a problem with two qmail

mailqueues cannot live on NFS, they _must_ be local.

> processes writing mail to the same user mbox over NFS?  What if a user is

Yes, mbox and NFS don't mix. Use Maildir.

> picking up mail via POP from one machine while another machine is writing
> mail for that user?  The user password/alias file will be handled from a
> MySQL database now, I'll be moving it to Oracle later this year.

Yes, delivery and pop at the same time may cause problems with mbox. Use
Maildir, again :)

Greetz, Peter.
--
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]




RE: Qmail on a linux cluster

2000-05-17 Thread Duane Schaub

We have two app machines running SMTP and POP each that access an NFS
backend.

1. Be sure that the time is sync'd on all machines.  Otherwise the
qmail-queue does strange things.

2. We have seen some kind of weird problem in that Redhat 6.1 crashes after
about 45 days of operation.  I think that one of the processes has some kind
of memory leak.

3. We have a mail specific proxy on the front end from bluetail.com that
presents the entire cluster as one server to the customer.  This means that
we can up/down the app servers at any time with no effect on the customer.
It also makes things like adding an SMTP vscanner trivial.  I can also fully
support POP-authenticated-SMTP without patching qmail.  It also has easy
support for creating separate mail queues for heavy traffic domains or
troublesome domains such as AOL, hotmail, etc.  It is a very effective
product.

Duane.

-Original Message-
From: Matthew S. Crocker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2000 8:33 AM
To: [EMAIL PROTECTED]
Subject: Qmail on a linux cluster



Hello,

 I'm building a new mail server/pop server cluster.

 The cluster will be built using 5 VA linux boxes and a Network Appliance
NetFiler.  One of the boxes will be a LinuxDirector running the Linux
Virtual Server kernel patch. I want all machines to handle SMTP/POP3/IMAP
using qmail.  User directories will be NFS mounted from the netfiler. Mail
queue's can either be local or NFS mounted.   Has anyone done this?  Are
there any pitfalls I should be aware of?  Can I use the same NFS mounted
mailqueue on all machines?  Will there be a problem with two qmail
processes writing mail to the same user mbox over NFS?  What if a user is
picking up mail via POP from one machine while another machine is writing
mail for that user?  The user password/alias file will be handled from a
MySQL database now, I'll be moving it to Oracle later this year.

-Matt
--
--
Matthew S. Crocker
Vice President / Internet Division Email: [EMAIL PROTECTED]
Crocker Communications Phone: (413) 587-3350
PO BOX 710 Fax:   (413) 587-3352
Greenfield, MA 01302-0710  http://www.crocker.com
--





Re: Qmail on a linux cluster

2000-05-17 Thread Peter van Dijk

On Wed, May 17, 2000 at 09:32:44AM -0400, Matthew S. Crocker wrote:
> 
> Hello,
> 
>  I'm building a new mail server/pop server cluster.
> 
>  The cluster will be built using 5 VA linux boxes and a Network Appliance
> NetFiler.  One of the boxes will be a LinuxDirector running the Linux
> Virtual Server kernel patch. I want all machines to handle SMTP/POP3/IMAP
> using qmail.  User directories will be NFS mounted from the netfiler. Mail
> queue's can either be local or NFS mounted.   Has anyone done this?  Are

I'm doing a similar thing right now.

> there any pitfalls I should be aware of?  Can I use the same NFS mounted
> mailqueue on all machines?  Will there be a problem with two qmail

mailqueues cannot live on NFS, they _must_ be local.

> processes writing mail to the same user mbox over NFS?  What if a user is

Yes, mbox and NFS don't mix. Use Maildir.

> picking up mail via POP from one machine while another machine is writing
> mail for that user?  The user password/alias file will be handled from a
> MySQL database now, I'll be moving it to Oracle later this year.

Yes, delivery and pop at the same time may cause problems with mbox. Use
Maildir, again :)

Greetz, Peter.
-- 
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]



Qmail on a linux cluster

2000-05-17 Thread Matthew S. Crocker


Hello,

 I'm building a new mail server/pop server cluster.

 The cluster will be built using 5 VA linux boxes and a Network Appliance
NetFiler.  One of the boxes will be a LinuxDirector running the Linux
Virtual Server kernel patch. I want all machines to handle SMTP/POP3/IMAP
using qmail.  User directories will be NFS mounted from the netfiler. Mail
queue's can either be local or NFS mounted.   Has anyone done this?  Are
there any pitfalls I should be aware of?  Can I use the same NFS mounted
mailqueue on all machines?  Will there be a problem with two qmail
processes writing mail to the same user mbox over NFS?  What if a user is
picking up mail via POP from one machine while another machine is writing
mail for that user?  The user password/alias file will be handled from a
MySQL database now, I'll be moving it to Oracle later this year.

-Matt
-- 
--
Matthew S. Crocker 
Vice President / Internet Division Email: [EMAIL PROTECTED]
Crocker Communications Phone: (413) 587-3350
PO BOX 710 Fax:   (413) 587-3352
Greenfield, MA 01302-0710  http://www.crocker.com
--




qpop3d and /var/spool/mail in Maildir format

2000-05-17 Thread Eric Honzay

Hello,
  I have sendmail and procmail configured to deliver to /var/spool/mail/$LOGNAME
in Maildir format.  /var/spool/mail is an NFS mounted partition. I am trying to
find a pop3 server to retrieve mail from above. qpop3d seems to be the one but
it defaults to $HOME/Maildir, which doesn't exist. I've looked at the source,
and it's a bit misleading in that that same error message will appear even when
the options in inetd.conf are changed :). How can I configure qpop3d to work in
this way. I've looked thru the archives and FAQ's and Qmail's site and have yet
to find it.

TIA

-- -- -- -- --
Eric J. Honzay
Network Connectivity Specialist
Bennett Office Technologies
312 24th Ave. SW
PO Box 978
Willmar, MN 56201
ICQ# 28991650
Phone: (320) 235-6425
Fax: (320) 231-1888
http://www.willmar.com





Re: smtp-auth and amavis...

2000-05-17 Thread Steve Peace

I am running amavis-0.2.0-pre6-clm-rl-8.  The smtpd-auth patch seems to be
patching qmail-smtpd.  I have looke at the code for the patch, but my
programming skills are so rusty, that I bet there are kindergadners that
know more about it than me.  AMaViS is running great and seems to work, as
long as I dont patch qmail-smtpd.  As soon as I run the patch I stop sending
and receiving mail.  Fortunately though it does not seem to give the users
any errors when they try to send or receive mail, or I would have been
flooded with phone calls.  Also the weird part about it was that as soon as
I re-installed the qmail binaries it still did not work.  I had to reinstall
AMaViS as well.  I guess I just reinforced a lesson that I have already
learned multiple times the hard way.  "Don't try new things on production
servers!!!".  If you want to get a copy of the smtpd-auth patch to look at,
you can get it at

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

Thanks,

Steve P.
- Original Message -
From: "Rainer Link" <[EMAIL PROTECTED]>
To: "Steve Peace" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, May 17, 2000 2:38 AM
Subject: Re: smtp-auth and amavis...


> > Steve Peace wrote:
>
> Hi!
>
> > Has anyone tried installing the smtp-auth qmail patch after installing
> > the amavis ant-virus wrapper?  I tried and was no longer able to send
>
> Sorry, no.
>
> > or receive mail.  I had to re-install the qmail binaries and then
> > re-install amavis.  Any help or knowledge would be appreciated.
>
> Please provide us some more information. Which AMaViS version (exactly)
> do you use? To which (qmail) files does the smtp-auth patch apply? For
> AMaViS 0.2.0-pre6-clm-rl-x, you have to rename qmail-local to
> qmail-local-real and qmail-remote-real (qmail-local and qmail-real are
> symnlinks to our script). Maybe that's the problem, but that's just a
> guess ...
>
> best regards,
> Rainer Link
>
> --
> Rainer Link  | Member of Virus Help Munich (www.vhm.haitec.de)
> [EMAIL PROTECTED] | Member of AMaViS Development Team (amavis.org)
> rainer.w3.to | Maintainer FAQ "antivirus for Linux" (av-linux.w3.to)
>
>



Re: Where is the script that starts smtp server?

2000-05-17 Thread Dave Sill

James <[EMAIL PROTECTED]> wrote:

>I am using Mandrake 7.02 and I am trying to get vpopmail
>(http://www.inter7.com/vpopmail) to work using roaming users.  One of the
>suggestions in the FAQ (http://www.inter7.com/vpopmail/FAQ) suggests this:
>___
>Your startup script for the qmail smtp server must use the 
>   tcpserver -x file command similar to this startup line. 
>
>env - PATH="/var/qmail/bin:/usr/local/bin" \
>tcpserver -H -R -x /etc/tcp.smtp.cdb -c20 -u503 -g503 0 smtp \
>/var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
>___
>
>Ok, fine and dandy.. but I don't know where my startup line that contains
>the script that starts the smtp server is.  Does anyone know where this
>would go on Mandrake 7.02?

If you installed qmail on the system, you should know where
qmail-smtpd is started. If you used "Life with qmail", it's in
/var/qmail/supervise/qmail-smtpd/run.

-Dave



Re: Delays receiving mail

2000-05-17 Thread Dave Sill

<[EMAIL PROTECTED]> wrote:

>Mail is being delivered (eventually) but there are 3.5 - 4 hour delays 
>any suggestions??

What Do The Logs Say?®

-Dave



Re: Delays receiving mail

2000-05-17 Thread Peter van Dijk

On Wed, May 17, 2000 at 10:00:52AM +1000, Andrew Gray wrote:
> Hi People,
>   Having some huge problems with qmail delaying sending
> 
> [root@ren RPMS6.2]# /var/qmail/bin/qmail-qstat
> messages in queue: 2313
> messages in queue but not yet preprocessed: 0
> 
> Mail is being delivered (eventually) but there are 3.5 - 4 hour delays 
> any suggestions??

Does /var/qmail/queue/lock/trigger look like this?

bash# ls -al /var/qmail/queue/lock/trigger
prw--w--w-  1 qmails  qmail  0 May 17 14:41 /var/qmail/queue/lock/trigger


> to force a de-queue. Load average went through the roof! (>10)
> I had to kill the syslog and remove mail logging to get it back 
> to reasonable levels. ( and it has not reduced the queue length)

You should consider multilog (from djb's daemontools) instead of syslog.

Greetz, Peter.
-- 
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]



Re: Forwarding mail

2000-05-17 Thread Johan Almqvist

On Wed, May 17, 2000 at 02:27:04PM +0200, Información wrote:
> Hi, somebody knows the way for:
> 
> - Forward all the email for the X mailbox (virtual, with vpopmail) to an
> another Y mailbox (not necessarily a local mailbox in this server), without
> delete the message in the mailbox X.

Make a file .qmail-X in the domains dir, containing
&Y

> - Forward all the email for the X mailbox (virtual, with vpopmail) to an
> another Y mailbox (not necessarily a local mailbox in this server), and
> delete this message from the mailbox X.

Make a .qmail-X file in the domains dir, containing the two lines
&Y
./X/Maildir/

-Johan
-- 
Johan Almqvist



Forwarding mail

2000-05-17 Thread Información

Hi, somebody knows the way for:

- Forward all the email for the X mailbox (virtual, with vpopmail) to an
another Y mailbox (not necessarily a local mailbox in this server), without
delete the message in the mailbox X.
- Forward all the email for the X mailbox (virtual, with vpopmail) to an
another Y mailbox (not necessarily a local mailbox in this server), and
delete this message from the mailbox X.

Thank you




Re: Supervise Qmail

2000-05-17 Thread Dave Sill

Carlo Manuali <[EMAIL PROTECTED]> wrote:

>How can i do qmail supervise?

http://Web.InfoAve.Net/~dsill/lwq.html#installation

-Dave



Re: Where is the script that starts smtp server?

2000-05-17 Thread clemensF

> James (Wed 17.0500-04:31):
> I am using Mandrake 7.02 and I am trying to get vpopmail

isn't mandrake a kind of poisonious snake eating ape?  i don't know where
the ape wants his starter scripts, but on unix systems it should either go
into /usr/local/bin/ to get called manually, or
into /etc/rc.local to get called automatically on startup.  linux hides his
startup-scripts in peculiar places at times, but, fortunately, every linux
distribution does it differently, so you would have to search the manuals
(yes i know this is not what you want) on the subject of initialisation.

> env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -H -R -x /etc/tcp.smtp.cdb -c20 -u503 -g503 0 smtp \
> /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &

incidently:  if you set up the smtp daemon this way nobody will listen to
it's status messages, because they get dumped in the bit/bucket.  if you
use multilog, "> /dev/null&" should be deleted for the logger to be able to
catch it ("hark!  is this the wind?  or are daemons talking to me?").

but this is another story.  feel free to feedback.


-- 
clemens  [EMAIL PROTECTED]
do  D4685B884894C483
gpg recv-key 0x9
echo `gpg list-key 0x9 | cat -tv` | \
gpg encrypt `gpg list-key 0x9 | 822address` | \
mail -s your-key `gpg list-key 0x9 | 822address`
wait



Re: Working with SerialMail and Queue

2000-05-17 Thread Dave Sill

Carlo Manuali <[EMAIL PROTECTED]> wrote:

>My problem was to manage the queue manually, to send E-Mail only at some
>hours (ex. 8 am and 5pm).
>
>Can someone help me to explain how can i have to use serialmail (or other
>way) to do this with the products that i have already installed?

Install serialmail. In particular, you need maildirsmtp, which takes a 
mailbox in maildir format and sends the contents via smtp. Configure
qmail to deliver all outgoing mail to a maildir mailbox by adding the
following entry to control/virtualdomains:

  :alias-catchall

and creating the associated .qmail file:

  echo ./outgoing/ >~alias/.qmail-catchall

In whatever script you use to bring up your network connection, add a
maildirsmtp invocation to send the mail queued in ~alias/outgoing. Or
set up cron jobs at 8 AM and 5 PM to run maildirsmtp, if you know the
connection will be up at those times. See the maildirsmtp man page for 
details on running it.

-Dave



SV: DNS and qmail problem

2000-05-17 Thread Admin for OK 2 NET

> hi, all.
> here is my situation:
> qmail 1.03 on redhat 6.1 linux. I also installed tcpserver, checkpassword.
> 2 machines.
>head.paic.com ( IP: 10.16.103.100) , running DNS, qmail1.03, tcpserver, 
>checkpassword.
>
>alpha.paic.com ( IP: 10.16.103.102), qmail 1.03, tcpserver, checkpassword.
>no DNS running on this machine. use 10.16.103.100 as a name server.
>
> content in head.paic.com's dns setting file:
> ++
> @   IN  SOA head.paic.com.  hostsmaster.paic.com (
> 242801 ; serial
> 108000 ; refresh
> 18000 ; retry
> 190 ; expire
> 18 ; default_ttl
> )
> @   IN  MX  0

This MX record is BLANK for the paic.com domain,
you have forgotten to set the hostname of your mailserver(s).


> @   IN  NS  head.paic.com

You have also left out trailing dots in your hostnames!
(you missed it at the TOP aswell, but that was an uncritical record)


> headIN  A   10.16.103.100

There is no MX for head.paic.com domain.


> alpha   IN  A   10.16.103.102
> IN  MX  10

This MX record is BLANK for the alpha.paic.com domain,
you have forgotten to set the hostname of your mailserver(s).


> if i send a mail from head.paic.com to alpha.paic.com, a error message will display:
> ++
> May 16 06:30:22 localhost qmail: 958429822.865096 starting delivery 24: msg 4820 1 
>to remote [EMAIL PROTECTED]
> May 16 06:30:22 localhost qmail: 958429822.865213 status: local 0/10 remote 1/20
> May 16 06:30:22 localhost qmail: 958429822.871568 delivery 24: deferral:
> Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/
> May 16 06:30:22 localhost qmail: 958429822.871642 status: local 0/10 remote 0/20

The result, "couldn't find hostname" isn't to strange when you forget to set one :D


> did anyone has any experience in qmail + dns in a intranet?
> or could u pls give me some advice on my configuration.

Only advice I can give is an example zone file:

++
@   IN  SOA head hostmaster (
251713
28800
7200
604800
86400)
;
;  Zone NS Records
;
IN  NS  head
;
;  Zone Records
;
@   IN  MX  10  head
IN  MX  20  alpha
headIN  A   10.16.103.100
IN  MX  10  head
IN  MX  20  alpha
alpha   IN  A   10.16.103.102
IN  MX  10  head
IN  MX  20  alpha
++

In this case I didn't use trailing dots because in the paic.com zone,
all hostnames without a trailing dot will have .paic.com. added to them.
In this case I've also made to MX records for each of the three mail domains,
and the "master" mailserver for all is head.paic.com. for them all.
Since only head.paic.com & alpha.paic.com is in the rcpthosts file for qmail,
you will need to add paic.com if you'll ever want the top MX record to work.

BTW: you'll need to set this up in your "virtualdomains" file for qmail aswell!


Regards André Paulsberg





Where is the script that starts smtp server?

2000-05-17 Thread James

I am using Mandrake 7.02 and I am trying to get vpopmail
(http://www.inter7.com/vpopmail) to work using roaming users.  One of the
suggestions in the FAQ (http://www.inter7.com/vpopmail/FAQ) suggests this:
___
Your startup script for the qmail smtp server must use the 
   tcpserver -x file command similar to this startup line. 

env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -x /etc/tcp.smtp.cdb -c20 -u503 -g503 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
___

Ok, fine and dandy.. but I don't know where my startup line that contains
the script that starts the smtp server is.  Does anyone know where this
would go on Mandrake 7.02?

Thanks.

James




Re: Qestion about qmail

2000-05-17 Thread clemensF

> Petr Novotny (Wed 17.0500-11:49):
> 
> If I understand correctly what multilog.c does, it runs the script on 
> a timestamped line; therefore a line like
> @80523452363.34123 msg something anything
> would get filtered out (if such a line appeared), but
> @80053264564.43567 new msg 81221
> does not; '-* * msg *' matches such a line.

HOW COULD I BE SO IGNORANT!  THANKS VERY MUCH!

-- 
clemens  [EMAIL PROTECTED]
do  D4685B884894C483



Re: Supervise Qmail

2000-05-17 Thread clemensF

> Carlo Manuali (Wed 17.0500-09:02):
> 
> I've installed the qmail daemontools, but the svsscan don't work propertly.
> I've followed the instruction at http://cr.yp.to/daemontools/svscan.html
> but what i have to do after insert the line csh -cf 'svscan /service &' in

the '&' has to be at the end of the line by itself, because this command is
supposed to be backgrounded.

to have a service monitored by svscan you will have to decide if multilog
or some other logger should take care of logging messages from this
service.  lets assume you use some standard logging program which loggs
everything coming thru stdin.  then set up the follwing:

the directory where the service will work and live, lets say /local/serv.

==> mkdir /local/serv; chmod g+s,a+t /local/serv; mkdir /local/serv/log

the sticky bit on the directory will make svscan start another supervisor
for logging activities of serv.  next you need serv/run and serv/log/run
looking somewhat like:

==> #!/bin/sh
# /local/serv/run
exec setuidgid serverid /local/bin/serv -o -ption

#!/bin/sh
# /local/serv/log/run
exec setuidgid loggerid /local/bin/multilog -n3 -s33000 ./

these scripts =must= be named run, because supervise uses this name to
start the service.  you do not have to use setuidgid to set the id (and
hence the permissions) of your service, but the amount of code running with
root privileges must be as small as possible, which is called security.  in
addition to setting the id of your service you might think of setting
resource limits with softlimit.  it is very important to set the ownership
and permissions of the directory and the files therein.  the multilog
loggerid must have write permissions for the files in serv/log/*, or else
you will hear the "multilog rhythm(tm)" from the hard disk, which indicates
that it can't write.  same goes for your service.

if all is well and setup to please the daemons of pc, you can again do

==> ln -s /local/serv /service

with "svscan /service &" or some such in your /etc/rc.  see to it that the
programs mentioned can be found by including their binaries directory in
the default path.

> I've created a simbolic link from /service/boot to /var/qmail/boot wher is
> rc script but doesn't work.

easy now.  why don't you send us the contents of your rc-file?
nevertheless, there =must= be a certain file by the name of ``run'' in the
service directory, the name is hard-coded into supervise.c


-- 
clemens  [EMAIL PROTECTED]
do  D4685B884894C483
gpg recv-key 0x9
echo `gpg list-key 0x9 | cat -tv` | \
gpg encrypt `gpg list-key 0x9 | 822address` | \
mail -s your-key `gpg list-key 0x9 | 822address`
wait
[encrypted] return mail.
no return mail within a week, you in trouble.
no return mail after a month, i in trouble.
please check
done




qmail-ldap error message!!

2000-05-17 Thread 8823544


Hi,everyone:
While I have already set up my
qmail(with ldap patch) and Openldap server,
I send a mail to the mail server and have some
error in logfile,
"Temporary_error_in_qmail-qmqpc_(as_mail_forwarder)_(LDAP-ERR_#239)".
What dose the message mean?






Re: Changing the IP address used by qmail....

2000-05-17 Thread Andy Repton

On Wed, May 17, 2000 at 10:40:03AM +0100, James Raftery wrote:
> To generalise the previous question a little, is there a simple way of
> getting qmail-rspawn/qmail-remote to bind to a particular local 
> interface for sending outgoing mail? I would like to have a particular
> virtual interface used for SMTP alone. Getting tcpserver to listen on 
> that interface is a doddle, but confining outgoing SMTP traffic (and
> leaving other services unaffected, hence not using routing) to using 
> that interface seems non-trivial.

I have ported the patch to qmail 1.01 from the qmail.org web page to
qmail 1.03 and incorporated it into an RPM for my system (the RPM is
basically the memphis rpm with the patch applied). If you want a copy
then email me and I'll either send you the patch or the RPM - your
choice. It allows you to do just what you requested.

Andy
-- 
BoomerangDomains support - [EMAIL PROTECTED] 
domain registration, email and web forwarding for just $25 a year



qmail Digest 17 May 2000 10:00:01 -0000 Issue 1004

2000-05-17 Thread qmail-digest-help


qmail Digest 17 May 2000 10:00:01 - Issue 1004

Topics (messages 41785 through 41849):

Autosend
41785 by: mark
41786 by: Hackl Ferdinand

Re: BACKUP POP SERVER
41787 by: wightman.acm.org

Re: multiple auto-reply messgs...(simple??)
41788 by: wightman.acm.org
41835 by: Russ Allbery

Out of free storage on IMAP and POP
41789 by: groberts.itc.com.au

users/assign and Taylor UUCP (unrelated)
41790 by: Paulo Jan
41792 by: Chris Johnson
41793 by: Ian Lance Taylor

Re: Qmail-Imap-Maildir
41791 by: Tim Hunter

Re: sending bulk personalized email
41794 by: Bruno Wolff III

Stochastic silence from Maildirsmtp
41795 by: Jörgen Persson
41838 by: clemensF
41840 by: Jörgen Persson

Adding local IP address to ipme
41796 by: Scott Gifford

Help me, please: Error in pop3 with vpopmail
41797 by: Informacio

Re: Group Wise SMTP System
41798 by: A.L.

ORBs problem and Qmail (@@@ related)
41799 by: Greg Moeller
41809 by: Peter van Dijk
41846 by: Greg Moeller
41849 by: Petr Novotny

"-ERR authorization failed" under qmail-pop3d
41800 by: Bob Carpenter

don't know if anyone noticed this, but...
41801 by: Adam McKenna
41815 by: Stefaan A Eeckels
41816 by: Johan Almqvist
41818 by: Russell Nelson
41819 by: Timothy L. Mayo
41820 by: Russell P. Sutherland
41843 by: Erwin Hoffmann

Backup
41802 by: Mark Lo
41812 by: Dave Sill

smtp-auth and amavis...
41803 by: Steve Peace
41806 by: listy-dyskusyjne Krzysztof Dabrowski
41841 by: Rainer Link

Re: distributed redundnat queue architecture (for M Bowman)
41804 by: David L. Nicol

qmail-queue, URGENT!
41805 by: Jorge Rocha
41808 by: Dave Sill
41810 by: Peter van Dijk

Re: Qestion about qmail
41807 by: clemensF
41848 by: Petr Novotny

Re: Pummelling limiting, again
41811 by: James R Grinter

Re: Address marker
41813 by: Chester Chee

qmail/ezmlm virtual domain problem
41814 by: Rodney Edwards

Re: Ezmlm web front
41817 by: Ken Jones

Changing the IP address used by qmail
41821 by: Steve Wolfe
41822 by: Adam McKenna
41847 by: James Raftery

maildrop + vpopmail
41823 by: Martin Kos

[Announce] oMail-webmail 0.94 released!
41824 by: Olivier M.

Re: webmail
41825 by: Chester Chee
41826 by: Olivier M.
41827 by: Chester Chee

Blocking e-mail to specific addresses
41828 by: Michael Hornby
41829 by: Peter van Dijk

qpage and qmail
41830 by: Aaron Seelye
41831 by: Peter van Dijk

long delays in delivery
41832 by: Andrew Gray
41834 by: James R Grinter
41837 by: Andrew Gray

Delays receiving mail
41833 by: Andrew Gray

Re: Metering POP related email traffic?
41836 by: Russ Allbery

checkpassword
41839 by: Nathaniel L. Keeling III

Supervise Qmail
41842 by: Carlo Manuali

Shifting of encrypted password from one qmail server to another
41844 by: ravivr.hss.hns.com

DNS and qmail problem
41845 by: chenweih.PAIC.com.cn

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]


--





Hi All,
 
I'm setting up autorespond for the first time and am having 
difficulties.
If I send a message from [EMAIL PROTECTED] to [EMAIL PROTECTED]
I get the following error in the logs of 
test.mail.com:
 
"deferral: AUTOREPSOND: Unable_to_create_file_for_[[EMAIL PROTECTED]]."
 
Have any idea what the problem could be?
 
Thanks
Mark
 



HI Mark

i guess you have in your .qmail-help following line ( or something similar )
|autorespond 1 5 message autoresponddirectory
&[EMAIL PROTECTED]

you have to creat a dir which is called autoresponddirectory ( be carefull with the 
right group and owner )
and then it should work

Ferdinand

-Ursprüngliche Nachricht-
Von:mark [SMTP:[EMAIL PROTECTED]]
Gesendet am:Dienstag, 16. Mai 2000 12:17
An: [EMAIL PROTECTED]
Betreff:Autosend

Hi All,

I'm setting up autorespond for the first time and am having difficulties.
If I send a message from [EMAIL PROTECTED] to [EMAIL PROTECTED]
I get the following error in the logs of test.mail.com:

"deferral: AUTOREPSOND: Unable_to_create_file_for_[[EMAIL PROTECTED]]."

Have any idea what the problem could be?

Thanks
Mark

 << Datei: ATT0.htm >>




-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> Date:Mon, 15 May 2000 16:43:17 CDT
> To:  Jhun Hubac <[EMAIL PROTECTED]>
> cc:  [EMAIL PROTECTED]
> From:"David L. Nicol"

Re: ORBs problem and Qmail (@@@ related)

2000-05-17 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17 May 00, at 4:40, Greg Moeller wrote:

> # cat alias/.qmail-tnet-default
> | fastforward -d -p /etc/aliases.cdb
> | forward "$DEFAULT"

This line does it; what it "$DEFAULT" contains 
"[EMAIL PROTECTED]"?

Try to do
|forward "$DEFAULT"@`head -1 /var/qmail/control/locals`
(where instead of head, you'd fill the machine name in)


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

iQA/AwUBOSJdx1MwP8g7qbw/EQJaMQCgq70C4qZeffjiFFqzZj1iZ18+mKAAoM4/
j7QNQT0oEvsFRzVPzbfaSq2U
=20Z8
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



Re: Qestion about qmail

2000-05-17 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16 May 00, at 21:37, clemensF wrote:

> > Well, I read the docs. However, what you sent shows that the docs 
> > are wrong; or that the program is wrong. Which of that it is - I don't 
> > know.
> 
> i already reviewed the pattern matching implementation in
> daemontools/match.c.  it seems ok.  if my multilog invocation line, the
> "script" as it is called by djb, is correct, it's got to have something to
> do with multilog.c.  could you help me review and test that?
> 
> for the readers of "qmail help", courtesy not of djb, here's what we're
> talking about:
> 
> #!/bin/rc
> exec setuidgid qmaill multilog t s2 n2 '-* msg *' ./

Well, I've been trying to understand what's up. Read match.c, your 
"script" matched any string up to the first space, then it needs to 
see a space, 'm', 's', 'g', space and whatever.

If I understand correctly what multilog.c does, it runs the script on 
a timestamped line; therefore a line like
@80523452363.34123 msg something anything
would get filtered out (if such a line appeared), but
@80053264564.43567 new msg 81221
does not; '-* * msg *' matches such a line.


Can someone confirm that? Thanks

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

iQA/AwUBOSJdEFMwP8g7qbw/EQKvDACfZ8P+hNEV8/2fjYZBHuDGynTp7jQAoI6l
rOO4DGDHMCr5S/7ZwCSk8MDf
=0vBJ
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



Re: Changing the IP address used by qmail....

2000-05-17 Thread James Raftery

On Tue, May 16, 2000 at 05:48:04PM -0400, Adam McKenna wrote:
> This has nothing to do with qmail-smtpd (or any other part of qmail for that
> matter).  Check your routing table.

To generalise the previous question a little, is there a simple way of
getting qmail-rspawn/qmail-remote to bind to a particular local 
interface for sending outgoing mail? I would like to have a particular
virtual interface used for SMTP alone. Getting tcpserver to listen on 
that interface is a doddle, but confining outgoing SMTP traffic (and
leaving other services unaffected, hence not using routing) to using 
that interface seems non-trivial.

james
-- 
James Raftery (JBR54)  -  Programmer Hostmaster  -  IE TLD Hostmaster
   IE Domain Registry  -  www.domainregistry.ie  -  (+353 1) 706 2375
  "Managing 4000 customer domains with BIND has been a lot like
   herding cats." - Mike Batchelor, on [EMAIL PROTECTED]



Re: ORBs problem and Qmail (@@@ related)

2000-05-17 Thread Greg Moeller

> On Tue, May 16, 2000 at 12:00:23PM -0500, Greg Moeller wrote:
> > Hi there.
> > Our mail server's been listed in ORBs because of a multiple @ related hole.
> > Is this common for a Qmail system or is something odd about our setup?
> 
> There must be something odd. What does
> /var/qmail/alias/.qmail-snet-default containt?
# cat alias/.qmail-tnet-default
| fastforward -d -p /etc/aliases.cdb
| forward "$DEFAULT"
> 
> 

> Please don't do that. You can trust the people here, and giving real info
> will allow us to help you quicker.
Here's the full poop from ORBS:
154.11.89.180 : 2000-04-21 21:28:00 UTC

>From [EMAIL PROTECTED] Sat Apr 22 09:27:47 2000
Received: from toolbox.total.net (toolbox.total.net [154.11.89.179])
by mail2.manawatu.net.nz (8.9.3/8.9.3) with SMTP id FAA05197
for <[EMAIL PROTECTED]>; Sat, 22 Apr 2000 05:59:36 +1200
X-Remote-IP: 154.11.89.179
Date: Sat, 22 Apr 2000 05:59:36 +1200
Received: (qmail 15431 invoked by alias); 21 Apr 2000 13:59:31 -
Delivered-To: [EMAIL PROTECTED]@pop.total.net
Received: (qmail 15413 invoked from network); 21 Apr 2000 13:59:31 -
Received: from unknown (HELO relaytest.orbs.vuurwerk.nl) (194.178.232.55)
by pop.total.net with SMTP; 21 Apr 2000 13:59:31 -
To: <[EMAIL PROTECTED]@pop.total.net>
From: [EMAIL PROTECTED]
X-Token: ckpfbvvorqbdqnlp
X-Envelope-Sender: <[EMAIL PROTECTED]>
X-Envelope-Recipient: <[EMAIL PROTECTED]@pop.total.net>
Message-Id: <[EMAIL PROTECTED]>
Subject: ORBS Relay Test - 154.11.89.180

> 
> [snip]
> > 
> > We're using the fastforward alias system.(version fastforward-0.51)
> 
> Hmmm, could you give us some details of your configuration then?
> 
It's Qmail 1.03, fast forward 0.51.
It's handling about 60,000 local mailboxes, and doing forwards for about 700 
virtual domains.
(this is put into the virtual domain file automatically by a script which 
scans a single file with every map on the system.)
# head -5 control/virtualdomains
258wallace.com:valias
4200st-laurent.com:valias
# cat valias/.qmail-default
| /var/qmail/bin/fastforward -d /etc/aliases.cdb

Hope that's enough for now..

Greg







DNS and qmail problem

2000-05-17 Thread chenweih

hi, all.
   here is my situation: 
  qmail 1.03 on redhat 6.1 linux. I also installed tcpserver,
checkpassword. 
2 machines. 
   head.paic.com ( IP: 10.16.103.100) , running DNS, qmail1.03, tcpserver,
checkpassword.

   alpha.paic.com ( IP: 10.16.103.102), qmail 1.03, tcpserver,
checkpassword.
   no DNS running on this machine. use 10.16.103.100 as a name server.
   
content in head.paic.com's dns setting file:
++
@   IN  SOA head.paic.com.  hostsmaster.paic.com (
242801 ; serial
108000 ; refresh
18000 ; retry
190 ; expire
18 ; default_ttl
)
@   IN  MX  0
@   IN  NS  head.paic.com
headIN  A   10.16.103.100
alpha   IN  A   10.16.103.102
  IN  MX  10   
+++

"named" is  running.
i can ping both head.paic.com and alpha.paic.com.

content of "/control/rcpthosts"  in head.paic.com
++
head.paic.com
localhost.paic.com.0.0.127.in-addr.arpa
alpha.paic.com
++

content of "rcpthosts" in alpha.paic.com

alpha.paic.com
head.paic.com
+

if i send a mail from head.paic.com to alpha.paic.com, a error message will
display:
++
May 16 06:30:22 localhost qmail: 958429822.865096 starting delivery 24: msg
4820
1 to remote [EMAIL PROTECTED]
May 16 06:30:22 localhost qmail: 958429822.865213 status: local 0/10 remote
1/20
May 16 06:30:22 localhost qmail: 958429822.871568 delivery 24: deferral:
Sorry,_
I_couldn't_find_any_host_by_that_name._(#4.1.2)/
May 16 06:30:22 localhost qmail: 958429822.871642 status: local 0/10 remote
0/20
+++

if i send a mail from alpha.paic.com to head.paic.com, error occur. 
+
May 16 21:06:08 alpha qmail: 958482368.323931 starting delivery 7: msg 2016
to r
emote [EMAIL PROTECTED]
May 16 21:06:08 alpha qmail: 958482368.324146 status: local 0/10 remote 1/20
May 16 21:06:08 alpha qmail: 958482368.333790 delivery 7: deferral:
Sorry,_I_cou
ldn't_find_any_host_by_that_name._(#4.1.2)/
May 16 21:06:08 alpha qmail: 958482368.333966 status: local 0/10 remote 0/20


if i use this format  user@[10.16.103.100] or user@[10.16.103.102], it
works. but i don't want to
work in this way. 

did anyone has any experience in qmail + dns in a intranet?  or could u pls
give me some advice on my
configuration.  
 thanks!  
chan








Shifting of encrypted password from one qmail server to another

2000-05-17 Thread ravivr

Dear all,

I installed a separate backup server for my present existing qmail server.I
tranfered all the  control files in /var/qmail/control to the back up
server & also all the"./alias" files.But how to shift the POP users (ie
their encrypted password).

Pls suggest me.any help will be appreciated..
rgds,
RAVI.





Re: don't know if anyone noticed this, but...

2000-05-17 Thread Erwin Hoffmann

Hi,

just for curiosity, there's another book on the market telling about QMAIL: 
"Electronic Mail Systems - A Network Manager's Guide" by Burhan Fatah
published by  McGraw Hill 1994 ISBN 0-07-020056-4.

Page 226 reads as:

"QMAIL
QMAIL is an E-mail system for the AS/400 that allows users to transmit
messages
from any AS/400 terminal, or any other computer with 5250 emulation. Besides
standard messaging features, QMAIL has many advanced features like forms, mail
notification, distribution lists, and message archves. ."

Doesn't it sound like qmail??

Cheers.
eh.

At 14:32 16.5.2000 -0400, Adam McKenna wrote:
>I was browsing amazon today and noticed it:
>
>http://www.amazon.com/exec/obidos/ASIN/0672319454/qid%3D958501880/104-50308
46-4577265
>
>Who the hell is Rich Blum?  I never hoid of him.
>
>--Adam
>
+---+
|  fffhh http://www.fehcom.deDr. Erwin Hoffmann |
| ff  hh|
| ffeee     ccc   ooomm mm  mm   Wiener Weg 8   |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm 50858 Koeln|
| ff  ee eee  hh  hh  cc   oo oo mm   mm  mm|
| ff  eee hh  hh   cc   oo   oo  mm   mm  mm Tel 0221 484 4923  |
| ff      hh  hhccc   ooomm   mm  mm Fax 0221 484 4924  |
+---+



  1   2   >