qmail Digest 25 Feb 2001 11:00:01 -0000 Issue 1286

Topics (messages 57888 through 57912):

Re: forwarding when somebody already has an account
        57888 by: Chris Hellberg
        57895 by: Andy Bradford

Re: [AMaViS-user] qmail expertise required]
        57889 by: Rainer Link

Re: Inter7 introduces new software: vQregister
        57890 by: Oden Eriksson
        57902 by: vol.inter7.com

Re: Text-mode web browser
        57891 by: Grant Edwards

Re: Mail2db or maildir2html
        57892 by: Stefan Laudat
        57894 by: Sean Reifschneider

Re: Mail Doesn't go in  /var/spool/mail
        57893 by: Tim Hunter

Re: Missing To:/From: Fields in Virtual Domain Setup.
        57896 by: schoon.amgt.com

unqualified mail delivery
        57897 by: Chris Cera
        57898 by: Alex Pennace
        57899 by: Chris Cera

Maildir file structure
        57900 by: jk
        57901 by: Mark Lane
        57903 by: jk

how can I do with DNS ?
        57904 by: jerry

Log messages that I don't understand.
        57905 by: Chrisanthy Chrisanthy
        57906 by: Alex Pennace

delay in receiving from Hotmail, Usa.net, etc
        57907 by: Chrisanthy Chrisanthy
        57908 by: jerry

Re: DNS Patch Unavailable
        57909 by: Russell Nelson

Bulk mail concurrency
        57910 by: Phil Oester
        57911 by: Russell Nelson

Maildir and AFS
        57912 by: Peter Schuller

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]


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



Oops, you're right, doesn't seem to work. The file should be named just
.qmail in the user's directory. I've tried it with .qmail file and works
for me so give that a shot.

Chris

On Sun, 25 Feb 2001 00:43:01 Chris Cera wrote:
> That didn't quite work, I appreciate the response though, thanks.
> 
> 455:adsl-349-23-98-147:/home/lab8> cat .qmail-default 
> [EMAIL PROTECTED]
> 
> 456:adsl-349-23-98-147:/home/lab8> ls -pla .qmail-default 
>    4 -rw-r--r--   1 lab8     lab8           14 Feb 24 06:35
> .qmail-default
> 
> 
> Then I try to mail [EMAIL PROTECTED], and the mail appears in
> lab8's spool file, but is never forwarded to [EMAIL PROTECTED]
> 
> Any other suggestions, or am I doing something incorrect?
> 
> 
> 
> > Make a file 
> > 
> > Make a file in joe's home directory called .qmail-default and in there
> > define the parameters of the forward like you would in an alias file.
> 
> 

-- 
+------------------------------------------------------------------------+
|       Chris Hellberg                     
                                |
|       [EMAIL PROTECTED]                                              |
|       ICQ #11140088                                                   |
+-----------------------------------------------------------------------+
#include <sig.h>
-------------------------------------------------------------------------




Thus said Chris Hellberg on Wed, 01 Jan 1997 04:57:21 +1300:

> Oops, you're right, doesn't seem to work. The file should be named just
> .qmail in the user's directory. I've tried it with .qmail file and works
> for me so give that a shot.

Just so you understand why this works and not .qmail-default...  
.qmail-default is only read if there is an additional part in the email 
address such as [EMAIL PROTECTED] and a corresponding .qmail-admin 
does not exist.  If .qmail-admin exists it will use the delivery 
instructions in that file, if it doesn't exist it will follow delivery 
instructions in .qmail-default.  If that doesn't exist either then the 
mail will bounce with ``Sorry, no mailbox here by that name. (#5.1.1)''

Andy
-- 
[-----------[system uptime]--------------------------------------------]
 12:15pm  up 10 days, 12:17,  6 users,  load average: 1.23, 1.23, 1.13






Hi!

FYI. Any help is really appreciated! :-)

best regards,
Rainer Link
(AMaViS Development Team)

-------- Original Message --------
Betrifft: [AMaViS-user] qmail expertise required
Datum: Thu, 22 Feb 2001 17:33:25 +0000
Von: Lars Hecking <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED]


 The amavis developers are currently working on the next generation
 of amavis-perl. It has been rewritten to run as a daemon process,
 and it is communicating with the mail system through a small client
 program, written in C.

 The client doesn't work with qmail yet. In this configuration, the
 client replaces qmail-queue(8), so it has to mimic qmail-queue in
 two regards:

  - reading envelope information from stdout
  - generate the correct exit codes expected by the rest of the
    qmail system

 Basically, we're looking for someone familiar with both qmail
 and amavis-perl to write a qmail client for amavisd, or modifies
 the existing client to work with qmail.

 Any volunteers? I would hate having to drop qmail support ...


