percenthack

2001-07-27 Thread Van Liedekerke Franky

Hi,

for a specifi application, I would need percenthack to work with qmail-ldap.
I've first send my question to that list but got no answer, maybe somebody
here can point me in the right direction.

I have in my percenthack file (and in control/locals):

testdomain.be

Now when I sent a mail to:

[EMAIL PROTECTED]

I see in the qmail-smtp logs it arrives ok (using LOGLEVEL of 3, which is an
qmail-ldap feature) but in the
qmail logfiles, I see the mail is trying to be delivered to:
[EMAIL PROTECTED] (mark the underscore). Now, can anybody tell
me where that underscore comes from?

Franky




RE: I think I'm being relayed through, but I don't know how.

2001-06-08 Thread Van Liedekerke Franky

We all do someday :) I always feel stupid two minutes after I tried
convincing my boss the logic of something...


-Original Message-
From: Chris Garrigues [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 8 juni 2001 3:24
To: qmail list
Subject: Re: I think I'm being relayed through, but I don't know how. 


I'm feeling pretty stupid today.

Chris




RE: ANNOUNCE: qmail now works with the diet libc

2001-06-07 Thread Van Liedekerke Franky

Just wondering if this is the complete truth. I think most of the time
memory isn't a problem but CPU is, and I don't see/know if this diet libc is
decreasing CPU load. More concurrency leads to more memory usage but also to
more CPU susage.
Of course I could be wrong here :)

Greets,

Franky


-Original Message-
From: Felix von Leitner [mailto:[EMAIL PROTECTED]]
Sent: woensdag 6 juni 2001 22:55
To: [EMAIL PROTECTED]
Subject: ANNOUNCE: qmail now works with the diet libc

Why is this significant?  Because it allows a much larger concurrency on
the same hardware.  More POP3 users, more concurrent local and remote
deliveries, more incoming SMTP connections.




qmail and multiple MX records

2001-05-03 Thread Van Liedekerke Franky

Hi,

I have a small question: if qmail sees an MX record with multiple IP's for
the same domain, will it always use the same IP or will it do a random use
of the IP's ?
Thinking about djbdns, I know it is expected for this functionality to be in
the client (here qmail) so I wonder ...
I know it is kind of silly to implement round robin for MX records, but
that's beside the point here.

Greets,

Franky



RE: Too many Cc: patch ?

2001-04-18 Thread Van Liedekerke Franky

there's a maxrcpt patch on the qmail page

F.

-Original Message-
From: Lukasz Komsta [mailto:[EMAIL PROTECTED]]
Sent: woensdag 18 april 2001 8:52
To: [EMAIL PROTECTED]
Subject: "Too many Cc: patch" ?



Has anyone heard about a patch which rejects incoming mail (as
badmailfrom) if there is more than some numbers of "cc" recipients in
it?

Greetings,

-- 
* Lukasz Komsta * ICQ 14892426 * 
* http://www.luke.eu.org/ *



RE: Has anyone used qmail with xfs on Linux 2.4?

2001-02-14 Thread Van Liedekerke Franky

try using the 2.4.1 kernel, which has built-in reiserfs support (a good
journaling system) and adapt the small changes to qmail in order to work
reliable under reiserfs, see
http://www.jedi.claranet.fr/qmail-reiserfs-howto.html

Franky

-Original Message-
From: Sid Wilroy [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 13 februari 2001 20:57
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Has anyone used qmail with xfs on Linux 2.4?


We seem to have a bottleneck reading our /var/qmail/queue, so we were
looking at alternatives like:
1) Create a large ram disk and have the queue mounted there ( can't seem
to create a ram disk any larger than 4M) Any ideas on using a ram disk
for the queue? Has anyone been successful in creating a ram disk larger
than 4M? How?
2) XFS from SGI, recompiled a new kernel from SGI. It seems the device
files are totally different. Anyone used xfs on linux for qmail? How
much better performance? The new kernel booted fine but couldn't mount
the filesystems ext2 saying bad master boot record.




RE: qmail w/ reiserfs on linux 2.4.1

2001-01-31 Thread Van Liedekerke Franky

You need to patch qmail to work correctly with reiserfs, not the kernel.

Greets,

franky

-Original Message-
From: Matthew Patterson [mailto:[EMAIL PROTECTED]]
Sent: woensdag 31 januari 2001 14:53
To: [EMAIL PROTECTED]
Subject: qmail w/ reiserfs on linux 2.4.1


I know it is still very early to be asking this question, but here goes. I
remember seeing a notice that qmail was incompatible with reiserfs unless
you patched the reiserfs
sources. The just-released Linux kernel 2.4.1 includes support for reiserfs.
Does anyone know if it is the patched version that works with qmail, or if
it is the version that
will be incompatible?




RE: max RCPT TOs and RFC821

2001-01-12 Thread Van Liedekerke Franky

btw, there's already a patch going around that does this, you can use that
one and configure the controlfile to accept only 20 rcptto's. It would
violate the RFC I guess...

F.

-Original Message-
From: Markus Stumpf [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 12 januari 2001 2:47
To: [EMAIL PROTECTED]
Subject: max RCPT TOs and RFC821


I am going to patch qmail-smtpd to have a maximum number of rcpt to's
it will accept in one session. (I regularily see spammers that try
to send to a lot of (valid) adresses in one bulk).
The value I am thinking of is around 20 and after that I will reject
the recipients with a "451 Too many recipients." message.

Looking at RFC821 I find (Page 42)
  recipients buffer
 The maximum total number of recipients that must be
 buffered is 100 recipients.

Thus this patch would violate RFC821. Do you think this violation is
critical? A correctly implemented smtp server should resend those
"451 ack'd" addresses anyways, shouldn't it?

Hmmm ... thinking about that quote (maybe it's my bad english) does that
make a sense at all? What's the meaning? Wouldn't
   The MINIMUM total number of recipients that must be
   buffered is 100 recipients.
make more sense if one would like to impose a limit?
And why (some lines later at that page) would one reject too many
recipients with a "552 Too many recipients.", i.e. a permanent failure
code instead of a 4xx temporary code?

Puzzled,

\Maex



qmail, linux and large scale environment

2000-12-11 Thread Van Liedekerke Franky

Hi,

I would like to ask if anybody uses qmail in a large scale environment
running on linux (redhat), because I'm interested in how people configured
their system (number of filedescriptors, max childs per process, max running
processes,...)
Could those who use it please mail me their findings and settings?

Tx a lot for boosting linux!


Franky



linux and reiserfs

2000-11-16 Thread Van Liedekerke Franky

Hi,

I've two questions:

1) I'm planning on using qmail with Redhat linux for a high-load machine
(hardware raid scsi disks). Now I don't want to know which linux is better,
but I would like to know what extra tuning the operating system requires?
Does hdparm can boost the HW raid I/O performance? Do I need to fiddle in
the /proc VFS for file-max,inode-max and stuff? A guideline for getting the
most out of qmail+linux would be great.

2) I've found many remarks on qmail and reiserfs, but nobody agrees on
wether it's good or bad. So I won't start that here all over again but I
would like to ask:
does anybody use qmail+reiserfs on a high-load production machine? If so,
what OS do you recommend and which extra patches to qmail do you
suggest/apply? Is it running stable, can it survive crashes? How did you
mount/created your reiserfs?

Franky



serialmail

2000-09-06 Thread Van Liedekerke Franky

Hi,

I'm using the serialmail package to let some people initiate an smtp
connection to their server whenever they make a pop connection, so all mail
gets delivered. Now I don't use an alias for this user, so I have to rewrite
the headers all the time for this user so that the prefix "alias-" is put in
fron of the first "Delivered-to" line.
Now I want to know if anybody can make this serialmail package work without
having to use the prefix option, or how I can rewrite a header in a .qmail
file?

With friendly regards,

Franky



linux filesystem

2000-08-24 Thread Van Liedekerke Franky

