qmail Digest 24 May 2000 10:00:01 -0000 Issue 1011

Topics (messages 42200 through 42259):

Aack,_child_crashed
        42200 by: David Sede�o Fern�ndez

(no subject)
        42201 by: kapil sharma

Re: Could my problems be Mandrake 7 security settings?
        42202 by: J�rgen Persson
        42206 by: Pavel Kankovsky
        42207 by: Mads E Eilertsen

Re: Qmail on a firewall.
        42203 by: Ronneil Camara
        42212 by: Rajkumar S.
        42213 by: Petr Novotny
        42219 by: Rajkumar S.

problem with port 110
        42204 by: Rupak Joshi
        42245 by: Brent R. Matzelle
        42246 by: Chester Chee

Ezmlm-idx Interface
        42205 by: mark

qmail problem
        42208 by: kapil sharma
        42209 by: Petr Novotny
        42211 by: kapil sharma
        42254 by: kapil sharma
        42256 by: Petr Novotny
        42257 by: kapil sharma
        42258 by: Petr Novotny

qmail IRC Channel
        42210 by: kapil sharma
        42229 by: Ken Jones
        42231 by: Peter van Dijk
        42232 by: Peter van Dijk
        42233 by: Henrik �hman
        42234 by: Peter van Dijk
        42235 by: John Gonzalez/netMDC admin
        42237 by: Peter van Dijk

Strange delays
        42214 by: Christopher arnold
        42215 by: Greg Owen
        42216 by: Petr Novotny

Re: qmail-local
        42217 by: Robert Sander
        42222 by: Peter van Dijk

How does qmail-remote behave?
        42218 by: Will Harris

Re: virtual domains
        42220 by: sonam.escape.com
        42221 by: Tim Hunter
        42223 by: Chris Johnson

Qmail domains (maybe a TCPServer question ?...)
        42224 by: Pierre-Julien Grizel
        42226 by: Michael Hufnagl

Re: Ask for help of restrict the delivery using SMTP?
        42225 by: Mate Wierdl

Outlook Express and SMTPD problems??
        42227 by: Bill Rogers

Virtual domain --> New Alias (Virtual) --> Host ???
        42228 by: Dinesh Punjabi

Re: Does vpopmail work with Mailbox ?
        42230 by: Ken Jones

creating pop users from Templet with qmail
        42236 by: Walid Kassab

(MailDir) was Re: migrating from a mbox mailserver to a Mailbox qmail server
        42238 by: Aaron Seelye

mail routing question
        42239 by: Sebastian Kaps

Re: pop3
        42240 by: Claus F�rber
        42259 by: Christer Matson

AMaViS newbie question
        42241 by: Steve Peace

user/assign case (in)sensitivity
        42242 by: Julien Mercay
        42244 by: Julien Mercay

