Re: convert user

2001-05-08 Thread Csaba Bobak

Hi,
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.



Re: convert user

2001-05-08 Thread Greg White

On Tue, May 08, 2001 at 09:33:41AM +0700, Yanurul Anwar wrote:
> 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?

man qmail-pw2u. It's that easy.

> 

HTH,

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



Re: Badmailfrom for entire domain/sub_domain

2001-05-08 Thread simon

Unsubscribe [EMAIL PROTECTED]
#t 19:01 07/05/2001 -0700, admin wrote:
>Hi Guys;
>
>I am getting annoying emails comming from [EMAIL PROTECTED] and this guys
>change the address the next week to be [EMAIL PROTECTED] I really want
>domain.com blocked!! and badmailfrom only handles individual emails how can
>I block *@domain.com. RBL is solution but some of this guys are not on the
>list (yet).
>
>
>Thank!
>
>
>Dan




smtp auth. question through vmailmgr

2001-05-08 Thread Evgeni Dobrev

Hi all,

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.


-- 
Evgeni Dobrev
Network and System Administrator 

email: [EMAIL PROTECTED]
Tel.: +49 9126 2611-66 Fax:-99
eCompetenceCenter Medienagentur und Beratungsgesellschaft mbH
Ambazac-Strasse 4, D-90542 Eckental
Deutschland



Re: smtp auth. question through vmailmgr

2001-05-08 Thread Clemens Hermann

Am 08.05.2001 um 10:24:54 schrieb Evgeni Dobrev:

Hi Evgeni,

> Is there a posibility to enable smtp authentication through the vmailmgr?

not with the standard setup. The problem is that vmailmgr stores the
user-database in different home-directories, so you must have
root-access to read them.
Martin Gerardi offered the following solution on the vmailmgr list: 
use Eric M. Johnston's smtp-auth patch and set checkvpw suid-root.
I have now idea how secure this is, even Bruce did not make any
promises.
Any comments if this is good or bad are highly appreciated.

bye

/ch



delete old mails

2001-05-08 Thread 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

tia

/ch



Daemontools & Supervise

2001-05-08 Thread Pablo Buenaventura

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



qmail Digest 8 May 2001 10:00:00 -0000 Issue 1358

2001-05-08 Thread qmail-digest-help


qmail Digest 8 May 2001 10:00:00 - Issue 1358

Topics (messages 62035 through 62099):

queue operates very slow !
62035 by: Nissim Penias
62037 by: Peter van Dijk

linebreak handling / qmail-inject
62036 by: Sascha Dahl
62041 by: Dave Sill
62042 by: Markus Stumpf

Re: POP3 Cluster
62038 by: Karsten W. Rohrbach
62039 by: Russ Allbery

Re: SMTP AUTH and TLS
62040 by: Dave Sill

Re: rcpthosts default allow all ?
62043 by: Charles Cazabon

using safecat to filter mail
62044 by: Peter Peltonen
62045 by: Magnus Bodin
62046 by: Johan Almqvist
62047 by: Peter van Dijk
62049 by: Peter Peltonen
62050 by: Peter Peltonen
62059 by: peter green

Selective forwarding of email
62048 by: Russell P. Sutherland
62054 by: Charles Cazabon

¬ü°ê¥Jµo°]¹Ú
62051 by: ¥¬§Æ

Patch on qmail-smtpd / vpopmail for rejecting unknown users
62052 by: Tonix
62085 by: Larry M. Smith
62087 by: Larry M. Smith

Re: How to increase the qmail "concurrency"?
62053 by: root.mail.delanet.com
62055 by: root.mail.delanet.com
62058 by: root.mail.delanet.com
62070 by: root.mail.delanet.com
62071 by: Ross Davis - Data Anywhere
62073 by: tc lewis

Avoiding Returun-path <>
62056 by: Enrique Rodríguez Lázaro
62057 by: Charles Cazabon

Re: FromMail.pl
62060 by: Lisa Applegate

maildrop + vmailmgr
62061 by: peter green

Qmail and its parts.
62062 by: root.mail.delanet.com
62065 by: Carl J. Danowski
62067 by: Willy De la Court
62068 by: Peter van Dijk
62069 by: Andy Bradford
62076 by: Henning Brauer

Re: Can MX record be CNAME?
62063 by: root.mail.delanet.com
62066 by: root.mail.delanet.com

Re: qmail-smtpd, qmail-send and multiple IP addresses
62064 by: root.mail.delanet.com

²z°]³W¹º¨t¦C
62072 by: ¤ý«T¥Í

Remove
62074 by: robin

