qmail Digest 9 May 2001 10:00:01 -0000 Issue 1359

Topics (messages 62100 through 62151):

Re: delete old mails
        62100 by: Mira Tempír
        62101 by: Henning Brauer
        62104 by: Johan Almqvist

Re: Huge Maildirs?
        62102 by: Mike Jackson

maildrop + vmailmgr: the saga continues
        62103 by: peter green

Re: Daemontools & Supervise
        62105 by: Dave Sill
        62110 by: Karsten W. Rohrbach

Re: POP3 Cluster
        62106 by: Karsten W. Rohrbach
        62114 by: Russ Allbery

Re: linebreak handling / qmail-inject
        62107 by: Karsten W. Rohrbach

Re: using safecat to filter mail
        62108 by: Karsten W. Rohrbach
        62111 by: Johan Almqvist
        62112 by: Karsten W. Rohrbach
        62115 by: Peter van Dijk
        62117 by: Charles Cazabon
        62118 by: Peter van Dijk
        62119 by: Karsten W. Rohrbach

Re: problem with ezmlm
        62109 by: Karsten W. Rohrbach

qmail+vmailmgr+procmail+safecat mini-howto
        62113 by: Peter Peltonen

Re: How to setup under qmail for an incoming message to be delivered to multiple 
addresses?
        62116 by: Charles Cazabon

Re: Patch on qmail-smtpd / vpopmail for rejecting unknown users
        62120 by: Tonix
        62121 by: Tonix

§K¶OÀ°§A¥IADSL¤Î56K
        62122 by: ¥¬§Æ
        62123 by: audit
        62125 by: Russ Allbery
        62132 by: Bill Andersen
        62142 by: tong

forwarding
        62124 by: richard morris
        62145 by: richard morris
        62149 by: richard morris

& parameters
        62126 by: Aaron Goldblatt
        62129 by: Chris Johnson

assign file being overwritten regularly
        62127 by: Carl J. Danowski
        62130 by: Peter van Dijk
        62131 by: Carl J. Danowski
        62133 by: Andy Bradford
        62134 by: Greg White

Qmail + vpopmail + procmail
        62128 by: Spookah .

Re: smtp auth. question through vmailmgr
        62135 by: Wagner Teixeira

aliases
        62136 by: richard morris
        62137 by: audit
        62138 by: Chris Johnson
        62139 by: audit

Re: convert user
        62140 by: Yanurul Anwar

strange problem with virtualdomain file
        62141 by: lkhanna.hughes-ecomm.com

Problem Retrieving Mails with ETRN
        62143 by: Loh Kok Jeng

Mail still undeliverable after qmail-getpw reports correctly.
        62144 by: Foo Ji-Haw

Urgent Qmail Question (Relaying)
        62146 by: Sunil .

R: Urgent Qmail Question (Relaying)
        62147 by: Andrea Cerrito

pop3 connection reset after exactly 1 minute
        62148 by: Jens Hassler
        62150 by: Tonix
        62151 by: Rick Updegrove

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]


----------------------------------------------------------------------


== 08/05/01 13:09  Clemens Hermann ==
| Hi,
| 
| quite a while ago I read about a script that checks a maildir and
| deletes any mail that is older than a specified time (e.g. 30 days).
| I can not find it anymore :-(.
| 
| any hints

script ?
put find ~/Maildir -type f -mtime +30 -exec rm {} \; into your crontab

wow ;)

-- 
  Mira Tempír, student at fi.muni.cz
   <xtempir at informatics.muni.cz>
 




On Tue, May 08, 2001 at 01:09:39PM +0200, Clemens Hermann wrote:
> Hi,
> 
> quite a while ago I read about a script that checks a maildir and
> deletes any mail that is older than a specified time (e.g. 30 days).
> I can not find it anymore :-(.

Take mine for example...

#!/bin/sh

cd ~/lists
for dir in `find . -maxdepth 2 -type d -name cur`; do
  archive=`echo $dir | sed 's/.*\/\(.*\)\/.*/\1/'`
  echo $archive
  for file in `find $dir -ctime +14`; do
    mv $file ~/archive/$archive/
  done;
done;


-- 
* 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)




* Clemens Hermann <[EMAIL PROTECTED]> [010508 13:09]:
> quite a while ago I read about a script that checks a maildir and
> deletes any mail that is older than a specified time (e.g. 30 days).
> I can not find it anymore :-(.

There's something similar on my qmail page (address below).

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

PGP signature





List Monkey wrote:
> 
> Does anyone have experience with HUGE Maildir's?  I have an account that
> is subscribed to a lot of high traffic mailing lists (like this one), and
> I want to keep all the messages on my server.
> 
> I have seen grumblings, but no concrete info, on what may happen when your
> Maildir contains 10,000 or 100,000 or 1,000,000 messages?
> 
> I am running 2.2.* Linux
> 
> Thanks.

Hi,
 I have one account that has 248,881 messages in it's maildir/new
directory, and receives many messages every day. Don't ask me what the
account is for because IMHO it's useless, but I will say that nobody
reads it with an email client. The OS is Solaris 8, platform is Sun
Netra T105 (sparc), filesystem is UFS. I'm using Qmail-LDAP, which
shouldn't really perform any differently in this respect than the stock
Qmail, and there are no problems constantly delivering messages to this
account. 

 The thing you need to keep an eye on is your available inodes. I have a
36GB SCSI external disk mounted to /var/qmail/maildirs and this is how
it looks now. By the looks of things below, I'll run out of disk space
long before I run out of inodes.

$ df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/dsk/c0t15d0s5   4266304  728388 3537916   17% /var/qmail/maildirs

$ df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/dsk/c0t15d0s5    35292880  14155186  20784766  41%
/var/qmail/maildirs

Regards,
Mike




Okay, yesterday I erroneously reported that I had maildrop and vmailmgr
running together, when it was really maildrop and *vpopmail*.

Well, this morning I converted our mail domain from vpopmail to vmailmgr and
copied my maildrop config over, changing a few paths.

Works like a charm. So my previous, unsubstantiated report that maildrop
works just fine with vmailmgr is now substantiated. I'd highly recommend
using it instead of procmail, as it's far more intuitive and easy to
configure (IMO).

Sorry for the noise; followups set.

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
Instead of a trap door, what about a trap window? The guy looks out it, and if 
he leans too far, he falls out. Wait. I guess that's like a regular window.
 (Jack Handey)





Pablo Buenaventura <[EMAIL PROTECTED]> wrote:

>For which way could I know if daemontools is installed
>already?

If you've got /usr/local/bin/supervise, you've probably got
daemontools. On Red Hat, you could check for an RPM:

  rpm -qa | grep daemontools

>What supervise qmail-send, supervise qmail-smtpd and
>supervise qmail-pop3d are used for?

supervise starts, monitors, and controls services. The qmail-send
service consists of qmail-send, of course, and the other long-running
qmail daemons started by qmail-start: qmail-clean, qmail-lspawn, and
qmail-rspawn.

-Dave




rohrbach@WM:datasink[~]6% ls -l /usr/local/bin/(sv*|multilog) 
-rwxr-xr-x  1 root  wheel  - 22076 Mar 12 21:45 /usr/local/bin/multilog*
-rwxr-xr-x  1 root  wheel  - 11740 Mar 12 21:45 /usr/local/bin/svc*
-rwxr-xr-x  1 root  wheel  -  9372 Mar 12 21:45 /usr/local/bin/svok*
-rwxr-xr-x  1 root  wheel  - 13956 Mar 12 21:45 /usr/local/bin/svscan*
-rwxr-xr-x  1 root  wheel  - 11844 Mar 12 21:45 /usr/local/bin/svstat*

on linux, you can check packages with rpm -qa
on freebsd and possibly other bsdish systems you might check the pkg
path /var/db/pkg or use the package instrumentation:

rohrbach@WM:datasink[~]4% pkg_info daemontools\*
Information for daemontools-0.70:
[...]
Description:
Daemontools is a small set of /very/ useful utilities, from Dan
Bernstein.  They are mainly used for controlling processes, and
maintaining logfiles.
[...]

nice description btw ;-)