Meaning of (#4.4.1) in error message
        42243 by: Chris Green
        42253 by: Magnus Bodin
        42255 by: Chris Green

Calling a different mail delivery program in qmail
        42247 by: Steve Quezadas
        42248 by: Brent R. Matzelle

553
        42249 by: clemensF

553, version 0
        42250 by: clemensF

Re: preline: _Not_enough_space
        42251 by: Lidia Marchioni

VERP bounces on the local qmail server
        42252 by: Manuel Lemos

Administrivia:

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

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

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

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


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


Hi,

I see the subject message in the maillog file. The messages are queued
in the queue but not delivery to the locals accounts. I use vpopmail

Thanks in advance




unsubscribe







James, 
I know nothing about Mandrake but it sounds as a cron job is
running 'checksecurity' - look for suitable documentation or 
start messing with /etc/checksecurity.conf

Mutex - resource locking routines?

On Tue, May 23, 2000 at 02:46:51AM -0700, James wrote:
> At 12:00 each night, my installation of Mandrake 7.02 makes a security
> check on all things.  Sometimes it automatically changes ownership of
> files that it thinks are vulnerable or dangerous.  Tonight at 12:00 it
> changed all my "Group Unowned Files" to "nogroup" and suddenly I get the
> error 
> 
> "alert: cannot start: unable to access queue directory"
> 
> when I try to run the qmail rc file.
> 
> So I manually make the directory accessible, then try to run ./rc again
> (from /var/qmail) and get this error:
> 
> "alert: cannot start: unable to open mutex"
> 
> Am I going to have to reinstall Mandrake with the lowest security setting
> to keep it from meddling in my qmail settings?  What the heck is "mutex?"
> 
> james

-- 
J�rgen Persson




On Tue, 23 May 2000, James wrote:

> At 12:00 each night, my installation of Mandrake 7.02 makes a security
> check on all things.  Sometimes it automatically changes ownership of
> files that it thinks are vulnerable or dangerous.  Tonight at 12:00 it
> changed all my "Group Unowned Files" to "nogroup" and suddenly I get the
> error 

Are you sure all gids used by qmail were registered in /etc/group?

>  What the heck is "mutex?"

/var/qmail/queue/lock/sendmutex? (qmail-send locks it to make sure not
other instance operates on the queue)

--Pavel Kankovsky aka Peak  [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."






On Tue, 23 May 2000, James wrote:

> So I manually make the directory accessible, then try to run ./rc again
> (from /var/qmail) and get this error:
> 
> "alert: cannot start: unable to open mutex"

To fix the permissions, cd to your qmail source directory and type

        make setup check

Mads







> -----Original Message-----
> From: Rajkumar S. [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 23, 2000 5:47 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Qmail on a firewall.
> 
> 
> 
> cjohns> # echo 'indsoft.co.in:192.168.1.1' > 
> /var/qmail/control/smtproutes
> 

the format of smtproutes should be like this:
indsoft.co.in:[192.168.1.1]

it should contain [ ] so as not to resolve to MX.




>the format of smtproutes should be like this:
>indsoft.co.in:[192.168.1.1]

>it should contain [ ] so as not to resolve to MX.

done, but the error persists.

raj







-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23 May 00, at 18:30, Rajkumar S. wrote:

> >the format of smtproutes should be like this:
> >indsoft.co.in:[192.168.1.1]
> 
> >it should contain [ ] so as not to resolve to MX.
> 
> done, but the error persists.

There must be some typo, like
a. you misspelled the domain name
b. you misspelled "smtproutes"
c. your qmail instalation is in different directory from 
/var/qmail/control
d. the mail came from different domain than you think (ie. not the 
one in smtproutes)

Bottom line: If you put the domain in smtproutes, qmail never 
complains that "I am the best A or MX"; it knows that it is not. 
Therefore something went wrong...

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

iQA/AwUBOSp1w1MwP8g7qbw/EQJZwwCgnyIhHO7qVmZS0bFeTFZmFWUUBZQAn0ST
bNpd4y4+JS/nyDsAqtk33p/h
=WcT5
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




> b. you misspelled "smtproutes"

this was it, sorry. now i got the first message delivered inside. 

raj






Hello All,
 
I install the qmail in my linux 5.2. I have also install checkpassword and ucspi-tcp but when I telnet to port 110, it always said that connection closed by foreign host. Any suggestion.




When you get 'connection closed by foreign host' that means that your
daemon program (tcpserver or inetd) is not configured properly.  You'll
have to double check your tcpserver init script or inetd.conf file for
errors.  

Brent

> Rupak Joshi wrote:
> 
> Hello All,
> 
> I install the qmail in my linux 5.2. I have also install checkpassword
> and ucspi-tcp but when I telnet to port 110, it always said that
> connection closed by foreign host. Any suggestion.




Check who you are running it as? If you are using vpopmail, you are suppose
to run as vpopmail and group vchkpw. See the INSTALL file for vpopmail for
details. I got the similar problem before and I did not specify -u
vpopmail -g vchkpw in the tcpserver command line.

----- Original Message -----
From: "Brent R. Matzelle" <[EMAIL PROTECTED]>
To: "Rupak Joshi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 23, 2000 4:17 PM
Subject: Re: problem with port 110


> When you get 'connection closed by foreign host' that means that your
> daemon program (tcpserver or inetd) is not configured properly.  You'll
> have to double check your tcpserver init script or inetd.conf file for
> errors.
>
> Brent
>
> > Rupak Joshi wrote:
> >
> > Hello All,
> >
> > I install the qmail in my linux 5.2. I have also install checkpassword
> > and ucspi-tcp but when I telnet to port 110, it always said that
> > connection closed by foreign host. Any suggestion.
>





Hi all,
 
I have installed and have running a mailing list server with majordomo and majorcool.
 
I am now trying ezmlm with ezmlm-idx. The installation and setup where way easier that majordomo and configuration and archiving is a walk in the park.
 
However I am looking for an interface similar to that of majorcool, where most admin and changes can be done. I have had a look at ml-sub and ez-sub but they dont have enough functionality.
 
Can anyone help ?
 
Thanks
Mark




Hi,
I am having some strange problem. When ever I am sending mail from local

to local
user then it is adding the domain name for 2 time in from address:
for example: If i will send  a mail from" [EMAIL PROTECTED]" to "[EMAIL PROTECTED]"
then
"[EMAIL PROTECTED]" will get a mail with from address as "[EMAIL PROTECTED]@foo.com".

Please
help?

kapil








-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23 May 00, at 17:39, kapil sharma wrote:

> Hi,
> I am having some strange problem. When ever I am sending mail from
> local
> 
> to local
> user

How are you doing that?

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

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




I am running qmail on redhat linux6.1. My dir structure is as follows:
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             486M  326M  135M  71% /
/dev/sda8             1.9G  975M  894M  52% /opt
/dev/sda9             1.4G   45M  1.3G   3% /reg
/dev/sda6              23G  2.8G   19G  13% /users
/dev/sda10            1.4G  677M  730M  48% /usr
/dev/sda3             486M  171M  290M  37% /var
/dev/sda7             2.9G  665M  2.1G  24% /var/log

Qmail is installed on /var/qmail. I am having some strange problems:
1: In the /var/log/maillog the following message is appearing continuously:
   May 23 17:44:47 localhost qmail: 959084087.879666 alert: unable to append to bounce message; HELP! sleeping...

2: some qmail processes are becoming Zombie

Please help!!!!!!!!!!!!!

kapil








I am running qmail on redhat linux6.1. My dir structure is as follows:

Filesystem            Size  Used Avail Use% Mounted on 
/dev/sda1             486M  326M  135M  71% / 
/dev/sda8             1.9G  975M  894M  52% /opt 
/dev/sda9             1.4G   45M  1.3G   3% /reg 
/dev/sda6              23G  2.8G   19G  13% /users 
/dev/sda10            1.4G  677M  730M  48% /usr 
/dev/sda3             486M  171M  290M  37% /var 
/dev/sda7             2.9G  665M  2.1G  24% /var/log 

Qmail is installed on /var/qmail. I am having some strange problems: 
1: In the /var/log/maillog the following message is appearing continuously: 
   May 23 17:44:47 localhost qmail: 959084087.879666 alert: unable to append to
bounce message; HELP! sleeping... 

2: some qmail processes are becoming Zombie
3: When I try to create any file in /var/qmail directory , then it gives a error "no space left on device". But when I check the space with
df -h then it shows 290MB free in /var

Please help!!!!!!!!!!!!! 

kapil
 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24 May 00, at 13:21, kapil sharma wrote:

> df -i shows the following output:
> 
> Filesystem            Inodes   IUsed   IFree IUse% Mounted on
> /dev/sda1             128520   12460  116060   10% /
> /dev/sda8             256512   12727  243785    5% /opt
> /dev/sda9             193152     103  193049    0% /reg
> /dev/sda6            3035520  179700 2855820    6% /users
> /dev/sda10            193152   47255  145897   24% /usr
> /dev/sda3             128520  128520       0  100% /var
> /dev/sda7             384768      85  384683    0% /var/log
> 
> All the inodes are finished.

So that is your problem.

> There is no news server running on this
> server. I think all the inodes are finished because of email queue.

Please find out first if it really is qmail-queue; I can't imagine that 
(unless there's a bug, or a DoS attack against your qmail) the 
queue eats up all 128k inodes and only 171MB of disk space. (I 
would think you have a zillion zero-size files in your /var.)


Generally, you have two options:
1. Find out who's eating the inodes. Fix that process. Delete the 
spurious (zero-sized) files.
2. Backup your /var. Reformat it with more inodes. Restore from 
backup. Run queue-fix (available at www.qmail.org).

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

iQA/AwUBOSt8rVMwP8g7qbw/EQJwDQCgy8EWoUxQy3+EU8xUMVztzLRpCx0AoMXk
4HbbIInjLshIMuM1IbWAmUnq
=dqbj
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




Hi,
I have checked the disk usage and found that /var/qmail/queue has taken
158 MB of disk space. Now how to delete the email queue and restart
qmail. Please help


kapil





-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24 May 00, at 14:08, kapil wrote:

> I have checked the disk usage and found that /var/qmail/queue has
> taken 158 MB of disk space.

But has it taken the inodes? _That_ is the question.

> Now how to delete the email queue and
> restart qmail.

If you're sure that deleting the queue helps, do the following:
1. Stop qmail
2. rm -rf /var/qmail/queue
3. cd /usr/src/qmail (or wherever your qmail sources are)
4. make setup check
5. Start qmail.

(Alternative: Delete all file in /var/qmail/queue _except_ the files in 
/var/qmail/queue/lock.)


But I certainly think that FIRST your should find out who ate all 
your inodes and why; I think that couldn't happen by chance - 
that's either a bug or a denial-of-service attack.

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

iQA/AwUBOSuIuVMwP8g7qbw/EQL51gCfeQuK6HUxdoKmlD2jiZ9fsAzyH7QAn0LY
+a1bh8Dup0Riapd+8b12Bj6e
=yUnh
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




Is there any qmail IRC channel or chat?






kapil sharma wrote:
> 
> Is there any qmail IRC channel or chat?

Yes, efnet #qmail

Ivo




On Tue, May 23, 2000 at 05:50:12PM +0530, kapil sharma wrote:
> Is there any qmail IRC channel or chat?

Not that I know of. The channel #qmail was empty on UnderNet and IRCnet
when I tried to join.

Note that #sendmail only had 1 or 2 people on both.

A #qmail IRC-channel could be nice, if we could get enough regular users.

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




On Tue, May 23, 2000 at 05:50:12PM +0530, kapil sharma wrote:
> Is there any qmail IRC channel or chat?

Yes! #qmail on EFnet is quite busy. I see a user 'vpopmail', from inter7, a
user named 'maildir'...

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




Damn, now I must start hanging on EFNet also, as if IRCNet and Undernet 
weren't enough!

Oh well, glad it's not DalNet at least. ;)

Henrik.

At 11:03 AM 5/23/2000 -0500, you wrote:
>kapil sharma wrote:
> >
> > Is there any qmail IRC channel or chat?
>
>Yes, efnet #qmail
>
>Ivo





On Tue, May 23, 2000 at 06:05:31PM +0200, Henrik �hman wrote:
> Damn, now I must start hanging on EFNet also, as if IRCNet and Undernet 
> weren't enough!

Same here :)

Well I was looking for a reason to go hanging on EFnet anyway :)

Greetz, Peter [who has decided to regular #qmail]
-- 
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]




Since the qmail list delivers mail so quickly, it's almost like real time!
:)

On Tue, 23 May 2000, kapil sharma wrote:

>Is there any qmail IRC channel or chat?
>
>
>

-- 
  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
 11:30am  up 12 days, 16:56,  3 users,  load average: 1.64, 0.52, 0.29





On Tue, May 23, 2000 at 11:30:26AM -0600, John Gonzalez/netMDC admin wrote:
> Since the qmail list delivers mail so quickly, it's almost like real time!
> :)