_______________________________________________
AMaViS-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/amavis-user





[EMAIL PROTECTED] writes:

> vQregister is new web-based signup CGI that

Very neat!

What about to port qmailadmin to php?

--
Kindest regards // Oden Eriksson




Port qmailadmin to PHP? Why?

Oden Eriksson wrote:
> 
> [EMAIL PROTECTED] writes:
> 
> > vQregister is new web-based signup CGI that
> 
> Very neat!
> 
> What about to port qmailadmin to php?
> 
> --
> Kindest regards // Oden Eriksson

-- 
[EMAIL PROTECTED]
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
New prices!  http://www.inter7.com/prices.html




On Mon, Feb 19, 2001 at 11:17:14AM -0600, Bruce Guenter wrote:

> > hey guys, this is another subject, but could any of you suggest a different
> > text web browser other than Lynx?
> 
> Links.  http://artax.karlin.mff.cuni.cz/~mikulas/links/
> 
> It even handles tables properly.

w3m is also quite nice.  Handles tables and frames.

http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/






> 
>    SELECT filename, hdrsubject FROM mail2db WHERE hdrfrom ~ ".*@example.com";
> 

FYI, you could use LIKE clause too.
Anyway, there is a REGEX clause in MySQL which will fulfill what you need :)
MySQL is FASTER. And it has regex support from a long time ago.
But this is another story.

-- 
Stefan Laudat
-------------
And on the seventh day, He exited from append mode.




On Sat, Feb 24, 2001 at 07:30:40PM +0200, Stefan Laudat wrote:
>FYI, you could use LIKE clause too.
>Anyway, there is a REGEX clause in MySQL which will fulfill what you need :)

So I've heard...

>MySQL is FASTER. And it has regex support from a long time ago.

Yeah, that's the popular rumor.  Doesn't seem to bear weight with reports
of postgres being "6x faster" than MySQL on some real-world applications.
For example, see:

        http://www.phpbuilder.com/columns/tim20001112.php3

Sean
-- 
 Some girl with psychic power, She said "T-bone, what's your sign?"
 I blinked and answered "Neon", I thought I'd blow her mind.
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




This is in the docs.

----- Original Message -----
From: "Kashan Sadiq" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 24, 2001 4:13 AM
Subject: Mail Doesn't go in /var/spool/mail


Dear All,

I have installed qmail succefully on RH 7.0. it successfully rceievs
messages
and save it in ~user/Mbox. I wan to change it to /var/spool/mail. For this
pupose I used binm2 file as rc. But still it does'nt work and don't send
mail
to /var/spool/mail as well as in Mbox.

Now anybody can help me to configure it in a way that it can send mail to
/var/spool/mail.

Kashan



____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1






Andy,

        Thanks for the help. Pullmail is not removing the to:/from: headers.
I've looked at the files in the Maildir/new and those fields are not
listed. Here's a copy of the *.mail file in /home/user/Maildir/new:

Return-Path: <[EMAIL PROTECTED]>Delivered-To:
[EMAIL PROTECTED]: (qmail 24217 invoked from network); 24 Feb
2001 11:45:07 -0000Received: from unknown (HELO mail.xxx.com)
(127.0.0.1)  by localhost with SMTP; 24 Feb 2001 11:45:07 -0000Subject:
TestTest
End of message

        If I use qmail-inject and cat a text file with the to:/from: fields in
it ala TEST.deliver, the system works fine. Pullmail pops it off the
server and routes it to the correct user on the Exchange system. qmail
itself is putting all email destined for the domain into a single user
account on the mail server. In order to put the messaged into the queue,
I'm telnetting to port 25 on the mail server and manually running the
commands - just as described in TEST.deliver. This is the only place so
far that the system fails. Not sure where else to look. Here's my rc
file in case that helps. My gut is telling me I'm missing something
there.

/var/qmail/rc

#!/bin/sh# Using splogger to send the log through syslog.# Using
procmail to deliver messages to /var/spool/mail/$USER by default.exec
env - PATH="/var/qmail/bin:$PATH" \qmail-start './Maildir/' splogger
qmail
        Thanks again for you help.

.mark



