qmail Digest 19 Feb 2001 11:00:01 -0000 Issue 1280

Topics (messages 57504 through 57543):

Re: vpopmail
        57504 by: Peter Green

tcpserver
        57505 by: kat
        57507 by: Peter van Dijk

Re: pop3 dying
        57506 by: mick

Re: X-Sender
        57508 by: Charles Cazabon
        57509 by: Lukasz Felsztukier
        57510 by: Charles Cazabon
        57511 by: Lukasz Felsztukier
        57513 by: Peter van Dijk
        57515 by: Charles Cazabon

Concurrency questions
        57512 by: John P
        57514 by: Lukasz Felsztukier
        57516 by: richard.illuin.org
        57517 by: Lukasz Felsztukier
        57518 by: Mark Delany
        57519 by: richard.illuin.org
        57523 by: Mark Delany

Gateway Filtering Question.
        57520 by: Andrew Blogg

Re: I can't find qmail's log file.
        57521 by: japc

qmail slowly
        57522 by: zbeinet
        57524 by: Greg White

problem with local mailling list
        57525 by: Irwan Hadi

outgoing messages
        57526 by: kat

Voc� sabia que este servi�o existia?
        57527 by: opinabrasil.ig.com.br

nslookup problem
        57528 by: Mark Lo
        57529 by: Jonathan D. Poole
        57530 by: Jonathan D. Poole

Need Someone to Configure qmail & djbdns on OpenBSD server
        57531 by: Margaret Morris

MAKING PORT RESPONSE FASTER
        57532 by: qmailu
        57536 by: Jacques <Frip'> WERNERT

Re: Mail2db or maildir2html
        57533 by: Sean Reifschneider

deny huge attaches
        57534 by: Kornyakov Yevgeniy
        57535 by: Andrew Richards
        57543 by: Faried Nawaz

Does qmail-send rescan the queue when there are delivery failures, too?
        57537 by: Michael Maier
        57539 by: Peter van Dijk
        57541 by: Michael Maier
        57542 by: Peter van Dijk

Re: qmail-inject refuses to work if it's parent process is qmail-local?
        57538 by: James Raftery

dot in e-mail address <e.g. [EMAIL PROTECTED]>
        57540 by: Jankok, Lucio

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]


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


* Mate Wierdl <[EMAIL PROTECTED]> [010218 00:57]:
> Is this the right forum for this?
> I installed the vpopmail rpm.

Probably not. Try <[EMAIL PROTECTED]>.

> After that I ran, as root,
> 
> useradd a.b.c

``Create a system user a.b.c.''

> vadddomain a.b.c

This is vpopmail's program to ``create a mail domain a.b.c.''

> Interestingly, I got this 
> 
> +a.b.c-:a.b.c:521:521:/home/vpopmail/domains/a.b.c:-::
> 
> users/assign.  But
> 
> # id -u a.b.c
> 511
> 
> What gives?  (This is to investigate some ezmlm user's problem which I
> suspect has to do with perms on a list set up under vpopmail)?

vpopmail, by default, manages all mail domains under the vpopmail user and
ignored /etc/passwd if a system user exists with the same name as the mail
domain. 10-to-1 says `id -u vpopmail` returns 521.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Linux: The OS people choose without $200,000,000 of persuasion.
(By Mike Coleman.)





Hello qmailler,
I have installed ucspi-tcp and got tcpserver running properly, but my
problem is that I cannot find the man page. when i type "man
tcpserver" or "man 1 tcpserver" I get no man page found error.
Please help in this problem because I really want to read the page.
Thanks and waiting for the response.


-- 
Best regards,
 kat                          mailto:[EMAIL PROTECTED]






On Sun, Feb 18, 2001 at 05:45:04PM +0530, kat wrote:
> Hello qmailler,
> I have installed ucspi-tcp and got tcpserver running properly, but my
> problem is that I cannot find the man page. when i type "man
> tcpserver" or "man 1 tcpserver" I get no man page found error.
> Please help in this problem because I really want to read the page.

The documentation is at http://cr.yp.to/ucspi-tcp.html

Greetz, Peter.




Yep still working great. And found this right out of the tcpserver man
page:

  -climit
       Do not handle more than limit simultaneous connections.  If there
are limit simultaneous copies of program running, defer acceptance of a 
new connection until one copy finishes.  limit must be a positive 
integer.  Default: 40.

Thanks again.