have fun
/k

Pablo Buenaventura([EMAIL PROTECTED])@2001.05.08 11:42:55 +0000:
> Hi All,
> 
> For which way could I know if daemontools is installed
> already?
> 
> What supervise qmail-send, supervise qmail-smtpd and
> supervise qmail-pop3d are used for?
> 
> Thanks,
> 
> Pablo
> 
> _______________________________________________________________
> Do You Yahoo!?
> Yahoo! Messenger: Comunicación instantánea gratis con tus amigos -
> http://messenger.yahoo.es

-- 
> Great Lover, n.: A man who can breathe through his ears.
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46




Russ Allbery([EMAIL PROTECTED])@2001.05.07 05:09:31 +0000:
> > due to it's nature, being a ufs/ffs,
> 
> EMC Symmetrix do not use UFS/FFS unless the host you're connecting to the
> disk chooses to format the disks that way.  If you don't want to deal with
> UFS, use a logging file system.
sorry for not elaborating the setup. sure thing, i am talking about
symmetrix/connectrix setups, where the fs gets exported as nfs. other
setups are out of discussion because of concurrent access to the same
fs (and if gfs would be stable on *bsd systems, emc symmetrix would
not be an option anymore at all because of the hardware cost and tco).

> 
> > i personally prefer the netapps (although the filesystems are somewhat
> > limited in size compared to emc or ibm)
> 
> A NetApp is a completely different sort of machine than an EMC.  A NetApp
> exports files over protocol rather than as a simple SCSI device.
yup. as i said, i mean symmetrix/connectrix setups

> Maybe you're talking about EMC's Clarion stuff, which is different, or
> some of their newer experimental SAN stuff?  We've been using EMC disk
> here for quite some time and I don't recognize anything in your
> descriptions even remotely like what we're running.
the symmetrix hardware is pretty stable, but we are talking about a
little more bloated raid systems, then, not network storage servers ;-)

if a traditional fcal/san solutions would be an option due to the
semantics of let's say gfs, i would not bother buying emc but rather ibm
sharks, them being more space for the same price.

at least in europe, emc tries to infiltrate businesses using netapp
solutions, actually buying out the used netapps and replacing them with
sym/con clusters.
don't know how to translate it but "emc zieht die butter nicht vom brot"
if you compare it to netapp f760 _and_ you use nfs.

/k

-- 
> Q: What do you get when you cross Dracula with a used car dealer?
> A: autoexec.bat
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46




Karsten W Rohrbach <[EMAIL PROTECTED]> writes:

> sorry for not elaborating the setup. sure thing, i am talking about
> symmetrix/connectrix setups, where the fs gets exported as nfs. other
> setups are out of discussion because of concurrent access to the same fs
> (and if gfs would be stable on *bsd systems, emc symmetrix would not be
> an option anymore at all because of the hardware cost and tco).

Ahh, okay, I'm up to speed now.  Sorry about that.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>




Markus Stumpf([EMAIL PROTECTED])@2001.05.07 15:27:52 +0000:
> > solution for handling DOS style linebreaks with qmail I would appreciate any
> > hints.
> 
> Do correct escaping of LFs according to RFC 2821.
something like
| recode dos:latin1
???
;-)

/k

-- 
> cd /pub; more beer
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46




Peter van Dijk([EMAIL PROTECTED])@2001.05.07 16:41:38 +0000:
> On Mon, May 07, 2001 at 04:37:52PM +0200, Magnus Bodin wrote:
> > 
> > Go for procmail since it contains native Maildir compliance nowadays.
> 
> Maildir support you mean. procmail's Maildir implementation is far
> from 'compliant' (as far as a real compliancy standard exists), and
> can lose mail easily.
please elaborate, why?

/k

-- 
> 130 Jahre Staubsauger.
> Vorher hatte der Hamster quasi keine natuerlichen Feinde...
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46




* "Karsten W. Rohrbach" <[EMAIL PROTECTED]> [010508 14:50]:
> Peter van Dijk([EMAIL PROTECTED])@2001.05.07 16:41:38 +0000:
> > On Mon, May 07, 2001 at 04:37:52PM +0200, Magnus Bodin wrote:
> > > Go for procmail since it contains native Maildir compliance nowadays.
> > Maildir support you mean. procmail's Maildir implementation is far
> > from 'compliant' (as far as a real compliancy standard exists), and
> > can lose mail easily.
> please elaborate, why?

It doesn't follow Maildir file naming conventions. Not even close...

Example file name from procmail:

        _sjF,ED_96.alpha.lunds.lu.se

Should be like:

        989326863.7043.alpha.lunds.lu.se

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

PGP signature





Johan Almqvist([EMAIL PROTECTED])@2001.05.08 15:13:46 +0000:
> It doesn't follow Maildir file naming conventions. Not even close...
> 
> Example file name from procmail:
> 
>       _sjF,ED_96.alpha.lunds.lu.se
> 
> Should be like:
> 
>       989326863.7043.alpha.lunds.lu.se
> 
but the only thing i can see here is that the filename generation is
somewhat different. why should this cause mail to be lost as long as the
generated filenames are unique?

/k


-- 
> who | grep -i blonde | date; cd ~; unzip; touch; finger; mount;\
> gasp; yes; uptime; umount; sleep
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46