Ofcourse. But that's another thing.

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





It seems that messages end up in the following state for about 30 minutes
time.

FreeBSD-4.0-Release$ ./qmail/bin/qmail-qstat 
messages in queue: 5
messages in queue but not yet preprocessed: 5

But if i pull the trigger with:

#include "triggerpull.h"

void main() {
triggerpull();
}

The mail gets delivered right away.

What have i missed? Is this a bug or feature?

        /chris





> It seems that messages end up in the following state for 
> about 30 minutes time.
> 
> FreeBSD-4.0-Release$ ./qmail/bin/qmail-qstat 
> messages in queue: 5
> messages in queue but not yet preprocessed: 5
> 
> But if i pull the trigger with:
...
> The mail gets delivered right away.
> 
> What have i missed? Is this a bug or feature?

        Your trigger permissions have probably gotten munged.  Check and fix
them as described in Dave Sill's "Life With Qmail":

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


-- 
        gowen -- Greg Owen -- [EMAIL PROTECTED]




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23 May 00, at 15:00, Christopher arnold wrote:

> FreeBSD-4.0-Release$ ./qmail/bin/qmail-qstat 
> messages in queue: 5
> messages in queue but not yet preprocessed: 5
> 
> But if i pull the trigger

You - as a root? Check the permissions for the trigger; they must 
read
[root@saturnin lock]# ls -l trigger
prw--w--w-   1 qmails   qmail           0 May 23 15:19 trigger


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