$EXT value clarification, virtual domain question
62075 by: Benjamin Collar
62077 by: Chris Johnson
62078 by: Benjamin Collar
62079 by: Benjamin Collar
62080 by: Chris Johnson
62084 by: Paul Gregg

Re: Multiple user with vpopmail
62081 by: Keary Suska

problem with ezmlm
62082 by: Kris von Mach
62083 by: Chris Johnson
62086 by: Kris von Mach

How to setup under qmail for an incoming message to be delivered to multiple addresses?
62088 by: afn.gauss.com.br

Badmailfrom for entire domain/sub_domain
62089 by: admin
62090 by: Brad Schuetz
62091 by: Alex Pennace
62095 by: simon

convert user
62092 by: Yanurul Anwar
62093 by: Csaba Bobak
62094 by: Greg White

smtp auth. question through vmailmgr
62096 by: Evgeni Dobrev
62097 by: Clemens Hermann

delete old mails
62098 by: Clemens Hermann

Daemontools & Supervise
62099 by: Pablo Buenaventura

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]


--





Hello all , 
I am having a problem with my qmail server and maybe you could help solving my problem 

or give me a little hint of how to solve my own problem .

Problem Description :



I am sending mail from my internal network to the outside world and the server hold the messages in the queue for a long time until it sends the message .

When I say alot of time I mean a text message with no attachments takes about 10-20 minutes to leave  my queue and get back to me if i send my self a message to test the system through my parent MX server .

My network configuration is that I have one major domain which has an MX that routes all the 

mails to my sub domain mail server , for example :

 

domain.com contains MX yyy.domain.com  --> this is my primary domain .

fff.domain.com is a subdomain to domain.com and  hold my local mail server fff.domain.com .

all messages going to domain.com and needs to be forwarded to fff.domain.com are forwarded to the @fff.domain.com .

 

MY Qmail Configuration :

concurrencylocal : 100

concurrencyremote:100

 

My Mail server is a client dns and contains all the clients in /etc/hosts .

I noticed that a problem could occure with auth service so i fixed it to !!

I am using in my smtpd run script the rbl  lists as a wrapper like in dan bernstein howto .

 

So what could be the problem why the mail takes so long to be sent out ???

I would really appriciate the help and if more info is needed please let me know .

Regards ,

Nissim . 
Get Your Private, Free E-mail from MSN Hotmail at http://www.ho

Re: delete old mails

2001-05-08 Thread Mira Tempír

== 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
   
 



Re: delete old mails

2001-05-08 Thread Henning Brauer

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)



Re: Huge Maildirs?

2001-05-08 Thread Mike Jackson

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
FilesystemInodes   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/c0t15d0s535292880  14155186  20784766  41%
/var/qmail/maildirs

Regards,
Mike



maildrop + vmailmgr: the saga continues

2001-05-08 Thread peter green

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)




Re: delete old mails

2001-05-08 Thread Johan Almqvist

* 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


Re: Daemontools & Supervise

2001-05-08 Thread Dave Sill

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



Re: POP3 Cluster

2001-05-08 Thread Karsten W. Rohrbach

Russ Allbery([EMAIL PROTECTED])@2001.05.07 05:09:31 +:
> > 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



Re: linebreak handling / qmail-inject

2001-05-08 Thread Karsten W. Rohrbach

Markus Stumpf([EMAIL PROTECTED])@2001.05.07 15:27:52 +:
> > 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




Re: using safecat to filter mail

2001-05-08 Thread Karsten W. Rohrbach

Peter van Dijk([EMAIL PROTECTED])@2001.05.07 16:41:38 +:
> 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



Re: problem with ezmlm

2001-05-08 Thread Karsten W. Rohrbach

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 +:
> 
> >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, @40003af6a3f40f5aafdc 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



Re: Daemontools & Supervise

2001-05-08 Thread Karsten W. Rohrbach

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 +:
> 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



Re: using safecat to filter mail

2001-05-08 Thread Johan Almqvist

* "Karsten W. Rohrbach" <[EMAIL PROTECTED]> [010508 14:50]:
> Peter van Dijk([EMAIL PROTECTED])@2001.05.07 16:41:38 +:
> > 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


Re: using safecat to filter mail

2001-05-08 Thread Karsten W. Rohrbach

Johan Almqvist([EMAIL PROTECTED])@2001.05.08 15:13:46 +:
> 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



qmail+vmailmgr+procmail+safecat mini-howto

2001-05-08 Thread Peter Peltonen


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



Re: POP3 Cluster

2001-05-08 Thread Russ Allbery

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