On Tue, May 08, 2001 at 03:13:46PM +0200, Johan Almqvist wrote:
> * "Karsten W. Rohrbach" <[EMAIL PROTECTED]> [010508 14:50]:
> > Peter van Dijk([EMAIL PROTECTED])@2001.05.07 16:41:38 +0000:
> > > On Mon, May 07, 2001 at 04:37:52PM +0200, Magnus Bodin wrote:
> > > > Go for procmail since it contains native Maildir compliance nowadays.
> > > Maildir support you mean. procmail's Maildir implementation is far
> > > from 'compliant' (as far as a real compliancy standard exists), and
> > > can lose mail easily.
> > please elaborate, why?
> 
> It doesn't follow Maildir file naming conventions. Not even close...

That is not at all the problem. The problem is that the filenames it
create aren't guaranteed unique, but even worse, it doesn't even try
to prevent overwriting an equally-named file, which is the worst
problem.

Greetz, Peter.




Karsten W. Rohrbach <[EMAIL PROTECTED]> wrote:
> Johan Almqvist([EMAIL PROTECTED])@2001.05.08 15:13:46 +0000:
> > It doesn't follow Maildir file naming conventions. Not even close...
[...]
> but the only thing i can see here is that the filename generation is
> somewhat different. why should this cause mail to be lost as long as the
> generated filenames are unique?

That's the whole point -- djb's Maildir naming convention is designed to
prevent namespace collisions, regardless of how many machines are delivering
into the same Maildir simultaneously, or how many processes, or anything.  If
every program follows his rules, it all works.

procmail, for some reason, uses a totally different naming convention.
There's no good reason for it, and it could result in a namespace collision.
As soon as you get a collision, you've lost mail.

Why take chances?

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




On Tue, May 08, 2001 at 08:14:53AM -0600, Charles Cazabon wrote:
[snip]
> procmail, for some reason, uses a totally different naming convention.
> There's no good reason for it, and it could result in a namespace collision.
> As soon as you get a collision, you've lost mail.

Unless you take precautions to survive collisions. djb's code (and
safecat and possibly others) survive collisions. procmail doesn't.
*that* is the biggest problem.

> Why take chances?

Exactly. That's why I say: pipe to safecat from procmail.

Greetz, Peter.




Charles Cazabon([EMAIL PROTECTED])@2001.05.08 08:14:53 +0000:
> procmail, for some reason, uses a totally different naming convention.
> There's no good reason for it, and it could result in a namespace collision.
> As soon as you get a collision, you've lost mail.
> 
> Why take chances?
i agree by a quantitative approach ;-) being paranoid is better in most
cases. 

/k

-- 
> Only wimps use tape backups; real men put their software on ftp-servers
> and let the rest of the world mirror it. -- Linus Torvalds
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46




do you have the list's subscribers in mysql/pgsql storage, and have you
hand-modified adresses in it? this sounds rather like an ezmlm-idx
quirk you might catch with sql based subscription lists. look for
adresses with more or less than 1 '@', adresses missing the lefthand or
righthand side, etc...
/k

Kris von Mach([EMAIL PROTECTED])@2001.05.07 19:46:59 +0000:
> 
> >No. databytes applies only to incoming SMTP mail.
> 
> That is what I thought too.
> 
> >You should look in the logs. You'll find there the reasons for the deferral=
> >s.
> >(I know you said that there's nothing in the logs that indicates a problem,=
> >  but
> >if you sent mail to 260 recipients and it was delivered to only 150 of them,
> >there will be something in the logs telling you why.)
> >
> >Chris
> 
> I did check the logs. According to the logs, there were only 150 emails
> sent. There were no deferrals. It's like as if the list was made out of only
> 150 members. I have tripple checked and the list does in fact have 260
> members. When it started the delivery of 150th email, this is what I had in
> my log, @400000003af6a3f40f5aafdc status: local 1/10 remote 153/255, the
> three other deliveries were of just some other email sends. And then after
> this, no errors and no deferrals, just delivery success messages for the
> first 150 emails.
> 
> Also, the 150emails that were sent are the first 150 emails from the 260...
> It's actually in order. I have dumped the list from the mailing list, and
> created another list with just the remaining 110, and sent out my email that
> way, which of course went out without a problem. Maillog shows just the
> first 150 emails sent out, also no errors. I also checked messages log and
> dmesg log, nothing in there either...
> 
> __
> Kris.

-- 
> Condoms are like listening to a symphony with cotton in your ears.
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46





I finally got it working. Maybe it would have been easier to use maildrop (as
Peter Green reported that he got it working with vmailmgr), but I really don't
care, as long as I've got a working server-side filtering system.

Please feel free to comment. Could I have avoided creating
/var/spool/mail/[VMAILDOMAIN_USER] file somehow?



QMAIL+VMAILMGR+PROCMAIL+SAFECAT MINI-HOWTO
------------------------------------------


- Connect to your mail server as root with ssh.


- First check that you have all the programs installed.


- I use the following expressions in this document:

  [VMAILDOMAIN_USER] = the user's name in who's home directory the virtual
domain is
  installed
  
  [VUSER] = the name of the virtual mail user

  For example in my mail server configuration these would be:

  [VMAILDOMAIN_USER] = vdomain1
  
  [VUSER] = peter:peltonen

  
- I found out that if file /var/spool/mail/[VMAILDOMAIN_USER] didn't exist,
procmail
  wouldn't work. So check that it exists. If it doesn't, create it and give it
  proper ownership:
  
  root# touch /var/spool/mail/[VMAILDOMAIN_USER]
  
  root# chown [VMAILDOMAIN_USER]:mail /var/spool/mail/[VMAILDOMAIN_USER]
  
  First time procmail is used it gives the file proper permissions.
  
  
- Create the user's .procmailrc:

  root# su - [VMAILDOMAIN_USER] -c "touch
  /home/[VMAILDOMAIN_USER]/users/[VUSER]/.procmailrc"
  
  
- Make the filtering rules to that file. You can see my example .procmailrc at
the
  end of this document. Great advice can be also found at:
  
  http://www.ii.com/internet/robots/procmail/qs/#recipes
  
- Enable procmail-filtering by editing /home/[VMAILDOMAIN_USER]/.qmail-[VUSER]
file
  and replacing the line

  --snip--
  |/usr/bin/vdeliver
  --snip--

  to

  --snip--
  | preline /usr/bin/procmail /home/kotelo/users/peter/.procmailrc
  --snip--
  
  NOTE: If you don't have a /home/[VMAILDOMAIN_USER]/.qmail-[VUSER] file,
create it
  and put the procmail line in it.
  
  
- That's it!
  
  
  
MY EXAMPLE .PROCMAILRC
----------------------
  
--snip--
# 
# tell procmail where to find my maildir
#

