qmail Digest 25 Jun 2001 10:00:01 -0000 Issue 1406

2001-06-25 Thread qmail-digest-help


qmail Digest 25 Jun 2001 10:00:01 - Issue 1406

Topics (messages 64831 through 64848):

Re: Why conf-split prime?
64831 by: Pavel Kankovsky
64832 by: Pavel Kankovsky

Re: courier-imapd, folders and delivery
64833 by: Russell Nelson
64838 by: Ricardo SIGNES

qmail collecting POP3 mail
64834 by: John P
64835 by: Charles Cazabon

anti-virus program for Qmail
64836 by: Alex Tsang
64837 by: Chris Johnson
64848 by: Rick Stanley

Odd error
64839 by: Mike Hodson
64840 by: Chris Johnson

Re: I'm sorry
64841 by: Nancy Lovette

Mail Headers, Exchange and Qmail.
64842 by: Ivan Menendez
64844 by: Charles Cazabon

Can't receive local or remote emails
64843 by: newbieportal
64845 by: Charles Cazabon

SMTP Error !
64846 by: Qmail
64847 by: Chris Johnson

Administrivia:

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

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

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

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


--



On Fri, 22 Jun 2001, Dave Sill wrote:

i = fmt_ulong(s,id % auto_split); len += i; if (s) s += i;
 
 I can't see that primality would do anything special here.

I am going to give the secret away right here to save your time. :)

It is obvious the distribution of B(i) = A(i) mod k will be very
non-uniform (i.e. very suboptimal when the values of B(i) are used as
hash values) when A(i) or its large subsequences can be expressed
as A(i+1) = A(i) + p such that gcd(p, k)  1.