On Sat, 17 Feb 2001, mick wrote:

> Ok, tried changing this:
> /usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
>   my.domain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> 
> to this:
> /usr/local/bin/tcpserver -c 200 0 pop3 /var/qmail/bin/qmail-popup
>   my.domain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> 
> See what that does.
> 
> 
> On Sat, 17 Feb 2001, Charles Cazabon wrote:
> 
> > mick <[EMAIL PROTECTED]> wrote:
> > > concurency limit is set to 120, does that mean its limited to 120 pop3
> > > sesions?
> > 
> > Yes, if that's the number you are supplying as the -c option to the
> > tcpserver instance launching qmail-pop3d.  Double or quadruple it and see
> > if your problems stop.  You could also enable the logging from tcpserver for
> > that.
> > 
> > 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.
> > -----------------------------------------------------------------------
> > 
> > 
> 
> *****************************************
> Mick Dobra
> Systems Administrator
> MTCO Communications
> 1-800-859-6826
> *****************************************
> 
> 

*****************************************
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*****************************************





Lukasz Felsztukier <[EMAIL PROTECTED]> wrote:
> > > I'm getting these headers with every email that qmail is sending:
> > > X-Mozilla-Status: 8011
> > > X-Mozilla-Status2: 00000000
> > > X-UIDL: 982463923.22586.naomi
> > >
> > > How can these be removed or changed to my own liking ?
> > 
> > Change your MUA -- qmail isn't adding these headers, it's Mozilla (Netscape).
> You mean when I read them ?
> These email where posted by a php script from a website...