MAILDIR="/home/vdomain1/users/peter:peltonen"
  
  
#
# the filtering rules
# 
  
# to courier-list
:0
* ^[EMAIL PROTECTED]
{
        :0
        | /usr/bin/maildir $MAILDIR/.courier-list
}
  
# put the rest of my mail to my Inbox
:0  
{
        :0
        | /usr/bin/maildir $MAILDIR/
}
--snip--

Regards,
Peter




[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> I´m using qmail for all incoming and outgoing messages in a internet domain
[...]

So far, so good.

> - let´s say domain.com.

Let's not.  Please use real, unadulterated host/domain/IP information.  It
makes our job easier in many cases.

> I need to setup qmail to send a copy of every message sent by
> [EMAIL PROTECTED] to [EMAIL PROTECTED] automatically.  I cannot be sure that
> [EMAIL PROTECTED] will copy [EMAIL PROTECTED] for every message he/she sent.

This is most easily fixed in user1's MUA; any decent MUA will provide a simple
configuration for specifying an automatic cc: recipient.

> Can Qmail handle such feature with no additional compilation? Do I need any
> additional package compatible with it?

If you _must_ do this in the MTA, follow Dan's instructions on setting
QUEUE_EXTRA (he suggests the value "Tlog\0").  Then have a script called from
~alias/.qmail-log which checks $SENDER, and if it is user1, forward a copy to
user2.  You may have to set NEWSENDER in the script, so that it doesn't cause
a loop.

You can find Dan's directions for this type of thing under "How do I keep a
copy of all mail..." or something like that, on his site at cr.yp.to.

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




sorry, but I cannot appreciate the difference...

For me isn't nothing more than a comment (I thought iw was tha last 
modified version of qmail-smtpd, but I was wrong probably). May you please 
explain me the difference?

Thanks,

Tonino

P.S. Why I'm receiving two times every message? I subscribe only one time.