>----------
>From:  Andy Bradford[SMTP:[EMAIL PROTECTED]]
>Sent:  Friday, February 23, 2001 5:43 PM
>To:    Mark Schoonover
>Cc:    [EMAIL PROTECTED]
>Subject:       Re: Missing To:/From: Fields in Virtual Domain Setup. 
>
>On Fri, 23 Feb 2001 16:57:59 PST,  wrote:
>
>> have I obviously missed?? I've used the LWQ and set up the qmail server
>> using Ch 11 of Running with qmail - Using qmail as an ISP server. Am I
>> supposed to resupply the To: / From: fields using variables in the
>> .qmail-default file?? Any help would be greatly appreciated!
>
>No, qmail will not modify those headers by default.  Exchange pullmail 
>must be removing them or they are not included with the email when it 
>was injected into the queue.  Try looking at the mail in the Maildir to 
>see if they are present before they get pop'd.  In addition, how are 
>the messages being put into the queue?  Are you doing it from a script? 
> Are you sending it from a MUA?  And no, you shouldn't have to resupply 
>them in a .qmail-default... :-)
>
>Andy
>
>




When I send an email to just say 'chris' it defaults to
[EMAIL PROTECTED], but it should goto
[EMAIL PROTECTED], or preferably [EMAIL PROTECTED]
Could somebody please tell me what I'm doing wrong.  I included
some output below.

69:adsl-392-234-17-298:/var/qmail/control> hostname
adsl-392-234-17-298.phila.adsl.bellatlantic.net

68:adsl-392-234-17-298:/var/qmail/control> cat defaultdomain 
cera.ws

69:adsl-392-234-17-298:/var/qmail/control> cat locals
cera.ws
adsl-392-234-17-298.phila.adsl.bellatlantic.net

70:adsl-392-234-17-298:/var/qmail/control> cat me
cera.ws

71:adsl-392-234-17-298:/var/qmail/control> cat plusdomain 
cera.ws

72:adsl-392-234-17-298:/var/qmail/control> cat rcpthosts 
cera.ws
adsl-392-234-17-298.phila.adsl.bellatlantic.net


I would appreciate if anyone could please email me some helpful
hints.  That would be greatly appreciated, thank you.
-- 
    _/_/_/  _/_/_/ _/_/_/_    _/_/_    [EMAIL PROTECTED]
   _/      _/      _/   _/   _/  _/                            /"\
  _/      _/_/_/  _/ _/     _/_/_/     ASCII RIBBON CAMPAIGN   \ /
 _/      _/      _/  _/    _/  _/       AGAINST HTML MAIL,      X 
_/_/_/  _/_/_/  _/    _/  _/  _/.ws    AND NEWS TOO, dammit!   / \




On Sat, Feb 24, 2001 at 04:39:32PM -0500, Chris Cera wrote:
> When I send an email to just say 'chris' it defaults to
> [EMAIL PROTECTED], but it should goto
> [EMAIL PROTECTED], or preferably [EMAIL PROTECTED]
> Could somebody please tell me what I'm doing wrong.  I included
> some output below.
> 
[snip]
> I would appreciate if anyone could please email me some helpful
> hints.  That would be greatly appreciated, thank you.

Are you encountering this behavior with qmail-inject? If you aren't
using qmail-inject then these control files won't help you. Figure out
how to make your MUA work as you want.




> Are you encountering this behavior with qmail-inject? If you aren't
> using qmail-inject then these control files won't help you. Figure out
> how to make your MUA work as you want.

I just tried using qmail-inject and that worked properly, I
thought this was invoked by default in qmail.  How can I get my
MUA, as well as others on my system to properly, use this by 
default when email is sent.  Thanks a lot.
-- 
    _/_/_/  _/_/_/ _/_/_/_    _/_/_    [EMAIL PROTECTED]
   _/      _/      _/   _/   _/  _/                            /"\
  _/      _/_/_/  _/ _/     _/_/_/     ASCII RIBBON CAMPAIGN   \ /
 _/      _/      _/  _/    _/  _/       AGAINST HTML MAIL,      X 
_/_/_/  _/_/_/  _/    _/  _/  _/.ws    AND NEWS TOO, dammit!   / \




My Linux server hosts 2 domains.  Domain A is real and B testing.  Test
accounts are setup in B.  At the end of the test, is it possible to copy all
subdirectories of domain B to domain A?  Will that be sufficient for account
creation also?  Are there indices which point to directory location per
user?

Thanks for all the help.
jean