Re: using safecat to filter mail

2001-05-08 Thread Peter van Dijk

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 +:
> > > 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.



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

2001-05-08 Thread Charles Cazabon

[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.
---



Re: using safecat to filter mail

2001-05-08 Thread Charles Cazabon

Karsten W. Rohrbach <[EMAIL PROTECTED]> wrote:
> Johan Almqvist([EMAIL PROTECTED])@2001.05.08 15:13:46 +:
> > 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.
---



Re: using safecat to filter mail

2001-05-08 Thread Peter van Dijk

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.



Re: using safecat to filter mail

2001-05-08 Thread Karsten W. Rohrbach

Charles Cazabon([EMAIL PROTECTED])@2001.05.08 08:14:53 +:
> 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



Re: Patch on qmail-smtpd / vpopmail for rejecting unknown users

2001-05-08 Thread Tonix

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




Re: Patch on qmail-smtpd / vpopmail for rejecting unknown users

2001-05-08 Thread Tonix

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




§K¶OÀ°§A¥IADSL¤Î56K

2001-05-08 Thread ¥¬§Æ
Title: 



 ³Þ!§A·QÁÈ¿ú¶Ü?¤£­nÃhºÃ...§Ú¨C­Ó¤ëªº¼·±µ¤Wºô¤Î¥Ø«e

ªºADSL³£¦³¤F³o®a¤½¥qÀ°§Ú­t¾á! ¤£¦p
°¨¤W¦æ°Ê§a!
±a
§Ú¥hA¿ú=  
¤Wºô°g


=?x-unknown?q?Re=3A_=A7K=B6O=C0=B0=A7A=A5IADSL=A4=CE56K?=

2001-05-08 Thread audit

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




forwarding

2001-05-08 Thread richard morris

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.




Re: §K¶OÀ°§A¥IADSL¤Î56K

2001-05-08 Thread Russ Allbery

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 -

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

-- 
Russ Allbery ([EMAIL PROTECTED]) 



& parameters

2001-05-08 Thread Aaron Goldblatt

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




assign file being overwritten regularly

2001-05-08 Thread Carl J. Danowski




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!
 
 


Qmail + vpopmail + procmail

2001-05-08 Thread Spookah .

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




Re: & parameters

2001-05-08 Thread Chris Johnson

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


Re: assign file being overwritten regularly

2001-05-08 Thread Peter van Dijk

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.



Re: assign file being overwritten regularly

2001-05-08 Thread Carl J. Danowski




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


RE: §K¶OÀ°§A¥IADSL¤Î56K

2001-05-08 Thread Bill Andersen

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



Re: assign file being overwritten regularly

2001-05-08 Thread Andy Bradford

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




Re: assign file being overwritten regularly

2001-05-08 Thread Greg White

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 startedIf 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



RE: smtp auth. question through vmailmgr

2001-05-08 Thread Wagner Teixeira

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.




aliases

2001-05-08 Thread richard morris


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.






Re: aliases

2001-05-08 Thread audit

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




Re: aliases

2001-05-08 Thread Chris Johnson

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


RE: Aliases

2001-05-08 Thread audit

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




Fw: convert user

2001-05-08 Thread Yanurul Anwar


- 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 
/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.
>




strange problem with virtualdomain file

2001-05-08 Thread lkhanna

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 goingnow 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











Re: §K¶OÀ°§A¥IADSL¤Î56K

2001-05-08 Thread tong

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 -
>
> The spammer is sending mail directly from the above dialup account.
> hinet.net is the place to complain to.
>
> --
> Russ Allbery ([EMAIL PROTECTED]) 
>




Problem Retrieving Mails with ETRN

2001-05-08 Thread Loh Kok Jeng

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




Mail still undeliverable after qmail-getpw reports correctly.

2001-05-08 Thread Foo Ji-Haw



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.com554 5.3.5 [EMAIL PROTECTED]... Local configuration 
error
 
    [ Part 2: "Delivery Status" 
]
 
Reporting-MTA: dns; 
markus.postkidxp.comArrival-Date: Tue, 8 May 2001 17:41:49 +0800 
(SGT)
 
Final-Recipient: RFC822; [EMAIL PROTECTED]Action: 
failedStatus: 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 
localslocalhostmail.postboy.netpostboy.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 
  
  To: [EMAIL PROTECTED] 
  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/20Apr 
  27 13:43:10 markus mail.local: lockmailbox /var/mail/jhfoo failed; error 
  code 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/20Apr 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/20Apr 
  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!!!


forwarding

2001-05-08 Thread richard morris


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.