At 07/05/2001 07/05/2001 -0500, you wrote:
> > void err_realrcpt() { out("553 sorry, no mailbox here by that name 
> (#5.7.1 -
>usrchk)\r\n"); }
>
>#5.7.1, Hummm... shouldn't that be #5.1.1 ;)
>
> > void err_realrcpt() { out("553 sorry, no mailbox here by that name - usrchk
>(#5.1.1)\r\n"); }
>
>
>--Larry M. Smith
>mailto:[EMAIL PROTECTED]
>cat BOFH | sed s/Operator/Postmaster/g > BPFH
>
>Tonix wrote:
>
> > I've developed a patch for qmail-smtpd with vpopmail, for rejecting non
> > existing users/aliases/mailing lists.
> >
> > This patch is now working nice on my system since more than 2 months, so I
> > think it's pretty stable and I may submit it to the community.
> >
> > The patch is freely available to everyone want to use it.
> >
> > The address of the HTML page for this patch is:
> >         http://www.interazioni.it/qmail





Well, not be sorry, I'm learning...

I have to modify the patch for other reason also (new qpasswd struct, 
checking of bounce mail flag), so I'll change this error to 550 too.

I would like also to use this patch to reject senders using some 
recipient's filter files.
Is there any suggestion about a filtering scheme? Is there a standard already?

Ciao,

Tonino

At 07/05/2001 07/05/2001 -0500, you wrote:
>Let me get the coffee pot put back on...
>
> > void err_realrcpt() { out("550 sorry, no mailbox here by that name
>(#5.1.1)\r\n"); }
>
>Sorry about that...
>
>RFC2821 4.2.3;
>       550 Requested action not taken: mailbox unavailable
>          (e.g., mailbox not found, no access, or command rejected
>          for policy reasons)
>
>RFC1893 3.2;
>        X.1.1   Bad destination mailbox address
>
>           The mailbox specified in the address does not exist.  For
>           Internet mail names, this means the address portion to the
>           left of the "@" sign is invalid.  This code is only useful
>           for permanent failures.
>
>
>
>
>Tonix wrote:
>
> > I've developed a patch for qmail-smtpd with vpopmail, for rejecting non
> > existing users/aliases/mailing lists.
> >
> > This patch is now working nice on my system since more than 2 months, so I
> > think it's pretty stable and I may submit it to the community.
> >
> > The patch is freely available to everyone want to use it.
> >
> > The address of the HTML page for this patch is:
> >         http://www.interazioni.it/qmail





Title:
 ³Þ!§A·QÁÈ¿ú¶Ü?

¤£­nÃhºÃ...§Ú¨C­Ó¤ëªº¼·±µ¤Wºô¤Î¥Ø«e

ªºADSL³£¦³¤F³o®a¤½¥qÀ°§Ú­t¾á! ¤£¦p

°¨¤W¦æ°Ê§a!

============±a §Ú¥hA¿ú=============

¤Wºô°g....





-----BEGIN PGP SIGNED MESSAGE-----

Am I the only one that this is bugging? According to the headers, someone
at the University of Illinois needs to check their machines out.

audit



On Wed, 9 May 2001, ¥¬§Æ wrote:

>> ³Þ!§A·QÁÈ¿ú¶Ü?
>>
>>¤£­nÃhºÃ...§Ú¨C­Ó¤ëªº¼·±µ¤Wºô¤Î¥Ø«e
>>
>>ªºADSL³£¦³¤F³o®a¤½¥qÀ°§Ú­t¾á! ¤£¦p
>>
>>°¨¤W¦æ°Ê§a!
>>
>>============±a §Ú¥hA¿ú=============
>>
>>¤Wºô°g....
>>
>>
>>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: http://www.radiusnet.net

iQCVAwUBOvhwXqyzESGmHGLJAQEg+QQAoyGns1urW4lA7uRRTfyqbEzyRsvPOamS
0E2rwsKEUqYOIHju+PQS1eZpcYYxU8s8VVh41KNEAADMTZaZUP7QOJ5Ax2rxR9cH
tuP0qWAnitBYA/wjXhO8xixidzfioofIPxrnzYlWZS+i7gzHh4y5zmQiOVD/4TS2
Z//GpJv9xxQ=
=Wmo5
-----END PGP SIGNATURE-----





audit <[EMAIL PROTECTED]> writes:

> -----BEGIN PGP SIGNED MESSAGE-----
> Am I the only one that this is bugging? According to the headers, someone
> at the University of Illinois needs to check their machines out.

The University of Illinois is where this mailing list is hosted.

Received: from 61-216-68-78.hinet-ip.hinet.net (HELO TmpStr) (61.216.68.78)
  by muncher.math.uic.edu with SMTP; 8 May 2001 22:12:33 -0000

The spammer is sending mail directly from the above dialup account.
hinet.net is the place to complain to.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>




This message attmepts to load the Chineese Character set.

It could be SPAM, or it could be a question written in Chineese...

I CAN'T read Chineese, but I'll take a stab at translating it anyway.
(I feel lucky today!)

I'll bet he is asking at LEAST one of the following questions...

1) Why does it take so long to check mail?
2) How do I set up relaying?
3) How do I set up virtualdomains?
4) How can I discard Mail?

Robin, Tim, Dave... you guys want to flame him or should I?

:) :) :)Bill




Just for your information.

This list has been spammed by users several times in the past
few days.  One common characteristics of the spamming emails is that
they were all written in Chinese and their advertisements point to
various commercial  web sites seemed to be written in Chinese
 ( I never clicked on those sites though I understand Chinese very well ).

----- Original Message -----
From: "Russ Allbery" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 6:31 AM
Subject: Re: §K¶OÀ°§A¥IADSL¤Î56K


> audit <[EMAIL PROTECTED]> writes:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Am I the only one that this is bugging? According to the headers,
someone
> > at the University of Illinois needs to check their machines out.
>
> The University of Illinois is where this mailing list is hosted.
>
> Received: from 61-216-68-78.hinet-ip.hinet.net (HELO TmpStr)
(61.216.68.78)
>   by muncher.math.uic.edu with SMTP; 8 May 2001 22:12:33 -0000
>
> The spammer is sending mail directly from the above dialup account.
> hinet.net is the place to complain to.
>
> --
> Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>
>





Hi all,

we need to complete forwarding. I have read the LWQ and they mention .qmail
files? Our environment is qmail + vpopmail. Would fastforward or dot.forward
be the best options?

Best regards,
Richard.






Hi All,

I am trying to implement forwarding utilising fastforward, it does work
however I cannot seem to have it forward to local users on the same box. my
aliases file is as follows

[EMAIL PROTECTED]: [EMAIL PROTECTED],
[EMAIL PROTECTED]

it forwards to the [EMAIL PROTECTED] but not to the
[EMAIL PROTECTED] ? Even if I change it as follows it still don't
work,

[EMAIL PROTECTED]: [EMAIL PROTECTED], user


Richard.





Hi All,

I am trying to implement forwarding utilising fastforward, it does work
however I cannot seem to have it forward to local users on the same box. my
aliases file is as follows

[EMAIL PROTECTED]: [EMAIL PROTECTED],
[EMAIL PROTECTED]

it forwards to the [EMAIL PROTECTED] but not to the
[EMAIL PROTECTED] ? Even if I change it as follows it still don't
work,

[EMAIL PROTECTED]: [EMAIL PROTECTED], user


Richard.





man dot-qmail indicates & is used for forwarding messages, and format is 
straight-forward.  Is it permissable to forward a message to a device -- 
i.e., &/dev/null?  Or is bit-bucketing of email something exclusively 
belonging to procmail?

Thank you.

ag





On Tue, May 08, 2001 at 05:34:41PM -0500, Aaron Goldblatt wrote:
> man dot-qmail indicates & is used for forwarding messages, and format is 
> straight-forward.  Is it permissable to forward a message to a device -- 
> i.e., &/dev/null?

That won't work.

What you need is a .qmail file with only a comment in it:

echo '#' > .qmail-whatever

Mail handled by this .qmail file will be bit-bucketed.

Chris

PGP signature





Does anyone know why the 'assign' file in /etc/qmail/users would continually be overwritten?
 
I edit it and run qmail-newu and everything works great...
 
then, at some point later, assign is re-written and the addresses don't work anymore.
 
for example, i've got:
 
=carl:carldan:600:100:/home/carldan:::
 
which later gets written to
 
=carldan:carldan:600:100:/home/carldan:::
 
hmm...
 
Thanks!
 
 




On Tue, May 08, 2001 at 06:42:20PM -0400, Carl J. Danowski wrote:
> Does anyone know why the 'assign' file in /etc/qmail/users would continually be 
>overwritten?
[snip]

I heard something about bruceg's RPM rewriting that file from cron.
It's somewhere in the archives, I think.

Greetz, Peter.




i think i just figured it out.
 
look what was in cron.hourly:
 
#!/bin/sh
set -e
cd /var/qmail/users
test -s assign -a -s cdb && \
qmail-pw2u </etc/passwd >assign && \
qmail-newu
 
Hmm.... i guess it puts this in by default (or something did)...
 
well, that's gone.  i guess that would be a handy file to have in cron.hourly because if you didn't know any better, it'd create users for you automatically.
 
Carl
 




On Tue, 08 May 2001 18:42:20 EDT, "Carl J. Danowski" wrote:

> Does anyone know why the 'assign' file in /etc/qmail/users would continually be 
>overwritten?
> 

Hmm, who else has ``root'' access to your box?  If none, which cronjob 
did you write that overwrites it?  If none, which web utility did you 
write/install which overwrites it?  Basically, there is no qmail 
process that will do this---you or someone must be doing it.

Andy





On Tue, May 08, 2001 at 06:42:20PM -0400, Carl J. Danowski wrote:
> Does anyone know why the 'assign' file in /etc/qmail/users would continually be 
>overwritten?
> 
> I edit it and run qmail-newu and everything works great...
> 
> then, at some point later, assign is re-written and the addresses don't work anymore.

qmail+patches RPM?

Search the following page for 'cron':

http://untroubled.org/qmail+patches/

That ought to get you started....If you didn't install from the above
RPM, let me know.... 

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




Im currently using Qmail + vpopmail and im trying to get my procmail filters 
working.  Right now, it appears procmail is somewhat functional.  If an 
e-mail matches my filter, the email is still sent to my Maildir, but _all_ i 
get from the message is:

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]

Here is my setup..

/var/qmail/rc :

#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|dot-forward .forward
|preline procmail ./Maildir/' splogger qmail

/home/vpopmail/domains/my-domain.com/.qmail-default :

|preline /usr/bin/procmail -m 
/home/vpopmail/domains/my-domain.com/.procmail.rc | 
/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

Any and All suggestions are very much appreciated,
Spookah
Network Technician
Linux Administrator
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





I've seen that... For those that like Outlook, I recommend an ugly thing:
create 2 profiles for the same account :-/

The fist profile just receive (SMTP server: NOSERVER.NODOMAIN), and the
second - the default profile - just sends (POP3 server:
NOSERVER.NODOMAIN)...

I would appreciate if someone has a better solution.

Wagner.

> I host a lot of virtual domains but the Outlook cannot send after
> receive.  I
> was looking for some way to chenge this setting in the outlook
> but until now
> no luck.
>
> Is there a posibility to enable smtp authentication through the vmailmgr?
>
> I have installed the version of qmail-smtpd.c with authorization but this
> doesnt work for virtual users.
>
> Any help will be appreciated.






Hi all,