> My Linux server hosts 2 domains.  Domain A is real and B testing.  Test
> accounts are setup in B.  At the end of the test, is it possible to copy
all
> subdirectories of domain B to domain A?  Will that be sufficient for
account
> creation also?  Are there indices which point to directory location per
> user?
>
> Thanks for all the help.
> jean

I would like to second this question. I believe it should be possible to do
but have been
unsuccessful in my first try as it seems that the lists I was trying to copy
were easier to
recreate.

Mark






On second look, it appears vpasswd.cdb contains the links to Maildir
folders.  Can I edit vpasswd file and generate a new vpasswd.cdb file?  Is
there a known procedure or command for this?

Thanks,
jean
>
>
> My Linux server hosts 2 domains.  Domain A is real and B testing.  Test
> accounts are setup in B.  At the end of the test, is it possible
> to copy all
> subdirectories of domain B to domain A?  Will that be sufficient
> for account
> creation also?  Are there indices which point to directory location per
> user?
>
> Thanks for all the help.
> jean
>
>





Hi, All,
    I have a mail server frame named mail.xyz.com, and I want to set up a
mail system with such address [EMAIL PROTECTED], but I can only get
[EMAIL PROTECTED], it is all right to send and receive email with it. 
how can I set up with @xyz.com ???
I patched DNS with qmail-103.patch, but ./config does not work ,
so I set ./config-fast mail.xyz.com
 
and what nslookup feed back is like that:
my domain xyz.com's IP is 111.111.111.111
and two DNS IP are  123.123.123.123  &  321.321.321.321 
 
>set q=MX
>xyz.com
 
xyz.com       preference = 20, mail exchanger = dns2.OTHER.com
xyz.com       preference = 10, mail exchanger = mail.xyz.com
xyz.com       nameserver = dns1.OTHER.com
xyz.com       nameserver = dns2.OTHER.com
dns2.OTHER.com        internet address = 123.123.123.123
mail.xyz.com  internet address = 111.111.111.111
dns1.xyz.com        internet address = 321.321.321.321




Greetings everyone!

I'm studying the log messages in my mail server.

I learn that every messages that is using my mail server as relay
(selective relay) must show message like this:

Feb 24 12:23:30 mail qmail: 982992210.527977 new msg 200623
Feb 24 12:23:30 mail qmail: 982992210.528104 info msg 200623: bytes
6473 from <[EMAIL PROTECTED]>
Feb 24 12:23:30 mail qmail: 982992210.532406 starting delivery 599:
msg 200623 to remote [EMAIL PROTECTED]
Feb 24 12:23:30 mail qmail: 982992210.534565 status: local 0/10 remote 1/20
Feb 24 12:23:38 mail qmail: 982992218.081778 delivery 599: success:
111.222.333.444_accepted_$
Feb 24 12:23:38 mail qmail: 982992218.084167 status: local 0/10 remote 0/20
Feb 24 12:23:38 mail qmail: 982992218.086357 end msg 200623  