Yes.  Netscape/Mozilla mail client adds them for its own purposes (tracking
if you've read them, replied to them, etc).  If you want to see exactly what's
in the message before your MUA gets at it, speak POP3 at the server with a
telnet client.

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




Charles Cazabon wrote:
> 
> Lukasz Felsztukier <[EMAIL PROTECTED]> wrote:
> > > > I'm getting these headers with every email that qmail is sending:
> > > > X-Mozilla-Status: 8011
> > > > X-Mozilla-Status2: 00000000
> > > > X-UIDL: 982463923.22586.naomi
> > > >
> > > > How can these be removed or changed to my own liking ?
> > >
> > > Change your MUA -- qmail isn't adding these headers, it's Mozilla (Netscape).
> > You mean when I read them ?
> > These email where posted by a php script from a website...
> 
> Yes.  Netscape/Mozilla mail client adds them for its own purposes (tracking
> if you've read them, replied to them, etc).  If you want to see exactly what's
> in the message before your MUA gets at it, speak POP3 at the server with a
> telnet client.

Yes, it's true. But another idea of mine emerges - is there a way (in
qmail) to _globally_ add my custom header to all outgoing mail ?

Cheers,
-- 
Lukasz Felsztukier

 : :   d i g i t a l  O n e  : :  interactive media house
 : :   http://www.digitalone.pl
 : :   Al. Kosciuszki 1, 90-418 Lodz, Poland
 : :   tel./fax  [+48 42] 632.89.74




Lukasz Felsztukier <[EMAIL PROTECTED]> wrote:
> 
> But another idea of mine emerges - is there a way (in qmail) to _globally_
> add my custom header to all outgoing mail ?

Yes.  It's mentioned in Dan's qmail FAQ, possibly on www.qmail.org, and maybe
even in Dave Sill's excellent "Life with qmail".  Check Dan's FAQ first; it's
included in the source tarball, plus an updated version is available 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.
-----------------------------------------------------------------------




Charles Cazabon wrote:
> 
> Lukasz Felsztukier <[EMAIL PROTECTED]> wrote:
> >
> > But another idea of mine emerges - is there a way (in qmail) to _globally_
> > add my custom header to all outgoing mail ?
> 
> Yes.  It's mentioned in Dan's qmail FAQ, possibly on www.qmail.org, and maybe
> even in Dave Sill's excellent "Life with qmail".  Check Dan's FAQ first; it's
> included in the source tarball, plus an updated version is available at
> cr.yp.to.
> 
Are you positively sure it's there ? I dug the FAQ at cr.yp.to and
couldn't find it. Wouldn't you by any chance had it handy ?

Cheers,
-- 
Lukasz Felsztukier

 : :   d i g i t a l  O n e  : :  interactive media house
 : :   http://www.digitalone.pl
 : :   Al. Kosciuszki 1, 90-418 Lodz, Poland
 : :   tel./fax  [+48 42] 632.89.74




On Sun, Feb 18, 2001 at 09:43:41PM +0100, Lukasz Felsztukier wrote:
[snip]
> Are you positively sure it's there ? I dug the FAQ at cr.yp.to and
> couldn't find it. Wouldn't you by any chance had it handy ?

He probably refers to the part about Fixing up messages from broken
SMTP clients. Look for the word 'fixup' or 'FIXUP' in the FAQ.

Greetz, Peter.




Lukasz Felsztukier <[EMAIL PROTECTED]> wrote:

re: documentation on adding a banner to outgoing messages

> Are you positively sure it's there ? I dug the FAQ at cr.yp.to and
> couldn't find it. Wouldn't you by any chance had it handy ?

I was sure I had seen it referenced in Dan's documentation, but I can't find
it now (his site, although well laid out, can be difficult to use when you're
searching for a particular piece of information).

It doesn't appear to be in lwq, and faqts.com isn't answering requests at
the moment.  Sorry; you'll have to google it out or something.

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




I have a K6/2 400 running RedHat 6.1 with Qmail. The box has 160mb RAM and a
cheapo IDE 4gb disk (was once a workstation). We have a 2Mb/s ADSL
connection. It's running as a POP3/SMTP server for a small internal network
for 15 users.

All works great, however every so often (bi-weekly) I need to send an e-mail
to 40,000 customers (different e-mail for each one), generated using MySQL
and PHP's mail() command.

I'm just wondering what kind of performance I should be expecting, and what
kind of limits I should be setting in concurrencyremote? If I up it to say,
100 when I do one of these mass e-mails, will I get any problems with
'descriptors','openfiles' or 'maxproc' (I don' t know what these refer to, I
just saw it in the FAQ). Do I take it 120 is the max I can set it to without
compiling Qmail? Should I think about recompiling it with big limits? I'm
not sure whether this it just for really, really big sites, or also for
usage like mine.

I know that it's very difficult to come up with specifics but I just want to
ensure all e-mails get sent as quickly as possible - I don't want to have it
dying halfway through, and I can't test a mass e-mail delivery to myself!

Ideas appreciated

Regards
John





John P wrote:
> 
> I have a K6/2 400 running RedHat 6.1 with Qmail. The box has 160mb RAM and a
> cheapo IDE 4gb disk (was once a workstation). We have a 2Mb/s ADSL
> connection. It's running as a POP3/SMTP server for a small internal network
> for 15 users.
> 
> All works great, however every so often (bi-weekly) I need to send an e-mail
> to 40,000 customers (different e-mail for each one), generated using MySQL
> and PHP's mail() command.
> 
> I'm just wondering what kind of performance I should be expecting, and what
> kind of limits I should be setting in concurrencyremote? If I up it to say,
> 100 when I do one of these mass e-mails, will I get any problems with
> 'descriptors','openfiles' or 'maxproc' (I don' t know what these refer to, I
> just saw it in the FAQ). Do I take it 120 is the max I can set it to without
> compiling Qmail? Should I think about recompiling it with big limits? I'm
> not sure whether this it just for really, really big sites, or also for
> usage like mine.
> 
> I know that it's very difficult to come up with specifics but I just want to
> ensure all e-mails get sent as quickly as possible - I don't want to have it
> dying halfway through, and I can't test a mass e-mail delivery to myself!
> 
Hi there, John
I am here facing the same problem myself. We have over 15.000 subscribed
website-monthly-letter receivers. My script (being sent till this day on
a sendmail system) was dying halfway (probably timeout). Triggering it
from a command line is unfortunatelly not an option (it's done thru a
www interface). I am also wondering what's the best way to send all
these emails.
Maybe setting up a mailing list would solve the problem... It had to be
a one-way list (eg. mails are monthly sent only by a priviledged
person)...Anyone on the list maybe had similar problem to this and can
come up with a speedy and elegant solutions ?
-- 
Lukasz Felsztukier

 : :   d i g i t a l  O n e  : :  interactive media house
 : :   http://www.digitalone.pl
 : :   Al. Kosciuszki 1, 90-418 Lodz, Poland
 : :   tel./fax  [+48 42] 632.89.74





John P wrote:
> All works great, however every so often (bi-weekly) I need to send an
> e-mail to 40,000 customers (different e-mail for each one), generated
> using MySQL and PHP's mail() command.

On Sun, 18 Feb 2001, Lukasz Felsztukier wrote:
> I am here facing the same problem myself. We have over 15.000
> subscribed website-monthly-letter receivers. My script (being sent
> till this day on a sendmail system) was dying halfway (probably
> timeout). Triggering it from a command line is unfortunatelly not an
> option (it's done thru a www interface). I am also wondering what's
> the best way to send all these emails.

firstly, y'all are going to have to do some programming if you went to do
this as quickly as possible. saying things like I HAVE to use the mail()
interface in php or not using a command-line interface means you have
little or no control over the delivery process for this specific class of
mail problems.

firstly, qmail-remote and qmail-queue are the two qmail programs you need
to use. your script needs to do something like the following (in pseudo
code)


maxchildren=1000;
children=0;

whenever SIGCHLD decrement children

while (workdoto) {
   get_work();

   if (children == maxchildren ) wait();
   child=fork();

# error conditions in parent
   if (child<0) {
        error, set maxchildrenlower, exit or retry;
   };

# this is the child process
   if (child==0) {
        send mail using qmail-remote
        if !success 
              send mail using qmail-queue
        exit 0 # child finished
   };

# this is the parent process
   if (child > 0 ) 
          children ++
         
}

# wait for children to finish
while (children != 0) wait();
exit
-----------

In this way you'll make the first delivery attempt yourself for each
recipient; avoiding any overhead in the qmail-send process or the queue
management. if the first attempt fails then the message is passed off to
qmail-send to handle, which should be a much lower volume of mail.

RjL
==================================================================
You know that. I know that. But when  ||  Austin, Texas
you talk to a monkey you have to      ||  Email: [EMAIL PROTECTED]
grunt and wave your arms          -ck ||





[EMAIL PROTECTED] wrote:
> 
> John P wrote:
> > All works great, however every so often (bi-weekly) I need to send an
> > e-mail to 40,000 customers (different e-mail for each one), generated
> > using MySQL and PHP's mail() command.
> 
> On Sun, 18 Feb 2001, Lukasz Felsztukier wrote:
> > I am here facing the same problem myself. We have over 15.000
> > subscribed website-monthly-letter receivers. My script (being sent
> > till this day on a sendmail system) was dying halfway (probably
> > timeout). Triggering it from a command line is unfortunatelly not an
> > option (it's done thru a www interface). I am also wondering what's
> > the best way to send all these emails.
> 
> firstly, y'all are going to have to do some programming if you went to do
> this as quickly as possible. saying things like I HAVE to use the mail()
> interface in php or not using a command-line interface means you have
> little or no control over the delivery process for this specific class of
> mail problems.
> 
> firstly, qmail-remote and qmail-queue are the two qmail programs you need
> to use. your script needs to do something like the following (in pseudo
> code)
> 
> maxchildren=1000;
> children=0;
> 
> whenever SIGCHLD decrement children
> 
> while (workdoto) {
>    get_work();
> 
>    if (children == maxchildren ) wait();
>    child=fork();
> 
> # error conditions in parent
>    if (child<0) {
>         error, set maxchildrenlower, exit or retry;
>    };
> 
> # this is the child process
>    if (child==0) {
>         send mail using qmail-remote
>         if !success
>               send mail using qmail-queue
>         exit 0 # child finished
>    };
> 
> # this is the parent process
>    if (child > 0 )
>           children ++
> 
> }
> 
> # wait for children to finish
> while (children != 0) wait();
> exit
> -----------
> 
> In this way you'll make the first delivery attempt yourself for each
> recipient; avoiding any overhead in the qmail-send process or the queue
> management. if the first attempt fails then the message is passed off to
> qmail-send to handle, which should be a much lower volume of mail.

I understand this code has to be executed in a loop for each
recipient...Can you explain what advantages I get doing it this way ?

Cheers,
-- 
Lukasz Felsztukier

 : :   d i g i t a l  O n e  : :  interactive media house
 : :   http://www.digitalone.pl
 : :   Al. Kosciuszki 1, 90-418 Lodz, Poland
 : :   tel./fax  [+48 42] 632.89.74




> > In this way you'll make the first delivery attempt yourself for each
> > recipient; avoiding any overhead in the qmail-send process or the queue
> > management. if the first attempt fails then the message is passed off to
> > qmail-send to handle, which should be a much lower volume of mail.
> 
> I understand this code has to be executed in a loop for each
> recipient...Can you explain what advantages I get doing it this way ?

By using qmail-remote directly you avoid all of the I/O overhead of
placing the message in the queue and have qmail-send find and process
each message. Going to qmail-remote directly is a zero I/O cost
strategy.

I recently did a system somewhat like this across multiple servers and
the systems doing the initial qmail-remote delivery attempt where
diskless. Works a treat.


Regards.




On Mon, 19 Feb 2001, Lukasz Felsztukier wrote:

> 
> I understand this code has to be executed in a loop for each
> recipient...Can you explain what advantages I get doing it this way ?

the code will spawn upto maxchildren processes all trying to deliver mail
in parallel; it will try and keep that many processes doing work. each
time a child dies it will start another message. Basically it will move
the concurrencyremote upto the maximum number of children. Unlike
qmail-send however each child does not need to maintain any state
information; it will try to send the message, and if that FAILS it will
pass the message off to qmail to deliver. As most message get delivered on
the first attempt you'll save the overhead of writing the message to disk,
flushing the data, having qmail-send notice the message, move it from todo
into remote, tell qmail-rspawn to start a delivery for a specific message
and then remove it from the queue when it has finished.

the speedup for delivery should be quite impressive.

You'll have to do things like maintain a log of who received the message
so if the main loop break you can restart it and people won't receive
duplicates and other things like that, but still it's much less work than
the absolutle requirements for reliable delivery a general purpose mail
delivery agent has.

RjL
==================================================================
You know that. I know that. But when  ||  Austin, Texas
you talk to a monkey you have to      ||  Email: [EMAIL PROTECTED]
grunt and wave your arms          -ck ||





> pass the message off to qmail to deliver. As most message get delivered on
> the first attempt you'll save the overhead of writing the message to disk,

And this is a large caveat. If, eg, your network happens to be down at
the time you attempt delivery, you'll inject a huge number of emails
into qmail - that may hurt. When I've developed this sort of code I've
found it just as easy to do the retries in the qmail-remote driver
logic and dispense with qmail-inject/qmail-send altogether. Risk
avoidance is the motive.

> duplicates and other things like that, but still it's much less work
> than the absolutle requirements for reliable delivery a general
> purpose mail delivery agent has.

As always, Richard knows what he speaks about. There are many
optimizations available when you have very specific requirements that
are less demanding than a general purpose mail delivery system such as
qmail. The really great news is that you can use the qmail componentry
such as qmail-remote to reduce your development costs. Try that with
sendmail!


Regards.




Hi,

I've recently come into a situation where I want to be able to run 
processing rules on specific email gateways.

Currently I have a few entries in smtproutes, and I would like to be 
able to do something like, move one of the domains from smtproutes to 
virtual domains, and then have a .qmail-default, containing say.. 

.qmail-default
|/bin/mailfilter (reject and return to sender or accept and deliver)
|forward domain.com (this is the bit I'm not sure about).


Because I want to forward it on to a remote host, but not change the 
@domain.com part of the original e-mail, and just relay it, I'm 
unsure how to do this, can anyone suggest a way to do it?

Regards,

Andrew P Blogg

System Administrator
GPL (Aust) Pty Ltd
BrightFox Internet Solutions
http://www.gpl.com.au
http://www.brightfox.com.au
mailto:[EMAIL PROTECTED]






Do a

chown -R qmaill:qmail /var/log/qmail

this should do it.

Regards.


On Fri, Feb 16, 2001 at 06:32:57PM -0000, Qiao Aijun wrote:
> 
> > Let us see the owner and permissions of /varlog/qmail.
> > 
> > ls -la /var/log | grep qmail
> 
> drwx--S---    2 root     root         1024 Feb 15 14:37 qmail
> 
>  
> > .
> > 
> > On Fri, Feb 16, 2001 at 12:28:07AM -0000, Qiao Aijun wrote:
> > > I have tried /var/log/qmail. There is nothing in the directory.
> > > 
> > > Qiao
> > > ----- Original Message -----
> > > From: "Jerry Lynde" <[EMAIL PROTECTED]>
> > > To: "qmail list" <[EMAIL PROTECTED]>
> > > Sent: 15 February 2001 23:49
> > > Subject: Re: I can't find qmail's log file.
> > > 
> > > 

-- 
Jose AP Celestino  <[EMAIL PROTECTED]>  || SAPO / PT Multimedia
Administração de Sistemas / Operações || http://www.sapo.pt
--------------------------------------------------------------
The amount of work done varies inversly with the time spent in the office.




Hi,
 
I setup freebsd4.2 with qmail in my intranet, I used 192.168...IP address; and I have
a DNS server with 202.96...IP address to provide name service to dialup users(outside), the FB and DNS are connected with a router. I hope dialup users could send and receive
mail. When they dialed up, they could receive mail smoothly, but the sending was very slowly, although it still works. The dialup user automaticly got an 202.96...address.
I have set up an MX record in my dns file and I point to FB with an 'A' record.
I was not sure where is the problem, the DNS, qmail, or router?
Someone said I must assign my FB an legal address, was that true?
Please get me some explain and how to resolve the problem.
Thanks.
 
Sincerely
zbeinet




On Mon, Feb 19, 2001 at 09:39:36AM +0800, zbeinet wrote:
> Hi,
> 
> I setup freebsd4.2 with qmail in my intranet, I used 192.168...IP address; and I have
> a DNS server with 202.96...IP address to provide name service to dialup 
>users(outside), the FB and DNS are connected with a router. I hope dialup users could 
>send and receive

SNIP more text of the exact same message, posted three times in as many
days to the list.  Please _stop_ posting the exact same message. Dave
Sill replied to the first one, and it appears that you never responded.
Go back through your email, and follow up with Mr. Sill -- if he cannot
help you, noone on the list can (and most will not, now that you've
posted the exact same message to the list three times, after getting a
reply to the first one...) If you won't respond to requests for more
information, there is little anyone can do for you.

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




I want to setup a mailling list in my computer using EZMLM. The MTA I'm using ri
ght now is Postfix, so to make it able to run EZMLM, I bind postfix (inet_interf
aces) to IP 129.123.230.12 and 127.0.0.1, and bind qmail at IP 127.0.0.3

---taken from /var/qmail/supervise/qmail-smtpd/run---
exec /usr/local/bin/softlimit -m 2000000 \
    /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 127.0.0.3  smtp /var/qmail/bin/qmail-sm
tpd 2>&1

What I want to do is, let postfix receive email for @list.phxby.com and deliver
it to qmail and qmail will deliver it to ~list which will trigger ezmlm to send,
 and let qmail send back emails from that mailling list via postfix (smtproutes)
.
The problem right now is when I try from localhost to send an email to something
@list.phxby.com I got this error

<[EMAIL PROTECTED]>:
 Sorry. Although I'm listed as a best-preference MX or A for that host,
 it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
, what should I setup at qmail to be able to do what I want ?

This is my qmail configurations

sh-2.04$ ./qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 255.
subdirectory split: 23.
user ids: 506, 507, 508, 0, 509, 510, 511, 512.
group ids: 511, 512.

badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is list.phxby.com.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is dorms.usu.edu.
defaulthost: (Default.) Default host name is list.phxby.com.
doublebouncehost: (Default.) 2B recipient host: list.phxby.com.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is list.phxby.com.
helohost: (Default.) SMTP client HELO host name is list.phxby.com.
idhost: (Default.) Message-ID host name is list.phxby.com.
localiphost: (Default.) Local IP address becomes list.phxby.com.

locals:
Messages for localhost are delivered locally.
Messages for irwanhadi.dorms.usu.edu are delivered locally.
me: My name is list.phxby.com.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is usu.edu.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at list.phxby.com.





Hello qmaillers,
      I am relatively new to qmail & use it on single PC [Mandrake 7.0].
I have made general setup on qmail as described in INSTALL.* files. Now
I want to go one step further. I want to automate the whole thing i.e.
when a user send mail from KDEmail, netscape or any email client, it
should queue the mails in a directory [i.e the user should feel that
mail is delivered] and when I connect to net it should send
the mails to the specified addresses. In short, my home PC should act
as a small server. How is that possible? I have already d/l serialmail
and other addon packages.Please be specific because I have not yet
understood qmail fully yet.
Please help and thanks a lot in advance.
-kat






Title: Que tal um encontro marcado com o grande amor da sua vida

Que tal um encontro marcado com o grande amor da sua vida, no pr�ximo fim de semana?

Est� sem tempo de procurar este grande amor?

Voc� anda trabalhando muito?

N�s sabemos disso...

Por isso enviamos este e-mail.

Clique aqui e veja a rela��o dos sites na Internet que encontram a pessoa perfeita e agendam encontros para voc�!

Com seriedade, seguran�a e privacidade total.

www.aagenciadenamoro.com.br

 

 

 

 

 

 

Mensagem �nica para o banco de e-mails. Para remover, responda com a palavra REMOVER





Hi,
 
    I am currently installed qmail under my Linux box, everything is running smoothly until I have installed my firewall using ipchains.  The problem is that I got a lot of defferal messages stating that my CNAME lookup failure. 
 
   Also, I am not able to do a nslookup under my box, is that mean qmail can't use the name server to lookup CNAME name ???
 
Thank you
 
Mark




This is probably the wrong list, but I bet your ipchains is deny'ing port 
53/udp.
Why don't you flus your firewall, see how qmail works, then subscribe to 
the ipchains firewall list.


Jonathan D. Poole



At 12:42 PM 2/19/2001 +0800, Mark Lo wrote:
>Hi,
>
>     I am currently installed qmail under my Linux box, everything is 
> running smoothly until I have installed my firewall using ipchains.  The 
> problem is that I got a lot of defferal messages stating that my CNAME 
> lookup failure.
>
>    Also, I am not able to do a nslookup under my box, is that mean qmail 
> can't use the name server to lookup CNAME name ???
>
>Thank you
>
>Mark





I meant to say, Flush, not flus.

<Hating this laptop keyboard>
JP
At 12:00 AM 2/20/2001 -0800, Jonathan D. Poole wrote:
>This is probably the wrong list, but I bet your ipchains is deny'ing port 
>53/udp.
>Why don't you flus your firewall, see how qmail works, then subscribe to 
>the ipchains firewall list.
>
>
>Jonathan D. Poole
>
>
>
>At 12:42 PM 2/19/2001 +0800, Mark Lo wrote:
>>Hi,
>>
>>     I am currently installed qmail under my Linux box, everything is 
>> running smoothly until I have installed my firewall using ipchains.  The 
>> problem is that I got a lot of defferal messages stating that my CNAME 
>> lookup failure.
>>
>>    Also, I am not able to do a nslookup under my box, is that mean qmail 
>> can't use the name server to lookup CNAME name ???
>>
>>Thank you
>>
>>Mark
>





Sorry for the re-post,
but the time factor on this has been escalated a bit.

We're in search of immediate help in installing qmail and 
djbdns on our OpenBSD 2.8 server. 

I'm been studying up on the qmail and djbdns usage, but really 
need an expert to install it and configure a sample domain for 
it. 

Unfortunately none of the American companies listed in the 
commercial support have been available, and we're looking for 
help ASAP.

If any helpful qmail/djbdns installation on OpenBSD experts 
would like to help out a fellow Bernstein fan and earn some 
cash, please contact me, ASAP.

Margaret Morris
[EMAIL PROTECTED]

________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag




Hi,
 
I have setup qmail-1.03 on a Sun E3500 on Solari 2.7. I am using tcpserver and my authentication is through mysql. When I do a telnet to port 110 and 25 it seems to take eternity to open the mail. How do I make my port opening a lot faster. My port 143 opens very fast. I have 3.5 lac mailboxes on this server.
 
Any light on this pls !!!!
 
Raghu




Hello
 
I had the problem too
 
You may want to disable DNS lookups
 
I use: tcpserver -H -R  , any explanations available on http://cr.yp.to/ucspi-tcp/tcpserver.html
 
Regards
 
Frip'
 
 
----- Original Message -----
From: qmailu
Sent: Monday, February 19, 2001 8:25 AM
Subject: MAKING PORT RESPONSE FASTER

Hi,
 
I have setup qmail-1.03 on a Sun E3500 on Solari 2.7. I am using tcpserver and my authentication is through mysql. When I do a telnet to port 110 and 25 it seems to take eternity to open the mail. How do I make my port opening a lot faster. My port 143 opens very fast. I have 3.5 lac mailboxes on this server.
 
Any light on this pls !!!!
 
Raghu




On Fri, Feb 16, 2001 at 01:07:28PM -0600, Barry Smoke wrote:
>I see an existing project... Mail2db which uses a python script, and
>postgresql....has anyone played with this?  Is there already a program that

We actually have all of our e-mail being stored in the Mail2DB db, not
suprisingly.  It's actually quite handy, but the message body is *NOT*
stored in the database.  I currently put *EVERYTHING* into the database
and don't want the odd 1MB to 50MB message being shoved in there.
Besides, it makes it *REALLY* easy to compress the bulk of the data.

I'd highly recommend you consider Postgres over MySQL.  The regex
matching in SQL clauses is fantastic:

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

Mhonarc is an interesting idea, if you just want a bunch of HTML files.
For archiving, the ability to run SQL queries on messages has proven very
useful...

Sean
-- 
 You know you're in Canada when:  The petrol-station attendant describes
 -30 degrees C as "she's a bit nippy out there, eh?".
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




Hi !!!


How I can deny incoming mail whith huge attaches as mp3 mpg bmp....?
I aware than it possible if use mail filters as procmail maildrop etc
But I need't get all message for parsing by local mail filter i want
bounce it use only qmail-smtpd...
I want do it for save incoming traffic.

Thanks !

========================
Regards.
Kornyakov Yevgeniy
========================
ICQ 84686284
TexaKaBank
Tel +7 3272 349954






>How I can deny incoming mail whith huge attaches as mp3 mpg bmp....?
>I aware than it possible if use mail filters as procmail maildrop etc
>But I need't get all message for parsing by local mail filter i want
>bounce it use only qmail-smtpd...
>I want do it for save incoming traffic.

Perhaps use the control/databytes file - or DATABYTES
environment variable, as described in qmail-smtpd. This isn't
able to distinguish between types of attachments, but you
should probably have this set anyway (your users can always
pretend its *not* an MP3 by renaming it to something else
anyway).

cheers,

Andrew.





Kornyakov Yevgeniy wrote:

  
  How I can deny incoming mail whith huge attaches as mp3 mpg bmp....?

I did something similar just a few days ago.
Go to http://www.qmail.org/ and grab qmail-qfilter.  Install that, and
use the deny-filetypes filter to deny .mp3, etc files.




You know when qmail receives a Bounce it reinjects the Message in the
queue and then the queue is rescanned.
But what happens when there is a Delivery Failure and not a Bounce ?
--
Thanks for fast Answer!
Michael..





On Mon, Feb 19, 2001 at 11:15:21AM +0100, Michael Maier wrote:
> You know when qmail receives a Bounce it reinjects the Message in the
> queue and then the queue is rescanned.
> But what happens when there is a Delivery Failure and not a Bounce ?

What do you mean by a delivery failure?

Greetz, Peter.




Those are Failures:

@400000003a8c3cc1118607d4 delivery 22609: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000003a8c3cc12394e8dc delivery 22610: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000003a8c3cc128cb2f14 delivery 22611: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000003a8c3fce2155c294 delivery 22623: failure:
216.115.107.17_failed_after_I_sent_the_message./Remote_host_said:_554_delivery_error:_dd_User_is_over_the_quota.__You_can_try_again_later._-_mta314.mail.yahoo.com/

@400000003a8c3fcf0e2cd66c delivery 22624: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000003a8c3fcf26b5acf4 delivery 22625: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

Peter van Dijk wrote:

> What do you mean by a delivery failure?
>
> Greetz, Peter.

--
Bye Michael...





On Mon, Feb 19, 2001 at 11:29:52AM +0100, Michael Maier wrote:
> Those are Failures:
> 
> @400000003a8c3cc1118607d4 delivery 22609: failure:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

qmail creates bounces for these failures. These failures get
reinjected and the queue gets rescanned.

Also, I'm on the list. Please mail to just the list, and not me.
Thank you.

Greetz, Peter.




On Fri, Feb 16, 2001 at 05:34:03PM -0800, David Cunningham wrote:
> Thank you Charles.  I'll be sure to look at that.  The goal here is not so
> much to get a functional autoresponder as it is to satisfy my curiosity
> about the behavior of qmail in terms of script processing.

I tested a .qmail file with:

|/var/qmail/bin/qmail-inject [EMAIL PROTECTED]

and it worked just fine. Why do you need perl? Starting it, writing 
a file and then starting qmail-inject is rather expensive.


Regards,

james
-- 
James Raftery (JBR54)
  "It's somewhere in the Red Hat district"  --  A network engineer's
   freudian slip when talking about Amsterdam's nightlife at RIPE 38.




Hi,

I am currently testing qmail and notice that for some users it will
fail to deliver mail eventhough the Maildir exists and has the right
permission. I will receive the message that there is no Maildir by that
name.
do I need to rewrite the dot in the e-mail address by something else ?.

regards.


Lucio Jankok


Reply via email to