how does one add multiple recipients to a user in /etc/aliases for
forwarding? (format)?

richard: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]??

Many thanks,
Richard.







-----BEGIN PGP SIGNED MESSAGE-----

like the following

richard: [EMAIL PROTECTED]

then run /usr/bin/newaliases


audit



On Wed, 9 May 2001, richard morris wrote:

>>
>>Hi all,
>>
>>how does one add multiple recipients to a user in /etc/aliases for
>>forwarding? (format)?
>>
>>richard: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]??
>>
>>Many thanks,
>>Richard.
>>
>>
>>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: http://www.radiusnet.net

iQCVAwUBOviUiKyzESGmHGLJAQELnAP/REwupNFHwOjQNV9cH7rAjfd6r/cPablC
Q9sgJSHSDmIUihygQ5wabSahLcoAmuEITWnANJk2JOPLHokEmre4Bojcx1PPio2Y
oZpwXUZLPsgAv4rv/q1s2mg8RFrkXptwQtHjmOn3S0AbYKXJQAkKzS66BiB2k/vA
HU/ERhu4tQ4=
=ZU66
-----END PGP SIGNATURE-----





On Wed, May 09, 2001 at 02:30:09AM +0200, richard morris wrote:
> how does one add multiple recipients to a user in /etc/aliases for
> forwarding? (format)?
> 
> richard: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]??

richard: [EMAIL PROTECTED], [EMAIL PROTECTED]

Chris

PGP signature





-----BEGIN PGP SIGNED MESSAGE-----


Richard,

I'm sorry, that ment to say the following,

Richard:  [EMAIL PROTECTED],[EMAIL PROTECTED]

and so on for as many as you need.

audit



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: http://www.radiusnet.net

iQCVAwUBOviYo6yzESGmHGLJAQHKqQP/coG/KdXJbSTP/EE5xE2UDElNvtl12YFd
ezxFwurkjtUzISFsfCpFbemkygdbqPR6rUzmwqGC7Gej04SUVNUtKtq4KM6wjCWU
ciu+VYa7fUkID3ltdZdS9iWvMZ2mcsVOJvC+V8AxYTJ9L12uZUifMSxgtsjiIJ7q
t9ZSyc8R6zo=
=F2KL
-----END PGP SIGNATURE-----






----- Original Message -----
From: Yanurul Anwar <[EMAIL PROTECTED]>
To: Csaba Bobak <[EMAIL PROTECTED]>
Sent: Tuesday, May 08, 2001 4:10 PM
Subject: Re: convert user

sorry to bring it on forum csaba...

>
> ----- Original Message -----
> From: Csaba Bobak <[EMAIL PROTECTED]>
> To: Yanurul Anwar <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, May 08, 2001 2:12 PM
> Subject: Re: convert user
> Hi again
>
> I read the qmail-pw2u and pmail-newu like u said.
> here what i've done :
> - i got my new /etc/passwd file copied from the old server.
>    i.e:
>    ali:x:1016:2000: Ali yahya:/home/ali:/bin/bash
>    and alot more lines
> - i do : # /var/qmail/bin/qmail-pw2u </etc/passwd >
/var/qmail/users/assign
> then
>    # /var/qmail/bin/qmail-newu
>
> here's what happened:
> accutally i have 2 passwd files, one from the new server containing user
> that i've created manually and the second is from the old server (the one
> i've intend to convert).
> what happened is i succesfully create an assign file using the first
passwd
> file but failed when using the second (no error massage but nothing
happened
> to the assign file).
> - am i have to create all user manually first then i'll be able to create
> qmail user
> (like smbuser created after creating user manually first) ?. the second
> rules (from man qmail-pw2u) said that qmail-pw2u skip user that dont have
> home directory. it mean that i have to create it manually first right ?
 i
> hope its wrong!)
> - what step do i missed ?
> - i expect to see that after i crated qmail user i'll see Mailbox file in
> every home directory of all user that i created using above methode. is
> qmail-pw2u work that way?
>
>
> sorry to ask such newbie questions and thanks for all the patience
>
>  > Step 1)  'man qmail-pw2u'
> > Step 2)  'man qmail-newu'
> > Step 3)  mail to the list if no success
> >
> > Have a good read at the good-enough qmail docs.
> >
> > Csaba
> >
> >
> > Original Message dated 2001.05.08, 4:33:41
> > Author: "Yanurul Anwar" <[EMAIL PROTECTED]>
> > Re: convert user:
> >
> >
> > hi all
> >
> > recently i convert mail server into qmail. we used a new comp and
> > instaled it. i'm trying to convert user from /etc/passwd from the old
> > server (about 1500 user) into qmail user in the new server (including
the
> > password).
> > is there any easy way to do this? rather than typing it one by one?
> > any manual?
> >
> >
> >
> >
> > __________
> > This message went through virus scan at Trend Ltd. which stated
> > the message was clean of viri appeared before 2001.05.02.
>





Dear sir,

I am facing a very starange problem,
I am using qmail 1.03 on red hat 6.2 and giving mailing solution to 18
different customers, whose Mx pointing is my server.

My all the domains are listed in virtualdomains file with some prepend, Like
ttk-lig.com is one of the entry and i m using prepend ttk for this. and for
maricoinidia.net its mil. So my
virtualdomains file for ttk-lig.com is

ttk-lig.com:ttk
maricoinidia.net:mil


And till yesterday every thing was working fine. But suddenly mail server
started giving problem for ttk-lig.com only. Mails for other domain is
workig fine.
For ttk-lig.com i m having pop accounts as well as i m doing just forwarding
also to their destination server for some users.
I am doing forwarding by making a default alias .qmail-ttk-default. and
entry in this file is like this...

|forward $[EMAIL PROTECTED]

and in smtproutes i m having below entry for  ttklig_ch_notes.ttk-lig.com
ttklig_ch_notes.ttk-lig.com:[192.168.100.1]

Now when ever i m sendng a  mail to any ttk guy whose mailbox is at remote
server ( just forwarding  should do ) , then mail is getting bounced back by
saying that no mailbox available. And mail is bouncing from my own
server..while if i m sending a mail to that user whose mailbox is at my
server then mail is going.
I feel its not reading the alias file...

But when i changed the prepend ttk to ttklig and i made a default alias
.qmail-ttklig-default and gave the below entry in it
|forward $[EMAIL PROTECTED]     ( and smtproutes file is
also having the required entry. )

mails started going....now its reading the alias file by just changing the
prepend word...


both .qmail-ttk-default and .qmail-ttklig-default file has same permition\

   4 -rw-rw-r--    1 root     root           46 May  7 17:29
.qmail-ttk-default

   4 -rw-rw-r--    1 root     root           46 May  7 19:47
.qmail-ttklig-default