Our A(i)'s are inode numbers assigned to files holding the contents of
queued messages (queue/mess/*/*). An average implementation of a unix-like
filesystem assigns inode numbers less or more sequentially, i.e. the next
assigned number is often the last one plus 1. Of course, if we had
A(i+1) = A(i) + 1, there would be no problem. Alas, there are 2, 3, or
even 4 (or perhaps even more) files per a message in the qmail queue:
there are files in mess, as well as files in info, local, and remote.
This means A(i)'s are often incremented by 2, 3, or 4, and the risk of
uneven distribution of B(i)'s is rather high.

Using a prime number for k eliminates this risk for a very small price.
After all the set of primes is quite dense for reasonable values (1000)
and you can always find a prime close to the number you want to use.

 However, the default, 23, is prime, and in his only message to the
 list on the topic of conf-split, DJB suggested a value of 401, also
 prime, for a queue with 10 entries:

401 is quite close to sqrt(10). It means the sizes of the 1st and 2nd
level are quite balanced. But I can only guess why DJB suggested 401
rather than any prime closer to that square root.

 Why would DJB use primes if they weren't necessary? He uses round
 numbers elsewhere (concurrencies, for example), so I don't think he
 just likes them.

There is a notation based on the (unique) factorization of numbers.
1 is (0) (or ()), 2 is (1), 3 is (0,1), 6 is (1,1) etc. It has some
interesting properties: like an incredible ease of multiplication (and an
incredible difficulty of addition). Prime numbers are the *round* ones in
this notation. :)


On Fri, 22 Jun 2001, Dave Sill wrote:

 Charles Cazabon [EMAIL PROTECTED] wrote:
 
 It does -- a large series of random numbers, modulo some number I, will result
 in an even distribution of results if and only if I is prime.  If I isn't
 prime, the results are skewed noticeably towards the low end.
 
 Hmm.
 
 On first reading that, I didn't believe it. I couldn't imagine how
 the primality of the divisor could magically guarantee an even
 distribution.

Indeed. Given a source A(i) of natural numbers uniformly distributed in
a given interval [0, N-1] (lrand48() is *supposed* to be such a source
for N = 2^31), it is trivial to show that the distribution D_B(x) of
B(i) = A(i) mod k for any natural k  0 is as follows:

 / ceil(N/k)/N  if x  N mod k
   D_B(x) =for each x \in [0, k-1]
 \ floor(N/k)/N if x = N mod k

You can see the results are skewed but for k  N, prime or not, the skew
is negligible and the resulting distribution is almost uniform. A test
showing anything different demonstrates nothing but an imperfection in
your PRNG or a flaw in the test itself.

Profiling may beat speculation but mathematical reasoning beats profiling
anytime. :)


On Fri, 22 Jun 2001, Dave Sill wrote:

 BTW, I modified my modhash program to read numbers from stdin, fed it
 lists of real, live inode numbers, and guess what? It still makes no
 difference whether you use a prime hash or not.

What real, live inode numbers? Have you picked the inode numbers of
messages stuffed in queue/mess/*? With all due respect, I doubt it.
Any profiling is pointless 

SMTP down

2001-06-25 Thread rosita



I'm using qmail but i'm not able to receive or send 
mail because smtp is down
What can i do , and what is the reason?I've tried 
to telnet localhost 25 or telnet name.domain 25
but i'm not able to connect.


Thanks


SMTP down

2001-06-25 Thread marco1




I'm using qmail but i'm not able to receive or send 
mail because smtp is down
What can i do , and what is the reason?I've tried 
to telnet localhost 25 or telnet name.domain 25
but i'm not able to connect.


Thanks


problem starting qmail

2001-06-25 Thread pat moffatt




Hi 
I am having problems starting qmail. I am running 
qmail on Redhat 7.1. When I try to start qmail I get 

svok: fatal: unable to chdir to 
/services/qmail-send: file does not exist qmail-send service no 
running

svok: fatal: unable to chdir to 
/services/qmail-smtpd: file does not exist qmail-smtpd service no 
running

I've checked the log files but these dont give any more info.


TIA
P.


Looking for a good Maildir capable web based mail client

2001-06-25 Thread David Gartner

Hey all,

Up until we switched over to qmail, we were using some web based mail client.  It will 
only work
with Mbox format, and reads directly from the file itself.  Of course, when we 
switched over, we
switched to Maildir, so the old mail client doesn't work anymore.  The only web based 
mail we can
find is CWMail, and it's rather pricey, and not so easy on the eyes.  I've seen 
several webmail
programs out there, but don't know which to chose.  Is anyone currently using any good 
web mail
software they would suggest?  Thanks for the help.

David




problem starting qmail

2001-06-25 Thread pat moffatt





Hi 
I am having problems starting qmail. I am running 
qmail on Redhat 7.1. When I try to start qmail I get 

svok: fatal: unable to chdir to 
/services/qmail-send: file does not exist qmail-send service no 
running

svok: fatal: unable to chdir to 
/services/qmail-smtpd: file does not exist qmail-smtpd service no 
running

I've checked the log files but these dont give any more info.


TIA
P.


Re: Looking for a good Maildir capable web based mail client

2001-06-25 Thread Gary MacKay

www.squirrelmail.org is about the best I've found and it's free.

David Gartner wrote:
 
 Hey all,
 
 Up until we switched over to qmail, we were using some web based mail client.  It 
will only work
 with Mbox format, and reads directly from the file itself.  Of course, when we 
switched over, we
 switched to Maildir, so the old mail client doesn't work anymore.  The only web 
based mail we can
 find is CWMail, and it's rather pricey, and not so easy on the eyes.  I've seen 
several webmail
 programs out there, but don't know which to chose.  Is anyone currently using any 
good web mail
 software they would suggest?  Thanks for the help.
 
 David



Re: problem starting qmail

2001-06-25 Thread arjen-qmail

On Mon, 25 Jun 2001, pat moffatt wrote:

 Hi 
 I am having problems starting qmail. I am running qmail on  Redhat 7.1. When I try 
to start qmail I get 
 
 svok: fatal: unable to chdir to /services/qmail-send: file does not exist qmail-send 
service no running
 svok: fatal: unable to chdir to /services/qmail-smtpd: file does not exist 
qmail-smtpd service no running
 
 I've checked the log files but these dont give any more info.

Do you have 

/services/qmail-send/run
/services/qmail-smtpd/run

or did you make a typo and should it be

/service 

instead of

/services

?


Grtz, 

Arjen.





RE: problem starting qmail

2001-06-25 Thread Joshua Nichols

 svok: fatal: unable to chdir to /services/qmail-send:
 file does not exist qmail-send service no running

If you followed Life with Qmail, there is no services, just service.

If you didn't follow Life with Qmail, you should've.

If this doesn't fix the problem, you'll need to post alot more information
about how you are trying to start qmail.  inetd or supervise?  contents of
run files?  what command yields those errors?  di it ever work, or is this a
new install?  etc, etc...




--joshua.




Re: Looking for a good Maildir capable web based mail client

2001-06-25 Thread Rick Stanley

It's not the fanciest, but there is sqwebmail from Inter7.  It does handle 
Maildir's very well.  The URL is:

http://inter7.com/freesoftware/index.html

I also use their courier-imap, qmailadmin, and vpopmail.  I have been very 
happy with the software and the support.

Rick

At 08:57 AM 6/25/2001 -0400, David Gartner wrote:
Hey all,

Up until we switched over to qmail, we were using some web based mail 
client.  It will only work
with Mbox format, and reads directly from the file itself.  Of course, 
when we switched over, we
switched to Maildir, so the old mail client doesn't work anymore.  The 
only web based mail we can
find is CWMail, and it's rather pricey, and not so easy on the eyes.  I've 
seen several webmail
programs out there, but don't know which to chose.  Is anyone currently 
using any good web mail
software they would suggest?  Thanks for the help.

David





Re: SMTP down

2001-06-25 Thread Ricardo SIGNES

In a message dated Mon, Jun 25, 2001 at 02:26:09PM +0200, rosita wrote:
 I'm using qmail but i'm not able to receive or send mail because smtp is down
 What can i do , and what is the reason?I've tried to telnet localhost 25 or telnet 
name.domain 25
 but i'm not able to connect.

I think you need to take a minute and decide if you really want to run qmail, 
rather than just use someone else's mail server.  This may be a very simple 
problem, and you just need to do some simple things to figure it out.

Run `ps -ax` and see if qmail-smtpd is running.  If not, restart it and
consider running it under daemontools.

-- 
rjbs

 PGP signature


Re: anti-virus program for Qmail

2001-06-25 Thread ??

hi,

I would like to know whether there are FREE anti-virus patch for qmail?

thanks a lot..

vincent
- Original Message - 
From: Chris Johnson [EMAIL PROTECTED]
To: Alex Tsang [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, June 24, 2001 10:58 PM
Subject: Re: anti-virus program for Qmail





Re: problem starting qmail

2001-06-25 Thread Adrian Ho

On Mon, Jun 25, 2001 at 01:59:45PM +0100, pat moffatt wrote:
 svok: fatal: unable to chdir to /services/qmail-send: file does not exist qmail-send 
service no running

There's at least one (and possibly two) typos in each of your log lines,
and quite possibly some editing as well.  So how are we supposed to trust
this info you're giving us?

Try again (ie. cut-n-paste / grep / use an editor / whatever).  To help you,
we need the Truth, the Whole Truth, and Nothing But The Truth.

- Adrian



Re: courier-imapd, folders and delivery

2001-06-25 Thread Peter Schuller


 There is a courier-imap mailing list!  Join it!


Thanks! I found it yesterday - after having sent my question of course 
(it's the natural order of things).


 In the meantime, it's pretty simple.  Set $MAILDIR and $DEFAULT to $HOME/Maildir/

Actually, my problem was that I wanted procmail or maildrop (maildrop in 
thsi case) to deliver to subfolders, and not just the Maildir (I phrased 
my question incorrectly). I've since discovered that courier doesn't use 
some magic format, but the sub folders where dot files (dot 
directories). I just didn't see them with an ls -l. Some times the 
hidden dot file approach works *too* well :)


-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrival: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org





RAV AntiVirus for Qmail

2001-06-25 Thread Mihai Serban

Dear Qmail users,
GeCAD Software is glad to announce you the last release of
RAV AntiVirus for Mail Servers: http://www.ravantivirus.com
The product is available for: Linux, FreeBSD, OpenBSD.

Subject: 
1. RAV AntiVirus for Mail Servers new release 
2. Protect critical company data! 
3. Improve your ISP services! 
4. Make RAV work your way! 
5. New and flexible licensing scheme! 
6. Update services 
7. Our technical support is here for you! 
8. Discussion lists and info 

1. RAV AntiVirus for Mail Servers protects your e-mail stream directly 
from the mail server. It doesn't matter in which format type the 
messages are sent and received, or how many attachments they have: 
deep down in your Mail Server, RAV AntiVirus will be watching, 
detecting and removing all threats. 

2. Protect critical company data! 
Defend your critical data from viruses before they can penetrate and 
spread in your company! Big corporations with demanding security 
policies and small companies with limited budgets can both protect 
their internet traffic at a proper cost. No matter the size of your 
company you can acquire different packages, depending on your needs of 
protection. 

3. Improve your ISP services! 
RAV AntiVirus is the perfect solution for the ISP's Mail Servers, which 
are dealing with heavy traffic and large amount of clients. RAV 
AntiVirus can improve the services to your customers by scanning the 
email flow and add protection against viruses for the domains hosted, 
allowing you to purchase security on a growing basis through a special 
acquisition program. 

4. Make RAV work your way! 
RAV AntiVirus for Mail Servers is flexible and scalable, allowing 
independent configuration of the scanning module, fully independent 
from the Mail Server. In the configuration file you can customize the 
actions to be taken by RAV when detecting a virus - clean, rename, 
delete, ignore - and benefit of advanced features, like warning the 
sender, warning the target or warning a third party (for example server 
administrator) when detecting an external threat. Also, all the 
messages generated by RAV AntiVirus can be edited to fit your language 
and the security policy of your company. 

5. New and flexible licensing scheme! 
The more you buy - the less you pay for each internet domain! RAV 
AntiVirus for Mail Servers can be purchased through an exceptionally 
scalable Licensing Program, with a special price depending of the 
number of domains protected by RAV and unlimited number of mailboxes. 
You can buy the number of licenses that suites you better, and, in time, 
as your company grows, you can acquire additional licenses.  The 
Licensing scheme includes 1 year Free Updates and full technical 
support. 

6. Update services! 
When purchasing a RAV product, the license includes one year Updates. 
The Updates includes: 
- new virus signatures 
- engine extensions 
- completely new versions of the product 
- availability of the technical support services 
By purchasing the update you will always have the latest version of the 
product, with the most up to date virus signature database. 
You can extend the update services by purchasing Update Extension at 
only 20% of the product value per annum! 

7. You are not alone - our technical support is here for you! 
RAV AntiVirus Desktop license includes Technical Support by: 
- e-mail; 
- phone support, 24 x 7 x 365, offered by your local distributor or by 
GeCAD Software; 
- participating to specific Discussion Lists. 
- You can even have a Personal Technical Advisor at your disposal for an 
additional fee. 

8. We invite you to join  our discussion lists: 
http://www.ravantivirus.com/browse.php/lists/about 

For any additional information, or any suggestion (technical or
commercial),
please contact us at: [EMAIL PROTECTED]

Best regards,
Mihai Serban
-- 
Software Developer - GeCAD The Software Company
Tel./Fax: +40-1-321.78.03; Hotline: +40-1-321.78.59;
Please visit http://www.gecadsoftware.com; http://www.ravantivirus.com



Re: RAV AntiVirus for Qmail

2001-06-25 Thread peter green

* Mihai Serban [EMAIL PROTECTED] [010625 11:33]:
 Dear Qmail users,
[snip]

Dear Mihai,

Please add me to your list of people who will never use your service or
software. Your advertisement is NOT appreciated on this mailing list,
certainly not by me and likely not by others.

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
Many computer scientists have fallen into the trap of trying to define
languages like George Orwell's Newspeak, in which it is impossible to
think bad thoughts. What they end up doing is killing the creativity
of programming.
--- Larry Wall




YALQ (Yet another LDAP Question)

2001-06-25 Thread Andrew J Herbert

I've seen variations on this posted, and never seen any answers (Bret
Martin, you still there?) I am tasked to try and implement the following.

Qmail mail system, utilising one large NFS storage for mail, which is
served by a farm of satellite linux boxes taking in mail and running IMAP
and POP services, both insecure and secure, utilising separate passwords
for the secure and insecure services, all users have actual accounts but
are held in an LDAP database.

So I have pam_ldap and nss_ldap setup with two sets of libraries and
config files, one for secure and one for insecure services. I have hacked
the UW IMAP server further to allow me to have two different servers,
using different PAM config files to allow lookups in different LDAP
branches (secure and insecure), all this works, and then I discovered
qmail seems to use some odd lookup mechanism for users. It won't use
nss_ldap and doesn't see any of the users.

I've now played with qmail_ldap, but fail to see that I can implement it
in the same structure as everything else, as it seems primarily geared
toward 'virtual users'. 

Help.

herbie

__
This is an email, an electronic Post-It note. 
Keep your Inbox tidy and dispose of it in a timely fashion.




Re: YALQ (Yet another LDAP Question)

2001-06-25 Thread Mike Jackson

Andrew J Herbert wrote:

 I've now played with qmail_ldap, but fail to see that I can implement it
 in the same structure as everything else, as it seems primarily geared
 toward 'virtual users'.
 

 You want qmail-ldap. If these are mail servers, why do users need to
have a system account? They aren't administrators. I run several
qmail-ldap servers, with only system accounts for the IT staff. Even if
they need a system account, you can store their mail in
/var/qmail/maildirs owned and grouped to the qmail-ldap daemons, and
make them use pine over IMAP or pop. 

 UW-Imap is a resource HOG. You have to patch it twice to get it to work
in your setup, and you have to recompile it when you make configuration
changes. Low tech. Courier Imap has native support for ldap
authentication and maildirs, has low memory requirements, and can be
reconfigured without recompiling.

Regards,
Mike



Re: YALQ (Yet another LDAP Question)

2001-06-25 Thread Andrew J Herbert

It's a nice idea, and we did consider it, and play with it but it doesn't
work for a few reasons.

1. We use Eudora as a mail client, it's not my choice unfortunately, and
it thrashes Courier, whilst UW doesn't break a sweat, due to the odd
way Eudora implements mail filters (using UID's).

2. We have to have people having logons in the system, this isn't just
email we're talking about, hence why I said I want to use real users, and
not virtual users. Also we run a web based front end to procmail for mail
filtering that has to be 'grannied' in.

Anyone know how to get qmail-ldap compliant with RFC2307?

How does qmail look up local users anyway? Why won't it work with
nss_ldap?

herbie

__
This is an email, an electronic Post-It note. 
Keep your Inbox tidy and dispose of it in a timely fashion.

On Mon, 25 Jun 2001, Mike Jackson wrote:

 Andrew J Herbert wrote:
 
  I've now played with qmail_ldap, but fail to see that I can implement it
  in the same structure as everything else, as it seems primarily geared
  toward 'virtual users'.
  
 
  You want qmail-ldap. If these are mail servers, why do users need to
 have a system account? They aren't administrators. I run several
 qmail-ldap servers, with only system accounts for the IT staff. Even if
 they need a system account, you can store their mail in
 /var/qmail/maildirs owned and grouped to the qmail-ldap daemons, and
 make them use pine over IMAP or pop. 
 
  UW-Imap is a resource HOG. You have to patch it twice to get it to work
 in your setup, and you have to recompile it when you make configuration
 changes. Low tech. Courier Imap has native support for ldap
 authentication and maildirs, has low memory requirements, and can be
 reconfigured without recompiling.
 
 Regards,
 Mike
 




Re: YALQ (Yet another LDAP Question)

2001-06-25 Thread Charles Cazabon

Andrew J Herbert [EMAIL PROTECTED] wrote:
 
 How does qmail look up local users anyway? Why won't it work with
 nss_ldap?

If the qmail-users mechanism is configured, that's used -- `man qmail-users`
for details.  Fallback is qmail-getpw, which relies on the system's
implementation of the getpwnam() function.

stock qmail doesn't know anything about LDAP.  I don't know if LDAP-patched
qmail gets user information in a different way.  If not, you could dump your
LDAP users information through qmail-pw2u and qmail-newu to use the
qmail-users mechanism.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: YALQ (Yet another LDAP Question)

2001-06-25 Thread Mike Jackson

Andrew J Herbert wrote:
 
 1. We use Eudora as a mail client, it's not my choice unfortunately, and
 it thrashes Courier, whilst UW doesn't break a sweat, due to the odd
 way Eudora implements mail filters (using UID's).

Yes, I have encountered this with 2-3 of my users who just refuse to
leave Eudora. It's not a problem with this number, but if everybody used
it then it would be.
 
 2. We have to have people having logons in the system, this isn't just
 email we're talking about, hence why I said I want to use real users, and
 not virtual users. Also we run a web based front end to procmail for mail
 filtering that has to be 'grannied' in.

Fine if people log on then, but they don't need to have their maildir
stored in their home directory. Set your global pine configuration to
use IMAP instead of accessing an mbox. This takes away fast text
grepping, but provides alot of ease for administration. Qmail-LDAP will
work in this environment.

Regards,
Mike



Help with Installation

2001-06-25 Thread Cordell Bourne

I have followed the directions in the Life with Qmail doc for installing Qmail
and all appears to be working expcept that I can't get mail into my INBOX.

Here is what my system had before I started...

SunOS 5.7
U of W IMAP server
Sendmail

There are about 2000+ users on the server


I have been able to telnet to the SMTP service and send a message from myself to
myself without errors, but the message never arrives in my INBOX.

What do I need to check to make sure mail is getting delivered to where I want
it?

Cordell Bourne
Sr. Software Test Engineer
Campus Pipeline, Inc.




Re: YALQ (Yet another LDAP Question)

2001-06-25 Thread Andrew J Herbert

Aah, now this is an interesting thing, I can run qmail-getpw from the
command line, and it finds all the correct information, using the LDAP
lookup (this is using regular qmail with nss_ldap), the permissions on the
users home directory look OK (owned by user 700) as does the Maildir and
there is a .qmail file (owned by user 644) which contains ./Maildir/ so
why isn't mail being delivered?

Suggestions anyone?

herbie

__
This is an email, an electronic Post-It note. 
Keep your Inbox tidy and dispose of it in a timely fashion.

On Mon, 25 Jun 2001, Charles Cazabon wrote:

 Andrew J Herbert [EMAIL PROTECTED] wrote:
  
  How does qmail look up local users anyway? Why won't it work with
  nss_ldap?
 
 If the qmail-users mechanism is configured, that's used -- `man qmail-users`
 for details.  Fallback is qmail-getpw, which relies on the system's
 implementation of the getpwnam() function.
 
 stock qmail doesn't know anything about LDAP.  I don't know if LDAP-patched
 qmail gets user information in a different way.  If not, you could dump your
 LDAP users information through qmail-pw2u and qmail-newu to use the
 qmail-users mechanism.
 
 Charles
 -- 
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 ---
 





Re: Help with Installation

2001-06-25 Thread Remo Mattei

Cordell Bourne wrote:

 I have followed the directions in the Life with Qmail doc for installing Qmail
 and all appears to be working expcept that I can't get mail into my INBOX.

 Here is what my system had before I started...

 SunOS 5.7
 U of W IMAP server
 Sendmail

 There are about 2000+ users on the server

 I have been able to telnet to the SMTP service and send a message from myself to
 myself without errors, but the message never arrives in my INBOX.

 What do I need to check to make sure mail is getting delivered to where I want
 it?

 Cordell Bourne
 Sr. Software Test Engineer
 Campus Pipeline, Inc.

did you specify that you are going to use mailbox? You may want to check that since
you may use the Maildir option and it will now work with university of wash. they
do not support that. I suggest to use Courier IMAP.

REMO





RE: Help with Installation

2001-06-25 Thread Lukas Beeler



 -Original Message-
 From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 7:39 PM
 To: [EMAIL PROTECTED]
 Subject: Help with Installation


 I have followed the directions in the Life with Qmail doc for
 installing Qmail
 and all appears to be working expcept that I can't get mail
 into my INBOX.
which delivery type do you use ?
Maildir ?
mbox in $HOME ?
mbox in /var/spool/mail ?
most current mail things do not support Maildir, which is the best of
the delivery methods [i think :)]
probably you should use the mbox format in /var/spool/mail for full
sendmail compatibility in this case
probably you want install the .forward packet, to make the switch more
transparent to the user





Re: Help with Installation

2001-06-25 Thread Andrew J Herbert

Well check your maillog and see if there's an error in there, is the
message in the queue still, maybe qmail-send isn't running, in which case
it won't be delivered.

There are oh so many ways it can go wrong :)

Oh and correct permissions on the users homedir, and a .qmail file help
too.

__
This is an email, an electronic Post-It note. 
Keep your Inbox tidy and dispose of it in a timely fashion.

On Mon, 25 Jun 2001, Cordell Bourne wrote:

 I have followed the directions in the Life with Qmail doc for installing Qmail
 and all appears to be working expcept that I can't get mail into my INBOX.
 
 Here is what my system had before I started...
 
 SunOS 5.7
 U of W IMAP server
 Sendmail
 
 There are about 2000+ users on the server
 
 
 I have been able to telnet to the SMTP service and send a message from myself to
 myself without errors, but the message never arrives in my INBOX.
 
 What do I need to check to make sure mail is getting delivered to where I want
 it?
 
 Cordell Bourne
 Sr. Software Test Engineer
 Campus Pipeline, Inc.
 




RE: Help with Installation

2001-06-25 Thread Joshua Nichols


 I have been able to telnet to the SMTP service and send a message
 from myself to

So smtp is running, are you sure that it's qmail-smtpd?  Did you remember to
kill sendmail?

 What do I need to check to make sure mail is getting delivered to
 where I want it?

Did you properly configure /var/qmail/users/assign?

You should also check your home directory on the server.  Is there a
Maildir?  does the new directory contained delivered but unretrieved
messages?  Remo could well have a point about UW IMAP, if that is indeed
what you're still using.  Did you install a pop server?  Is it working?

What do your logs say?

If you aren't getting any error messages, and the emails aren't bouncing,
then they must be going somewhere?

Please post your /var/qmail/rc file (and probably at least a sample of your
assign file--we don't need 2000+ essentially identical lines) and tell us
both how you are checking for messages, and where on the server you are
expecting them to show up.  Then maybe someone will be able to tell you why
you're wrong, and where they're actually going.

Oh yeah, and what Andrew said... permissions and ownership are crucial with
qmail.



--joshua.





RE: Help with Installation

2001-06-25 Thread Lukas Beeler

sendmail uses mbox delivery to /var/spool/mail
qmail must be specially configured to use this delivery method
[as in lwq described, use the ./Mailbox delivery method and symlink them
all to /var/spool/mail/]
nice job with 2000 users :)
now, there is a second question:
do your users use just imap to get their mail, or log they on the server
to get it with a MUA like pine ?
in first case, it would be much better if you use the ./Maildir/ method
and courier imap


 -Original Message-
 From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 7:59 PM
 To: Lukas Beeler
 Subject: Re: Help with Installation




 Lukas Beeler wrote:

   -Original Message-
   From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
   Sent: Monday, June 25, 2001 7:39 PM
   To: [EMAIL PROTECTED]
   Subject: Help with Installation
  
  
   I have followed the directions in the Life with Qmail doc for
   installing Qmail
   and all appears to be working expcept that I can't get mail
   into my INBOX.

 
  which delivery type do you use ?

 What ever is standard with a typical Sun OS 5.7 installation
 with sendmail.

 How can I tell what format I was using with sendmail.  Is
 there a file I can
 look at to see what is set?

 
  Maildir ?
  mbox in $HOME ?
  mbox in /var/spool/mail ?
  most current mail things do not support Maildir, which is
 the best of
  the delivery methods [i think :)]
  probably you should use the mbox format in /var/spool/mail for full
  sendmail compatibility in this case
  probably you want install the .forward packet, to make the
 switch more
  transparent to the user







Re: Wrong Server Name in Qmail Header?

2001-06-25 Thread Dave Sill

A A [EMAIL PROTECTED] wrote:

Whenever my qmail server sends someone an email, the
following line appears in the header:

Received: from mail.mydomain.com
(old_name.mydomain.com [216.216.216.216] (may be
forged))

However, recently I changed my server name from
old_name.mydomain.com to new_name.mydomain.com.

Is there anything I can do to let qmail recognize the
new server name? Is my only option a recompile or is
there a file I can edit?

grep old_name /var/qmail/control/*

Then change all occurrences of old_name to new_name and restart qmail.

-Dave



RE: Help with Installation

2001-06-25 Thread Lukas Beeler

 -Original Message-
 From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 9:01 PM
 To: Lukas Beeler
 Subject: Re: Help with Installation


 This is a test environment.  What we are simulating here is a
 web client
 accessing users IMAP mail boxes.  Hwever we have to test
 varius MTAs in our
 environment and we are just getting around to qmail.  I am
 not a UNIX guru so
 this thing is driving me nuts.
neither am i :)

 I just rechecked my rc file and I was missing a qmail-start \
 line.  I added
 that in and now mail is showing in my INBOX!!!
congrats

 Now I just have to figure out the rcpthosts file.  I have
 several mail servers
 in our test system of various brands etc... they are all in
 the same domain, so
 is there a way to do a wildcard rcpt setting? say something like

 *.subdomain.doamin.com?
hmm, iam not sure what you want to do
do you mean relaying ?
in my rcpthosts is just
domain.com
mail.domain.com
hostname.domain.com
means, it accepts mail for those people from everyone
in my /etc/tcp.smtp
there is 127 and 192
means that localhost und my private lan can relay to everywhere
in the tcp.smtp you can set wildcards, but i don't think you can in the
rcpthosts [iam not sure]
iam not really sure what you want

 Thanks again for your help.  It forced me to back track and
 check some things
no problem and sorry for my english

 --Cordell




 Lukas Beeler wrote:

  sendmail uses mbox delivery to /var/spool/mail
  qmail must be specially configured to use this delivery method
  [as in lwq described, use the ./Mailbox delivery method and
 symlink them
  all to /var/spool/mail/]
  nice job with 2000 users :)
  now, there is a second question:
  do your users use just imap to get their mail, or log they
 on the server
  to get it with a MUA like pine ?
  in first case, it would be much better if you use the
 ./Maildir/ method
  and courier imap
 
   -Original Message-
   From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
   Sent: Monday, June 25, 2001 7:59 PM
   To: Lukas Beeler
   Subject: Re: Help with Installation
  
  
  
  
   Lukas Beeler wrote:
  
 -Original Message-
 From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 7:39 PM
 To: [EMAIL PROTECTED]
 Subject: Help with Installation


 I have followed the directions in the Life with Qmail doc for
 installing Qmail
 and all appears to be working expcept that I can't get mail
 into my INBOX.
  
   
which delivery type do you use ?
  
   What ever is standard with a typical Sun OS 5.7 installation
   with sendmail.
  
   How can I tell what format I was using with sendmail.  Is
   there a file I can
   look at to see what is set?
  
   
Maildir ?
mbox in $HOME ?
mbox in /var/spool/mail ?
most current mail things do not support Maildir, which is
   the best of
the delivery methods [i think :)]
probably you should use the mbox format in
 /var/spool/mail for full
sendmail compatibility in this case
probably you want install the .forward packet, to make the
   switch more
transparent to the user
  
  







tcpserver: relay iface question

2001-06-25 Thread GARGIULO Eduardo INGDESI

Hi all.

How can I tell tcpserver to relay clients connected
from an interface instead of ip addresses?

--yapedu



Re: tcpserver: relay iface question

2001-06-25 Thread Charles Cazabon

GARGIULO Eduardo INGDESI [EMAIL PROTECTED] wrote:
 
 How can I tell tcpserver to relay clients connected from an interface
 instead of ip addresses?

You can wildcard IP addresses on byte boundaries -- i.e., the following entry:

  10.10.:allow,RELAYCLIENT=

would allow the 16-bit subnet 10.10.x.x to relay.  This should probably be
good enough.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Why conf-split prime?

2001-06-25 Thread Dave Sill

Ian Lance Taylor [EMAIL PROTECTED] wrote:

Suppose the input numbers are 2 4 6 8 10 12.  Suppose the hash size is
8.  Then the buckets are 2 4 6 0 2 4.  Note the bad distribution.
Suppose the hash size is 7.  Then the buckers are 2 4 6 1 3 5.  Note
the good distribution.

OK, thanks, that finally clicked. Now you know why I'm not a
mathematician or computer scientist. :-)

-Dave



Re: tcpserver: relay iface question

2001-06-25 Thread Felix von Leitner

Thus spake GARGIULO Eduardo INGDESI ([EMAIL PROTECTED]):
 How can I tell tcpserver to relay clients connected
 from an interface instead of ip addresses?

You bind one tcpserver on each interface and give the one on the
relay-enabled interface a rule set that always matches.

It's that easy.



RE: Wrong Server Name in Qmail Header?

2001-06-25 Thread Campos Mario

I had this problem before and I ended up just executing that ./config script
again, which is located where you compiled qmail from. That took care of
updating all the files necessary to make it work with the new domain name.
Also if your DNS server is not configured properly, you can try running
./config-fast the.full.hostname where the.full.hostname is your qualified
domain name like mail.newdomain.com.

-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 25, 2001 11:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Wrong Server Name in Qmail Header?


A A [EMAIL PROTECTED] wrote:

Whenever my qmail server sends someone an email, the
following line appears in the header:

Received: from mail.mydomain.com
(old_name.mydomain.com [216.216.216.216] (may be
forged))

However, recently I changed my server name from
old_name.mydomain.com to new_name.mydomain.com.

Is there anything I can do to let qmail recognize the
new server name? Is my only option a recompile or is
there a file I can edit?

grep old_name /var/qmail/control/*

Then change all occurrences of old_name to new_name and restart qmail.

-Dave




Re: tcpserver: relay iface question

2001-06-25 Thread Henning Brauer

On Mon, Jun 25, 2001 at 09:50:07PM +0200, Felix von Leitner wrote:
 Thus spake GARGIULO Eduardo INGDESI ([EMAIL PROTECTED]):
  How can I tell tcpserver to relay clients connected
  from an interface instead of ip addresses?
 
 You bind one tcpserver on each interface and give the one on the
 relay-enabled interface a rule set that always matches.

If, and only if, you make sure no traffic for this interface can come in
through the other interface.

I think charles suggestion is easier. 

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Resent-Cc: header

2001-06-25 Thread John Conover


Some mailing list agents insert a 'Resent-Cc: recipient list not
shown: ;' header in e-mail that they distribute.

If such a message is re-distributed by qmail, (say, after reception
and filtering by procmail, and forwarded using qmail as the MTA,)
qmail reads the 'Reset-Cc: ' header, and tries to distribute the
e-mail to ;@mydomain.com.

It doesn't do it with 'Cc: ' headers, nor if the 'Resent-Cc: ' record
is removed or renamed.

If the 'Resent-Cc: ' header is changed to 'Resent-Cc:
[EMAIL PROTECTED]', then [EMAIL PROTECTED] will receive a
copy of e-mail send to [EMAIL PROTECTED]

It seems as though the 'Resent-Cc: ' header has special meaning to
qmail when it reads the header.

FWIW,

John

-- 

John ConoverTel. 408.370.2688  [EMAIL PROTECTED]
631 Lamont Ct.  Fax. 408.379.9602  http://www.johncon.com/
Campbell, CA 95008  Cel. 408.772.7733  




Re: Resent-Cc: header

2001-06-25 Thread John Conover


Sorry, its a VM and RMAIL issue. When using the resend() function, if
a 'Resent-Cc: ' field is in the message, the MUA will copy all listed
in the field.

Apologies.

John

John Conover writes:
 
 Some mailing list agents insert a 'Resent-Cc: recipient list not
 shown: ;' header in e-mail that they distribute.
 
 If such a message is re-distributed by qmail, (say, after reception
 and filtering by procmail, and forwarded using qmail as the MTA,)
 qmail reads the 'Reset-Cc: ' header, and tries to distribute the
 e-mail to ;@mydomain.com.
 
 It doesn't do it with 'Cc: ' headers, nor if the 'Resent-Cc: ' record
 is removed or renamed.
 
 If the 'Resent-Cc: ' header is changed to 'Resent-Cc:
 [EMAIL PROTECTED]', then [EMAIL PROTECTED] will receive a
 copy of e-mail send to [EMAIL PROTECTED]
 
 It seems as though the 'Resent-Cc: ' header has special meaning to
 qmail when it reads the header.
 
-- 

John ConoverTel. 408.370.2688  [EMAIL PROTECTED]
631 Lamont Ct.  Fax. 408.379.9602  http://www.johncon.com/
Campbell, CA 95008  Cel. 408.772.7733  




lesoleil.com is starting to see the light

2001-06-25 Thread Alex Pennace

After spamming everyone I could find at lesoleil.com to tell them
that they are prominently listed on rfc-ignorant.org and qmail list
members are about to make a deal with the mafia to stop their
stupidity, someone woke up and claimed to have established an alias
for postmaster.

lesoleil.com may still scatter bounces hither and yon, but I can't
move mountains.




Re: lesoleil.com is starting to see the light

2001-06-25 Thread Henning Brauer

On Mon, Jun 25, 2001 at 05:39:40PM -0400, Alex Pennace wrote:
 After spamming everyone I could find at lesoleil.com to tell them
 that they are prominently listed on rfc-ignorant.org and qmail list
 members are about to make a deal with the mafia to stop their
 stupidity, someone woke up and claimed to have established an alias
 for postmaster.
 lesoleil.com may still scatter bounces hither and yon, but I can't
 move mountains.

Thanks for your efforts.
I wonder who operates servers there. their logs must be full of errors and
they must receive more bounces than we can imagine.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Any pointers ?

2001-06-25 Thread Iain Morrison

I know this is not strictly on topic, but

I have qmail setup running with qmail-scanner, supervise  courier-imap on 
top of a bog standard RedHat 7.1 linux box (kernel 2.4.2 I think)

The problem I have is that when people are using imap to check mail I can 
only have about 40 connections at once to the server before it refuses to 
accept an more, I have about 80 - 90 connections are needed at all times on 
this system.

Any pointers as to what config file(s) I should alter to enable more 
concurrent user access to imap?

Any help is gratefully apprecated.

TIA, Iain Morrison
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: Any pointers ?

2001-06-25 Thread Henning Brauer

On Mon, Jun 25, 2001 at 11:29:41PM +0100, Iain Morrison wrote:
 The problem I have is that when people are using imap to check mail I can 
 only have about 40 connections at once to the server before it refuses to 
 accept an more, I have about 80 - 90 connections are needed at all times on 
 this system.

sounds like the concurrency limit of tcpserver. courier imap has a tcpserver
like app (though it runs fine under tcpserver), don't remember its name now.
have a look on your courier imap start script.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



qmail-injecting a message with 50K Bcc:

2001-06-25 Thread dan . kelley


hi-

i'm trying to send a message to a list of approx. 50K email addresses.  i 
figured that the best way to do this was to use qmail-inject with the 50K 
addresses listed in one giant Bcc: line. 

i then tried to send the message like so:

/var/qmail/bin/qmail-inject  the_message

which results in:

qmail-inject: fatal: failed to parse this line: 
Bcc: .

i'm guessing that the line is just too long for qmail-inject.  i checked the 
manpage for qmail-inject and the archives, but couldn't find anything that 
would indicate that qmail-inject has a line-length limit. 

if there is indeed a silent limit on the length of the line, are there any 
suggestions on how to best approximate what the method above would do (1 copy 
of the message in the remote queue; not more than one address listed in the 
Delivered-To: field)?

Thanks-

Dan

 



Re: qmail-injecting a message with 50K Bcc:

2001-06-25 Thread Mike Jackson

dan.kelley wrote:
 
 hi-
 
 i'm trying to send a message to a list of approx. 50K email addresses.  i
 figured that the best way to do this was to use qmail-inject with the 50K
 addresses listed in one giant Bcc: line.

Wrong. Ezmlm is what you need. It's a high speed mailing list manager,
and with the qmail-verh patch you can have individual addressing. You
can also take input from a text file of one address per line when
subscribing the list members.

Mike



Re: qmail-injecting a message with 50K Bcc:

2001-06-25 Thread Daniel Kelley


 Wrong. Ezmlm is what you need. It's a high speed mailing list manager,
 and with the qmail-verh patch you can have individual addressing. You
 can also take input from a text file of one address per line when
 subscribing the list members.

does this hold true for one-time mailings?  i'm sending a very dry email
detailing the ownership change of a corportaion, so i can't forsee many
responses (bounces are, of course, another story).

the reason that i originally tried to do this with qmail-inject instead of
elmlm was that i never saw a need to have list-like behavior (replies,
postings,etc).  that being tha case, is ezmlm still the best option?

thanks-

dan 





[Fwd: bad gid being passed?]

2001-06-25 Thread Amanda

Still looking for suggestions on completely uninstalling qmail.
I've tried just about everything I can think of, from the clever to
the brute-force, and still can't get the darn program completely
uninstalled.

grrr...

=)
Amanda




I'm seeing a rather bizarre problem with qmail, or perhaps the
interaction between qmail and Mailman.

I'm running Mandrake 8 with qmail 1.03, Mailman 2.0.5, apache 1.3.20,
and xinetd.

When I originally set up qmail, I set up the qmail and nofiles groups,
and the three respective users in each group. I doublechecked the
accuracy and existence of these users and groups later, when I was
troubleshooting another issue (which turned out to be unrelated to
users/groups), so I know that at some point, these were correct.

I installed and configured Mailman, but when I went to send a test
message to the mailing list, I started getting the following errors in
my logs:
Mailman mail-wrapper: Failure to exec script. WANTED gid 400, GOT
gid 401. (Reconfigure to take 401?)
qmail: 992375092.776089 delivery 3:
Failure_to_exec_script._WANTED_gid_400,_GOT_gid_401.__(Reconfigure_to_take_401?)/

After much poking and prodding (trying to reconfigure mailman with a
different gid, etc) I went back to look at the users and groups and
saw that the alias user was no longer assigned to the right group.
In fact, it was assigned to group 401, the existence of which appears
to be limited to the details of the alias user.

I reassigned the alias user to its right group, reconfigured and
reinstalled mailman, and the mailing list messages were still failing,
with the same error. It was at this point that I came to the
conclusion that it was not in fact Mailman that was the problem, but
most probably qmail.

I attempted to reconfigure/reinstall qmail with no success: the alias
user is now appearing in the right group, but somewhere the gid 401 is
still being passed when trying to send messages to the mailing list.

In frustration at this point, I removed the install directories of
both Mailman and qmail, removed their source directories, removed the
original tarballs, removed their users and groups  redownloaded
both programs, and started again.

And I'm still getting the same error.
Okay, so I know I missed something in the process of reinstalling or
reconfiguring qmail. The question is, what did I forget to remove or
change? Any ideas on how to fix this problem would be greatly
appreciated.

Thanks,
=)
Amanda






Re: [Fwd: bad gid being passed?]

2001-06-25 Thread Greg White

If you installed from source, simply rm '-rf /var/qmail'. Use vipw so
that /etc/passwd and friends all agree as to what is what, unpack a
clean tarball, and run 'make  make setup check'. Reconfigure to taste.
Serves 1-millions. ;)

(If you installed via some other method, it probably has its own oddball
way of doing things, like e.g. rpm --ugh).

GW

On Mon, Jun 25, 2001 at 05:01:50PM -0700, Amanda wrote:
 Still looking for suggestions on completely uninstalling qmail.
 I've tried just about everything I can think of, from the clever to
 the brute-force, and still can't get the darn program completely
 uninstalled.
 

-- 
Greg White



qmailanalog usage

2001-06-25 Thread Mark Douglas
Title: qmailanalog usage





I'm trying to figure out how I should get the stats I want out of qmailanalog, along with some other things I'd like to do. My main issue is, if I wanted to do a daily log rotation, would it be feasible to do the following (using multilog): Set my logfile size to 100MB; at end of day, have a cron job run that copies the current file to another, dated file; echo  /var/log/qmail/current to empty out the log file and start fresh. I realize it's not pretty, but the real issue is, would it cause problems?

Thanks,


Mark Douglas - Architecture
Sympatico-Lycos Inc.
All your base are belong to us! Make your time!





Re: qmail-injecting a message with 50K Bcc:

2001-06-25 Thread Charles Cazabon

dan . kelley [EMAIL PROTECTED] wrote:
 
 i'm trying to send a message to a list of approx. 50K email addresses.  i 
 figured that the best way to do this was to use qmail-inject with the 50K 
 addresses listed in one giant Bcc: line. 

Funny, I wouldn't have reached that conclusion myself :).

 i then tried to send the message like so:
 
 /var/qmail/bin/qmail-inject  the_message
 
 which results in:
 
 qmail-inject: fatal: failed to parse this line: 
 Bcc: .
 
 i'm guessing that the line is just too long for qmail-inject.  i checked the 
 manpage for qmail-inject and the archives, but couldn't find anything that 
 would indicate that qmail-inject has a line-length limit. 

Do the same message, injected the same way, but have each address listed on a
separate bcc: line:

From: foo
Subject: moving
Date: ...
bcc: [EMAIL PROTECTED]
bcc: [EMAIL PROTECTED]
...

Message...

Very easy to generate with a script, and you won't hit any limits (although I
never have, myself).

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: qmailanalog usage

2001-06-25 Thread Charles Cazabon

Mark Douglas [EMAIL PROTECTED] wrote:
 I'm trying to figure out how I should get the stats I want out of
 qmailanalog, along with some other things I'd like to do. My main issue is,
 if I wanted to do a daily log rotation, would it be feasible to do the
 following (using multilog): Set my logfile size to 100MB; at end of day,
 have a cron job run that copies the current file to another, dated file;
 echo  /var/log/qmail/current to empty out the log file and start fresh. I
 realize it's not pretty, but the real issue is, would it cause problems?

Yes -- each message has multiple log lines associated with it.  You'll likely
get some messages which cross over your arbitrary per-night boundaries.  qmail
won't be able to include those messages in its analysis if you just analyze
one log at a time.

However, it's probably going to have a negligible impact on the overall
statistics.  I posted a shell script to this list last week which does exactly
what you want, suitable for use as a nightly cron job.  And because it uses
qlogselect from Bruce Guenter's qlogtools package, you don't need to rotate
the scripts nightly to split the statistics up per-day -- qlogselect will
automatically extract the log entries for a time period you specify.  The
script filters it down to one day.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: qmailanalog usage

2001-06-25 Thread Peter van Dijk

On Mon, Jun 25, 2001 at 06:56:47PM -0600, Charles Cazabon wrote:
[snip]
 Yes -- each message has multiple log lines associated with it.  You'll likely
 get some messages which cross over your arbitrary per-night boundaries.  qmail
 won't be able to include those messages in its analysis if you just analyze
 one log at a time.

That's why qmailanalog wants to write to an fd (I think 5) and read
from another (I think 6). It saves state of all uncompleted messages
to this fd, and expects this saved state to be passed to it on this
other fd.

I probably have the fd numbers wrong, but the drift is that
qmailanalog can do this just fine without losing *any* messages.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: qmailanalog usage

2001-06-25 Thread Todd Finney

Why not let logrotated handle your log rotation, daily if you so 
desire, and call qmailanalog from a postrotate block on maillog.2?

We have a similar setup here, but we're rotating weekly.  There's a 
little perl script that calls qmailanalog and sends its output to a 
dated file (mail-report-mm-dd-ccyy.txt).   About an hour later, another 
script comes along and adds a pointer to the new file to the reports 
index.   It's only been in place for a few weeks, but it seems to be 
working fine.

That actually reminds me of another question I've been thinking 
about.  Now that I have these nifty statistics, I'd like to know how to 
interpret them.   Sure, I know what 'delivery attempts' means, but 
what's a good number for that?   How high is too high when it comes to 
average qtime?  Is there a document somewhere that outlines that?

Perhaps it's not even relevant - after all, the qmailanalog report 
seems to say more about the servers I'm sending to than my server.

cheers,
Todd



At 08:23 PM 6/25/01, Mark Douglas wrote:
I'm trying to figure out how I should get the stats I want out of 
qmailanalog, along with some other things I'd like to do. My main 
issue is, if I wanted to do a daily log rotation, would it be feasible 
to do the following (using multilog): Set my logfile size to 100MB; at 
end of day, have a cron job run that copies the current file to 
another, dated file; echo  /var/log/qmail/current to empty out the 
log file and start fresh. I realize it's not pretty, but the real 
issue is, would it cause problems?

Thanks,

Mark Douglas - Architecture
Sympatico-Lycos Inc.
All your base are belong to us! Make your time!




Can't send mail using SMTP on qmail 1.03

2001-06-25 Thread Perry Macdonald

I have two Dell laptops, an Inspiron 2500 and a Latitude C800 that can
perform all network functions, but cannot (reliably) send email to an
SMTP serverusing Outlook 2000. I have used a Linksys (NP100) and xircom 
RBEM56G-100 PCMCIA cards with similar results. On the Latitude I am able to 
send email once after rebooting and then it hangs.  I have installed a
store-bought version of Windows 2000 (not Dell's OEM version) and got
the same results. 

I put either PCMCIA card in a Compaq laptop and I can send email fine. 

If I look closely at the message that the SMTP server(qmail 1.03) receives,
I do not receive the terminator string. That is that I can see the . 
(using recordio) but do not appear to get the CR-LF.  I have tried using 
fixcrio with no luck.  If I use Netsape Communicator, I get the same 
response, but when I hit Cancel, the email goes out. 

I have about 12 other Dell
workstations of various flavors that use this server fine.  I have
another Dell Inspiron that can use the email fine with the Linksys
NP100 and the interated network card in the DELL docking station. 

If I send email using the either laptop on a subnet different from the
subnet containing the server, I can send email OK. 

Thanks in advance. Kudos to the genius who can help me with this.



Sending mail using qmail smtp

2001-06-25 Thread eddy

Hi, guys. I have installed qmail on red hat 6.2 , but until now I still use
my ISP smtp to send mail, cause I cannot use my qmail smtp. What should I do
so I can use my qmail smtp? For information my qmail server using ISP DNS.

Regards,


Eddy




Qmail Security

2001-06-25 Thread Suyanta Satria



Dear all,

i still wondering
which one is better tcpserver or tcpwrapper 
?
is there anything else is better ?

TIA


yayan


[Q] delivery log file

2001-06-25 Thread YOON, Joo-Yung

Hello,

I think I am misunderstood in qmail system.

I have a domain of my own which is dynamically dns'ed by a ISP in Korea.
It is arbago.com.

When I send an email to [EMAIL PROTECTED], it is sent from mutt,
but I can not find it in the world nor in my server.

The log file says the following.
@40003b37f37412cea4d4 starting delivery 15: msg 46607 to local [EMAIL PROTECTED]
m

I did not mean to send it as a local email because arbago.com is dynamically
dns'ed outside in the world, not in my PC.

More interesting is when I send an email to a PC in the local net.
There is jango host at an internal domain arirang, which is the server of
the local net.

And I have a user yjy at jango.arirang. ([EMAIL PROTECTED])
The log says the following.
@40003b37f3d022e4943c starting delivery 18: msg 46607 to remote [EMAIL PROTECTED]
irang
@40003b37f3d022e4abac status: local 0/10 remote 1/20
@40003b37f3d03401ca14 delivery 18: success: 10.0.0.1_accepted_message./Remot
e_host_said:_250_ok_993522722_qp_25567/

This time it is sent as a remote email, but in truth the host is in the
local network.

I think I am misunderstood a lot on qmail system.

Please help me out.

The control files are as follows.
1. defaultdomain
   bipa.arirang   (a PC in the local network)

2. locals
   bipa.arirang
   kldp.org
   arbago.com
   kornet.net

3. rcpthosts
   same as locals file

4. smtproutes
   jango.arirang:10.0.0.1
   dagem.arirang:10.0.0.10
   bipa.arirang:10.0.0.20

5. me
   arirang   (internal domain/IP address)
 
6. defaultdomain
   arirang

Warm regards,

Joo-Yung



Using qmail smtp

2001-06-25 Thread eddy

Hi, guys. I have installed qmail on red hat 6.2 , but until now I still use
my ISP smtp to send mail, cause I cannot use my qmail smtp. What should I do
so I can use my qmail smtp? For information my qmail server using ISP DNS.


Regards,


Eddy




[Q] difference between rcpthosts and locals

2001-06-25 Thread YOON, Joo-Yung

Hello,

Can anynone explain me about the difference between
rcpthosts and locals?

I ask this because I can not send emails to me.


-- 
YOON, Joo-Yung / ArBaGo Int'l
KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
Mobile +82.19.350.1369  Fax +82.32.655.855.9 Email [EMAIL PROTECTED]



Re: [Q] difference between rcpthosts and locals

2001-06-25 Thread Russell Nelson

YOON, Joo-Yung writes:
  Can anynone explain me about the difference between
  rcpthosts and locals?

The difference is subtle and confusing.  Many qmail users have
identical contents in both.  rcpthosts lists the hostnames you will
accept via smtp.  locals are the hosts by which your machine is known
to email users.  In order for your users to receive mail via smtp
addresses to that host, it must be listed in rcpthosts and locals.

If a host is in locals but not rcpthosts, then only users who send
email while logged into the machine will be able to send mail to that
host.

If a host is in rcpthosts but not locals, then qmail will go looking
for a better machine to deliver the mail to.  If there is no better
machine, then qmail will bounce the mail with the infamous
Sorry. Although I'm listed as a best-preference MX or A for that
host,\n\ it isn't in my control/locals file, so I don't treat it as
local. (#5.4.6)\n.  Qmail will go looking for an MX record, or A
record, or entry in control/smtproutes.  If it finds none, it gives
up as above.  If it finds no MX record with a lower cost, it gives up
as above.

If a host in neither rcpthosts nor locals, then qmail will not accept
mail via smtp, nor deliver any mail to that host locally.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude windows.h
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



Re: anti-virus program for Qmail

2001-06-25 Thread ??

hi,

that's for ur prompt reply.

think I should re-phrase the question:

are there any FREE antivirus scanner for qmail?

obviously, AVP isn't free for commercial or even personal use.

thanks a lot...



- Original Message -
From: Joshua Nichols [EMAIL PROTECTED]
To: ?? [EMAIL PROTECTED]
Sent: Monday, June 25, 2001 11:02 PM
Subject: RE: anti-virus program for Qmail


 FROM www.qmail.org/top.html:

 --Jason Haar wrote Qmail-Scanner (also known as scan4virus), which scans
all
 gatewayed Email for certain characteristics. It is typically used for its
 anti-virus protection functions, in which case it is used in conjunction
 with commercial virus scanners. but also enables a site to react to Email
 (at a server/site level) that contains specific strings in particular
 headers, or particular attachment filenames or types (e.g. *.VBS
 attachments). http://qmail-scanner.sourceforge.net/

 --AMaViS is A Mail Virus Scanner. http://www.amavis.org/

 --Kaspersky Lab includes qmail support for their AVP anti-virus program.
 http://www.avp.ru/



 also from www.qmail.org/top.html:

 There is a discussion list and an announcements list for qmail users,
 maintained by Dan Bernstein using qmail, of course. There's also an
archive.
 You can search it.

 archive: http://www.ornl.gov/its/archives/mailing-lists/qmail/


 In the future, please make sure you've read the FAQ and searched the
archive
 before posting a questions.  This question has been answered 3 times a day
 for the last month!  We're not kidding.  9 times out of 10 your question
has
 already been answered, and it's faster to find that answer in the
archives.


 good luck.


 --joshua.





Is it possible to use qmail-pop3d with mailbox format

2001-06-25 Thread lkhanna

Hi all,

I am using qmail-1.03-30 and its working fine as far as SMTP connection is
concern.
But i am using ipop3d for for pop daemon, which is very slow.
Is it possible to use qmail-pop3d with Mailbox format ???

Regards

Lokesh





Re: Is it possible to use qmail-pop3d with mailbox format

2001-06-25 Thread Russell Nelson

[EMAIL PROTECTED] writes:
  Hi all,
  
  I am using qmail-1.03-30 and its working fine as far as SMTP connection is
  concern.
  But i am using ipop3d for for pop daemon, which is very slow.
  Is it possible to use qmail-pop3d with Mailbox format ???

No.  Switch to Maildir format.  It's much more managable.  You can
remove unwanted emails from a user's mailbox (My email download is
taking forever.  Do I have a multi-megabyte email?  Could you delete
it?).  You can insert bulletins just by symlinking to them.  You can
delete emails which haven't been read for a certain period of time.
And it's reliable over NFS, which Mailbox isn't.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude windows.h
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



Send Only Once

2001-06-25 Thread qftang



Dear All:
 i have installed qmail-1.0.3 on solaris 5.7 
(ultra 5),but i found it doesn't work correctly in another solaris 
5.7(e450).When qmail starts up,it sends out all emails in its queue 
correctly,and then ,it can also receive email and store them in its queue,but 
never sends them out util i start qmail once again.i wander if it is something 
about difference between ultra5 and e450 architecture.

Regards

qftang

2001-6-26


Re: Send Only Once

2001-06-25 Thread Alex Pennace

On Tue, Jun 26, 2001 at 01:27:51PM +0800, qftang wrote:
 i have installed qmail-1.0.3 on solaris 5.7 (ultra 5),but i found it doesn't 
work correctly in another solaris 5.7(e450).When qmail starts up,it sends out all 
emails in its queue correctly,and then ,it can also receive email and store them in 
its queue,but never sends them out util i start qmail once again.i wander if it is 
something about difference between ultra5 and e450 architecture.

http://web.infoave.net/~dsill/lwq.html#trigger