iQA/AwUBOSp4HVMwP8g7qbw/EQLqQwCfR2N7VTm3kxDMOkhCExL3QDXm2WcAoJbL
3JFKAIQ89/tWfnYjJigqWGi/
=5jri
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




On Tue, May 23, 2000 at 10:03:16AM +0200, Petr Novotny wrote:
> 
> A message to a non-existent mailbox will also be held in queue 
> and bounced after a long time. Not too nice, if the sender just 
> misspelled the address and learns that not before a week.

Yes, but that should be ok, especially when I decrease the queuelifetime.

Greetings
-- 
Robert Sander                                 www.gurubert.de




On Tue, May 23, 2000 at 09:52:35AM +0200, Robert Sander wrote:
[snip patch]
> 
> Some of my users homedirs are mounted over an unreliable network (aka WaveLAN)
> that could sometimes fail. I need the qmail-local to just fail temporarily
> and try the delivery later again.

We use users/assign for just that. It works perfectly.

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




I noticed something in the logs of my server...

- I shut qmail down
- I noticed a bunch of qmail-remote processes still attempting delivery to 
sites which I knew were down, so I killed them
- Checked/doublechecked that all qmail-related processes are dead
- I restarted qmail

Some messages hanging in the queue are for single recipients of a 
multi-recipient mail - say 79 out of 80 deliveries have been made 
successfully, as shown by qmail-qread.

Upon restarting, as I watched the log it appeared to me that qmail-remote 
*redelivered* those 79 messages and then failed again on the 80th message.

Can anyone confirm or deny this behaviour?  If it is in fact true, I think 
it's a bit disturbing...

regards,
Will
__________________________________________________________________________

  "I was going to be a Neo-Deconstructivist, but Mom wouldn't let me..."

multimedia laboratorium                              [EMAIL PROTECTED]
institut fuer informatik                        (pgp id)        F703D035
der universitaet zuerich                        (office) +41  1 635 4346
winterthurerstr. 190                            (fax)    +41  1 635 6809
ch-8057 zuerich                                 (mobile) +41 76 372 0913
switzerland                                     www.ifi.unizh.ch/~harris
__________________________________________________________________________






Hi Chris,

Thanks for the reply. I was trying to check this set up by telneting to my
mail server on port 25 which has qmail running and all these other qmail
files.
The mail did not reach the address, no error message though. Also the
syslog shows an entry like -- 
starting delivery 19839: msg 286390 to local @help.com
instead of remote @test.com

help.com being my mail server.

Thanks

sonam

On Tue, 23 May 2000, Chris Johnson wrote:

> On Mon, May 22, 2000 at 07:01:41PM -0400, [EMAIL PROTECTED] wrote:
> > I am setting up virtual domains to handle mail for 
> > [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
> > [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
> > [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
> > and so on.
> > 
> > how can i set this up? i have read the documentation but must have
> > probably missed a step.
> > 
> > what i 've done till now is:
> > create ~/control/virtualdomains with an entry like
> > foo.com:check
> > 
> > created ~/alias/.qmail-check-user1 with an entry like
> > [EMAIL PROTECTED]
> > 
> > created ~/alias/.qmail-check-user2 with an entry like 
> > [EMAIL PROTECTED]
> > 
> > and so on. any help will be appreciated.
> 
> You haven't told us how this is failing. This setup should work, assuming that
> there isn't a system account named "check."
> 
> Chris
> 





You still are missing the point, how about if you give us exactly what you
typed and exactly the messages and logs you get from your server.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 23, 2000 9:41 AM
To: Chris Johnson
Cc: [EMAIL PROTECTED]
Subject: Re: virtual domains



Hi Chris,

Thanks for the reply. I was trying to check this set up by telneting to my
mail server on port 25 which has qmail running and all these other qmail
files.
The mail did not reach the address, no error message though. Also the
syslog shows an entry like --
starting delivery 19839: msg 286390 to local @help.com
instead of remote @test.com

help.com being my mail server.

Thanks

sonam

On Tue, 23 May 2000, Chris Johnson wrote:

> On Mon, May 22, 2000 at 07:01:41PM -0400, [EMAIL PROTECTED] wrote:
> > I am setting up virtual domains to handle mail for
> > [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
> > [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
> > [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
> > and so on.
> >
> > how can i set this up? i have read the documentation but must have
> > probably missed a step.
> >
> > what i 've done till now is:
> > create ~/control/virtualdomains with an entry like
> > foo.com:check
> >
> > created ~/alias/.qmail-check-user1 with an entry like
> > [EMAIL PROTECTED]
> >
> > created ~/alias/.qmail-check-user2 with an entry like
> > [EMAIL PROTECTED]
> >
> > and so on. any help will be appreciated.
>
> You haven't told us how this is failing. This setup should work, assuming
that
> there isn't a system account named "check."
>
> Chris
>






On Tue, May 23, 2000 at 09:40:36AM -0400, [EMAIL PROTECTED] wrote:
> 
> Thanks for the reply. I was trying to check this set up by telneting to my
> mail server on port 25 which has qmail running and all these other qmail
> files.
> The mail did not reach the address, no error message though. Also the
> syslog shows an entry like -- 
> starting delivery 19839: msg 286390 to local @help.com
> instead of remote @test.com
> 
> help.com being my mail server.

Your domains aren't really help.com and test.com, are they?

Chris





Hi,

This is yet another attempt to have my question answered......


Is there a way to know, when a user logs onto my qmail box to retreive mail via
pop, which "virtual domain" is beeing actually accessed ?


Ie. I've got a server which handles mail for domains a.com and b.com. It has
two DNS aliases : mail.a.com & mail.b.com.

I want to allow user X to retrieve the b-com-X mailbox if he logs to
mail.b.com, and to retreive the a-com-X mailbox if he logs to mail.a.com.

Is anyone doing something similar ?

Any clues ?

Doesn't matter which software I use as a pop server or any other things.



Many thanks,




P.-J.




hi,

At 17:41 23.05.00 +0200, Pierre-Julien Grizel wrote:
>Is there a way to know, when a user logs onto my qmail box to retreive 
>mail via
>pop, which "virtual domain" is beeing actually accessed ?
>
>
>Ie. I've got a server which handles mail for domains a.com and b.com. It has
>two DNS aliases : mail.a.com & mail.b.com.
>
>I want to allow user X to retrieve the b-com-X mailbox if he logs to
>mail.b.com, and to retreive the a-com-X mailbox if he logs to mail.a.com.
>
>Is anyone doing something similar ?

jep

we use qmail1.03 with vpopmail for the virtual domains.
you must set up correct reverse lookup for your virtual domains and 
everything will work fine


--

MfG
Michael Hufnagl
Netzwerktechnik

***************
* ecore Kommunikations AG
* http://www.ecore.net
*************************************





On Tue, May 23, 2000 at 04:52:59PM +0800, zgx wrote:
> Dear friend:
>    I have installed qmail to Mailserver and it runs perfect well!
>  But during these days, More of peoples use our mailserver as Agent to deliver mail. 
>So 
> our mailserver is more busy and we cannot work properly, Can you help me to correct 
>that.
>  <1>
>   I have listed some of ... in my tcphosts  and tcp.smtp
>         127.0.0.1:allow,RELAYCLIENT=""
>       202.106.135.*:allow,RELAYCLIENT=""
>     (I want 202.106.135.* to deliever mail over our mailserver).
>   and then run 
>         tcprules /etc/tcp.smtp .... </etc/tcp.smtp..

I see a syntax problem here: need

tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp


>  <2>
> I used rblsmtpd 
>     tcpserver  -p -v -x /etc/tcp.smtp.cdb -u 516 -g 513 0 smtp 
>/usr/local/bin/rblsmtpd 
> /var/qmail/bin/qmail-smtpd &

What is the output of 

id -u qmaild
id -g qmaild

>     to do, But it can not delievery mail to any host.
> 
>   What is the problem?
>    Thanks a lot!!!

rblsmtpd with qmail-smtpd  does not deliver mail anywhere; it receives
mail.  So can you tell me the exact problem you are having, perhaps
copying some logs here?

BTWY, this question is better posted to the qmail list, so I cc my
answer there.

Mate




First, I have a perfectly functioning Qmail 1.03 to the
tune of about 20K messeges/day. So this is really a MUA
question, but geez, remember we're talking about
Microsoft here folks, get a straight answer?, unlikely.

So this is a more "have you ever encountered?"

Outlook Express 5 suddenly and for no apparent reason
will talk to qmail-smtpd fine if the message is under
about 300 bytes. Add a few lines, or an attachment
and it just hangs until it timeouts and asks of the
user want to wait longer. User has several machines
attached to a 3com lan modem and they all behave similarly.

Everything else over the connection seems to be working
fine, including qmail pop3.

Baffled. TIA,
Bill
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com





Is there a way to direct email for a given 
virtual domain to an alternate host using a
.qmail-default file ?

I would like to somehow put this rule in a 
.qmail-virtualtarget-defaults file since I 
have other virtual domains that are aliased
to this virtualtarget domain!

Thanks!!

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




> Chester Chee wrote:
> 
> Hi,
> 
> I checked the web page on www.inter7.com regarding vpopmail. They
> don't really explicitly say whether vpopmail works only with Maildir
> mailbox format or not. Can anyone please enlighten me on this? Thanks
> in advance.
> 

It uses Maildir 

Ken
inter7




Is it possible to copy users from a templet instead of creating new ones.
 
I need to have any new user to be created with some email in thier mboxs, I used to have a templet user with some email saved in its mbox copied to newly created users in sendmail but i could not find Copyuser command with qmail
 
Regards




Sorry for the confusion there, I just got messed up.  Same problem, just
with Maildir instead of Mailbox, the thing being that Maildir has multiple
files, one message each, and Mailbox has one file, many messages.

Thanks,

Aaron Seelye
----- Original Message -----
From: "Brent R. Matzelle" <[EMAIL PROTECTED]>
To: "Aaron Seelye" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, May 22, 2000 8:17 PM
Subject: Re: migrating from a mbox mailserver to a Mailbox qmail server


> mbox is just qmail's name for Mailbox.  Really they are both the same
> thing, one large text file.  You should be able to plug it into your new
> user directory, make a symbolic link to the file in /var/spool/mail and
> you should be really to accept mail again.
>
> Brent
>
> Aaron Seelye wrote:
> >
> > Hello,
> >
> > I'm trying to do just what the subject says.  What I'd like to do is
> > download the mail from the old mail server into the new one, and I'm
> > wondering if there's a tool to do it.  I looked at fetchmail, but it's
mbox
> > delivery only, so if anyone on this list knows of a quick easy way to do
> > what I'm looking for, that'd be great.
> >
> > Thanks,
> >
> > Aaron Seelye
>
>





Hi!

I use two machines at home (lets call them A and B). I'm using B as an
internet gateway for A. Both machines run qmail-1.03.

I want A now to send all mail that's not addressed to a user on A to B.
And I want B to put all mail that's neither for A nor B into a uucp queue
(I have the qmail-bsmtp package installed).
If I put ':alias-uucp' into B's virtualdomains file then _all_ mail ist put
into the uucp queue, even mails that are addressed to users on A or B
although these could be delivered locally or via SMTP.

Does anyone know how I can exclude mails from beeing stuffed into the uucp
queue?

-- 
Ciao, Sebastian

* Email: [EMAIL PROTECTED]
* HP:    http://www.sauerland.de/~toyland/          PGP-Key available




Michael Mannsberger <[EMAIL PROTECTED]> schrieb/wrote:
> qmail-start ./Maildir splogger qmail
                       ^
Without a trailing slash, qmail-local will try to deliver messages into  
a file named Maildir.

Did you create the Maildirs with maildirmake?

Claus

-- 
begin 666 LOVE-LETTER-FOR-YOU.TXT.vbs
Ich bin ein Signaturvirus. Verbreite mich!
end
http://www.faerber.muc.de/




Is there a virus in the attachment? I ran Norton AV on it, but it did not 
find any.

In article <[EMAIL PROTECTED]>, Claus F�rber wrote:
> Date: 23 May 2000 14:10:00 +0200
> From: [EMAIL PROTECTED] (Claus F�rber)
> To: [EMAIL PROTECTED]
> Subject: Re: pop3
> 
- snip -
> 
> Claus
>
>
> [Message contains attachment(s).  Extract LOVE-LETTER-FOR-YOU.TXT.vbs?]
> http://www.faerber.muc.de/

*  eMailBye
*  Christer Matson, Siljansnas, Sweden
*  Science etSense AB
*  Wed, 24 May 2000 11:45 +0200






I have a qmail 1.03 server running succesfully with the AMaViS scanner.  Evrything is running great.  I just received a message to the virus alert account stating:
 
############################################################
   [EMAIL PROTECTED] (diem-My Luu) or [EMAIL PROTECTED] is not a valid Email address
   (changed to [EMAIL PROTECTED] diem-My Luu and [EMAIL PROTECTED])!
############################################################
 
I can not find any information on what this means.  If someone could tell me I would appreciate it.
 
S. Peace





Hi,

I got a problem with my virtual domains and user-part addresses case
sensitivity.

[EMAIL PROTECTED]   and
[EMAIL PROTECTED]   both work perfectly, and are delivered to the
local user                          "user" (UsEr@mailserver works, too 
:)

But if a have

=virtual-first.last:user:500:500:/home/user:-::

the address first.last@virtual is delivered to /home/user/.qmail (OK)

BUT:

First.Last@virual bounces (no such user).

How to make qmail think both (or any combinaison of lower/upper case fro
that matter) are the same is user/assign ?

Thanks    
-- 
Julien
+----------------------------------------------------------------------+
| Julien Mercay / 100 N Whisman Rd #3311 / Mt View CA 94043            |
| email (Home): [EMAIL PROTECTED]                                       |
| PGP Key : finger [EMAIL PROTECTED] or common keyservs                 |
| PGP Fingerprint :  45 38 0B 50 B4 DA 68 5B  D2 EC 85 E0 6C 70 2C 3C  |
+----------------------------------------------------------------------+




Ed Woodson wrote:
> 
> I assume that it is only a typo, but are you really not including the 't' in
> the domain of the second address?

Yes, It should read

First.Last@virtual  (which doesn't work :(

Sorry about that.

-- 
Julien
+----------------------------------------------------------------------+
| Julien Mercay / 100 N Whisman Rd #3311 / Mt View CA 94043            |
| email (Home): [EMAIL PROTECTED]                                       |
| PGP Key : finger [EMAIL PROTECTED] or common keyservs                 |
| PGP Fingerprint :  45 38 0B 50 B4 DA 68 5B  D2 EC 85 E0 6C 70 2C 3C  |
+----------------------------------------------------------------------+




I am getting errors as follows:-

May 23 20:02:38 server qmail: 959108558.976224 delivery 395: deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/


Firstly - does this mean that qmail can't establish an SMTP connection
to the remote system?  If so, I think I know why as they're bounce
messages in response to some mail I sent and I suspect my reply
address may be setup incorrectly to a domain inside the firewall.

Secondly what does that (#4.4.1) mean?  I can't find any paragraph
number 4.4.1 in the documentation.

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]           Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/




On Tue, May 23, 2000 at 07:59:24PM +0100, Chris Green wrote:
> 
> Secondly what does that (#4.4.1) mean?  I can't find any paragraph
> number 4.4.1 in the documentation.


It's defined in RFC 1839  <http://rfc1839.x42.com/>

    4.X.X   Persistent Transient Failure
       A persistent transient failure is one in which the message as
       sent is valid, but some temporary event prevents the successful
       sending of the message.  Sending in the future may be successful.

    X.4.X   Network and Routing Status
       The networking or routing codes report status about the
       delivery system itself.  These system components include any
       necessary infrastructure such as directory and routing
       services.  Network issues are assumed to be under the
       control of the destination or intermediate system
       administrator.

    X.4.1   No answer from host
       The outbound connection attempt was not answered, either
       because the remote system was busy, or otherwise unable to
       take a call.  This is useful only as a persistent transient
       error.


/magnus

--
http://x42.com/




On Wed, May 24, 2000 at 08:56:28AM +0200, Magnus Bodin wrote:
> On Tue, May 23, 2000 at 07:59:24PM +0100, Chris Green wrote:
> > 
> > Secondly what does that (#4.4.1) mean?  I can't find any paragraph
> > number 4.4.1 in the documentation.
> 
> 
> It's defined in RFC 1839  <http://rfc1839.x42.com/>
> 
>     4.X.X   Persistent Transient Failure
>        A persistent transient failure is one in which the message as
>        sent is valid, but some temporary event prevents the successful
>        sending of the message.  Sending in the future may be successful.
> 
>     X.4.X   Network and Routing Status
>        The networking or routing codes report status about the
>        delivery system itself.  These system components include any
>        necessary infrastructure such as directory and routing
>        services.  Network issues are assumed to be under the
>        control of the destination or intermediate system
>        administrator.
> 
>     X.4.1   No answer from host
>        The outbound connection attempt was not answered, either
>        because the remote system was busy, or otherwise unable to
>        take a call.  This is useful only as a persistent transient
>        error.
> 
So my guess that it's because the destination system is behind a
firewall is probably correct.  I think I need to get my MUA/MTA set up
right.  It's not *my* machine name that's getting on the front of the
correct domain name though, it's the mail hub's domain name.

I.e. my correct address is [EMAIL PROTECTED]  My machine within
the firewall is borg so, locally, I'm [EMAIL PROTECTED]
However qmail on my home machine was trying to bounce mail back to
[EMAIL PROTECTED] as emerald is the mail host.  I think I need
to get the system administration people here to sort that out.

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]           Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/




I am trying to configure dmail (part of WU imap-utils set of utilities) so
that I can have qmail deliver in mbx format instead of the very ugly mbox
format. ANyway, I was told that dmail works the same as other mail delivery
programs like /bin/mail, mail.local, etc and that I would have to have qmail
call a different mail delivery program so dmail can be used.

Does anyone know how to call a different mail delivery program under qmail?

- Steve






You have to change your qmail init script by adding a pipe to your dmail
program.  It would look something like this:

qmail-lspawn |dmail


Brent

Steve Quezadas wrote:
> 
> I am trying to configure dmail (part of WU imap-utils set of utilities) so
> that I can have qmail deliver in mbx format instead of the very ugly mbox
> format. ANyway, I was told that dmail works the same as other mail delivery
> programs like /bin/mail, mail.local, etc and that I would have to have qmail
> call a different mail delivery program so dmail can be used.
> 
> Does anyone know how to call a different mail delivery program under qmail?
> 
> - Steve




i have a few entries in control/badmailfrom.  a few days ago a message got
caught by this magic, but it didn't quite work as expected, because the 553
error from qmail-smatpd thrown back to the pop3 popper (fetchmail) came
only =after= it had asked for the recipient.  this is the dialogue:

SMTP> MAIL FROM:<[EMAIL PROTECTED]> BODY=8BITMIME
SMTP< 250 ok

why does qmail-smtpd say 250 ok?  at that time it has already checked
control/badmailfrom, but instead of complaining immedeatly it accepts the
recipient's address!

SMTP> RCPT TO:<local@localhost>
SMTP< 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)

that's too late!  no wonder the pop3 client associates the 553 response
with the recipient, which is wrong wrong wrong!

SMTP listener doesn't like recipient address `local@localhost'
SMTP> RCPT TO:<postmaster@localhost>
SMTP< 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
can't even send to postmaster!

and why this?  postmaster@localhost is defined.  has qmail-smtpd not done
enough damage?

POP3> QUIT
POP3< This is a MIME-encapsulated message
SMTP transaction error while fetching from pop.gmx.de
Query status=10

what do i expect?  fetchmail is confused and stops processing this batch.
had i not checked the log, the same batch of messages would have been
rejected until hours later my logg-scanning program had brought this to my
immediate attention.  by that time my mailbox at my isp could have
overflowed with resulting loss of messages.

i checked the source and the 553 reply could be placed a few lines earlier
with no consequences other than reducing codesize a few bytes, because
setting and checking a flag to deferr complaining about the sender until
after the recipient address is changed, which is how it is done at present,
could just be dropped and forgotten.

why?  what for?

-- 
clemens                                              [EMAIL PROTECTED]




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

he who pops his mail using fetchmail and doeseth not want to download spam
from known sources in the control/badmailfrom file may use this patch to
qmail-smtpd.c:

*** qmail-smtpd.c.orig  Mon Jun 15 12:53:16 1998
- --- qmail-smtpd.c     Wed May 24 05:08:52 2000
***************
*** 241,246 ****
- --- 241,250 ----
  {
    if (!addrparse(arg)) { err_syntax(); return; }
    flagbarf = bmfcheck();
+   // changed Wed-24.05.00-03:29 -ino: because fetchmail hickups when 553
+   // arrives out-of-band after recipient has been checked!
+   // following line moved up from it's place in smtp_rcpt
+   if (flagbarf) { err_bmf(); return; }
    seenmail = 1;
    if (!stralloc_copys(&rcptto,"")) die_nomem();
    if (!stralloc_copys(&mailfrom,addr.s)) die_nomem();
***************
*** 250,256 ****
  void smtp_rcpt(arg) char *arg; {
    if (!seenmail) { err_wantmail(); return; }
    if (!addrparse(arg)) { err_syntax(); return; }
!   if (flagbarf) { err_bmf(); return; }
    if (relayclient) {
      --addr.len;
      if (!stralloc_cats(&addr,relayclient)) die_nomem();
- --- 254,263 ----
  void smtp_rcpt(arg) char *arg; {
    if (!seenmail) { err_wantmail(); return; }
    if (!addrparse(arg)) { err_syntax(); return; }
!   // changed Wed-24.05.00-03:29 -ino: because fetchmail hickups when 553
!   // arrives out-of-band after recipient has been checked!
!   // following line moved up to it's place in smtp_mail
!   // if (flagbarf) { err_bmf(); return; }
    if (relayclient) {
      --addr.len;
      if (!stralloc_cats(&addr,relayclient)) die_nomem();

- -- 
clemens                                              [EMAIL PROTECTED]
        do                                              D4685B884894C483
-----BEGIN PGP SIGNATURE-----
Comment: gpg 1.0.1

iD8DBQE5K1kq1GhbiEiUxIMRAmPAAKDqh7YAL54RNH3RJ6S+2d170rfRoQCgr+6k
M7EJ0wsv+D8s0rd2CgptHPw=
=tRch
-----END PGP SIGNATURE-----




4096 worked for us.
thanks
lidia


Russell Nelson wrote:

> Lidia Marchioni writes:
>  > "ulimit -v 2048"
>  >
>  > I understand that this limits the size of virtual memory available to qmail.
>  > Does it mean that qmaill tries to start perl but fails because of the above
>  > limit?  What value is advisable here?
>
> 4096 seems to work just fine.
>
> --
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | "Ask not what your country
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.





Hello,

Once in a while I have to send messages thousands of users that are listed
in a dynamic database. Is not viable for me to use a mailing list manager.

To handle bounces I use VERP by connecting to the Qmail SMTP server directly
like this:

HELO localhost
MAIL FROM:<[EMAIL PROTECTED]@[]>
RCPT TO:<[EMAIL PROTECTED]>
RCPT TO:<[EMAIL PROTECTED]>
RCPT TO:<[EMAIL PROTECTED]>
DATA
Headers: here

Message here.
.
QUIT

Qmail delivers messages to the remote MX hosts of domain1.com, domain2.com,
domainn.com and if that is the bounces are returned as expected to:

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

However, if instead of bouncing in the remote hosts, the messages bounces
right in the local host on which qmail is running and to which messages are
relayed, instead the above, qmail waits for the message queue time limit
and bounces a single message to [EMAIL PROTECTED]
noticing the bounced addresses.

I was expecting to get separate bounced messages to be delivered to the
VERP address after expanded. I am doing something wrong or qmail is just not
supposed to work like I expected?


Another problem is about some SMTP servers do not set the To:  header of
the bounces to the return-path address of the messages sent that should
have been the VERP address after expanded for the original recipient.
Anybody knows a way to ensure that the VERP expanded address can be
recovered?

To handle the bounces I have a POP3 based dump account to which all unknown
addresses for phpclasses.UpperDesign.com are delivered. I just don't seem to
be able to make the original recipient address be extracted because not
all SMTP servers set the To: or any other header with the original message
return path.


Regards,
Manuel Lemos

Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?[EMAIL PROTECTED]
--
E-mail: [EMAIL PROTECTED]
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--



Reply via email to