Could you pl help me , why it happens,, why its not taking prepend word ttk.
Why its blocking word ttk, Is there any command so that i can make it
workable with ttk prepend only..
Is there any bug in qmail. My qmail version is qmail-1.03-8

Pl help me for this

Regards

Lokesh












Hi all,

I'm using qmail 1.03 with qmail-etrn-0.1f patch.  I am able to issue
ETRN command to port 25 and get "250 ok" response from the server.
However, the server doesn't tranfer the emails to me even when there are

mails in the Maildir.  I have trace the program qmail-send and found the

it can't read the content of etrntrigger properly.  The portion of the
code is shown below:

1515:        n=read(etrn_fd, buf, sizeof buf);
1516:        if(n!=sizeof buf)
1517:             return;

It always returns without transfering mails to the client.  By the way,
the file size of etrntrigger is correct, i.e. 264 bytes.

Any help would be very much appreciated.  Thanks.
--
regards,
Kok Jeng, Loh





Hello all,
 
I'm trying to set up qmail+mysql on my freebsd 4.2, using the standard port.
Following the config recommended by Iain, I finally got my qmail-getpw to read the mailboxes from the mysql dbase correctly. What I cannot get going though, is that the mails always get bounced with the following error:
 
   ----- The following addresses had permanent fatal errors -----
[EMAIL PROTECTED]
 
   ----- Transcript of session follows -----
554 5.0.0 MX list for postboy.net. points back to markus.postkidxp.com
554 5.3.5 [EMAIL PROTECTED]... Local configuration error
 
    [ Part 2: "Delivery Status" ]
 
Reporting-MTA: dns; markus.postkidxp.com
Arrival-Date: Tue, 8 May 2001 17:41:49 +0800 (SGT)
 
Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.5.0
I thought the 'local config error' means that I did not configure my localhost file correctly, but even after I set my file to such:
 
[root@markus /var/qmail/control]$ cat locals
localhost
mail.postboy.net
postboy.net
The same error is still reported.
 
Does anyone have an idea what else is missing in my config?
 
 
----- Original Message -----
From: Foo Ji-Haw
Sent: Friday, 27 April, 2001 2:21 PM
Subject: Please help! I'm so close to getting qmail up...

Hi all,
 
Some background:
-I'm trying to run qmail on my Freebsd 4.2.
-I'm using qmail from the freebsd cd package.
-I read the FAQs, bought the Qmail book from SAMS, and prepared the qmail daemons. They are up and running exactly as depicted in the book.
-I tried a simple test to send a local mail to myself with the following command:
 
cat test | /var/qmail/bin/qmail-inject
 
The mail did not get processed. I found this in the maillog:
 
Apr 27 13:42:48 markus qmail: 988350168.284945 delivery 32: deferral: mail.local
:_lockmailbox_/var/mail/jhfoo_failed;_error_code_75_/
Apr 27 13:42:48 markus qmail: 988350168.285228 status: local 1/10 remote 0/20
Apr 27 13:43:10 markus mail.local: lockmailbox /var/mail/jhfoo failed; error cod
e 75
Apr 27 13:43:10 markus qmail: 988350190.305262 delivery 33: deferral: mail.local
:_lockmailbox_/var/mail/jhfoo_failed;_error_code_75_/
Apr 27 13:43:10 markus qmail: 988350190.305477 status: local 0/10 remote 0/20
 
I trid setting /var/mail to drwxrwxrwx, then I get this error:
 
Apr 27 14:16:00 markus qmail: 988352160.082426 delivery 54: deferral: mail.local
:_setreuid(0,_1000):_Operation_not_permitted_(r=1000,_e=1000)/
Apr 27 14:16:00 markus qmail: 988352160.082655 status: local 0/10 remote 0/20
Apr 27 14:17:38 markus qmail: 988352258.085002 starting delivery 55: msg 454 to
local [EMAIL PROTECTED]
Apr 27 14:17:38 markus qmail: 988352258.085580 status: local 1/10 remote 0/20
Apr 27 14:17:38 markus mail.local: setreuid(0, 1000): Operation not permitted (r
=1000, e=1000)
Apr 27 14:17:38 markus qmail: 988352258.149416 delivery 55: deferral: mail.local
:_setreuid(0,_1000):_Operation_not_permitted_(r=1000,_e=1000)/
Apr 27 14:17:38 markus qmail: 988352258.149625 status: local 0/10 remote 0/20
 
Can someone please tell me what to do? I'm so darn close to getting qmail up!!!




Hi There,
I just installed "SMTP Relaying Control by Bruce Guenter Version 2.5".
I installed from the gzipped format. Everything went fine and there were no 
errors reported.

I have inserted the required line in the file /service/qmail-pop3d/run. I am 
very sure nothing is wrong with this.

The only thing left is the cron entry which i have not done yet. I don't 
think that should matter at this moment right.??

I am still unable to do selective relay and i still get the same old message 
as below.

>The message could not be sent because one of the recipients was >rejected 
>by the server. The rejected e-mail address >was '[EMAIL PROTECTED]'. 
>Subject 'sad', Account: 'myserver.com', >Server: myserver.com', Protocol: 
>SMTP, Server Response: '553 sorry, >that domain isn't in my list of allowed 
>rcpthosts (#5.7.1)', Port: 25, >Secure(SSL): No, Server Error: 553, Error 
>Number: 0x800CCC79


Another problem is that, it takes a whole load of a time before i can 
connect to the POP or SMTP server. I am using tcpserver. I added the 
following switches in my run file: "-H -R". Initially, i noticed some 
improvement in the speed of connection. But i tried again after sometime and 
i realized that it went back to its usual ways.

Please help..
Regards,
Sunil
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





> -----Messaggio originale-----
> Da: Sunil . [mailto:[EMAIL PROTECTED]]
> Inviato: mercoledì 9 maggio 2001 9.47
> A: [EMAIL PROTECTED]
> Oggetto: Urgent Qmail Question (Relaying)
>
>
> Hi There,
> I just installed "SMTP Relaying Control by Bruce Guenter Version 2.5".
> I installed from the gzipped format. Everything went fine and
> there were no
> errors reported.
>
> I have inserted the required line in the file
> /service/qmail-pop3d/run. I am
> very sure nothing is wrong with this.
>
> The only thing left is the cron entry which i have not done yet. I don't
> think that should matter at this moment right.??

Well, not, but don't forget it or probably you'll have an open relay soon
:).