A while back there was talk about a good filesystem for linux (next to
ext2fs). Anybody remebers how this is called, and does anybody use it with
satisfaction? I have looked through the archives, but I'm just not able to
fill in the right search terms to find the answer...

Franky



RE: linux filesystem

2000-08-24 Thread Van Liedekerke Franky

Yes, ReiserFs was the one I was looking for! Anybody using it on high-volume
mail servers?

Franky

 --
 From: Charles Cazabon[SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, August 24, 2000 4:35 PM
 To:   Van Liedekerke Franky
 Cc:   'qmail list'
 Subject:  Re: linux filesystem
 
 Van Liedekerke Franky [EMAIL PROTECTED] wrote:
  A while back there was talk about a good filesystem for linux (next to
  ext2fs). Anybody remebers how this is called, and does anybody use it
 with
  satisfaction? I have looked through the archives, but I'm just not able
 to
  fill in the right search terms to find the answer...
 
 The discussion was probably about one or the other of ReiserFS and ext3.
 ext3 is beta-quality and is available in current 2.4.0-test kernels.
 ReiserFS is available as a patch to 2.2.x and 2.4.0-test kernels.
 
 Charles
 -- 
 --
 Charles Cazabon   [EMAIL PROTECTED]
 QCC Communications Corporation   Saskatoon, SK
 My opinions do not necessarily represent those of my employer.
 --
 



rcpthosts and locals

2000-06-19 Thread Van Liedekerke Franky

Hi,

can qmail be changed in such a matter that, instead of (or next to) using
the rcpthosts file, you allow all domains that have as Mx record (primary or
backup) your own specified network range.
And for locals the same question: allow all domains that have as mx record
your own IP address.

Franky



moving part of the queue

2000-05-16 Thread Van Liedekerke Franky

Hi,

as part of performance increase, I'm thinking of moving part of my qmail
queue/mess dir (half of the subdirs there ) to another disk and creating
symbolic links to there. I suppose qmail still functions then (after I've
run queue-fix)?
Do I need to pay special attention as to which dirs I move to create a
balanced system (probably not, but it doesn't hurt to ask)?

Franky



pop3 and ip adres logging

2000-01-13 Thread Van Liedekerke Franky

Hi,

does anybody know a quick hack to log the ip adres in a pop3 session without
setting tcpserver to verbose mode?

Franky



daemontools and qmailanalog

1999-12-31 Thread Van Liedekerke Franky

Hi,

just a quickie: does qmailanalog handle the timestamps from the new
daemontools package?

Franky



multilog

1999-12-30 Thread Van Liedekerke Franky

Hi,

first of all: Merry Xmas and a very happy NewYear to all  !!

Now I have a small boring question: does there exist any tool or manner to
select a timewindow out of a multilog file (for ex. the last 5 minutes) or
do I need to write one myself?

Franky



RE: multilog

1999-12-30 Thread Van Liedekerke Franky

I'm using something like this now, but perl could understand the old
timestamps of 0.53, not those of 0.61. Now I have to take the 9th to 17th
character from the new timestamps and convert these back to decimals, so I
can compare with the usual perl timestamps. I find this kind of slugish and
am looking for a better way.

Franky

 --
 From: Russell Nelson[SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, December 30, 1999 3:43 PM
 To:   'qmail list'
 Subject:  Re: multilog
 
 Van Liedekerke Franky writes:
   Hi,
   
   first of all: Merry Xmas and a very happy NewYear to all  !!
   
   Now I have a small boring question: does there exist any tool or manner
 to
   select a timewindow out of a multilog file (for ex. the last 5 minutes)
 or
   do I need to write one myself?
 
 With a few minor changes you could make good use of my qmail-mrtg
 script.  It only works with daemontools-0.53, not -0.61.
 
 http://www.crynwr.com/mrtg/
 
 -- 
 -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.
 



qmail site down?

1999-12-06 Thread Van Liedekerke Franky

Hi,

is there a problem with the qmail site http://www.qmail.org ? Or is it just
me again ?

Franky



RE: How do you get off this blasted list.

1999-12-02 Thread Van Liedekerke Franky

Like it is mentioned in the headers of each mail from this list:

have you tried [EMAIL PROTECTED] for instructions? 

Franky

 --
 From: G. Ryan Fawcett[SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, December 02, 1999 6:15 PM
 To:   [EMAIL PROTECTED]
 Subject:  How do you get off this blasted list.
 
 I've tried the mail list program but I'm still on it let me out of here
 please
 
 "There's a fine line between genius and insanity."
 G. Ryan Fawcett
 
 
 



qmail + sslwrap

1999-11-29 Thread Van Liedekerke Franky

Hi,

has anyone succeeded in using sslwrap together with tcpserver for qmail-pop?
And would that person mind sharing his experience?

Thanks!

Franky



RE: qmail + sslwrap

1999-11-29 Thread Van Liedekerke Franky

The problem in this approach is that you make a new connection to localhost.
This messes up things like 
serialmail... and the -exec option doesn't accept options for the program,
unless you hack up the source.
I've heard about stunnel as well. Which of the two packages is the favorite?

Franky

 --
 From: Chris Johnson[SMTP:[EMAIL PROTECTED]]
 Sent: Monday, November 29, 1999 5:47 PM
 To:   Van Liedekerke Franky
 Cc:   'qmail list'
 Subject:  Re: qmail + sslwrap
 
 On Mon, Nov 29, 1999 at 09:24:42AM +0100, Van Liedekerke Franky wrote:
  Hi,
  
  has anyone succeeded in using sslwrap together with tcpserver for
 qmail-pop?
  And would that person mind sharing his experience?
 
 I've been using it for ages. I followed the sslwrap documentation to
 create the
 certificates and whatnot, and here's the script I use to start it up:
 
 #!/bin/sh
 
 exec tcpserver -RH -c10 -u444 -g444 0 spop3 /usr/local/libexec/sslwrap \
 -cert /usr/local/openssl/certs/server.pem -port 110
 
 UID and GID 444 belong to an unprivileged user and group I created;
 there's no
 reason to run it with root privileges.  
 
 I have qmail-popup/qmail-pop3d running in the conventional way on port
 110.
 
 Chris
 



RE: pop3d auth error after auth ok? LDAP patchs,whoops #2

1999-10-14 Thread Van Liedekerke Franky

This is a small bug from the ldap patch. Andre has already a solution for
this. Andre, could you post the solution on the qmail-ldap list?

Franky

 --
 From: Bill Rogers[SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, October 14, 1999 5:32 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: pop3d auth error after auth ok? LDAP patchs,whoops #2
 
 The "free" email was swallowing 1/2 my message.
 
 Running qmail-pop3d with LDAP patchs and have just gotten
 things working, sort of.
 
 Authorization and denials are working , however, after authorizing
 and delivering, getting an error, thusly:
 Connected to localhost.
 Escape character is '^]'.
 +OK [EMAIL PROTECTED]
 user barfo
 +OK
 pass whatever
 +OK
 .
 list
 +OK
 .
 quit
 +OK
 -ERR authorization failed
 Connection closed by foreign host.
 
 I've searched the archives, but I didn't know how to search for
 something that worked.
 
 Still worried,
 Bill
 
 
 
 Get your own FREE, personal Netscape WebMail account today at
 http://webmail.netscape.com.
 



qmail-smtpd log question

1999-10-06 Thread Van Liedekerke Franky

Can anybody explain the following in my qmail-smtpd logfile:


 939075841.506429 qmail-smtpd 2410: connection from 192.168.100.1 ( unknown
 ) to zeus.telenet-ops.be 
 939075956.824641 qmail-smtpd 2410: message queued = 939075956 qp 2411 
 939075956.824970 qmail-smtpd 2410: read error, connection closed 
  
It seems the message got queued, then smtpd got a read error and closed the
connection, so the other side resubmitted the mail for delivery some time
later. This means that some people get their mail twice.
From where can the read error occur?

Franky



RE: Limit TO+CC list

1999-10-04 Thread Van Liedekerke Franky

There's a patch on the qmail page for this: it limit's the number of rcpt
to's in the smtp protocol, which is what you want.

Franky

 --
 From: B. Engineer[SMTP:[EMAIL PROTECTED]]
 Sent: Monday, October 04, 1999 5:37 PM
 To:   qmail list
 Subject:  Limit TO+CC list
 
 Hello:
   Is there a way to limit the number of people a message can go to. 
 i.e. the combination of To+cc+bcc be less then a given number that can be 
 controlled from a file in /var/qmail/control?
 
 Thanks
 
 Burzin
 



qmail-send single threaded

1999-09-30 Thread Van Liedekerke Franky

Hi,

I'm experiencing serious problems (slow queue processing) with qmail (sol
2.6), and I think the bottleneck is qmail-send. When I do a truss on this
process I see (truss -c):

hercules(root)/var/qmail/queue/intd truss -c -p 19880 
^Csyscall  seconds   calls  errors 
read .01 106 
write.02 645 
open .04  84 
close.00  82 
unlink   .03  59 36 
time .00  48 
stat .01  88 63 
lseek.00  11 
fstat.00  36 
fdsync   .01  24 
poll .00  12 
 ------ 
sys totals:  .121195 99 
usr time:.00 
elapsed:4.48 
 


Now these are a lot of writes for one process to handle (especially single
threaded). From the INTERNALS file I see that qmail-send is a very important
process (creates the info/, remote/ or local/, removes the todo/ and the
intd/ files for each message).
Is there a way I can boost the performance of qmail send?
Or can it be made multi-threaded?

Franky



RE: Return message problem.

1999-09-30 Thread Van Liedekerke Franky

The control file queuelifetime does this for you. Place in there the number
of seconds you want a message to stay in the queue (default = 604800 = one
week).

Franky

 --
 From: Super-User[SMTP:[EMAIL PROTECTED]]
 Reply To: Super-User
 Sent: Thursday, September 30, 1999 4:01 PM
 To:   [EMAIL PROTECTED]
 Subject:  Return message problem.
 
 Hi,
 
   I would like to force to return the message after two days, if qmail
 is not able to delivery, not to wait 6 days as is set by default. How can
 I solve this problem?
 
 
   Maros BOJKO.
 



return code for stray new lines

1999-09-29 Thread Van Liedekerke Franky

Hi,m

can anybody explain to me why the reurn code for stray new lines is 451?
This causes the other site to keep the message in the queue, but it will
never get fixed, so it will never get delivered as well... So why not use
550 as the return code?

Franky



RE: return code for stray new lines

1999-09-29 Thread Van Liedekerke Franky

Hmm... I always believed the error was in the sending client, not the MTA
he's connecting to. That's why Eudora released a patch to fix that kind of
problems, not?
Or am I wrong big time here?

 --
 From: Fred Lindberg[SMTP:[EMAIL PROTECTED]]
 Reply To: Fred Lindberg
 Sent: Wednesday, September 29, 1999 3:28 PM
 To:   qmail list
 Subject:  Re: return code for stray new lines
 
 On Wed, 29 Sep 1999 14:32:34 +0200, Van Liedekerke Franky wrote:
 
 can anybody explain to me why the reurn code for stray new lines is 451?
 
 The most common cause of stray \n is a misconfiguration of the sending
 MTA. It is not a permanent error in the message, i.e. correction of the
 sending MTA config will make the message acceptable.
 
 
 -Sincerely, Fred
 
 (Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)
 
 



big-todo patch +queue-fix

1999-09-29 Thread Van Liedekerke Franky

HI,

just wondering if, after I applied the big-todo patch, I can still use the
queue-fix program?

Franky



number of qmail-remote processes

1999-09-27 Thread Van Liedekerke Franky

I have a weird problem here (long mail, I hope everybody understands what
I'm trying to say here...).

my system: qmail 1.03 on Solaris 2.6 (disks under control of disksuite,
mirrored disks are being used).

I saw this afternoon 5000 messages in my queue (most of the mails to one of
my own machines), and the "not yet processed" messages grew till about 500.
I have concurrency set to 120 (the max) but the number of remote processes
never came above an avarage of 10. When I shutdown the smtp part and gave a
alrm to qmail, it started spawning 120 processes, but not all the time:
10-120-90-60-30-30-30-20-120

Why this falldown to 20 (or something like that)? Why does qmail not
continiously keep 120 qmail-remote processes running?

And from the moment I allowed smtp connections again, the number of
qmail-remote never came above 20 again. I even tried the big-concurrency
patch, but it didn't change anything. For the moment I have 140 messages
"not yet processed" and about 18 qmail-remote processes, with more than 200
messages in the queue to my other machine. Why doesn't it rises to 120 when
I give a alrm signal to qmail? I checked the permissions of
/var/qmail/queue/lock and everything seems ok there.
top  and iostat are telling me that I have a big iowait...
Can anybody tell me what I can do to pump up the number of remote processes
so it has a high number all the time when mails are in the queue?
Do I need the big-todo patch (I thought this patch was when you have more
than 1000 messages per subdir, I have about 125 per subdir)?


Please help me!!! It's 10 o'clock in the evening and I'm tired of watching
disk stats and qmail logfiles...

Franky



RE: A patched qmail-smtpd.c

1999-09-24 Thread Van Liedekerke Franky

Isn't the first feature of your patch a standard tcpserver feature? And you
even say inetd is not supported, so you use tcpserver...

Franky

 --
 From: Hotdog[SMTP:[EMAIL PROTECTED]]
 Reply To: [EMAIL PROTECTED]
 Sent: Friday, September 24, 1999 10:48 AM
 To:   [EMAIL PROTECTED]
 Subject:  A patched qmail-smtpd.c
 
 File: qmail-smtpd.c
 Hi all:
 
   I have added  some codes into qmail-smtpd.c, now it can do something
 funny:
 
   1. Refuse appointed ip to connect.
 this is in control/badip, such as
 100.100.100.100  will refuse 100.100.100.100 to connect and 
 100.100.100. will refuse 100.100.100.x to connect.
 inetd is not  supported.
 
   2.Refuse letters contain some bad keywords.
 this is in control/badkeyword,such as
 get money from   will refuse all letters contain 'get money from'.
 
   3.Added a command : vrfy
 yes,vrfy is dangerous, but if fake it then ...:)
 
 Sorry my bad programming skills, but I think it can run correctly. :)
 
 have fun!
 
 
 
 Hotdog
   [EMAIL PROTECTED]
 



RE: HELP! Spammers!

1999-09-24 Thread Van Liedekerke Franky

It seems you're being an open relay, if they can get away with
[EMAIL PROTECTED]

How is your tcpserver configured? Do you have an rcpthosts control file?

 --
 From: Tero Niemi[SMTP:[EMAIL PROTECTED]]
 Sent: Friday, September 24, 1999 1:53 PM
 To:   qmail
 Subject:  HELP! Spammers!
 
 I configured our mailserver not to accept mail from outside IP's,
 but
 spammers still get through. They send mail like
 [EMAIL PROTECTED]
 
 How to prevent these coming?
 
 Help needed quick! I had to drive our server down till I can do
 something about this...
 



RE: Mailer-daemon returns full message

1999-09-22 Thread Van Liedekerke Franky

there's a patch to limit the bounce size, see the qmail page or in the
mailing archives.

Franky

 --
 From: Jan Stanik[SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, September 22, 1999 7:47 PM
 To:   [EMAIL PROTECTED]
 Subject:  Mailer-daemon returns full message
 
 Hi,
 
   I noticed, that when is problem with delivering mail, qmail tries 
 to return full mail to sender, not only some error message. If sender 
 sends a mail with 5MB attachment to nonexistent recipient, 5MB 
 message is bounced to postmaster and to sender - is it a feature, 
 or what ;-)?
 
   Is it true, that qmail first received full message and then checks
 if it is deliverable? Is there any patch, or I am stupid and I need to 
 patch myself?
 
 Thanks for Your answers,
 
 
   
 --
   Jan Stanik
 [EMAIL PROTECTED]
 Telenor Internet,s.r.o
 



RE: smtp server as a relay

1999-09-22 Thread Van Liedekerke Franky

I was wrong, tcpserver uses TCPREMOTEINFO, not the emailaddress (see the
manpages for tcpserver).
But there is a patch on the qmail home page that may do what you want, look
for "control relaying based on envelope sender address"

Franky.

 --
 From: Ana Belén Santos[SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, September 22, 1999 12:09 PM
 To:   Van Liedekerke Franky
 Cc:   [EMAIL PROTECTED]
 Subject:  Re: smtp server as a relay
 
 
 
 
 Van Liedekerke Franky wrote:
 
  This is also within the standard functionallity of tcpserver, but I
 don't
  believe it is secure to allow relaying based on email address only.
 
  Franky
 
 Yes, I know it, but could you tell how I can do it. What I have to put in
 the tcp.smtp file??
 I put:
 
 [EMAIL PROTECTED]:allow
 :deny
 
 but I can not send messages through the smtp server. The mail program
 says:
 
 The mail has not be sent.
 There is no mail transport agent for this address.
 
 thanks
 
 
 
   --
   From: Ana Belén Santos[SMTP:[EMAIL PROTECTED]]
   Sent: Wednesday, September 22, 1999 11:45 AM
   To:   [EMAIL PROTECTED]
   Subject:  smtp server as a relay
  
   I want to  allow selected clients to use my smtp server as a relay. I
   have used tcpserver, but I only can restrict the access controling the
   IP of the sender and I want to control the email address of the
 sender,
   not the IP. Is this possible??  How can I do that??
  
   Thanks
  
   Ana Belén Santos Pintor
  
 



RE: Patch for spam

1999-09-17 Thread Van Liedekerke Franky

don't reinvent the wheel. If this is what you want, use the anti-UCE spam
patch from Sam (see qmail pages)

Franky

 --
 From: Hotdog[SMTP:[EMAIL PROTECTED]]
 Reply To: [EMAIL PROTECTED]
 Sent: Thursday, September 16, 1999 7:00 PM
 To:   [EMAIL PROTECTED]
 Subject:  Patch for spam
 
 Hi,
   I want to write the following patch for qmail. At some small site,you
 can only filtrate the spam by the filter invoke from dotqmail, but our
 server will receive over 10 junk mails per day,qmail-send 
 qmail-local  take so much time to delivert these letters. Kill the spam in
 qmail-smtpd should be the best way.
   But the problem is how to write the function 'spamcheck(int spamflag)' ?
 
 
 
 In qmail-smtpd.c:
 
 +  spam=0;
   received(qqt,"SMTP",local,remoteip,remotehost,remoteinfo,fakehelo);
   blast(hops);
 + spamcheck(spam);   //The functin will read some control file,such as
 control/badkeyword, if matched,then ...
   hops = (hops = MAXHOPS);
   if (hops) qmail_fail(qqt);
   qmail_from(qqt,mailfrom.s);
   qmail_put(qqt,rcptto.s,rcptto.len);
 
   qqx = qmail_close(qqt);
   if (!*qqx) { acceptmessage(qp); return; }
   if (hops) { out("554 too many hops, this message is looping
 (#5.4.6)\r\n"); return; }
 + if (spam) { out("551 Spam shit! You are not welcome!\r\n"; return; );
   if (databytes) if (!bytestooverflow) { out("552 sorry, that message size
 excee...
   if (*qqx == 'D') out("554 "); else out("451 ");
   out(qqx + 1);
   out("\r\n");
 
 then,it will do something like this:
 
 220 mydomain.com ESMTP
 helo iamspam
 250 mydomain.com
 mail from:
 250 ok
 rcpt to:someone@
 250 ok
 data
 354 go ahead
 From: [EMAIL PROTECTED]
 
 
 win money from ---'win money' is in control/badkeyword,so
 this letter should be refused.
 
 
 .
 551 Spam shit! You are not welcome!
 
 
 
 Thanks very much!
 
 
 
 Hotdog
 [EMAIL PROTECTED]
 



size of locals

1999-09-15 Thread Van Liedekerke Franky

Hi,

just a small question:

how big can the size of locals get out of a performance point of view?
For rcpthosts it is said that, when more than 50 entries are in it, one
should use morercpthosts as well. But what is the equivalent for locals?

Franky



RE: limiting the file size of bounces ?

1999-09-07 Thread Van Liedekerke Franky

their is a patch available for limitting bounce sizes. Maybe it is still on
the qmail pages, otherwise search in the mailarchives (someone recently
posted it again).

Franky

 --
 From: torben fjerdingstad[SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, September 07, 1999 9:34 AM
 To:   [EMAIL PROTECTED]
 Subject:  limiting the file size of bounces ?
 
 How do I limit the filesize in bounces?
 
 Too often, a customer sent a huge mail mail through our mail
 relay which could not be delivered to the destination because
 of the size. It could not be returned to the sender either,
 because it is too large. And the whole message ends up in
 my postmaster mailbox as a double bounce :-(
 
 Then, I lowered databytes to 1Mb, because it had to be
 lower than on our customers mail servers to solve the
 problem above.
 
 A customer suggests that I instead just bounce the mail
 headers and the error messages back to the sender. 
 (and discard the content of the original letter).
 
 How is that done? 
 
 -- 
 Med venlig hilsen / Regards 
 Netdriftgruppen / Network Management Group
 UNI-C  
 
 Tlf./Phone   +45 35 87 89 41Mail:  UNI-C
 
 Fax. +45 35 87 89 90   Bygning 304
 E-mail: [EMAIL PROTECTED]   DK-2800 Lyngby
 



qmail and forwarding

1999-09-02 Thread Van Liedekerke Franky

Hi all,

I have 2 servers (A and B) here, and mails are being forwarded from A to B
in the following way:
when a mail arrives to A, it gets processed first and then (in a .qmail
file) it is decided this mail should be forwarded to B. Now a forward mail
first gets back in the queue from A, which does then the actual delivery to
B. 
So one mail gets stored on A two times before arriving to B.

Is it possible to eliminate this second store on A, using for example qmtpd
or something?

Franky



RE: qmail-ldap on gateway

1999-08-24 Thread Van Liedekerke Franky

yep

 --
 From: Mark E. Drummond[SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, August 24, 1999 4:16 PM
 To:   qmail Mailing List
 Subject:  qmail-ldap on gateway
 
 I run qmail on my MX host, relaying mail to my internal mailhub.
 Can I use qmail-ldap to verify rcpt addresses against our Netscape
 Directory Server?
 
 -- 
 ___
 Mark E Drummond[EMAIL PROTECTED]
 
 Kingston Linux Users Group  http://signals.rmc.ca/klug/
 KLUG Mailing List   mailto: [EMAIL PROTECTED]
 



tcpserver and rate/time limit

1999-08-23 Thread Van Liedekerke Franky

Hi all,

I know tcpserver can limit the number of concurrent connections, but can t
also limit the number of connections for a specific period of time for one
ip adres, lets say 100 connections for an ip adres in 5 minutes? This to
stop mailbombers and MS servers running wild (because of stray line
errors...).
For the moment I run through the tcpserver logfiles (for qmail-smtpd) myself
to count the number of times an ip connected, and block it if it's higher
than a specific number, but people can still do lots of stuff in 5
minutes...
Maybe someone has already a patch for this?

Franky



RE: SQWebMail or IMP?

1999-08-19 Thread Van Liedekerke Franky

look in the archives, a week or two ago their was a thread about webmail
solutions.

Franky

 --
 From: Martin Paulucci[SMTP:[EMAIL PROTECTED]]
 Reply To: [EMAIL PROTECTED]
 Sent: Thursday, August 19, 1999 5:19 PM
 To:   Michael Wand; [EMAIL PROTECTED]
 Subject:  Re: SQWebMail or IMP?
 
 Hi,
 
 What I'm actually looking for is a webmail -hotmail like- server to be
 installed in my qmail server and use it to give free webmail to my ISP
 users. So I need to implement some kind of start registration web page
 so the user can fill and automatically -as hotmail or yahoo- gets an
 email address
 
 
 Bye!
 
 
  On Thu, 19 Aug 1999, Martin Paulucci wrote:
   Hi everybody,
  
   Here I am deciding which webmail I'm going to use, because of
   functionality that I have seen, the IMP seems better, but I just read
   that there's no way to use it with vchkpw or something simillar. Also,
 I
   need to implement some kind of page that the user could fill and get
   himself an email account for free. Which is the way I could do that
 with
   any of those 2 programs I don't know and I can't find it anywhere!.
  
   Could somebody tell me where to find more info?. Or other
 webmail:)
  
  
   Thanks!!!
  I was checking around with these programs in my own attempts to find a
 suitable
  web mail solution, and I just dumped them after somebody showed me this
 site:
  
  http://www.mollymail.com
  
  It's free and it connects to any POP server, without any registration or
 sign
  up.
  
  Michael Wand
 



RE: make errors

1999-08-11 Thread Van Liedekerke Franky

on Solaris, this is standard included, just make sure the directory
/usr/ccs/bin is included in your path.

Franky

 --
 From: Mark Sherman[SMTP:[EMAIL PROTECTED]]
 Reply To: [EMAIL PROTECTED]
 Sent: Wednesday, August 11, 1999 3:12 PM
 To:   [EMAIL PROTECTED]
 Subject:  RE: make errors
 
 Ehm - Thanks for the response - I'm using solaris 7 where would i find an
 AR
 tool.
 
 Marc
 
 -Original Message-
 From: Petr Novotny [mailto:[EMAIL PROTECTED]]
 Sent: 11 August 1999 15:14
 To: [EMAIL PROTECTED]
 Subject: Re: make errors
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
  When i run the command
 
  make setup check i get the following response and cannot then go on to
 run
  ./config as it does not exist.
 
 [snip]
  ./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \
  case_lowers.o case_starts.o
  ./makelib: ar: not found
  make: *** [case.a] Error 1
 
 You're missing "ar" tool. On my RedHat linux, it's inside a binutils
 RPM. On your system/distribution, you have to find it yourself.
 
 -BEGIN PGP SIGNATURE-
 Version: PGP 6.0.2 -- QDPGP 2.60
 Comment: http://community.wow.net/grt/qdpgp.html
 
 iQA/AwUBN7GFJlMwP8g7qbw/EQKxtQCgwDxNig2hDaE9DWLs3MoBIsp/e58Anjt0
 94hcVNyBIveblkYXVW4s2NRy
 =5kGt
 -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: 20,000 mailboxes...

1999-08-10 Thread Van Liedekerke Franky

check out the ldap patch then...

 --
 From: Ira Abramov[SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, August 10, 1999 4:47 PM
 Cc:   [EMAIL PROTECTED]
 Subject:  Re: 20,000 mailboxes...
 
 On Tue, 10 Aug 1999, Magnus Bodin wrote:
 
  One of the biggest swedish ISP:s (algonet) are using qmail for their
  5+ users. Solaris, Sun and NetWork Appliances hardware.
 
 Internet Zahav here in Israel is THE biggest ISP in the country
 currently... 150k users. we use Qmail for all outgoing mail since about a
 week ago (I pushed it, got no help from the bosses), having to prove it's
 good, I redirected all the users to relay through a Pentium II-350 with an
 IDE drive instead of the sendmail over an Enterprise Solaris box, and
 things turned out to work faster. now that the bigwigs saw the success,
 I'll move in to change the rest of the servers to Qmail too (main
 incoming, virtual domains, pop etc)
 
 High time I switch to a DB instead of a multi-megabyte passwd file. any
 ideas, ready-made delivery tools? same DB should also authenticate for
 Radius and pop. non-qmail specific replies will be happily accepted
 offlist too.
 
 TIA, Ira
 



RE: Web Mail on Qmail.

1999-08-09 Thread Van Liedekerke Franky

Here are my links (Atdot seems easy enough, but still a little buggy, good
to try out. I like cwebmail a lot, with a little adjustments to handle cc
and bcc and stuff):

Hope this helps,

Franky

http://www.comnex.net/cWebMail 
http://webmail.woanders.de 
http://www.netbula.com/anyemail 
http://www.cgi-resources.com/Programs_and_Scripts/Perl/Web_Based_E_Mail/ 
http://www.geocities.com/EnchantedForest/Glade/6391/email.htm 
http://www.astray.com/acmemail/ 
http://www.atdot.org/ 

Franky
 --
 From: Amit Vadehra[SMTP:[EMAIL PROTECTED]]
 Sent: Monday, August 09, 1999 3:16 PM
 To:   Qmail Mailing List
 Subject:  Web Mail on Qmail.
 
 HI,
 Please let me know if there are any sites on the internet that will
 offer free code for web mail.
 I need to run web mail like hotmail on my Qmail Box. How do i go about
 it. I would not like to use IMAP 4 for it. Is there another way in which
 i can program so that my web mail works on POP3. I have seen some
 programs that do so but they seem to be slow.
 Please send some sites that might have code in Perl or C++ that will
 give this feature.
 
 I know that hotmail itself runs on qmail . Essetially i would like to
 have a code like that
 
 Amit Vadehra
 



RE: Web Mail on Qmail.

1999-08-09 Thread Van Liedekerke Franky

Yeah, I know, that's why it needs to run on the same machine where the
mailboxes are stored, and this is usually your popserver (unless you use
nfs).

Franky

 --
 From: Adam H[SMTP:[EMAIL PROTECTED]]
 Sent: Monday, August 09, 1999 5:25 PM
 To:   Van Liedekerke Franky
 Cc:   [EMAIL PROTECTED]
 Subject:  RE: Web Mail on Qmail.
 
 Sqwebmail doesnt use pop.  the CGI reads and writes from the user's
 Maildir's directly.
 
 
 On Mon, 9 Aug 1999, Van Liedekerke Franky wrote:
 
  SQWebMail needs to run on your popserver, that's not always what you
 want...
  
  Franky
  
   --
   From: Adam H[SMTP:[EMAIL PROTECTED]]
   Sent: Monday, August 09, 1999 3:34 PM
   To:   Amit Vadehra
   Cc:   Qmail Mailing List
   Subject:  Re: Web Mail on Qmail.
   
   What about SQWebMail
   www.inter7.com/sqwebmail
   
   works spectacular with qmail.. talks with Maildir directly.
   
   
   On Mon, 9 Aug 1999, Amit Vadehra wrote:
   
HI,
Please let me know if there are any sites on the internet that
 will
offer free code for web mail.
I need to run web mail like hotmail on my Qmail Box. How do i go
 about
it. I would not like to use IMAP 4 for it. Is there another way in
 which
i can program so that my web mail works on POP3. I have seen some
programs that do so but they seem to be slow.
Please send some sites that might have code in Perl or C++ that will
give this feature.

I know that hotmail itself runs on qmail . Essetially i would like
 to
have a code like that

Amit Vadehra


   
  
 



RE: Thanking Dave Sill

1999-08-04 Thread Van Liedekerke Franky

I totally agree on this!

Franky

 --
 From: Russell Nelson[SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, August 04, 1999 3:25 PM
 To:   [EMAIL PROTECTED]
 Subject:  Thanking Dave Sill
 
 Dave Sill writes:
   What do your logs say?
 
 I want to take a moment to publicly thank Dave Sill.  He's been *the*
 man on the spot for qmail users, both with his Living With Qmail
 document and asking the right questions of users who have a problem.
 
 -- 
 -russ nelson [EMAIL PROTECTED]  http://crynwr.com/~nelson
 Crynwr sells support for free software  | PGPok | Government schools are
 so
 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank
 amateur
 Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them.
 Homeschool!
 



delivery question

1999-08-02 Thread Van Liedekerke Franky

Hi,

when I see in my qmail logfile the line:

933356713.693024 info msg 298536: bytes 1566 from [EMAIL PROTECTED] qp 3602
uid 1008 
933356713.821501 starting delivery 95162: msg 298536 to local
[EMAIL PROTECTED] 
933356713.821579 status: local 1/120 remote 0/120 
933356713.945498 delivery 95162: success: did_1+0+0/ 
933356713.968847 status: local 0/120 remote 0/120 
933356713.969326 end msg 298536 
 
Does this mean the mail has been succesfully inserted into the users
maildir, or has been handed to another program that does the real delivery?
In other words, does this give me 100% absolute certainty that the user has
this mail in his maildir?

Franky



RE: AtDot and qmail

1999-07-26 Thread Van Liedekerke Franky

I've used Atdot some time ago, and I found it is still buggy: problems with
showing CC, retrieving messages through pop, But I found that most
problems can be fixed..., see the Atdot mailing list, a number of qmail
fanatics are on there as well...

Franky

 --
 From: aw[SMTP:[EMAIL PROTECTED]]
 Sent: Monday, July 26, 1999 6:27 PM
 To:   [EMAIL PROTECTED]
 Subject:  AtDot and qmail
 
 Hi,
 I am looking for a happy user of AtDot package running with qmail. Have
 some problems to send
 mails. AtDot says, mail is sent but in fact it is only faked mail.
 Need help and appreciate your time spent on this subject.
 Andrzej
 



databytes

1999-07-02 Thread Van Liedekerke Franky

Hi,

I have a small question about the databytes control file:

does a mail first get stored on local disk before the size is checked?
Becuase if so, a client can send mails of 10 GB... they won't go through,
but they would block the server completely...

Franky



stralloc

1999-06-14 Thread Van Liedekerke Franky

Hi,

maybe this is a stupid question, but my C knowledge is not that big, so I'm
asking it anyways:
There are a lot of stralloc calls in qmail, does this memory never needs to
be freed again? 

Franky



RE: Handling mail for @domain.com and @sub.domain.com to dif

1999-06-09 Thread Van Liedekerke Franky

try mailing directly to user2 first. The problem probably lies there.

franky

 --
 From: Joaquim Homrighausen[SMTP:[EMAIL PROTECTED]]
 Reply To: Joaquim Homrighausen
 Sent: Wednesday, June 09, 1999 2:41 PM
 To:   qmail discussion list; Simon Woodward
 Subject:  RE: Handling mail for "@domain.com" and "@sub.domain.com" to
 dif
 
  * On Wed, 09 Jun 1999 14:34:21 +0100 (BST), Simon Woodward wrote:
 
   Your files should be like this:
 
 [..]
 
 Aye. That part is configured correctly.
 
 The message is (as I said previously), however, sent to the contents of
 the
 .qmail-default file in the alias/ directory (in my case,
 [EMAIL PROTECTED]).
 
 Looking at the message sent to postmaster, it shows that it has been sent
 to
 user2. For some reason, it appears that qmail cannot deliver the message
 to
 user2 and thus goes to deliver it to the .qmail-default contents (alias/).
 
 I wonder why it cannot deliver it. When previously had file/directory
 permission
 problems, qmail would complain.. but it doesn't do that now.
 
 
 -+-
 Joaquim Homrighausen * [EMAIL PROTECTED] * 2:201/330@fidonet
 Definite Solutions * Stockholm, Sweden
 Phone: +46 8 6505087 * Fax: +46 8 4410010 * http://www.defsol.se
 -+-
 
 



strange errorcode

1999-05-21 Thread Van Liedekerke Franky

Hi,

sometimes when people from the internet sent mail to one of my clients, they
get the following back from their emailserver (in this case
xs02-078.support.nl [195.114.229.78])

 451 [EMAIL PROTECTED]... I/O error: Error 0
 
Now I know this is not a qmail error message, but does anybody know why they
get this error? Is the problem located on my mailserver or on the remote
side?

Franky



RE: strange errorcode

1999-05-21 Thread Van Liedekerke Franky

there are no disk errors reported on my mailserver, the queue is certainly
not full and all other mail with big attachments are coming in just fine.
Can I thus conclude the problem is remote server related?

Franky

 --
 From: Ricardo Oliveira[SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 21, 1999 10:56 AM
 To:   Van Liedekerke Franky
 Subject:  RE: strange errorcode
 
 This means that a IO error ocurred in their relay (if they use one to send
 email) or on your mailserver (if they don't).
 Usually, this means the queue has tun out of space. *USUALLY*. Any other
 problem related to storing the message in the queue could also be
 possible,
 though.
 
  -Original Message-
  From: Van Liedekerke Franky [mailto:[EMAIL PROTECTED]]
  Sent: Sexta-feira, 21 de Maio de 1999 9:01
  To: '[EMAIL PROTECTED]'
  Subject: strange errorcode
 
 
  Hi,
 
  sometimes when people from the internet sent mail to one of my
  clients, they
  get the following back from their emailserver (in this case
  xs02-078.support.nl [195.114.229.78])
 
   451 [EMAIL PROTECTED]... I/O error: Error 0
  
  Now I know this is not a qmail error message, but does anybody
  know why they
  get this error? Is the problem located on my mailserver or on the remote
  side?
 
  Franky
 
 



RE: A couple of smtpd questions..

1999-05-07 Thread Van Liedekerke Franky

I'm encountering the first problem as well (hanging defunct smtpd
processes). I would like to hear any solution on this matter...

Franky

 --
 From: Greg Moeller[SMTP:[EMAIL PROTECTED]]
 Sent: Friday, May 07, 1999 11:12 AM
 To:   [EMAIL PROTECTED]
 Subject:  A couple of smtpd questions..
 
 I've got a couple of things that are happening with smtpd..
 First, they have a habit of sticking around...
 I have smtpd processes stuck in the system that are around 2 weeks old.
 Each one seems to have a defunct task tied to it and when I kill the
 smtpd, 
 the defunct vanishes with it.
 
 Second is a complaint from our Customer Service folk, seems clients with 
 outlook(Yeah, I know it's microsoft, so who should care :) have problems
 when 
 they send large attachments.  About 600k-1Meg into the transfer, it slows
 down 
 to a crawl.  Anyone heard of this one?
 
 Thanks in advance...
 
 Greg
 
 



RE: qmail-ldap run error

1999-04-13 Thread Van Liedekerke Franky

sounds like a library problem to me...

 --
 From: BoLiang[SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 18, 1999 1:35 PM
 To:   [EMAIL PROTECTED]
 Subject:  qmail-ldap run error 
 
 Hi
 
After I setup the qmail-ldap package on a Redhat5.2,
I run it by:
 
# csh -cf '/var/qmail/rc '
 
and I got a error message in the maillog file like:
 
   qmail: 924003326.292702 alert: cannot start: hath the 
 daemon spawn no fire?
 
 
   Does anyone has any good idea to fix it?
 
 
  Thanks a lot
 
 
 BoLiang  [EMAIL PROTECTED]
 



RE: mailq

1999-03-30 Thread Van Liedekerke Franky

I thought there was qmail-qstat and qmail-qread?

 --
 From: William Burrow[SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, March 30, 1999 4:57 PM
 To:   [EMAIL PROTECTED]
 Subject:  mailq
 
 Is there anyone interested in a mailq like program for qmail?  One which
 lists the contents of the outgoing message queues.
 
 I wrote one over the weekend and should have a version out by today.
 If there is any interest, I'd like comments/patches on it.  For now, 
 I'll just distribute it by just mailing it out to those who request it.
 
 Metalab is a potential home for it, unless there are other suggestions.
 
 -- 
 William Burrow -- New Brunswick, Canada
 Asking for good driving is like asking for good government. -- Unknown
 



RE: qmail Performance question

1999-03-23 Thread Van Liedekerke Franky

You also should check if your dns server can resolve your clinet's ip
address, otherwise it waits for a timeout (I think that one is 26 secs).

Franky

 --
 From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
 Sent: Monday, March 22, 1999 11:22 PM
 To:   [EMAIL PROTECTED]
 Subject:  RE: qmail Performance question
 
 
 
 
 On Mon, 22 Mar 1999 [EMAIL PROTECTED] wrote:
 
  I recently converted to qmail (from Netscape's Novonyx) using Maildir,
  tcp-server smtp and qmail-pop3d. The client PC's are either Windows NT
 or 95
  using Netscape Communicator as the mail user agent (pop3). It takes
 considerably
  longer for the clients to "get messages" from the server, can anyone
 give my a
  tip on what to tune or look for.
 
 } Shawn wrote:
 
 } This may sound stupid, but some of my tolerat--erm... "much loved" users
 } complained about how slow it took for messages to be delivered
 } inter-office, and it was because they were polling the pop3 server every
 } 15 minutes.  They were used to Exchange server's instantaneous (push)
 } delivery of mail.
 
 } .Shawn
 
 There is a Netscape setting to check for mail every 15 minutes, I'll
 change that
 to every minute and see if that changes their perception.
 
 Thanks,
 
 Rick
 
 



RE: ETRN, qmail-1.03 and etrn patch v0.1f

1999-03-18 Thread Van Liedekerke Franky

I've read the page about etrn, and I think the author made some mistakes (at
least on his first page, I'm saying anything about the code).
Maildir2smtp does NOT require a seperate queue to be created: you just let
the mail be delivered at a normal mailbox, and when the person connects
using POP3, maildir2smtp starts delivering mail to that ip address.
This is a great advantage for when you're using dynamic ip addresses: you
don't always know which ip address a client gets.
This solution of etrn relies on the fact that all mail should stay in a
queue. But why? In a maildir, you've much more control about the size
(quota) and all, which I think is a feature many people appreciate. When
mails stay in the queue, it can grow beyond your control and crash your own
machine.
So to summarize: use maildir2smtp, not etrn.

 --
 From: Andrew Spencer[SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, March 17, 1999 9:44 PM
 To:   [EMAIL PROTECTED]
 Subject:  ETRN, qmail-1.03 and etrn patch v0.1f
 
 This is the first time I've posted to the list, so if I've missed
 something, kindly let me know...
 I checked the FAQ but didn't find anything...
 
 This is concerning the etrn solution I found at this URL:
 http://www.cqc.com/~pacman/projects/qmail-etrn/
 
 I am currently using a P90/Redhat 5.2 test station using qmail-1.03
 installed via the memphis rpm's.
 (qmail-1.03-11ucspi.i386.rpm, based on a src rpm)
 
 
 I then compiled the qmail-1.03, patched with etrn diff v0.1f on another
 test station also running Redhat 5.2 and the memphis 1.03 rpm.
 (only have a limited HD on the testing station)
 Compared the binaries from my existing /var/qmail/bin to qmail-1.03/ and
 
 moved in the changed binaries...
 
 Restarted...
 
 Took a bit to get the permissions on etrntrigger and
 /var/qmail/queue/lock/tcpto but it appears to be working...
 
 The etrn command is received and says ok
 
 But I'm not seeing an "instantaneous" outflow of held mail... I use
 qmHandle -l to see what's sitting in the queue, and I have the test mx10
 
 go offline, watch the mail pool by watching for deferrals in the wmail
 log, and then I bring it back online and issue the etrn command via port
 
 25... 250 ok...
 
 But no outgoing mail traffic... In amount 5-10minutes it will starting
 spooling out and everything is fine...
 
 The only thing I can think of is the patch isn't quite right... I have
 noticed that nothing shows up in qmail-tcpto but I've gotten varied
 results in regenerating qmail-tcpto tables for specific IP address on
 "unmodified" qmail installs...  I can see healthy qmail-tcpto responses
 on our outgoing mail server, but everytime I trick it into holding email
 
 a specific IP using static mail routes I don't see it show up in the
 qmail-tcpto tables...
 
 Is 5-10 minutes response from an ETRN, in this configuration normal or?
 Any checks I can make to make sure that tcpto "tables"(?) are working
 ok...
 
 I have attempted to find other ETRN solutions, and have found mention of
 AutoTRN(?) but can't find anything concrete on it
 If you have URLs or leads on an ETRN package you can email me
 directly...
 
 Any input would be greatly appreciated...
 
 
 Andrew Spencer
 Qmail Admin / RMCI
 [EMAIL PROTECTED]
 



RE: mail for nonexistent user: wrong bounce?

1999-02-04 Thread Van Liedekerke Franky

Hi Sam,

in your patch, I have disabled the REJECTNOSUCHUSER otherwise my ldap users
don't get any mail (or am I wrong?).
Maybe then I should enable BOUNCEMAIL_INTERNAL as well?


 --
 From: Sam[SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 04, 1999 2:06 PM
 Cc:   [EMAIL PROTECTED]
 Subject:  Re: mail for nonexistent user: wrong bounce?
 
 Franky Van Liedekerke writes:
 
  Hi,
  
  I've setup qmail 1.03 with the anti UCE path from Sam, but I'm seeing
  some strange things:
  
  when somebody from the external word sends a mail to a nonexistent user,
  
  he gets a mail back
  with failure notice etc, but in the notice it isn't said why it failed.
 
 Since a nonexistent recipient is now rejected by RCPT TO:, it is the
 sending host that is responsible for generating the bounce message, not
 Qmail.
 
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 220 dpinc.ml.org - legitimate mail welcome, 64K max message size ESMTP
 MAIL FROM:
 250 ok
 RCPT TO:[EMAIL PROTECTED]
 550 Sorry, no mailbox here by that name. (#5.1.1)
 
 If the sending mail server takes the 550 rejection, and throws it away,
 someone's buggy code needs to be fixed.
 
  But I can see the reason in the logfiles. Does this have something todo
  with the remote client or remote mailserver?
  When I try the same, it's ok for my hotmail account, and I see the
  failure reason.
 
 Because Hotmail's mail servers properly record the bounce error code.
 
 For everyone's edification, identify the mail server who's bounce is brain
 dead.  I've heard of certain mail server who can't generate a meaningfull
 error message for a MAIL FROM:, but this is a first time I've heard of any
 mutation that doesn't even tell you why RCPT TO: rejected.
 



RE: forward and keep mail

1999-02-02 Thread Van Liedekerke Franky

put the following in .qmail:

 [EMAIL PROTECTED]
./Maildir/  (for storage in Maildir format)
./mbox (for storage in inbox format)


 --
 From: Martin Staael[SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, February 02, 1999 2:44 PM
 To:   [EMAIL PROTECTED]
 Subject:  forward and keep mail
 
 Hi,
 
 I have a user who has a .qmail in his mail directory which looks like
 this:
 
 .qmail:
 [EMAIL PROTECTED]
 
 This works fine and forward the email to [EMAIL PROTECTED]
 
 BUT - what if the user wants a copy of the mail sent to [EMAIL PROTECTED] and
 STILL keep a copy of the mail in the home directory?
 
 How to do this?
 
 Thanks,
 



local queue delivery

1999-01-29 Thread Van Liedekerke Franky

does anybody know how I can make qmail deliver messeages that are in
queue/local, to a remote host?



qmail eats up my memory

1999-01-29 Thread Van Liedekerke Franky

qmail version: 1.03

after a couple of hours, the qmail-lspawn process became huge (813M), eating
up all my memory and of course blocking everything.
Anybody seen this before?



RE: Virtual Domain/Users not working proeprly

1999-01-28 Thread Van Liedekerke Franky

If you don't wan't an extra local account:

put virtual.com only in control/rcpthosts.
Then in virtualdomains, put the following:
[EMAIL PROTECTED]:alias-user1
[EMAIL PROTECTED]:alias-user2
[EMAIL PROTECTED]:alias-user3
virtual.com:alias-virtual

and use the alias files in control/alias:
.qmail-user1, containing: localuser1
.qmail-user2, containing: localuser2
.qmail-user3, containing: [EMAIL PROTECTED]
.qmail-virtual-default, containing: anotherlocaluser

Please correct me if I'm wrong here, or tell me if I'm right :-)

 --
 From: root[SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, January 27, 1999 10:45 PM
 To:   [EMAIL PROTECTED]
 Subject:  Virtual Domain/Users not working proeprly
 
 Hi,
 
 This is what we want to archive:
 
 [EMAIL PROTECTED] localuser1
 [EMAIL PROTECTED] localuser2
 [EMAIL PROTECTED] [EMAIL PROTECTED]
 @virtual.com  anotherlocaluser
 
 How do we go about this i've added the domain virtual.com to rcpthosts,
 locals but how do you do the rest.  I have read every peace of
 documenation i can find on qmail and it does not explain it anywhere.
 I've tried a number of things, so far over 150 email domains are down till
 i can fix this so if anyone has any ideas it would be appriated.
 
 Regards,
 Chris
 



RE: Bouncing specific users

1999-01-28 Thread Van Liedekerke Franky

Perhaps:

exit 100

if I'm not mistaking...
 --
 From: Peter Gradwell[SMTP:[EMAIL PROTECTED]]
 Reply To: [EMAIL PROTECTED]
 Sent: Thursday, January 28, 1999 9:30 AM
 To:   [EMAIL PROTECTED]
 Subject:  Bouncing specific users
 
 Hi,
 
 I've recently aquired control of a new domain and am supporting it under
 qmail.
 
 My boss wants me to accept mail for all addresses at saiddomain.com and
 deliver them to person x (which is easy using a .qmail-default) but we
 want
 to reject a specific address, [EMAIL PROTECTED] What do I put in the
 .qmail-pete file?
 
 Thanks
 
 Peter
 
 --
 gradwell dot com ltd - writing the bits of the web you don't see
 online @ http://www.gradwell.com/ mailto:[EMAIL PROTECTED]
 
 "To look back all the time is boring. Excitement lies in tomorrow"
 



RE: Virtual domains using qmail

1999-01-28 Thread Van Liedekerke Franky

try putting

 lakesedge.org: alias-leorg
 
in virtualdomains.
Let me know if it works then...

 --
 From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, January 28, 1999 9:43 AM
 To:   [EMAIL PROTECTED]
 Subject:  Virtual domains using qmail
 
   Hi; I've managed, after some help from various members
 of this list (primarily Mate) to get qmail set up and running,
 and it's delivering localhost messages very well. However;
 
 The test domain that I'm  using as a virtual domain is 
 lakesedge.org ; the files that are relevant are, as I
 understand the instructions;
 
 /var/qmail/control/rcpthosts
 ##
 localhost
 gwydion.highwayone.net
 lakesedge.org
 ##
 
 /var/qmail/control/virtualdomains
 ##
 lakesedge.org: leorg
 ##
 
 and for the test example 
 
 /var/qmail/alias/.qmail-leorg-lyrdarath
 ##
 [EMAIL PROTECTED]
 ##
 
 This congiguration *should* take incoming messages for
 [EMAIL PROTECTED] and forward them to 
 [EMAIL PROTECTED]
 The mailer is serving incoming messages to
 [EMAIL PROTECTED] perfectly well; however, when
 I test-sent a message to [EMAIL PROTECTED] qmail generated
 this response;
 
 ##
 
 Hi. This is the qmail-send program at gwydion.highwayone.net.
 I'm afraid I wasn't able to deliver your message to the following
 addresses.
 This is a permanent error; I've given up. Sorry it didn't work out.
 
 [EMAIL PROTECTED]:
 Sorry, no mailbox here by that name. (#5.1.1)
 
 ##
 
 Can anybody tell me what I've done wrong?
 
 ~Chris
 
 
 



convert netscape mails to qmail

1999-01-28 Thread Van Liedekerke Franky

Hi,

anybody has a script for converting (or resending) netscape mail messages to
qmail format. The netscape mail messages are also in some kind of Maildir
format, but when I change the name to (timestamp).$$.`hostname` and
I try reading them (using POP3), I get the correct number of messages, but
there's nothing in them (empty subject, content, sender...).

Franky



RE: convert netscape mails to qmail

1999-01-28 Thread Van Liedekerke Franky

When I say Netscape mail messages, I mean this on the server side. There
each message is stored seperately in a users Inbox, ready for POP3. Is that
also mailbox format?

 --
 From: Sam[SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, January 28, 1999 5:06 PM
 Cc:   '[EMAIL PROTECTED]'
 Subject:  Re: convert netscape mails to qmail
 
 Van Liedekerke Franky writes:
 
  Hi,
  
  anybody has a script for converting (or resending) netscape mail
 messages to
  qmail format. The netscape mail messages are also in some kind of
 Maildir
  format, but when I change the name to (timestamp).$$.`hostname` and
  I try reading them (using POP3), I get the correct number of messages,
 but
  there's nothing in them (empty subject, content, sender...).
 
 AFAIK Netscape stores all mail in mailbox files.  Each folder is a
 separate
 mailbox file.  Just split them up using formail or reformail.
 



new version of qmail

1999-01-21 Thread Van Liedekerke Franky

Hi,

just wandering when/if the next version is comming out? I see lots of
patches and fixes that could be bundled together for a new qmail: ldap, uce,
oversize dns, and many more. I always see "qmail 2" mentioned in the mailing
list...
If there was a turn on/off method for these extras, instead of having to
install them as patches...

Franky



RE: How to log the qmail-pop3d connection

1999-01-16 Thread Van Liedekerke Franky

Isn't this patch logging to syslog? I ask this because most people log using
the splogger utility, and I try to avoid using syslog. Isn't there a way
(patch) to let qmail-popup log to stderr itself? Only the exit codes from
checkpassword are significant, and they are interpreted in qmail-popup.c

Franky

 --
 From: Jon Rust[SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, November 18, 1999 1:17 AM
 To:   [EMAIL PROTECTED]
 Subject:  Re: How to log the qmail-pop3d connection
 
 If you want username/password logging (including failed logins, with 
 the bad password), Paul Gregg's implementation of checkpoppasswd does 
 this. Obviously once they're logged in, it's under control of pop3d, 
 so you won't get any thing beyond user and pass. Note that logging 
 bad passwords could be considered a security risk.
 
 Here's an example, 1 succeed and 1 fail:
 
 Nov 17 15:21:03 mail0 checkpoppasswd: POP3 connect from 
 unknown@localhost [127.0.0.1]
 Nov 17 15:21:03 mail0 checkpoppasswd: pop3checkpasswd: POP3 user 
 jsmith : /var/qmail/popboxes/vcnet-/jsmith logged in from 
 unknown@localhost [127.0.0.1]
 
 Nov 17 16:12:17 mail0 checkpoppasswd: POP3 connect from 
 unknown@localhost [127.0.0.1]
 Nov 17 16:12:17 mail0 checkpoppasswd: pop3checkpasswd: FAILED: jsmith 
 [jsmith] - password incorrect (bad_pass_here) from unknown@localhost 
 [127.0.0.1]
 
 Find it at:
  
http://www.tibus.net/pgregg/projects/
 
 jon
 
 At 11:00 AM +1100 11/18/99, Marc-Adrian Napoli wrote:
 Hi all,
 
 Regarding pop-3d.
 
  Yea but the original post wanted to record cmd's, kinda like tcpservers
 -v
  option.  Sure you can sniff and dump etc, but nothing built in (aka
 fool
  proof).
 
 I asked this question a while back, and found out that there is no way.
 :(
 
 tcpserver -v won't give you anything useful when running pop-3d.
 Therefore
 piping the output through splogger (and consequently syslog)  gives you
 nothing, i am logging mail.* in syslog and get nothing. (i've tried!)
 
 The only way is for someone to edit some source code of pop-3d to spit
 out
 some info. (Or as mentioned, use tcpdump for this sort of thing.. but
 this
 will most definitely not giev useful information about incorrect
 passwords
 etc).
 
 Anyone already done this?
 
 Regards,
 
 Marc-Adrian Napoli
 Connect Infobahn Australia
 +61 2 92811750