But recently I received log message like this: (NO INFO MSG FROM:)
Feb 25 07:23:16 mail qmail: 983060596.237096 starting delivery 651: msg 200626 to 
remote [email protected]
Feb 25 07:23:16 mail qmail: 983060596.237195 status: local 0/10 remote 1/20
Feb 25 07:23:36 mail qmail: 983060616.287153 delivery 651: deferral: 
Sorry,_I_couldn't_find_
any_host_by_that_name._(#4.1.2)/
Feb 25 07:23:36 mail qmail: 983060616.287247 status: local 0/10 remote 0/20         

How did someone do that without FROM: information?
-- 
Best regards,
 Chrisanthy                          mailto:[EMAIL PROTECTED]






On Sun, Feb 25, 2001 at 08:59:24AM +0700, Chrisanthy Chrisanthy wrote:
> But recently I received log message like this: (NO INFO MSG FROM:)
> Feb 25 07:23:16 mail qmail: 983060596.237096 starting delivery 651: msg 200626 to 
>remote [email protected]
> Feb 25 07:23:16 mail qmail: 983060596.237195 status: local 0/10 remote 1/20
> Feb 25 07:23:36 mail qmail: 983060616.287153 delivery 651: deferral: 
>Sorry,_I_couldn't_find_
> any_host_by_that_name._(#4.1.2)/
> Feb 25 07:23:36 mail qmail: 983060616.287247 status: local 0/10 remote 0/20         
> 
> How did someone do that without FROM: information?

No one did anything; msg 200620 was deferred earlier, and this is a
subsequent delivery attempt. man qmail-log




Guys,
I really need your help. I've search through Qmail documentations and
mailing-list in
internet and can't find the answer. I hope someone here can help me.

My Qmail, and Vpopmail work fine. I follow the instructions in INSTALL
files when installing the packages.
I can send and receive email from some mail sites without
problem.
But recently I find out that if someone who's using Hotmail, USA.net,
and some other mail server, tried to send email to some users in my
mail server, 80% of the messages lost in space, 5% received, and 15%
received after several days. What's the problem?

NO ERROR MESSAGE IN MY LOG FILE--> /var/log/messages
I don't use supervise, accustamp, cyclog, or anything, just in the
/var/log/messages.

Please help!
-- 
Best regards,
 Chrisanthy






oh, friend
you might encount the problem with anonymous user
relay, those users send mail with your "free" server,
you must close it as soon as possible,
if not, someone is likely to send spam with your 
server, that is not the worst ,the worst is that 
the destinations of the spam email will repay your 
kind "free server", such as email bombs are going to 
foist into your server......

i can give you some advice, find out the "free" users and their
IPs, shield them.
if you apply tcpserver,.look /etc for tcp.smtp
set as following:
127.0.0.1:allow,RELAYCLIENT=""
192.168.:allow,RELAYCLIENT=""
:allow

and then translate the file into cbd format:

# tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp

you can see 
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb
in /service/qmail-smtpd/run
it allow local user--->127.0.0.1
and 192.168.0~254
Good luck!
Jerry

----- Original Message ----- 
From: Chrisanthy Chrisanthy <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 25, 2001 10:11 AM
Subject: delay in receiving from Hotmail, Usa.net, etc


> Guys,
> I really need your help. I've search through Qmail documentations and
> mailing-list in
> internet and can't find the answer. I hope someone here can help me.
> 
> My Qmail, and Vpopmail work fine. I follow the instructions in INSTALL
> files when installing the packages.
> I can send and receive email from some mail sites without
> problem.
> But recently I find out that if someone who's using Hotmail, USA.net,
> and some other mail server, tried to send email to some users in my
> mail server, 80% of the messages lost in space, 5% received, and 15%
> received after several days. What's the problem?
> 
> NO ERROR MESSAGE IN MY LOG FILE--> /var/log/messages
> I don't use supervise, accustamp, cyclog, or anything, just in the
> /var/log/messages.
> 
> Please help!
> -- 
> Best regards,
>  Chrisanthy
> 
> 




Jeremy Suo-Anttila writes:
 > all you need to do to fix the dns problem is change a setting in your dns.c
 > source for qmail change the word "PACKETZ" to "65536"
 > 
 > this is according to running Qmail by sams publishing.

Yesbut, then the buffer takes 64K *every* time.  Just to handle the
0.0001% of hosts with overlarge DNS records.  Carl's patch increases
the buffer size until it stops returning an error.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "This is Unix...
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Stop acting so helpless."
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | --Daniel J. Bernstein




We have setup qmail1.03 with the concurrency and big-todo patches.
concurrencyremote is currently set to 400.

We have a perl script which queries a database and then 'qmail-injects'
messages to over 200,000 users.

We found that concurrency wasn't running anywhere near max because the perl
script wasn't injecting fast enough, so we converted the script to run 2
simultaneous injection threads.

Now the problem is that the queue and 'not yet preprocessed' numbers are
growing quickly, but only about 50 qmail-remotes are running.  When we stop
the injections, 400 remotes spawn as expected.

So it would seem that when qmail is actively receiving lots of messages for
delivery, it won't spawn the remotes?  Anyone have a solution to improve
this situation?

-Phil







Phil Oester writes:
 > So it would seem that when qmail is actively receiving lots of messages for
 > delivery, it won't spawn the remotes?  Anyone have a solution to improve
 > this situation?

Run multiple copies of qmail on the same machine.  Cause the perl
script to choose one of them at random, by running one of:

/var/qmail1/bin/qmail-inject
/var/qmail2/bin/qmail-inject
/var/qmail3/bin/qmail-inject
/var/qmail4/bin/qmail-inject

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "This is Unix...
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Stop acting so helpless."
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | --Daniel J. Bernstein




Hello,

Could anyone confirm that Maildir:s are safe for concurrent access via AFS?

That is, there may potentially be multiple qmail servers delivering mail to
the same maildir, and multiple clients reading the same maildir.

Given that Maildir was in part made to be safe with NFS, and given what I
know about Maildir manipulation, I don't see a problem. But I thought I'd
ask, just in case.

--
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrival: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://scode.infidyne.com



Reply via email to