> I am still unable to do selective relay and i still get the same
> old message
> as below.
>
> >The message could not be sent because one of the recipients was
> >rejected
> >by the server. The rejected e-mail address >was '[EMAIL PROTECTED]'.
> >Subject 'sad', Account: 'myserver.com', >Server: myserver.com',
> Protocol:
> >SMTP, Server Response: '553 sorry, >that domain isn't in my list
> of allowed
> >rcpthosts (#5.7.1)', Port: 25, >Secure(SSL): No, Server Error:
> 553, Error
> >Number: 0x800CCC79

Well, relayctrl is not doing his job.
Anyway, post your run script and a strace, if possible, to see what the
problem could be.
Maybe relayctrl can't write in the right dir, can't read your conf files,
can't run tcprules...

> Another problem is that, it takes a whole load of a time before i can
> connect to the POP or SMTP server. I am using tcpserver. I added the
> following switches in my run file: "-H -R". Initially, i noticed some
> improvement in the speed of connection. But i tried again after
> sometime and
> i realized that it went back to its usual ways.

I think it may be a dns issue.
This is my tcpserver:

-v -H -P -R -l $HOSTNAME

and it works perfectly.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^^^^^^^^^^^^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. 0744 / 5441330
Fax. 0744 / 5441372





Hi there,

we're experiencing VERY strange problems with our QMail installation.

I've set up QMail as stated in the "Life with QMail" document and everything
works fine. The POP3 server is started over inetd, because its a very low
traffic server:

pop3    stream  tcp     nowait  root    /var/qmail/bin/qmail-popup
qmail-popup my-server.com /bin/checkpasswordnt /var/qmail/bin/qmail-pop3d
Maildir

When clients connect they can retrieve all eMails. But if one of them is
larger and the connection lasts longer than 60 seconds, QMail seems to
suddenly reset the connection! This is a reproducable behaviour.

Outlook Express gives me following error message: "Your server has
unexpectedly terminated the connection. Possible causes for this include
server problems, network problems, or a long period of inactivity."

- it's the same with different internet providers
- it's the same thing when using Outlook Express and Netscape Messenger as
mail clients
- the problem is the same when using tcpserver
- the problem is not the type or the size of the mail, only connection time
- these mail clients retrieve big mails from other (public) mail servers
without any problems!

These are the last lines of a connection trace with tcpdump:

10:24:11.970250 server.pop3 > client.1045: . 230481:231017(536) ack 0 win
32696 (DF)
10:24:11.970271 server.pop3 > client.1045: P 231017:231553(536) ack 0 win
32696 (DF)
10:24:12.111078 client.1045 > server.pop3: . 0:0(0) ack 230481 win 2144 (DF)
10:24:12.111138 server.pop3 > client.1045: FP 231553:232073(520) ack 0 win
32696 (DF)
10:24:12.242815 client.1045 > server.pop3: . 0:0(0) ack 231553 win 2144 (DF)
10:24:12.327520 client.1045 > server.pop3: . 0:0(0) ack 232074 win 1624 (DF)
10:24:12.334402 client.1045 > server.pop3: F 0:0(0) ack 232074 win 1624 (DF)
10:24:12.334452 server.pop3 > client.1045: . 232074:232074(0) ack 1 win
32696 (DF)

As you can see the server is pushing a FIN request to the client, not
otherwise!


I have to bring this to work asap, otherwise the users kill me :-)

Thx A LOT for your help, I really hope someone of you has the solution.
Jens







Do you have any antivirus software running over your Outlook express and 
using 127.0.0.1 as local pop to filter messages?

If yes, try to disable it and try again.

Tonino

At 09/05/2001 09/05/2001 +0200, you wrote:
>Hi there,
>
>we're experiencing VERY strange problems with our QMail installation.
>
>I've set up QMail as stated in the "Life with QMail" document and everything
>works fine. The POP3 server is started over inetd, because its a very low
>traffic server:
>
>pop3    stream  tcp     nowait  root    /var/qmail/bin/qmail-popup
>qmail-popup my-server.com /bin/checkpasswordnt /var/qmail/bin/qmail-pop3d
>Maildir
>
>When clients connect they can retrieve all eMails. But if one of them is
>larger and the connection lasts longer than 60 seconds, QMail seems to
>suddenly reset the connection! This is a reproducable behaviour.
>
>Outlook Express gives me following error message: "Your server has
>unexpectedly terminated the connection. Possible causes for this include
>server problems, network problems, or a long period of inactivity."
>
>- it's the same with different internet providers
>- it's the same thing when using Outlook Express and Netscape Messenger as
>mail clients
>- the problem is the same when using tcpserver
>- the problem is not the type or the size of the mail, only connection time
>- these mail clients retrieve big mails from other (public) mail servers
>without any problems!
>
>These are the last lines of a connection trace with tcpdump:
>
>10:24:11.970250 server.pop3 > client.1045: . 230481:231017(536) ack 0 win
>32696 (DF)
>10:24:11.970271 server.pop3 > client.1045: P 231017:231553(536) ack 0 win
>32696 (DF)
>10:24:12.111078 client.1045 > server.pop3: . 0:0(0) ack 230481 win 2144 (DF)
>10:24:12.111138 server.pop3 > client.1045: FP 231553:232073(520) ack 0 win
>32696 (DF)
>10:24:12.242815 client.1045 > server.pop3: . 0:0(0) ack 231553 win 2144 (DF)
>10:24:12.327520 client.1045 > server.pop3: . 0:0(0) ack 232074 win 1624 (DF)
>10:24:12.334402 client.1045 > server.pop3: F 0:0(0) ack 232074 win 1624 (DF)
>10:24:12.334452 server.pop3 > client.1045: . 232074:232074(0) ack 1 win
>32696 (DF)
>
>As you can see the server is pushing a FIN request to the client, not
>otherwise!
>
>
>I have to bring this to work asap, otherwise the users kill me :-)
>
>Thx A LOT for your help, I really hope someone of you has the solution.
>Jens





From: "Jens Hassler" <[EMAIL PROTECTED]>
> I've set up QMail as stated in the "Life with QMail" document and everything
> works fine. The POP3 server is started over inetd, because its a very low
> traffic server:

I suggest that you supervise it and see what happens.  AFAIK LWQ does not
reccomend that you use inetd and neither does anyone on this list.

bash-2.04# cat /var/qmail/supervise/qmail-pop3d/run
/var/qmail/supervise/qmail-pop3d/log/run
#!/bin/sh
exec /usr/local/bin/softlimit -m 2000000 \
tcpserver -l0 -v -H -R 0 pop-3 /var/qmail/bin/qmail-popup \
updegrove.net /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill multilog t /var/log/qmail/pop3d

> Outlook Express gives me following error message: "Your server has
> unexpectedly terminated the connection. Possible causes for this include
> server problems, network problems, or a long period of inactivity."

What is the timeout set to?  I set mine to 5 minutes and I use "-l0 -H -R" in my
script as illustrated above.


Hope that helps,

Rick Up




Reply via email to