qmail Digest 2 Feb 2000 11:00:01 -0000 Issue 899

Topics (messages 36434 through 36557):

Is there anyt imap server work with (qmail + mySQL)?
        36434 by: BAE SUNG SIK
        36438 by: David Harris

Re: qmail + UUCP address
        36435 by: Anand Buddhdev

Re: Filtering out email addresses with pipe symbol
        36436 by: petervd.vuurwerk.nl

Re: smtp-poplock question
        36437 by: David Harris

IMP and Qmail
        36439 by: andhy

Re: init script
        36440 by: Dave Sill
        36441 by: Dave Sill

Re: tcpserver docs
        36442 by: Dave Sill

Re: �nit script
        36443 by: Dave Sill

Re: SMTP problem
        36444 by: Dave Sill

Re: dot-forward?
        36445 by: Dave Sill

Re: ISP and qmail
        36446 by: Dave Kitabjian
        36449 by: Dave Sill

Re: a Questing
        36447 by: Dave Sill

Re: qmail-qstat - problem with queue??
        36448 by: Dave Sill

Re: using fetchmail on qmail
        36450 by: Paul Schinder

Re: where is the mistake
        36451 by: Paul Schinder

cgi
        36452 by: Andreas Altenburg
        36456 by: Steve Wolfe
        36457 by: Julian L.B. Cardarelli

Enforcing a min. delay between POP3-polling
        36453 by: Jochen Tuchbreiter

php3 and qmail
        36454 by: Andreas Altenburg
        36455 by: Chris Johnson
        36473 by: Paul Farber
        36483 by: Julie Baumler
        36491 by: Andreas Altenburg
        36504 by: Patrick Berry
        36505 by: RaTao von J
        36507 by: Andreas Altenburg
        36509 by: Paul Farber
        36511 by: Andreas Altenburg
        36512 by: Mark Delany
        36516 by: Paul Farber

Local users connecting from home.
        36458 by: Gaziz Nugmanov
        36479 by: Charles Cazabon

IMAP command
        36459 by: andhy.imols.net
        36513 by: Sam

Can it be done ?
        36460 by: Adil Tahiri

mail to [EMAIL PROTECTED] password protected
        36461 by: Marco Leeflang
        36463 by: petervd.vuurwerk.nl
        36467 by: Marco Leeflang
        36472 by: petervd.vuurwerk.nl
        36477 by: Marco Leeflang
        36480 by: Soffen, Matthew
        36482 by: Ricardo Cerqueira
        36494 by: petervd.vuurwerk.nl
        36515 by: Russ Allbery

init script svc issue
        36462 by: A Hoffman
        36555 by: Vincent Schonau

Notice-Requested-Upon-Delivery-To
        36464 by: Andr�s
        36466 by: petervd.vuurwerk.nl

Re: "<>" bogus mail from??
        36465 by: Ronny Haryanto
        36468 by: Ronny Haryanto
        36469 by: Adam McKenna
        36474 by: petervd.vuurwerk.nl
        36475 by: Ronny Haryanto
        36476 by: petervd.vuurwerk.nl
        36481 by: Timothy L. Mayo
        36492 by: Ronny Haryanto
        36493 by: petervd.vuurwerk.nl
        36496 by: Adam McKenna
        36497 by: Adam McKenna
        36499 by: Robbie Honerkamp
        36500 by: petervd.vuurwerk.nl

Blocking Spam in qmail?
        36470 by: Bill Parker
        36471 by: petervd.vuurwerk.nl

yet another question about Virtual domains
        36478 by: Ian Douglas
        36484 by: Ian Douglas
        36486 by: Charles Cazabon
        36488 by: Ian Douglas

what makes ezmlm fast?
        36485 by: Jeremy Hansen
        36495 by: petervd.vuurwerk.nl
        36503 by: Jeremy Hansen
        36508 by: Racer X

Special pop accounts
        36487 by: Director tecnico del Nodo Nicarao -- Juan Navas
        36489 by: Marco Leeflang
        36490 by: Robbie Honerkamp

Logging information about each email.
        36498 by: Qmail
        36501 by: Magnus Bodin
        36502 by: petervd.vuurwerk.nl

Linux kernel turning for mail performance?
        36506 by: Jeremy Hansen
        36556 by: petervd.vuurwerk.nl

Re: default to mailing list
        36510 by: J.M. Roth \(iip\)

pop3 start
        36514 by: Andreas Altenburg
        36554 by: Andreas Altenburg

Two smtpd/databytes?
        36517 by: Brian Baquiran
        36518 by: Mark Delany
        36519 by: Chris Johnson
        36520 by: Brian Baquiran

A newbie's question: qfilelog and multilog
        36521 by: Wang-hua Li, Mack
        36546 by: Anand Buddhdev

Red Hat sysV init rc.d script for qmail?
        36522 by: John Conover

Bandwidth
        36523 by: Marek Narkiewicz
        36524 by: Russell P. Sutherland
        36540 by: Mark Delany
        36541 by: Mark Delany

Sending to an IP address
        36525 by: Wilson Fletcher
        36526 by: Chris Johnson
        36527 by: Spiro Harvey
        36528 by: Wilson Fletcher
        36529 by: Wilson Fletcher
        36530 by: Roman Volf-RealShell Admin
        36531 by: Keith Warno
        36532 by: Sam
        36533 by: Wilson Fletcher
        36534 by: Keith Warno
        36535 by: Wilson Fletcher
        36536 by: Tim Hunter
        36537 by: Wilson Fletcher
        36538 by: Wilson Fletcher
        36539 by: Keith Warno
        36544 by: Chris Johnson
        36547 by: Anand Buddhdev
        36549 by: Wilson Fletcher

Problem with rcpthosts
        36542 by: Md. Sifat Ullah Patwary
        36543 by: Mark Delany
        36545 by: Jacob Joseph
        36552 by: Erwin van Kroonenburg

retrying time by qmail-send
        36548 by: Md. Sifat Ullah Patwary
        36550 by: Wilson Fletcher

qmailanalog and current daemontools
        36551 by: Russ Allbery

How to use qtools
        36553 by: mail_manoj

urgent: How start tcpsever with qmail using procmail as deliverer
        36557 by: Bolmehag, Peter

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]


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


Dear qmail lover.

I installed MySQL + qmail 1.03 on RedHat 6.0 (Intel CPU).

And it has worked well last 2 months.


Now I want to IMAP service for users.

But I don't know if there is IMAP server or its patches for ( MySQL + qmail ).


You know (MySQL + qmail) system stores user infomations - HOME DIR etc - in MySQL DB.

So I'm looking for IMAP server which is supporting qmail's MySQL patch.


Thank you for reading...







BAE SUNG SIK [mailto:[EMAIL PROTECTED]] wrote:
> Dear qmail lover.
>
> I installed MySQL + qmail 1.03 on RedHat 6.0 (Intel CPU).
>
> And it has worked well last 2 months.
>
>
> Now I want to IMAP service for users.
>
> But I don't know if there is IMAP server or its patches for ( MySQL +
qmail ).
>
>
> You know (MySQL + qmail) system stores user infomations - HOME DIR etc - in
MySQL DB.
>
> So I'm looking for IMAP server which is supporting qmail's MySQL patch.
>
>
> Thank you for reading...

If some people want to create this patch, I've already done the hard part of
patching UW-IMAP to accept virtual users and creating a clean C interface to
authenticate them. If somebody wants to write an authentication function that
uses the MySQL backend, they can grab my work and add to it.

http://www.davideous.com/imapvpop/

 - David Harris
   Principal Engineer, DRH Internet Services






On Tue, Feb 01, 2000 at 04:12:49PM +0700, Okky wrote:

> Could anyone suggest me how to make qmail understand
> addresses such as [EMAIL PROTECTED], and then deliver
> it accordingly?

Look at FAQ 2.3 and also at the example on www.qmail.org

-- 
See complete headers for more info




On Tue, Feb 01, 2000 at 12:43:59AM +0100, Martin Lesser wrote:
> "Charles Leeds" <[EMAIL PROTECTED]> writes:
> 
> > We were audited and one of the findings was that our qmail server allowed
> > addresses with the pipe symbol in them, which was reported in our audit as a
> > bad practice.
> 
> IIRC this test is sendmail-specific. I.e. Nessus reports problems with
> the pipe symbol addressing (AFAIK was the pipe symbol important for
> mailing with uucp). The test results positive if the MTA accepts
> RCPT TO: |[EMAIL PROTECTED] I don't know whether other auditing
> tools use the same way, but in any case you won't have a problem with
> qmail - it delivers such false adressed mails to the postmaster.

The pipe-symbol is not UUCP-related. The problem is that sendmail doesn't
(or at least didn't) do enough checks on program delivery so that every once
in a while a hole is found that allows remote users to do program delivery
as root.

Very old sendmails accept the '|blah@domain' syntax to have stuff executed.

> Perhaps the auditor doesn't know the qmail-features as well?

The actual 'feature' that he's barfing on, is qmail not reporting 'User not
found' when somebody mails to a non-existing/invalid address.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++





Adam Michaud [mailto:[EMAIL PROTECTED]] wrote:
> I'm experimenting with smtp-poplock to provide smtp-after-pop.  Looks to
> be working like a charm (thanks, David!), but I've got a question about
> the smtp-poplock.static_allowed file -- specifically, are wildcards
> (or addresses with netmasks) allowed here?  For example, could I do any
> of the following (if 12.34.56.* were a class C that I owned):
>
> 12.34.56.
> 12.34.56.*
> 12.34.56.0/24
>
> to specify the entire range of addresses in that class C network?
>
> The output of "showallowed" heads the IP address column with "ipaddr (and
> netmask)", which makes me think that something like this is possible, but
> I'm not sure what the syntax would be.

Yes, in the smtp-poplock.static_allowed you can specify an address and netmask
in the form:

12.34.56.0/24
12.34.56.0/255.255.255.0

or you can just specify the address without a netmask.

 - David Harris
   Principal Engineer, DRH Internet Services






Hello,

I am already configured QMail and Maildir , migrating from sendmail
from last month.
A Horde IMP Webmail already configured before, so I get imapd + mail
dir patch as mentioned in qmail site.

The problem is , each time I create new folder, the folder create 
as a Maildir structure ( I believe its done via IMAP) but no e-mail
can be copied nor moved to that new folder (with Maildir structure)
via IMP. I believe I need a quick hack to IMP source code but how ?



Andhy Setiyo Nugroho                    
~~~~~~~~~~~~~~~~~~~~~
Imol Sarana Global Yogyakarta 
http://www.imols.net





"Andreas Altenburg" <[EMAIL PROTECTED]> wrote:

>o.k. the script runs without error. Its said "Starting qmail: svscan." How
>can I put in if it is done?
>
>When looking up with ps it is not shown. How can I test, if qmail is
>running?

/usr/local/sbin/qmail stat

-Dave




"Andreas Altenburg" <[EMAIL PROTECTED]> wrote:

>yeah, qmail-send and qmail-smtp are running. But I am nor able to send mails
>with the use of this smtp server. My client reports (server nor found). It
>is definitely not a client problem, it worked when running qmail as inetd.
>
>So what did I miss?

Beats me. How could I possibly determine that from the information
you've provided? For example:

1) What client are you using?
2) Is it running on the qmail system?

Since you installed using "Life with qmail", you did the post
installation tests from:

  http://Web.InfoAve.Net/~dsill/lwq.html#test

Right? :-)

-Dave




A Hoffman <[EMAIL PROTECTED]> wrote:

> I am looking for info on tcpserver config. The files that come with it
>are kind of sparse on syntax and examples. Is there a site that has mroe
>info?

LWQ has examples, but no real documentation for ucspi-tcp.

> Also, is it better used in place of, or in combination with tcp wrappers?

In place of, at least for each service. In other words, tcpserver and
tcp_wrappers coexist on the same system, but each service should only
use one or the other.

-Dave




"Andreas Altenburg" <[EMAIL PROTECTED]> wrote:

>env: svscan no such file or directory
>
>i do not understand exactly the meaning of "svscan". Where is my
>mistake???

If you installed according to the current version of LWQ, you should
also have installed daemontools 0.61, which contains svscan. From this 
and your other messages to the list, it appears you have a mismatch
between LWQ and daemontools versions. The old LWQ used daemontools
0.53, which included cyclog and setuser. The current LWQ uses
daemontools 0.61, which includes multilog, setuidgid, and svscan.

I think you need to stop, count to ten, re-download the current
version of LWQ from http://Web.InfoAve.Net/~dsill/lwq.html, and start
over from scratch following the directions *very* carefully.

-Dave




"Andreas Altenburg" <[EMAIL PROTECTED]> wrote:

>The command telnet localhost 25 shows a message : Connection refused.
>
>Whith ps I see that qmail-send etc. are running.
>
>Why is the connection refused? Do I have to configuer tecpserver??

If you followed LWQ, tcpserver would be serving qmail-smtpd on port
25. Your test indicates that this isn't the case, so you probably
botched the installation. When this happens, the thing to do is to go
back over the directions and make sure everything is right, then kill
and restart the daemons.

-Dave




"Jacob Joseph" <[EMAIL PROTECTED]> wrote:

>Would it be possble for someone to suggest what I may have wrong?  Here's
>the log:
>
>Jan 31 17:15:31 mail qmail: 949367731.106074 delivery 373: deferral:
>/bin/sh:_dot-forward:_command_not_found/

~alias/.qmail file contains:

 |dot-forward

but "dot-forward" wasn't found. Is it installed? In what directory?

-Dave





Try Q-Cards:

        http://www.kitabjian.com/dave/qmailhelp/

It will walk you through step by step. Let me know how it works out for you.

Dave

On Tuesday, February 01, 2000 3:44 AM, jandj [SMTP:[EMAIL PROTECTED]] wrote:
> Hello
>        We are setting up an small ISP and would like to use qmail for our
> mail server. I have installed and tested qmail # echo to: me |
> /var/qmail/bin/qmail-inject.. This works fine the mail shows up in the
> specified users mail box..Where I get stuck is with pop3. I have also
> installed ucspi-tcp,daemontools and rblsmtpd. I am unable to send and
> receive mail to and from remote hosts. I have MX records setup in our name
> server.. Can some point me in the right direction I don't want to go back to
> M.S.
> 
> Jerry
> 




"jandj" <[EMAIL PROTECTED]> wrote:

>       We are setting up an small ISP and would like to use qmail for our
>mail server. I have installed and tested qmail # echo to: me |
>/var/qmail/bin/qmail-inject.. This works fine the mail shows up in the
>specified users mail box..Where I get stuck is with pop3. I have also
>installed ucspi-tcp,daemontools and rblsmtpd. I am unable to send and
>receive mail to and from remote hosts. I have MX records setup in our name
>server.. Can some point me in the right direction I don't want to go back to
>M.S.

How does sending and receiving mail to and from remote hosts fail,
exactly? Provide exact error messages, please. Also, how did you
install qmail? LWQ, rpm, HOWTO, INSTALL, ...? Did you test the
installation?

Assuming a working qmail installation, you can go to:

  http://Web.InfoAve.Net/~dsill/lwq.html#pop-imap-servers

For information about running a POP server.

-Dave




"Md. Sifat Ullah Patwary" <[EMAIL PROTECTED]> wrote:

>Does qmail support ETRN, then how?

See:

  http://Web.InfoAve.Net/~dsill/lwq.html#serialmail

You want to use AutoTURN.

-Dave




[EMAIL PROTECTED] wrote:

>Can someone explain the following - I do a qmail-qstat and I get the
>following reply:
>find: cannot open queue/todo/*: No such file or directory
>messages in queue: 330
>messages in queue but not yet processed: -1

You sure about that? My qmail-qstat contains the following two "find"
commands:

messfiles=`find queue/mess/* -print | wc -w`
todofiles=`find queue/todo -print | wc -w`

But your error message matches neither.

>There has been 330 messages in the queue for 3 days now and even though
>I use the kill -ALRM qmail-send it still does not deliver those
>messages??

What does the qmail-send log say?

>I have also tried the queue-fix prog and still no luck in fixing the
>above problem

There may not be anything broken.

-Dave




At 11:11 AM +0600 2/1/00, Md. Sifat Ullah Patwary wrote:
>Thanks Okky,
>But I need fetchmail not to use pop account rather Queued mail from an SMTP
>(qmail smtp) server. (Off line basis)

But, as you showed us, the remote server does not support ETRN, so 
you can't do what you're trying to do.  And it's not qmail, so no 
AUTOTURN.


>
>Any solution please.

Find another way to get your mail.  Does the remote server support 
POP or IMAP or UUCP?  At this point you should be asking your ISP, 
not us.  qmail really has nothing to do with your problem.

>
>
>
>At 12:09 PM 2/1/00 +0700, you wrote:
>  >I use qmail on my server, and run fetchmail as daemon to
>  >check my external POP account.
>  >
>  >Here's my command line:
>  >fetchmail -u <user> --monitor -v my.external.pop.server
>  >
>  >Without -p, fetchmail will try every available protocol to
>  >use and if there's none, it exits with an error.
>  >
>  >-Okky
>  >
>  >On Tue, 1 Feb 2000, Md. Sifat Ullah Patwary wrote:
>  >
>  >> Hi all,
>  >>
>  >> I issued the command 'fetchmail -p ETRN mail.xxx.com' and fetchmail gave
>  >> the result as below: (The mail.xxx.com is a qmail server)
>  >>
>  >> fetchmail: mail.spnetctg.com's SMTP listener does not support ETRN
>  >> fetchmail: client/server protocol error while fetching from
>mail.spnetctg.com
>  >> fetchmail: Query Status=4
>  >>
>  >>
>  >>
>  >> Any help?
>  >>
>  >> Sifat.
>  >>
>  >>
>  >
>  >
>  >
>  >
>  >

--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]




At 11:54 AM +0100 2/1/00, Vincent Schonau wrote:
>From your emails to the list it seems that you're attempting to use 
>qmail using serveral different approaches. You should probably start 
>over, and follow the instructions at
>    <URL:http://web.infoave.net/~dsill/lwq.html#installation> *exactly*.

Actually, I was helping a guy get qmail running on Yellow Dog Linux 
(runs on PPC's, i.e. Macs), and it was failing precisely *because* he 
was following the instructions exactly.   The problem turned out to 
be this

>exec /usr/local/bin/softlimit -m 2000000 \
>      /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
>          -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
>2>&1

The memory limit was too small for tcpserver (takes about 1.5 M) to 
load a copy of glibc (about 1M), so getservbyname was failing, so no 
smtp service could be found.

Dave, you should make clear that 2000000 may need adjusting.  This 
would likely have failed on my new Sun Ultra 5's as well, although I 
use my own scripts there, so I've never actually tried it.

--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]




does anybody know a perl script that supports form handling with the use of
qmail???





> does anybody know a perl script that supports form handling with the use
of
> qmail???

   Most any of the scripts will work with a properly set-up Qmail
installation, as Qmail provides a clone for sendmail.

steve







-----Original Message-----
From: Andreas Altenburg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 01, 2000 10:22 AM
To: qmail Liste
Subject: cgi


does anybody know a perl script that supports form handling with the use of
qmail???

Any perl script (such as formmail (http://www.scriptarchive.com)) supports
sendmail supports qmail.  Qmail installs a Sendmail frontend for you that
mimicks the functionality of /usr/lib/sendmail






Hi,

I was wondering if anybody on this list has a solution to enforce a minimum
delay a user has to wait for polling his pop3 box. A lot of users on my
POP3-Server are polling it every 30secs while being online 24/7. This
produces unnecassary load on the pop3 machine.

Does anybody have scripts/a patch to make qpop3d print an error message and
deny the pop3-access for a certain time (like 1minute) if the user is
"hammering" the pop3 Server ? I think this could be implemented just like a
smtp-after-pop3 solution with the only difference that it is "the other way
round" (you lock out users for a certain time window instead of giving them
access to a service for a certain time).

Thanks in advance,

Jochen






in php there is a function called "mail()". In the docs it is described how to use it with sendmail. Does anybody know how to use this with qmail??




On Tue, Feb 01, 2000 at 04:52:12PM +0100, Andreas Altenburg wrote:
> in php there is a function called "mail()". In the docs it is described how
> to use it with sendmail. Does anybody know how to use this with qmail??

Probably the same way, as long as you've linked /usr/sbin/sendmail to
/var/qmail/bin/sendmail.

Chris




use the sendmail wrapper that comes with qmail?

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Tue, 1 Feb 2000, Andreas Altenburg wrote:

> in php there is a function called "mail()". In the docs it is described how
> to use it with sendmail. Does anybody know how to use this with qmail??
> 







On Tue, 1 Feb 2000, Chris Johnson wrote:

> On Tue, Feb 01, 2000 at 04:52:12PM +0100, Andreas Altenburg wrote:
> > in php there is a function called "mail()". In the docs it is described how
> > to use it with sendmail. Does anybody know how to use this with qmail??
> 
> Probably the same way, as long as you've linked /usr/sbin/sendmail to
> /var/qmail/bin/sendmail.
> 

This is what we do and it works great.

Julie





i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail

In spite of this, the mail is not send. In the http-error-log there is a
line /usr/sbin/sendmail -no such directory or file. But i do not find the
line in my php3.ini-dist file. Where can it be???





on 2/1/00 12:27 PM, Andreas Altenburg had the thought:

> i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail
> 
> In spite of this, the mail is not send. In the http-error-log there is a
> line /usr/sbin/sendmail -no such directory or file. But i do not find the
> line in my php3.ini-dist file. Where can it be???
> 
> 

>From Life with Qmail http://web.infoave.net/~dsill/lwq.html

kill PID-of-sendmail
mv /usr/lib/sendmail /usr/lib/sendmail.old # may not be needed
mv /usr/sbin/sendmail /usr/sbin/sendmail.old # may not be needed
chmod 0 /usr/lib/sendmail.old /usr/sbin/sendmail.old
ln -s /var/qmail/bin/sendmail /usr/lib
ln -s /var/qmail/bin/sendmail /usr/sbin

This will make sure that qmail will handle you mail.

Pat

-- 
Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610






you should ask this in the php3 mailling-list ;)

anyway the correct file name is: php.ini

and you can override it's default location with a ./configure option
./configure --help to list the options!

don't forget to restart apache after making changes to the php.ini file

also:

<?php phpinfo(); ?>

in a file by itself will give info about php options (call it with you browser,
afterwards)

bye bye,
ratao


On 01-Feb-2000 Andreas Altenburg wrote:
> i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail
> 
> In spite of this, the mail is not send. In the http-error-log there is a
> line /usr/sbin/sendmail -no such directory or file. But i do not find the
> line in my php3.ini-dist file. Where can it be???

----------------------------------
E-Mail: RaTao von J <[EMAIL PROTECTED]>
Date: 01-Feb-2000
Time: 21:46:32

This message was sent by XFMail
----------------------------------




phpinfo() showed me /var/qmail/bin/sendmail as sendmail path. In spite of
this mail is not delivered. The host is allowed as well. Sendmail is killed
totally, other mails are sent. Where is my mistake. Perhaps it is a quetsion
of php...





what is the log file recording? 

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Tue, 1 Feb 2000, Andreas Altenburg wrote:

> phpinfo() showed me /var/qmail/bin/sendmail as sendmail path. In spite of
> this mail is not delivered. The host is allowed as well. Sendmail is killed
> totally, other mails are sent. Where is my mistake. Perhaps it is a quetsion
> of php...
> 
> 





the http_access file shows "GET index.php 200 ..." Nothing unusual. The
http_error show nothing...





On Tue, Feb 01, 2000 at 11:23:33PM +0100, Andreas Altenburg wrote:
> the http_access file shows "GET index.php 200 ..." Nothing unusual. The
> http_error show nothing...

It sounds like you need to do a *LOT* more homework before hitting the
list with non-information like this.

If you administer a system then you'll know how important it is to
state all relevant information exactly. Paraphrasing a log file is *NOT*
stating any information exactly. Do you get frustrated when people
using your computer systems come to you with little more than "it doesn't
work!". Well, that's about what you've done here.

You should be attempting to debug this yourself. What efforts have
you made to do this? Have you put any tracing or logging information into
the php script?  If you have done so, what did you discover?

Have you tried to run the script outside of the web server? What did it show?

If you're on an OS that has a system call trace facility, what does that show?

Did you try making a wrapper for index.php to check the parameters and return
status of the real index.php? If so, what do those parameters look like?

Did you try making a wrapper around the relevant qmail program to see if it's
getting invoked and with what arguments? If so, did you invoke it manually with
the same parameters to see what happens?

If you haven't done any of this, what efforts do you expect people on this list
to make on your behalf? Apart from training in clairvoyancy that is?


Regards.




What does the qmail file look like?  The message file?  Do you have the
http server set to record at debug level?  Most are preconfigured to use
warn.

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Tue, 1 Feb 2000, Andreas Altenburg wrote:

> the http_access file shows "GET index.php 200 ..." Nothing unusual. The
> http_error show nothing...
> 
> 





Hello qmail fans,

Let me ask you how can I configure qmail in order to relay
for local users (based on "mail from" field).


---
Best regards,
Gaziz
Nugmanov






Gaziz Nugmanov <[EMAIL PROTECTED]> wrote:
> 
> Let me ask you how can I configure qmail in order to relay
> for local users (based on "mail from" field).

You don't want to relay based on the SMTP envelope sender, as this is easily
spoofed by spammers.  You want to relay based on IP address.  This is
easy for customers with static IPs.  Using tcpserver, set the
RELAYCLIENT variable to "" when a user connects from one of the static
IPs you wish to allow relaying from, and don't set RELAYCLIENT to anything
for everyone else.

For dhcp'd/mobile clients, use a SMTP-after-POP solution.  There are
several, listed on qmail.org and other places.

Have you checked Life with qmail?  This is one of the most common FAQs
there is.

Charles
-- 
----------------------------------------------------
Charles Cazabon         <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------




I am looking for references of IMAP comand line, so I can try
it via telnet to port 143 , where I could find it?

I am testing imapd with maildir support
from IMP WebMail , ( IMAP list command ? ) shows only the
Maildir folders . copy, rename , move works fine

>From Outlook , ( IMAP list again? ) now shows the mailbox
format folders , but cannot open any mail on the folder
how can it happen ?


regards,
Andhy Setiyo Nugroho
-----------------------------
Imol Sarana Global
Gejayan Mrican 33 Yogyakarta
ph 0274-545694


----------------------------------------------------------
This mail sent through Imol Webmail: http://www.imols.net/




[EMAIL PROTECTED] writes:

> I am looking for references of IMAP comand line, so I can try
> it via telnet to port 143 , where I could find it?

RFC 2060.


-- 
Sam






Is it possible to get a copy of messages a certain user sends and receives ?

Many thanks




is it possible to secure mail to [EMAIL PROTECTED] with a password so only
people who knows the user/password or just the password could mail to
this emailaddress.
.qmail-all will hold all users within this domain.
i use vchkpwd/vpopmail with qmailadmin. i can use vpopbull , which works
ok with plain text, but i also want send attachements to everyone.

marco leeflang





On Tue, Feb 01, 2000 at 08:19:20PM +0100, Marco Leeflang wrote:
> is it possible to secure mail to [EMAIL PROTECTED] with a password so only
> people who knows the user/password or just the password could mail to
> this emailaddress.
> .qmail-all will hold all users within this domain.
> i use vchkpwd/vpopmail with qmailadmin. i can use vpopbull , which works
> ok with plain text, but i also want send attachements to everyone.

Where do you intend to put the password-check dialog?

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




First a pop validation and then mail to this account.

marco leeflang

[EMAIL PROTECTED] wrote:

> On Tue, Feb 01, 2000 at 08:19:20PM +0100, Marco Leeflang wrote:
> > is it possible to secure mail to [EMAIL PROTECTED] with a password so only
> > people who knows the user/password or just the password could mail to
> > this emailaddress.
> > .qmail-all will hold all users within this domain.
> > i use vchkpwd/vpopmail with qmailadmin. i can use vpopbull , which works
> > ok with plain text, but i also want send attachements to everyone.
>
> Where do you intend to put the password-check dialog?
>
> Greetz, Peter.
> --
> Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder
> |
> | 'C makes it easy to shoot yourself in the foot;
> |  C++ makes it harder, but when you do it blows your whole leg off.'
> |                             Bjarne Stroustrup, Inventor of C++





On Tue, Feb 01, 2000 at 08:33:38PM +0100, Marco Leeflang wrote:
> First a pop validation and then mail to this account.

First of all: don't Cc me, I'm on the list.

Second: http://leerquoten.nijntje.net/ (Dutch).

And then, to quote djb: 'What problem are you trying to solve?'

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




[EMAIL PROTECTED] wrote:

> On Tue, Feb 01, 2000 at 08:33:38PM +0100, Marco Leeflang wrote:
> > First a pop validation and then mail to this account.
>
> First of all: don't Cc me, I'm on the list.

ok.

>
>
> Second: http://leerquoten.nijntje.net/ (Dutch).
>

just read it.

>
> And then, to quote djb: 'What problem are you trying to solve?'
>

i don't want everyone to send mail to [EMAIL PROTECTED], just selected people.
mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain.
so thats why

>
> Greetz, Peter.

marco leeflang





Then couldn't an ezmlm list with specific people able to "post" work for a
situation like this ?

Matt Soffen 
        Applications Developer
        http://www.iso-ne.com/
==============================================
Boss    - "My boss says we need some eunuch programmers."
Dilbert - "I think he means UNIX and I already know UNIX."
Boss    - "Well, if the company nurse comes by, tell her I said 
             never mind."
                                       - Dilbert -
==============================================

> -----Original Message-----
> From: Marco Leeflang [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, February 01, 2000 2:50 PM
> Cc:   qmail maillist
> Subject:      Re: mail to [EMAIL PROTECTED] password protected
> 
> [EMAIL PROTECTED] wrote:
> 
> > On Tue, Feb 01, 2000 at 08:33:38PM +0100, Marco Leeflang wrote:
> > > First a pop validation and then mail to this account.
> >
> > First of all: don't Cc me, I'm on the list.
> 
> ok.
> 
> >
> >
> > Second: http://leerquoten.nijntje.net/ (Dutch).
> >
> 
> just read it.
> 
> >
> > And then, to quote djb: 'What problem are you trying to solve?'
> >
> 
> i don't want everyone to send mail to [EMAIL PROTECTED], just selected
> people.
> mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain.
> so thats why
> 
> >
> > Greetz, Peter.
> 
> marco leeflang




> i don't want everyone to send mail to [EMAIL PROTECTED], just selected people.
> mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain.
> so thats why
> 

Instead of searching for far-fetched solutions, why don't you just install a 
mailing-list manager (like ezmlm, http://www.ezmlm.org/) and set up [EMAIL PROTECTED] as 
a moderated/limited list?

                                Regards;
                                        Ricardo
-- 
+-------------------
| Ricardo Cerqueira  -  [EMAIL PROTECTED]
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| FCCN/RCTS  -  Fundacao para a Computacao Cientifica Nacional 
| Av. Brasil, 101 / 1700-066 Lisboa / Portugal *** Tel: (+351) 218440100




On Tue, Feb 01, 2000 at 07:58:03PM +0000, Ricardo Cerqueira wrote:
> > i don't want everyone to send mail to [EMAIL PROTECTED], just selected people.
> > mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain.
> > so thats why
> 
> Instead of searching for far-fetched solutions, why don't you just install a 
>mailing-list manager (like ezmlm, http://www.ezmlm.org/) and set up [EMAIL PROTECTED] as 
>a moderated/limited list?

That is what I was going to suggest indeed, when I understood his problem :)

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




Marco Leeflang <[EMAIL PROTECTED]> writes:

> is it possible to secure mail to [EMAIL PROTECTED] with a password so only
> people who knows the user/password or just the password could mail to
> this emailaddress.  .qmail-all will hold all users within this domain.

One way we've solved this problem in the past when we didn't need to
support user forwarding addresses was to just write a script to deliver
directly to their inboxes.  That's much faster than anything that goes
through the mail system, although you have to be careful to do the right
locking.  But that way, security is pretty straightforward; the only
person who would be able to run the script is root on the mail server.

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





 At LWQ 2.8.5, I ran into a problem where I couldn't get sv to do anythign
useful with QMail. I'm certain this is a pretty boneheaded mistake,
but for some reason, svc won't recognize the run scripts. For example,
this is what I get. I include the first entry in the interest of being
thorough.

# svc -d /var/qmail/supervise/qmail-smtpd
svc: warning: unable to control /var/qmail/supervise/qmail-smtpd: file
does not exist

# svc -d /var/qmail/supervise/qmail-smtpd/run
svc: warning: unable to chdir to /var/qmail/supervise/qmail-smtpd/run: not
a directory

# ls /var/qmail/supervise/qmail-smtpd/
log  run

# ls -l /var/qmail/supervise/qmail-smtpd/
total 2
drwxrwxr-x   2 root     root         1024 Feb  1 10:08 log
-rwxr-xr-x   1 root     root          238 Feb  1 10:06 run

 Tips, clues, advice, welcome. THanks.

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:
   
       Aodhan of Mountainview
       Internet Guy
   
        Ad Astra Per Aspera
                "A Rough Road Leads To The Stars"

   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:







At 11:19 AM 1/2/2000 -0800, you wrote:

>  At LWQ 2.8.5, I ran into a problem where I couldn't get sv to do anythign
>useful with QMail. I'm certain this is a pretty boneheaded mistake,
>but for some reason, svc won't recognize the run scripts. For example,
>this is what I get. I include the first entry in the interest of being
>thorough.
>
># svc -d /var/qmail/supervise/qmail-smtpd
>svc: warning: unable to control /var/qmail/supervise/qmail-smtpd: file
>does not exist

I've seen this when daemontools-0.53 was in the path before daemontools-0.61.


Vince.





Hello.
 
I've seen in the documentation of qmail that it has qreceipt, to use if a mail comes with the header:
Notice-Requested-Upon-Delivery-To
 
Can it be used if the header has this other option?:
Return-Receipt-To
 
Anyway, they both doesn't work on my server because they say:
502 unimplemented (#5.5.1)
 
I suppose I have to recomplie qmail with some option, but which one?
 
Thanks.




On Tue, Feb 01, 2000 at 08:19:49PM +0100, Andr�s wrote:
> Hello.
> 
> I've seen in the documentation of qmail that it has qreceipt, to use if a mail comes 
>with the header:
> Notice-Requested-Upon-Delivery-To

Correct.

> Can it be used if the header has this other option?:
> Return-Receipt-To

Not as far as the manpage can tell me.

> Anyway, they both doesn't work on my server because they say:
> 502 unimplemented (#5.5.1)

qmail-smtpd will _never_ report _anything_ about headers. qmail-smtpd is
strictly RFC821 and does not deal with any content-matters.

You're probably trying the wrong thing :)

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




On 01-Feb-2000, [EMAIL PROTECTED] wrote:
> > I'm just wondering if
> > 
> >     MAIL FROM: <>
> >     
> > in SMTP session is valid or not? From what I understand is that qmail
> 
> Yes it's valid, it's actually even the required sender of a bounce.

Hi Peter, thanks for your response. I thought I saw an RFC about this,
but I can't recall which.

> > I have contacted a rep from IMail, but no response. Here's the
> > website: http://www.ipswitch.com/products/IMail_Server/index.asp
> 
> It's ipswitch. It ends with .asp. I'm not touching that with a forty-foot
> pole (no don't start a holy war on me now :)

Hmm. Apparently they fixed it(?) in their new version of IMail:

[~]$ host -t mx ipswitch.com
ipswitch.com mail is handled (pri=10) by imail.ipswitch.com
ipswitch.com mail is handled (pri=50) by alpha.ipswitch.com
[~]$ telnet imail.ipswitch.com 25
Trying 156.21.1.5...
Connected to imail.ipswitch.com.
Escape character is '^]'.
220 X1 NT-ESMTP Server imail.ipswitch.com (IMail 6.00 124210-1)
helo blah
250 hello imail.ipswitch.com
mail from: <>
250 ok
quit
221 Goodbye
Connection closed by foreign host.

Oh well.. *shrug*..

-- 
Ronny Haryanto




Hi,

I'm just wondering if

        MAIL FROM: <>
        
in SMTP session is valid or not? From what I understand is that qmail
uses that to send bounce messages. However some sites (particulary
ones using IMail v5) rejects that sender saying "501 bogus mail from".

I don't care if the sender doesn't receive the bounce back, heck I
tried to send bounce message but they rejects it. It's just annoying,
especially if this is valid, not bogus.

I have contacted a rep from IMail, but no response. Here's the
website: http://www.ipswitch.com/products/IMail_Server/index.asp

-- 
Ronny Haryanto




This is _not_ an IMail problem.  This is a user-configurable setting.

If mail from <> is bouncing that means the admin of that site has chosen to
enable that setting.  (It might be the default, but I'm pretty sure it's
not.)

--Adam

On Tue, Feb 01, 2000 at 12:41:10PM -0600, Ronny Haryanto wrote:
> On 01-Feb-2000, [EMAIL PROTECTED] wrote:
> > > I'm just wondering if
> > > 
> > >   MAIL FROM: <>
> > >   
> > > in SMTP session is valid or not? From what I understand is that qmail
> > 
> > Yes it's valid, it's actually even the required sender of a bounce.
> 
> Hi Peter, thanks for your response. I thought I saw an RFC about this,
> but I can't recall which.
> 
> > > I have contacted a rep from IMail, but no response. Here's the
> > > website: http://www.ipswitch.com/products/IMail_Server/index.asp
> > 
> > It's ipswitch. It ends with .asp. I'm not touching that with a forty-foot
> > pole (no don't start a holy war on me now :)
> 
> Hmm. Apparently they fixed it(?) in their new version of IMail:
> 
> [~]$ host -t mx ipswitch.com
> ipswitch.com mail is handled (pri=10) by imail.ipswitch.com
> ipswitch.com mail is handled (pri=50) by alpha.ipswitch.com
> [~]$ telnet imail.ipswitch.com 25
> Trying 156.21.1.5...
> Connected to imail.ipswitch.com.
> Escape character is '^]'.
> 220 X1 NT-ESMTP Server imail.ipswitch.com (IMail 6.00 124210-1)
> helo blah
> 250 hello imail.ipswitch.com
> mail from: <>
> 250 ok
> quit
> 221 Goodbye
> Connection closed by foreign host.
> 
> Oh well.. *shrug*..
> 
> -- 
> Ronny Haryanto
> 




On Tue, Feb 01, 2000 at 12:25:01PM -0600, Ronny Haryanto wrote:
> Hi,
> 
> I'm just wondering if
> 
>       MAIL FROM: <>
>       
> in SMTP session is valid or not? From what I understand is that qmail

Yes it's valid, it's actually even the required sender of a bounce.

> uses that to send bounce messages. However some sites (particulary
> ones using IMail v5) rejects that sender saying "501 bogus mail from".

They suck.

> I don't care if the sender doesn't receive the bounce back, heck I
> tried to send bounce message but they rejects it. It's just annoying,
> especially if this is valid, not bogus.

It is valid, and required, to prevent bounces bouncing :)

> I have contacted a rep from IMail, but no response. Here's the
> website: http://www.ipswitch.com/products/IMail_Server/index.asp

It's ipswitch. It ends with .asp. I'm not touching that with a forty-foot
pole (no don't start a holy war on me now :)

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




On 01-Feb-2000, Adam McKenna wrote:
> This is _not_ an IMail problem.  This is a user-configurable setting.
> 
> If mail from <> is bouncing that means the admin of that site has chosen to
> enable that setting.  (It might be the default, but I'm pretty sure it's
> not.)

But if <> is valid, what is the reason to make this behaviour
user-configurable in the first place? In other words, when is <> not
valid?

-- 
Ronny Haryanto




On Tue, Feb 01, 2000 at 01:47:22PM -0600, Ronny Haryanto wrote:
> On 01-Feb-2000, Adam McKenna wrote:
> > This is _not_ an IMail problem.  This is a user-configurable setting.
> > 
> > If mail from <> is bouncing that means the admin of that site has chosen to
> > enable that setting.  (It might be the default, but I'm pretty sure it's
> > not.)
> 
> But if <> is valid, what is the reason to make this behaviour
> user-configurable in the first place? In other words, when is <> not
> valid?

Never.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




On Tue, 1 Feb 2000, Ronny Haryanto wrote:

> On 01-Feb-2000, Adam McKenna wrote:
> > This is _not_ an IMail problem.  This is a user-configurable setting.
> > 
> > If mail from <> is bouncing that means the admin of that site has chosen to
> > enable that setting.  (It might be the default, but I'm pretty sure it's
> > not.)
> 
> But if <> is valid, what is the reason to make this behaviour
> user-configurable in the first place? In other words, when is <> not
> valid?

It is being blocked because some SPAMers took advantage of the fact that
the RFCs require bounce messages to use the <> envelope sender for error
messages.  It should NEVER be blocked, period.  If a spammer is sending
email with an <> envelope sender, block their IP.

> 
> -- 
> Ronny Haryanto
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax





On 01-Feb-2000, Timothy L. Mayo wrote:
> On Tue, 1 Feb 2000, Ronny Haryanto wrote:
> > On 01-Feb-2000, Adam McKenna wrote:
> > > This is _not_ an IMail problem.  This is a user-configurable setting.
> > 
> > But if <> is valid, what is the reason to make this behaviour
> > user-configurable in the first place? In other words, when is <> not
> > valid?
> 
> It is being blocked because some SPAMers took advantage of the fact that
> the RFCs require bounce messages to use the <> envelope sender for error
> messages.  It should NEVER be blocked, period.  If a spammer is sending
> email with an <> envelope sender, block their IP.

So it _IS_ an IMail problem because it allows rejecting <>.

-- 
Ronny Haryanto




On Tue, Feb 01, 2000 at 02:28:56PM -0600, Ronny Haryanto wrote:
> On 01-Feb-2000, Timothy L. Mayo wrote:
> > On Tue, 1 Feb 2000, Ronny Haryanto wrote:
> > > On 01-Feb-2000, Adam McKenna wrote:
> > > > This is _not_ an IMail problem.  This is a user-configurable setting.
> > > 
> > > But if <> is valid, what is the reason to make this behaviour
> > > user-configurable in the first place? In other words, when is <> not
> > > valid?
> > 
> > It is being blocked because some SPAMers took advantage of the fact that
> > the RFCs require bounce messages to use the <> envelope sender for error
> > messages.  It should NEVER be blocked, period.  If a spammer is sending
> > email with an <> envelope sender, block their IP.
> 
> So it _IS_ an IMail problem because it allows rejecting <>.

The program is not foolproof, and those people are fools.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




On Tue, Feb 01, 2000 at 01:47:22PM -0600, Ronny Haryanto wrote:
> On 01-Feb-2000, Adam McKenna wrote:
> > This is _not_ an IMail problem.  This is a user-configurable setting.
> > 
> > If mail from <> is bouncing that means the admin of that site has chosen to
> > enable that setting.  (It might be the default, but I'm pretty sure it's
> > not.)
> 
> But if <> is valid, what is the reason to make this behaviour
> user-configurable in the first place? In other words, when is <> not
> valid?

That's not the point.  Giving the user an option to break the RFC is not the
same as breaking the RFC.

--Adam

> 
> -- 
> Ronny Haryanto
> 




On Tue, Feb 01, 2000 at 02:28:56PM -0600, Ronny Haryanto wrote:
> On 01-Feb-2000, Timothy L. Mayo wrote:
> > On Tue, 1 Feb 2000, Ronny Haryanto wrote:
> > > On 01-Feb-2000, Adam McKenna wrote:
> > > > This is _not_ an IMail problem.  This is a user-configurable setting.
> > > 
> > > But if <> is valid, what is the reason to make this behaviour
> > > user-configurable in the first place? In other words, when is <> not
> > > valid?
> > 
> > It is being blocked because some SPAMers took advantage of the fact that
> > the RFCs require bounce messages to use the <> envelope sender for error
> > messages.  It should NEVER be blocked, period.  If a spammer is sending
> > email with an <> envelope sender, block their IP.
> 
> So it _IS_ an IMail problem because it allows rejecting <>.

Not really.  It's possible to set up any mailer to block <>.  IMail just
makes it easier.

--Adam




Thus spake Ronny Haryanto ([EMAIL PROTECTED]):

> On 01-Feb-2000, Timothy L. Mayo wrote:
> > On Tue, 1 Feb 2000, Ronny Haryanto wrote:
> > > On 01-Feb-2000, Adam McKenna wrote:
> > > > This is _not_ an IMail problem.  This is a user-configurable setting.
> > > 
> > > But if <> is valid, what is the reason to make this behaviour
> > > user-configurable in the first place? In other words, when is <> not
> > > valid?
> > 
> > It is being blocked because some SPAMers took advantage of the fact that
> > the RFCs require bounce messages to use the <> envelope sender for error
> > messages.  It should NEVER be blocked, period.  If a spammer is sending
> > email with an <> envelope sender, block their IP.
> 
> So it _IS_ an IMail problem because it allows rejecting <>.

Only so far as rm has a problem in that it allows you to type
rm -rf / as root.

Robbie




On Tue, Feb 01, 2000 at 03:36:50PM -0500, Adam McKenna wrote:
> On Tue, Feb 01, 2000 at 01:47:22PM -0600, Ronny Haryanto wrote:
> > On 01-Feb-2000, Adam McKenna wrote:
> > > This is _not_ an IMail problem.  This is a user-configurable setting.
> > > 
> > > If mail from <> is bouncing that means the admin of that site has chosen to
> > > enable that setting.  (It might be the default, but I'm pretty sure it's
> > > not.)
> > 
> > But if <> is valid, what is the reason to make this behaviour
> > user-configurable in the first place? In other words, when is <> not
> > valid?
> 
> That's not the point.  Giving the user an option to break the RFC is not the
> same as breaking the RFC.

Indeed.

What IMail does wrong is allowing the user to do so with one click of the
mouse. qmail can be configured to break lots of RFCs, that's not even hard.
But nothing that can happen 'incidentally'.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




Hello All,

        I have the following addresses which generate some periodic
spam to my system:

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

How does one go about dealing with this mess, as much as I would love
to block the aol.com domain 8^), I can't do it cause we have customers
who use AOL to get to our website..:(

Any ideas?

-Bill

p.s. - Where is the qmail book? (hint, hint)    





On Tue, Feb 01, 2000 at 09:40:45AM -0800, Bill Parker wrote:
> Hello All,
> 
>       I have the following addresses which generate some periodic
> spam to my system:
> 
>       [EMAIL PROTECTED]
>       [EMAIL PROTECTED]
>       [EMAIL PROTECTED]
> 
> How does one go about dealing with this mess, as much as I would love
> to block the aol.com domain 8^), I can't do it cause we have customers
> who use AOL to get to our website..:(

Put 'm in /var/qmail/control/badmailfrom

> p.s. - Where is the qmail book? (hint, hint)  

I went looking for it at ora.com yesterday, all I could find was 'second
half of next year' in a message from 1998.. the book is late, therefore..

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




I know this is a tense subject on the mailing list, but please bear with me.
;o)

I haven't even INSTALLED qmail yet, but would much rather use it on my RedHat
6.1 box than the stock sendmail that's full of holes.

However, my dilemma is that I'm going to be running multiple virtual domains on
one server, web, mail, ftp, etc. and am curious to know what steps exactly I
should follow to get the setup completed with qmail.

Before you start ranting about "RTFM", I have read through the FAQ's and found
them a little confusing. I also searched through the mailing list archives and
am even more confused.

What I'm looking for here is a way to set up my server to accept mail for
domain1.com, domain2.com and domain3.com ... etc, to domainn.com.

Each domain should have its own unique users. That is, [EMAIL PROTECTED] is NOT
[EMAIL PROTECTED] Is this going to be a problem? This is the issue that I fail
to see (easily) addressed from what I've read so far.

I plan to have a directory structure in place such as:
/home/domain1/mail/user1
/home/domain1/mail/user2
etc

for each of the domains so that each user can login using POP/IMAP to retrieve
their mail. I'd also like an way to handle Email aliasing so that
[EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I need it
to go.

I'm not new to Linux, but I'm new to the idea of setting up multiple domains on
a single host, so any hand-holding would be appreciated.

Thanks much,
---
Ian Douglas, System Administration
[EMAIL PROTECTED]






For a little more information, I'm getting into virtual web hosting which I can
set up and maintain quite well ... but everyone's looking for Email to go with
it.

So each domain I host is going to have their own webmaster@, sales@, info@
address, etc.

I would like all root@, sysadmin@, and postmaster@ Email to be filtered into
one POP box for myself.

Again, I appreciate any helpful responses.

---
Ian Douglas, System Administration
[EMAIL PROTECTED]







Ian Douglas <[EMAIL PROTECTED]> wrote:
> 
> However, my dilemma is that I'm going to be running multiple virtual domains on
> one server, web, mail, ftp, etc. and am curious to know what steps exactly I
> should follow to get the setup completed with qmail.

As far as qmail is concerned, this is not a problem, although you probably
want to use a virtual user manager of some sort -- there's several to pick
from.

> What I'm looking for here is a way to set up my server to accept mail for
> domain1.com, domain2.com and domain3.com ... etc, to domainn.com.

Virtual domain support is simple and documented in Life with qmail, etc.
Essentially you create one user account for each virtual domain, although
this varies between manager systems.

> Each domain should have its own unique users. That is, [EMAIL PROTECTED] is NOT
> [EMAIL PROTECTED] Is this going to be a problem? This is the issue that I fail
> to see (easily) addressed from what I've read so far.

It's not a problem for virtual mail users, _but_ ...

> I plan to have a directory structure in place such as:
> /home/domain1/mail/user1
> /home/domain1/mail/user2
> etc

This looks like you're planning on setting up home directories for virtual
mail users -- why?  Do they need shell/ftp/other access?  If so, they're
not really virtual mail users.  A virtual mail user doesn't need an account
of their own -- they just need a POP mailbox (or IMAP, etc).

> for each of the domains so that each user can login using POP/IMAP to retrieve
> their mail. I'd also like an way to handle Email aliasing so that
> [EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I need it
> to go.

Yet here you say you only need POP/IMAP access for them.  Forget about giving
virtual users individual home directories.

> I'm not new to Linux, but I'm new to the idea of setting up multiple domains on
> a single host, so any hand-holding would be appreciated.

More details will get you more detailed responses, providing you go read
"Life with qmail", mentioned almost every day in this list.  Also read 
everything on www.qmail.org, especially concerning virtual mail user
management systems.

Charles
-- 
----------------------------------------------------
Charles Cazabon         <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------




> > I plan to have a directory structure in place such as:
> > /home/domain1/mail/user1
> > /home/domain1/mail/user2
> > etc
> 
> This looks like you're planning on setting up home directories for virtual
> mail users -- why?  Do they need shell/ftp/other access?  If so, they're
> not really virtual mail users.  A virtual mail user doesn't need an account
> of their own -- they just need a POP mailbox (or IMAP, etc).

The directory structure will be used for web/ftp hosting as well... for
example:

/home/domain1/public_html/
/home/domain1/anon_ftp/
/home/domain1/mail/

Shell access is still up in the air with regards to security issues. But that's
not for this list to discuss...

Thanks for any other ideas. Ken sent me a link for Inter7 which seems to be
what I need for the virtual mail hosting. Many thanks.

Ian







Can someone explain to me what exactly makes ezmlm fast?  I
would like to try to adapt some of its functionality and speed
to a customized list processor.  Thanks for any input.

-jeremy





On Tue, Feb 01, 2000 at 03:03:22PM -0500, Jeremy Hansen wrote:
> 
> Can someone explain to me what exactly makes ezmlm fast?  I
> would like to try to adapt some of its functionality and speed
> to a customized list processor.  Thanks for any input.

One word: qmail.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++





I understand that qmail is the MTA, but there is also functionality
in ezmlm which takes advantage of qmail in a way which makes things
much faster.  Something about parallel smtp processes or something
like that.  There's more to it then just qmail itself.

-jeremy

> On Tue, Feb 01, 2000 at 03:03:22PM -0500, Jeremy Hansen wrote:
> > 
> > Can someone explain to me what exactly makes ezmlm fast?  I
> > would like to try to adapt some of its functionality and speed
> > to a customized list processor.  Thanks for any input.
> 
> One word: qmail.
> 
> Greetz, Peter.
> -- 
> Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
> |  
> | 'C makes it easy to shoot yourself in the foot;
> |  C++ makes it harder, but when you do it blows your whole leg off.'
> |                             Bjarne Stroustrup, Inventor of C++
> 


http://www.xxedgexx.com | [EMAIL PROTECTED]
---------------------------------------------





Like the master himself says, "Profile - don't speculate."  In this case,
look at the way qmail and ezmlm work.

By "parallel SMTP processes" I'm assuming you're referring to the way qmail
handles deliveries, which is to spawn one qmail-remote process for each
recipient address.  That all happens after the mail is injected by ezmlm
into the qmail queue.

shag

----- Original Message -----
From: Jeremy Hansen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tue 1 Feb 2000 13.39
Subject: Re: what makes ezmlm fast?



I understand that qmail is the MTA, but there is also functionality
in ezmlm which takes advantage of qmail in a way which makes things
much faster.  Something about parallel smtp processes or something
like that.  There's more to it then just qmail itself.

-jeremy

> On Tue, Feb 01, 2000 at 03:03:22PM -0500, Jeremy Hansen wrote:
> >
> > Can someone explain to me what exactly makes ezmlm fast?  I
> > would like to try to adapt some of its functionality and speed
> > to a customized list processor.  Thanks for any input.
>
> One word: qmail.
>
> Greetz, Peter.
> --
> Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder
> |
> | 'C makes it easy to shoot yourself in the foot;
> |  C++ makes it harder, but when you do it blows your whole leg off.'
> |                             Bjarne Stroustrup, Inventor of C++
>


http://www.xxedgexx.com | [EMAIL PROTECTED]
---------------------------------------------







I trying to configure a pop mail account without using a system account:

.
.
Single-UID based POP3 box HOWTO.By Paul Gregg , 
1998Copyright Paul Gregg,1998
.
.

Te documentation told me to run the program qmail-newu to  rebuild the
database (cdb). When I do dat it respond with:

.
.
# qmail-newu
qmail-newu: fatal: bad format in users/assign  
.
.

I'm trying to find now documentation about the format that I should use on
the "assign" file. Actually I have:

.
.
=domain-com-ni-testid:popuser:888:888:/var/qmail/popboxes/domain-com-ni/testid:::
.
.

I don't see anything wrong.What do you thing may the problem be?

Does any have any experience making pop accounts without using system
accounts?






Director tecnico del Nodo Nicarao -- Juan Navas wrote:

> I trying to configure a pop mail account without using a system account:
>
> .
> .
> Single-UID based POP3 box HOWTO.By Paul Gregg ,
> 1998Copyright Paul Gregg,1998
> .
> .
>
> Te documentation told me to run the program qmail-newu to  rebuild the
> database (cdb). When I do dat it respond with:
>
> .
> .
> # qmail-newu
> qmail-newu: fatal: bad format in users/assign
> .
> .
>
> I'm trying to find now documentation about the format that I should use on
> the "assign" file. Actually I have:
>
> .
> .
> =domain-com-ni-testid:popuser:888:888:/var/qmail/popboxes/domain-com-ni/testid:::
> .
> .
>

On the last line ther must be a single    .
see FAQ


>
> I don't see anything wrong.What do you thing may the problem be?
>
> Does any have any experience making pop accounts without using system
> accounts?

marco leeflang





Thus spake Director tecnico del Nodo Nicarao -- Juan Navas ([EMAIL PROTECTED]):

> Te documentation told me to run the program qmail-newu to  rebuild the
> database (cdb). When I do dat it respond with:
>
> # qmail-newu
> qmail-newu: fatal: bad format in users/assign  
> 
> I'm trying to find now documentation about the format that I should use on
> the "assign" file. Actually I have:
>
> =domain-com-ni-testid:popuser:888:888:/var/qmail/popboxes/domain-com-ni/testid:::

Make sure the last line of the assign file is a period by itself.

Robbie




Hi Folks,

I'm wondering the best place/way to log details about each email to a
database of some sort.
Specifically I need to log, from address, to address, and email size.

Any hints on where to start?

Thanks,

Lance




On Tue, Feb 01, 2000 at 12:44:30PM -0800, Qmail wrote:
> Hi Folks,
> 
> I'm wondering the best place/way to log details about each email to a
> database of some sort.
> Specifically I need to log, from address, to address, and email size.
> 
> Any hints on where to start?

Hint #1: log qmail-send with cyclog or multilog. 
Hint #2: take a look on qmail-analog. Specifically matchup.

/magnus

-- 
http://x42.com/




On Tue, Feb 01, 2000 at 12:44:30PM -0800, Qmail wrote:
> Hi Folks,
> 
> I'm wondering the best place/way to log details about each email to a
> database of some sort.
> Specifically I need to log, from address, to address, and email size.
> 
> Any hints on where to start?

Your maillogs. They contain all this information.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++





Is there any kernel sysctl or otherwise parameters suggested for
performance using qmail on Linux?  Open file handle limits, share memory,
whatever?  I have a goal to send at least 1 million emails in a 
24 hour period from a single machine.

Also, has anyone done any experimentation using 2.3.x kernels and
qmail?  Any feedback on experiences with 2.3.x?

Thanks
-jeremy





On Tue, Feb 01, 2000 at 04:46:32PM -0500, Jeremy Hansen wrote:
> 
> Is there any kernel sysctl or otherwise parameters suggested for
> performance using qmail on Linux?  Open file handle limits, share memory,
> whatever?  I have a goal to send at least 1 million emails in a 
> 24 hour period from a single machine.

The qmail-server I built recently has been benchmarked at 2-3million a day,
with a stock redhat 1000fd kernel (it's on their ftp-site as an rpm).

concurrencylocal/remote are both 255, machine hums along nicely.

Most critical factor besides fd's is probably memory, and perhaps CPU.
I think I had 512mbyte in this one and something along the lines of a
PII-450.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




Ok, then try putting a forwarder inside a .qmail-default file and try the
mess ;)

I want my default delivery to go to a mailing list.
If I simply put a forwarder instead of vdelivermail..... inside
.qmail-default all mail (to any account, even if it exists) is forwarded
twice, or something like this. Tried it a few days ago and it resulted in
chaos.

-- jmr


----- Original Message -----
From: "Dave Sill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 31, 2000 7:11 PM
Subject: Re: default to mailing list


> "J.M. Roth \(iip\)" <[EMAIL PROTECTED]> wrote:
>
> >but what if there is a mailing list that's already defined, like:
> >[EMAIL PROTECTED]
> >Now, [EMAIL PROTECTED] should go to the mailing list. I don't wanna copy
> >the whole thing.
> >If I simply put &[EMAIL PROTECTED] into .qmail-default the whole directory
> >seems messed up because mails are returned and say that users that DO
exist
> >didn't exist, which simply is not true.
>
> Putting "&[EMAIL PROTECTED]" in a .qmail file is exactly what you should
> do. If that doesn't work right, you'll need to provide more details if
> you want help figuring out why.
>
> -Dave
>





i read "life with qmail" and set ip my server correctly. i did not find the
part how to start the pop3d automatically. so i entered the lines of the doc
("tcpserver..." to my boot script of qmail. Now each transaction is logged
to the console. Does anybody have I working startup script for qmail-send,
qmail-smtpd and qmail-pop3???





well thanks a lot, it works. But every pop3 transaction will be echod to the
bash. Can I disable this?





> -----Urspr�ngliche Nachricht-----
> Von: Tim Hunter [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 2. Februar 2000 02:27
> An: Andreas Altenburg
> Betreff: Re: pop3 start
>
>
> At 01:00 AM 2/2/00 +0100, you wrote:
> >i read "life with qmail" and set ip my server correctly. i did
> not find the
> >part how to start the pop3d automatically. so i entered the
> lines of the doc
> >("tcpserver..." to my boot script of qmail. Now each transaction
> is logged
> >to the console. Does anybody have I working startup script for
> qmail-send,
> >qmail-smtpd and qmail-pop3???
> here is my /etc/rc.d/init.d/qmail script
> Careful I made some minor changes to the LWQ
> #!/bin/sh
> # used to start/stop/etc qmail
> PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
> export PATH
>
> case "$1" in
>    start)
>
>      echo -n "Starting qmail: svscan"
>      cd /var/qmail/supervise
>      env - PATH="$PATH" svscan &
>      echo $! > /var/run/svscan.pid
>      echo "."
>      ;;
>    stop)
>      echo -n "Stopping qmail: svscan"
>      kill `cat /var/run/svscan.pid`
>      echo -n " qmail"
>      svc -dx /var/qmail/supervise/*
>      echo -n " logging"
>      svc -dx /var/qmail/supervise/*/log
>      echo "."
>      ;;
>    stat)
>      cd /var/qmail/supervise
>      svstat * */log    ;;
>    doqueue|alrm)
>      echo "Sending ALRM signal to qmail-send."
>      svc -a /var/qmail/supervise/qmail-send
>      ;;
>    queue)
>      qmail-qstat
>      qmail-qread
>      ;;
>    reload|hup)
>      echo "Sending HUP signal to qmail-send."
>      svc -h /var/qmail/supervise/qmail-send
>      ;;
>    pause)
>      echo "Pausing qmail-send"
>      svc -p /var/qmail/supervise/qmail-send
>      echo "Pausing qmail-smtpd"
>      svc -p /var/qmail/supervise/qmail-smtpd
>      echo "Pausing qmail-pop3d"
>      svc -p /var/qmail/supervise/qmail-pop3d
>      ;;
>    cont)
>      echo "Continuing qmail-send"
>      svc -c /var/qmail/supervise/qmail-send
>      echo "Continuing qmail-smtpd"
>      svc -c /var/qmail/supervise/qmail-smtpd
>      echo "Continuing qmail-pop3d"
>      svc -c /var/qmail/supervise/qmail-pop3d
>      ;;
>    restart)
>      echo "Restarting qmail:"
>      echo "* Stopping qmail-smtpd."
>      svc -d /var/qmail/supervise/qmail-smtpd
>      echo "* Sending qmail-send SIGTERM and restarting."
>      svc -t /var/qmail/supervise/qmail-send
>      echo "* Restarting qmail-smtpd."
>      svc -u /var/qmail/supervise/qmail-smtpd
>      echo "* Restarting qmail-pop3d."
>      svc -u /var/qmail/supervise/qmail-pop3d
>      ;;
>    cdb)
>      tcprules_path=/var/qmail/smtp
>      tcprules $tcprules_path/tcp.smtp.cdb $tcprules_path/tcp.smtp.tmp <
> $tcprules_path/tcp.smtp
>      chmod 644 /var/qmail/smtp/tcp.smtp*
>      echo "Reloaded /var/qmail/smtp/tcp.smtp."
>      ;;
>
>    help)
>      cat <<HELP
>     stop -- stops mail service (smtp connections refused, nothing
> goes out)
>    start -- starts mail service (smtp connection accepted, mail
> can go out)
>    pause -- temporarily stops mail service (connections accepted, nothing
> leaves)
>     cont -- continues paused mail service
>     stat -- displays status of mail service
>      cdb -- rebuild the tcpserver cdb file for smtp
> restart -- stops and restarts smtp, sends qmail-send a TERM & restarts it
> doqueue -- sends qmail-send ALRM, scheduling queued messages for delivery
>   reload -- sends qmail-send HUP, rereading locals and virtualdomains
>    queue -- shows status of queue
>     alrm -- same as doqueue
>      hup -- same as reload
> HELP
>      ;;
>      *)
>      echo "Usage: $0
> {start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}"
>      exit 1
>      ;;
> esac
>
> exit 0
>
>
> Here is my /var/qmail/supervise/qmail-pop3d/run
> #!/bin/sh
> PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin:/home/vpopmail/bin
> export PATH
>
> exec tcpserver -v -p -c5 0 pop-3 qmail-popup mail.cimx.com \
>     vchkpw qmail-pop3d Maildir 2>&1
>
> and my /var/qmail/supervise/qmail-pop3d/log/run
> #!/bin/sh
> PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
> export PATH
> exec setuidgid qmaill multilog t /var/log/qmail/pop3d
>
>
> Hope that helps you
>
> -- Tim
>





Is it possible to run two versions of qmail-smtpd (say, on different port #s),
with different control/databytes files? Boss is asking whether we can set a
limit on the size of incoming mail (easy, use databytes) but have no limit on
the outgoing mail. Easiest way is to have 2 SMTP servers on separate machines,
but would it be possible to this up on only one machine?

I am running qmail-smtpd under tcpserver, if that is any help. 

TIA,
Brian
--
[EMAIL PROTECTED]     
http://www.baquiran.com 
US Fax: (603) 908-0727
AIM: bbaquiran




Sure. Just run two instances of qmail.

In fact, why not mutlihome your system (or alias depending on which
term you prefer) and have them both on port 25. One listens to your
internally advertised address and one listens to your MX address.

You can also control how many resources go to which service then, all
on the one machine.


Regards.


On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote:
> Is it possible to run two versions of qmail-smtpd (say, on different port #s),
> with different control/databytes files? Boss is asking whether we can set a
> limit on the size of incoming mail (easy, use databytes) but have no limit on
> the outgoing mail. Easiest way is to have 2 SMTP servers on separate machines,
> but would it be possible to this up on only one machine?
> 
> I am running qmail-smtpd under tcpserver, if that is any help. 
> 
> TIA,
> Brian
> --
> [EMAIL PROTECTED]   
> http://www.baquiran.com 
> US Fax: (603) 908-0727
> AIM: bbaquiran




On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote:
> Is it possible to run two versions of qmail-smtpd (say, on different port
> #s), with different control/databytes files? Boss is asking whether we can
> set a limit on the size of incoming mail (easy, use databytes) but have no
> limit on the outgoing mail. Easiest way is to have 2 SMTP servers on separate
> machines, but would it be possible to this up on only one machine?

That's way too hard. If your network is the 1.2.3 class C, stick something like
this in your rules file:

1.2.3.:allow,RELAYCLIENT="",DATABYTES="0"

That'll set DATABYTES to zero (meaning there's no limit) for your internal
clients. Everyone else is subject to /var/qmail/control/databytes.

Chris




Chris Johnson wrote:
> 
> On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote:
> > Is it possible to run two versions of qmail-smtpd (say, on different port
> > #s), with different control/databytes files? Boss is asking whether we can
> > set a limit on the size of incoming mail (easy, use databytes) but have no
> > limit on the outgoing mail. Easiest way is to have 2 SMTP servers on separate
> > machines, but would it be possible to this up on only one machine?
> 
> That's way too hard. If your network is the 1.2.3 class C, stick something like
> this in your rules file:
> 
> 1.2.3.:allow,RELAYCLIENT="",DATABYTES="0"
> 
> That'll set DATABYTES to zero (meaning there's no limit) for your internal
> clients. Everyone else is subject to /var/qmail/control/databytes.

Chris,
This is great! It'll try it out. 

Thanks!
Brian
--
[EMAIL PROTECTED]     
http://www.baquiran.com 
US Fax: (603) 908-0727
AIM: bbaquiran




Hi there,

I am having qmail-1.03 with daemontools-0.61 running and 
would like to have my logs rotated on a daily base. I learned from
the Qmail Mailing List Archive that  qfilelog could do just 
what I am expecting but all the messages there
seem to be about older version of daemontools (cyclog). 
I wonder if anyone out there had got it running 
with daemontool-0.61 (multilog). How do I set my 'run script' 
to have them work together ?

Thanks in advance !

--------------
Wang-hua Li




On Wed, Feb 02, 2000 at 10:54:07AM +0900, Wang-hua Li, Mack wrote:

> Hi there,
> 
> I am having qmail-1.03 with daemontools-0.61 running and 
> would like to have my logs rotated on a daily base. I learned from
> the Qmail Mailing List Archive that  qfilelog could do just 
> what I am expecting but all the messages there
> seem to be about older version of daemontools (cyclog). 
> I wonder if anyone out there had got it running 
> with daemontool-0.61 (multilog). How do I set my 'run script' 
> to have them work together ?

This is the tricky bit. daemontools-0.61 introduced the concept of an
svscan pipe between a process and its logger. The reason was because
shell pipes are unreliable. In order to use qfilelog, you would have to
do something like:

qmail-start ./Maildir/ tai64n | qfilelog somefile

In you want to run this under daemontools-0.61, your run script would
be:

qmail-start ./Maildir/

And your log/run script would be:

tai64n | qfilelog somefile

This is where the problem is: You're back to using shell pipes and
there's a possibility of loss of logs if one of the components of the
pipeline dies unexpectedly. While there are convoluted ways of achieving
time-based rotation with multilog, I really wish it was a built-in
feature.

-- 
See complete headers for more info





Does anyone have a URL for a Red Hat SysV init rc.d script for qmail?

        Thanks,

        John

-- 

John Conover        [EMAIL PROTECTED]   http://www.inow.com/
631 Lamont Ct.      Tel. 408.370.2688  http://www.inow.com/ntropix/
Campbell, CA 95008  Fax. 408.379.9602  http://www.inow.com/nformatix/





I hate to ask such a general question, but hat sort of bandwidth is needed to 
accomodate up to 10000 home 
dialup users for smtp and pop3 services? I just need some sort o rough estimate as I 
have a budget to 
overcompensate somewhat.
Thanks for any help,
--
Marek Narkiewicz, Systems Director WelshDragon ltd
[EMAIL PROTECTED]
02/01/2000 at 04:03:50





* Marek Narkiewicz ([EMAIL PROTECTED]) [ 1 Feb 2000 23:02]:

> I hate to ask such a general question, but hat sort of bandwidth is needed to 
>accomodate up to 10000 home 
> dialup users for smtp and pop3 services? I just need some sort o rough estimate as I 
>have a budget to 
> overcompensate somewhat.

I help with an ISP that has a base of ~ 1500 users and 150 dialup
lines. We connect to the Internet with a full T1 line (1.5 Mbps).
The line gets close to saturation most evenings.

-- 
Quist Consulting                Email: [EMAIL PROTECTED]
219 Donlea Drive                Voice: +1.416.696.7600
Toronto ON  M4G 2N1             Fax:   +1.416.978.6620
CANADA                          WWW:   http://www.quist.on.ca




On Tue, Feb 01, 2000 at 04:03:51AM +0000, Marek Narkiewicz wrote:
> I hate to ask such a general question, but hat sort of bandwidth is needed to 
>accomodate up to 10000 home 
> dialup users for smtp and pop3 services? I just need some sort o rough estimate as I 
>have a budget to 
> overcompensate somewhat.

You have a budget and you don't know what you need to buy yet? Nice work if you
can get it :>

But what quality of service are you wanting to provide?

And what is the anticipated traffic profile?

Are they corporate users or general public?

Are you talking about internet bandwidth, internal bandwidth or bandwidth to your 
customer
connections?

What speed dialups are these? 56K? Less? ISDN?

How many concurrent connections?

Oh, and, er, can these users do web browsing? If so, you'd best hang out in a 
web-traffic
list as that will dominate your bandwidth requirements.


Regards.




On Tue, Feb 01, 2000 at 11:14:50PM -0500, Russell P. Sutherland wrote:
> * Marek Narkiewicz ([EMAIL PROTECTED]) [ 1 Feb 2000 23:02]:
> 
> > I hate to ask such a general question, but hat sort of bandwidth is needed to 
>accomodate up to 10000 home 
> > dialup users for smtp and pop3 services? I just need some sort o rough estimate as 
>I have a budget to 
> > overcompensate somewhat.
> 
> I help with an ISP that has a base of ~ 1500 users and 150 dialup
> lines. We connect to the Internet with a full T1 line (1.5 Mbps).
> The line gets close to saturation most evenings.

And I'll bet that 80% of that traffic was not email.


Regards.




I ried to send to wilson@[203.26.11.154] but it failed. Can someone tell me why ?

Thanks

Wilson




On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote:
> I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell me
> why ?

I doubt it, unless you provide a detail or two. In what way did it fail?

Chris




>> I tried to send to wilson@[203.26.11.154] but it failed. Can someone 
tell me
>> why ?
>I doubt it, unless you provide a detail or two. In what way did it 
fail?

qmail should accept it if you have the IP address in the rcpthosts file. 
of course, this is purely speculation on may part based on how qmail 
appears to work to me, and should not be construed as technically 
correct or even slightly worth listening to.

btw - those square brackets make me wonder about various things too...


--
Spiro Harvey
Linux Systems Engineer
A.Net Communications - http://www.anet.co.nz


-----------------------------------
This message was sent with the demo version of Postmaster, a BeOS mail client.
For more information, please visit http://kennyc.com/postmaster





Well if you try mailing to it you will see. It is returned by the smtp 
server I use to send email which incidentally is also qmail. Here is the 
bounce message:

Hi. This is the qmail-send program at gidora.zeta.org.au.
I'm afraid I wasn't able to deliver your message to the following 
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<wilson@[203.26.11.154]>:
203.26.11.154 does not like recipient.
Remote host said: 553 sorry, that domain isn't in my list of allowed 
rcpthosts (#5.7.1)
Giving up.

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 -0000
Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au) 
(203.26.11.145)
  by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 -0000
Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45 +1100
Message-ID: <[EMAIL PROTECTED]>
From: Wilson Fletcher <[EMAIL PROTECTED]>
Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: "'wilson@[203.26.11.154]'" <wilson@[203.26.11.154]>
Subject: Test
Date: Wed, 2 Feb 2000 15:34:44 +1100
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Test



----------
From:   Chris Johnson[SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, 2 February 2000 15:32
To:     [EMAIL PROTECTED]
Cc:     '[EMAIL PROTECTED]'
Subject:        Re: Sending to an IP address

On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote:
> I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell 
me
> why ?

I doubt it, unless you provide a detail or two. In what way did it fail?

Chris





Someone told me to use square brackets and put the number in rcpthosts so I 
did. It works on our internal LAN but if I'm dialled into my ISP and try to 
email to it then it gets bounced.

Wilson

----------
From:   Spiro Harvey[SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, 2 February 2000 15:50
To:     [EMAIL PROTECTED]
Subject:        Re: Sending to an IP address

>> I tried to send to wilson@[203.26.11.154] but it failed. Can someone
tell me
>> why ?
>I doubt it, unless you provide a detail or two. In what way did it
fail?

qmail should accept it if you have the IP address in the rcpthosts file.
of course, this is purely speculation on may part based on how qmail
appears to work to me, and should not be construed as technically
correct or even slightly worth listening to.

btw - those square brackets make me wonder about various things too...


--
Spiro Harvey
Linux Systems Engineer
A.Net Communications - http://www.anet.co.nz


-----------------------------------
This message was sent with the demo version of Postmaster, a BeOS mail 
client.
For more information, please visit http://kennyc.com/postmaster





Get rid of the brackets.



--------------------------------------------
Roman Volf
[EMAIL PROTECTED]
Realshell Internet Services
http://www.realshell.com
"We are all unique, just like everyone else"

On Wed, 2 Feb 2000, Wilson Fletcher wrote:

> Well if you try mailing to it you will see. It is returned by the smtp 
> server I use to send email which incidentally is also qmail. Here is the 
> bounce message:
> 
> Hi. This is the qmail-send program at gidora.zeta.org.au.
> I'm afraid I wasn't able to deliver your message to the following 
> addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
> 
> <wilson@[203.26.11.154]>:
> 203.26.11.154 does not like recipient.
> Remote host said: 553 sorry, that domain isn't in my list of allowed 
> rcpthosts (#5.7.1)
> Giving up.
> 
> --- Below this line is a copy of the message.
> 
> Return-Path: <[EMAIL PROTECTED]>
> Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 -0000
> Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au) 
> (203.26.11.145)
>   by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 -0000
> Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45 +1100
> Message-ID: <[EMAIL PROTECTED]>
> From: Wilson Fletcher <[EMAIL PROTECTED]>
> Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> To: "'wilson@[203.26.11.154]'" <wilson@[203.26.11.154]>
> Subject: Test
> Date: Wed, 2 Feb 2000 15:34:44 +1100
> X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
> MIME-Version: 1.0
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> 
> Test
> 
> 
> 
> ----------
> From:         Chris Johnson[SMTP:[EMAIL PROTECTED]]
> Sent:         Wednesday, 2 February 2000 15:32
> To:   [EMAIL PROTECTED]
> Cc:   '[EMAIL PROTECTED]'
> Subject:      Re: Sending to an IP address
> 
> On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote:
> > I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell 
> me
> > why ?
> 
> I doubt it, unless you provide a detail or two. In what way did it fail?
> 
> Chris
> 
> 





The brackets are required.

>From qmail-remote(8):

       The remote host is qmail-remote's  first  argument,  host.
       qmail-remote  sends  the  message  to  host,  or to a mail
       exchanger for host listed in the Domain Name  System,  via
       the  Simple  Mail  Transfer  Protocol (SMTP).  host can be
       either a fully-qualified domain name:

            silverton.berkeley.edu

       or an IP address enclosed in brackets:

            [128.32.183.163]



If the mail is to be delivered locally to IP www.xxx.yyy.zzz,
[www.xxx.yyy.zzz] must appear in control/locals and control/rcpthosts.

----- Original Message -----
From: "Roman Volf-RealShell Admin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 01 February 2000, Tuesday 23:56
Subject: RE: Sending to an IP address


| Get rid of the brackets.
|
|
|
| --------------------------------------------
| Roman Volf
| [EMAIL PROTECTED]
| Realshell Internet Services
| http://www.realshell.com
| "We are all unique, just like everyone else"
|
| On Wed, 2 Feb 2000, Wilson Fletcher wrote:
|
| > Well if you try mailing to it you will see. It is returned by the smtp
| > server I use to send email which incidentally is also qmail. Here is the
| > bounce message:
| >
| > Hi. This is the qmail-send program at gidora.zeta.org.au.
| > I'm afraid I wasn't able to deliver your message to the following
| > addresses.
| > This is a permanent error; I've given up. Sorry it didn't work out.
| >
| > <wilson@[203.26.11.154]>:
| > 203.26.11.154 does not like recipient.
| > Remote host said: 553 sorry, that domain isn't in my list of allowed
| > rcpthosts (#5.7.1)
| > Giving up.
| >
| > --- Below this line is a copy of the message.
| >
| > Return-Path: <[EMAIL PROTECTED]>
| > Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 -0000
| > Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au)
| > (203.26.11.145)
| >   by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 -0000
| > Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45
+1100
| > Message-ID: <[EMAIL PROTECTED]>
| > From: Wilson Fletcher <[EMAIL PROTECTED]>
| > Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
| > To: "'wilson@[203.26.11.154]'" <wilson@[203.26.11.154]>
| > Subject: Test
| > Date: Wed, 2 Feb 2000 15:34:44 +1100
| > X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
| > MIME-Version: 1.0
| > Content-Type: text/plain; charset="us-ascii"
| > Content-Transfer-Encoding: 7bit
| >
| > Test
| >
| >
| >
| > ----------
| > From: Chris Johnson[SMTP:[EMAIL PROTECTED]]
| > Sent: Wednesday, 2 February 2000 15:32
| > To: [EMAIL PROTECTED]
| > Cc: '[EMAIL PROTECTED]'
| > Subject: Re: Sending to an IP address
| >
| > On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote:
| > > I tried to send to wilson@[203.26.11.154] but it failed. Can someone
tell
| > me
| > > why ?
| >
| > I doubt it, unless you provide a detail or two. In what way did it fail?
| >
| > Chris
| >
| >
|
|





On Wed, 2 Feb 2000, Wilson Fletcher wrote:

> I ried to send to wilson@[203.26.11.154] but it failed. Can someone tell me why ?

Because this form of addressing is obsolete and deprecated.  Once upon a
time MX records were few and far between.  That is no longer the case, so
there's no need for this nonsense.

--
Sam






hmmm. I don't think so. Here is my rcpthosts file:

        mclachlan.com.au
        mclachlanlister.com.au
        203.26.11.154

As i said ... it works internally but not from my ISPs server.

----------
From:   Tim Hunter[SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, 2 February 2000 15:59
To:     [EMAIL PROTECTED]
Subject:        RE: Sending to an IP address

your reply is your answer
Remote host said: 553 sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1)

put 203.26.11.154 in rcpthosts if you want to receive mail for that host
read Life with qmail for more information


At 03:50 PM 2/2/00 +1100, you wrote:
>Well if you try mailing to it you will see. It is returned by the smtp
>server I use to send email which incidentally is also qmail. Here is the
>bounce message:
>
>Hi. This is the qmail-send program at gidora.zeta.org.au.
>I'm afraid I wasn't able to deliver your message to the following
>addresses.
>This is a permanent error; I've given up. Sorry it didn't work out.
>
><wilson@[203.26.11.154]>:
>203.26.11.154 does not like recipient.
>Remote host said: 553 sorry, that domain isn't in my list of allowed
>rcpthosts (#5.7.1)
>Giving up.
>
>--- Below this line is a copy of the message.
>
>Return-Path: <[EMAIL PROTECTED]>
>Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 -0000
>Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au)
>(203.26.11.145)
>   by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 -0000
>Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45 +1100
>Message-ID: <[EMAIL PROTECTED]>
>From: Wilson Fletcher <[EMAIL PROTECTED]>
>Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>To: "'wilson@[203.26.11.154]'" <wilson@[203.26.11.154]>
>Subject: Test
>Date: Wed, 2 Feb 2000 15:34:44 +1100
>X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
>MIME-Version: 1.0
>Content-Type: text/plain; charset="us-ascii"
>Content-Transfer-Encoding: 7bit
>
>Test
>
>
>
>----------
>From:   Chris Johnson[SMTP:[EMAIL PROTECTED]]
>Sent:   Wednesday, 2 February 2000 15:32
>To:     [EMAIL PROTECTED]
>Cc:     '[EMAIL PROTECTED]'
>Subject:        Re: Sending to an IP address
>
>On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote:
> > I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell
>me
> > why ?
>
>I doubt it, unless you provide a detail or two. In what way did it fail?
>
>Chris





To be a little more verbose:

[www.xxx.yyy.zzz] (_with_ the brackets) must appear in control/rcpthosts
and, if mail to said address is to be delivered locally, it must also appear
(with the brackets) in control/locals.

----- Original Message -----
From: "Wilson Fletcher" <[EMAIL PROTECTED]>
To: "'Tim Hunter'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: 02 February 2000, Wednesday 00:28
Subject: RE: Sending to an IP address


| hmmm. I don't think so. Here is my rcpthosts file:
|
| mclachlan.com.au
| mclachlanlister.com.au
| 203.26.11.154
|
| As i said ... it works internally but not from my ISPs server.
|
| ----------
| From: Tim Hunter[SMTP:[EMAIL PROTECTED]]
| Sent: Wednesday, 2 February 2000 15:59
| To: [EMAIL PROTECTED]
| Subject: RE: Sending to an IP address
|
| your reply is your answer
| Remote host said: 553 sorry, that domain isn't in my list of allowed
| rcpthosts (#5.7.1)
|
| put 203.26.11.154 in rcpthosts if you want to receive mail for that host
| read Life with qmail for more information
|
|
| At 03:50 PM 2/2/00 +1100, you wrote:
| >Well if you try mailing to it you will see. It is returned by the smtp
| >server I use to send email which incidentally is also qmail. Here is the
| >bounce message:
| >
| >Hi. This is the qmail-send program at gidora.zeta.org.au.
| >I'm afraid I wasn't able to deliver your message to the following
| >addresses.
| >This is a permanent error; I've given up. Sorry it didn't work out.
| >
| ><wilson@[203.26.11.154]>:
| >203.26.11.154 does not like recipient.
| >Remote host said: 553 sorry, that domain isn't in my list of allowed
| >rcpthosts (#5.7.1)
| >Giving up.
| >
| >--- Below this line is a copy of the message.
| >
| >Return-Path: <[EMAIL PROTECTED]>
| >Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 -0000
| >Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au)
| >(203.26.11.145)
| >   by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 -0000
| >Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45
+1100
| >Message-ID: <[EMAIL PROTECTED]>
| >From: Wilson Fletcher <[EMAIL PROTECTED]>
| >Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
| >To: "'wilson@[203.26.11.154]'" <wilson@[203.26.11.154]>
| >Subject: Test
| >Date: Wed, 2 Feb 2000 15:34:44 +1100
| >X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
| >MIME-Version: 1.0
| >Content-Type: text/plain; charset="us-ascii"
| >Content-Transfer-Encoding: 7bit
| >
| >Test
| >
| >
| >
| >----------
| >From:   Chris Johnson[SMTP:[EMAIL PROTECTED]]
| >Sent:   Wednesday, 2 February 2000 15:32
| >To:     [EMAIL PROTECTED]
| >Cc:     '[EMAIL PROTECTED]'
| >Subject:        Re: Sending to an IP address
| >
| >On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote:
| > > I tried to send to wilson@[203.26.11.154] but it failed. Can someone
tell
| >me
| > > why ?
| >
| >I doubt it, unless you provide a detail or two. In what way did it fail?
| >
| >Chris
|
|






OK added [203.26.11.154] to both control/locals & control/rcpthosts still not luck 
(yes I restarted qmail)

----------
From:   Keith Warno[SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, 2 February 2000 16:47
To:     [EMAIL PROTECTED]
Cc:     [EMAIL PROTECTED]
Subject:        Re: Sending to an IP address

To be a little more verbose:

[www.xxx.yyy.zzz] (_with_ the brackets) must appear in control/rcpthosts
and, if mail to said address is to be delivered locally, it must also appear
(with the brackets) in control/locals.

----- Original Message -----
From: "Wilson Fletcher" <[EMAIL PROTECTED]>
To: "'Tim Hunter'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: 02 February 2000, Wednesday 00:28
Subject: RE: Sending to an IP address


| hmmm. I don't think so. Here is my rcpthosts file:
|
| mclachlan.com.au
| mclachlanlister.com.au
| 203.26.11.154
|
| As i said ... it works internally but not from my ISPs server.
|
| ----------
| From: Tim Hunter[SMTP:[EMAIL PROTECTED]]
| Sent: Wednesday, 2 February 2000 15:59
| To: [EMAIL PROTECTED]
| Subject: RE: Sending to an IP address
|
| your reply is your answer
| Remote host said: 553 sorry, that domain isn't in my list of allowed
| rcpthosts (#5.7.1)
|
| put 203.26.11.154 in rcpthosts if you want to receive mail for that host
| read Life with qmail for more information
|
|
| At 03:50 PM 2/2/00 +1100, you wrote:
| >Well if you try mailing to it you will see. It is returned by the smtp
| >server I use to send email which incidentally is also qmail. Here is the
| >bounce message:
| >
| >Hi. This is the qmail-send program at gidora.zeta.org.au.
| >I'm afraid I wasn't able to deliver your message to the following
| >addresses.
| >This is a permanent error; I've given up. Sorry it didn't work out.
| >
| ><wilson@[203.26.11.154]>:
| >203.26.11.154 does not like recipient.
| >Remote host said: 553 sorry, that domain isn't in my list of allowed
| >rcpthosts (#5.7.1)
| >Giving up.
| >
| >--- Below this line is a copy of the message.
| >
| >Return-Path: <[EMAIL PROTECTED]>
| >Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 -0000
| >Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au)
| >(203.26.11.145)
| >   by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 -0000
| >Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45
+1100
| >Message-ID: <[EMAIL PROTECTED]>
| >From: Wilson Fletcher <[EMAIL PROTECTED]>
| >Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
| >To: "'wilson@[203.26.11.154]'" <wilson@[203.26.11.154]>
| >Subject: Test
| >Date: Wed, 2 Feb 2000 15:34:44 +1100
| >X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
| >MIME-Version: 1.0
| >Content-Type: text/plain; charset="us-ascii"
| >Content-Transfer-Encoding: 7bit
| >
| >Test
| >
| >
| >
| >----------
| >From:   Chris Johnson[SMTP:[EMAIL PROTECTED]]
| >Sent:   Wednesday, 2 February 2000 15:32
| >To:     [EMAIL PROTECTED]
| >Cc:     '[EMAIL PROTECTED]'
| >Subject:        Re: Sending to an IP address
| >
| >On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote:
| > > I tried to send to wilson@[203.26.11.154] but it failed. Can someone
tell
| >me
| > > why ?
| >
| >I doubt it, unless you provide a detail or two. In what way did it fail?
| >
| >Chris
|
|





I just tested this with my qmail config
with my ip in rcpthosts and locals I received mail sent to my ip from an 
outside SMTP server

[root@mail control]# cat rcpthosts
mail.cimx.com
cimx.com
206.112.223.188

[root@mail control]# cat locals
mail.cimx.com
cimx.com
206.112.223.188

[root@mail control]#

Mail delivers like normal.
here are my headers
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 24970 invoked by uid 500); 2 Feb 2000 05:47:06 -0000
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 24966 invoked from network); 2 Feb 2000 05:47:05 -0000
Received: from fe2.rdc-kc.rr.com (HELO mail2.cinci.rr.com) (24.94.163.49)
by mail.cimx.com with SMTP; 2 Feb 2000 05:47:05 -0000
Received: from alcatraz ([24.29.20.43]) by mail2.cinci.rr.com with 
Microsoft SMTPSVC(5.5.1877.197.19);
Tue, 1 Feb 2000 23:48:03 -0600
Message-Id: <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2
Date: Wed, 02 Feb 2000 00:51:01 -0500
To: [EMAIL PROTECTED]
From: Tim Hunter <[EMAIL PROTECTED]>
Subject: test
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Return-Path: [EMAIL PROTECTED]
X-UID: 113


I suggest you do a little more research before spitting off at the wrong people

At 04:28 PM 2/2/00 +1100, you wrote:
>hmmm. I don't think so. Here is my rcpthosts file:
>
>         mclachlan.com.au
>         mclachlanlister.com.au
>         203.26.11.154





I did this:

        # Stop qmail.
        set $(/bin/ps aux | /bin/grep qmail-lspawn)
        PID=$2
        echo -n "Killing qmail process: "
        echo $PID
        kill -9 $PID
        rm -f /var/lock/subsys/qmail
        echo "done"
        ;;


----------
From:   Keith Warno[SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, 2 February 2000 17:01
To:     [EMAIL PROTECTED]
Subject:        Re: Sending to an IP address

I tried sending a message to wilson@[203.26.11.154].

The response I received is:

Hi. This is the qmail-send program at mailbox.muao-inc.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<wilson@[203.26.11.154]>:
203.26.11.154 does not like recipient.
Remote host said: 553 sorry, that domain isn't in my list of allowed
rcpthosts (
Giving up on 203.26.11.154.


hmmm.... did you just kill -HUP `pidof qmail-send` or did you shut down and
restart qmail completely?  If you didn't do the latter, try it.

----- Original Message -----
From: "Wilson Fletcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 02 February 2000, Wednesday 00:42
Subject: RE: Sending to an IP address


|
| OK added [203.26.11.154] to both control/locals & control/rcpthosts still
not luck (yes I restarted qmail)





hmmm no square brackets .... I might try removing them.

----------
From:   Tim Hunter[SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, 2 February 2000 16:55
To:     [EMAIL PROTECTED]
Subject:        RE: Sending to an IP address

I just tested this with my qmail config
with my ip in rcpthosts and locals I received mail sent to my ip from an 
outside SMTP server

[root@mail control]# cat rcpthosts
mail.cimx.com
cimx.com
206.112.223.188

[root@mail control]# cat locals
mail.cimx.com
cimx.com
206.112.223.188

[root@mail control]#

Mail delivers like normal.
here are my headers
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 24970 invoked by uid 500); 2 Feb 2000 05:47:06 -0000
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 24966 invoked from network); 2 Feb 2000 05:47:05 -0000
Received: from fe2.rdc-kc.rr.com (HELO mail2.cinci.rr.com) (24.94.163.49)
by mail.cimx.com with SMTP; 2 Feb 2000 05:47:05 -0000
Received: from alcatraz ([24.29.20.43]) by mail2.cinci.rr.com with 
Microsoft SMTPSVC(5.5.1877.197.19);
Tue, 1 Feb 2000 23:48:03 -0600
Message-Id: <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2
Date: Wed, 02 Feb 2000 00:51:01 -0500
To: [EMAIL PROTECTED]
From: Tim Hunter <[EMAIL PROTECTED]>
Subject: test
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Return-Path: [EMAIL PROTECTED]
X-UID: 113


I suggest you do a little more research before spitting off at the wrong people

At 04:28 PM 2/2/00 +1100, you wrote:
>hmmm. I don't think so. Here is my rcpthosts file:
>
>         mclachlan.com.au
>         mclachlanlister.com.au
>         203.26.11.154





hmmm...

I'm pretty sure you have to kill qmail-send.

killproc is a handy tool if you have it around.

you can just do a:  killproc -HUP `which qmail-send`

(assuming qmail-send is in your path; else give it the path to qmail-send)

----- Original Message -----
From: "Wilson Fletcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 02 February 2000, Wednesday 00:59
Subject: RE: Sending to an IP address


| I did this:
|
|         # Stop qmail.
|         set $(/bin/ps aux | /bin/grep qmail-lspawn)
|         PID=$2
|         echo -n "Killing qmail process: "
|         echo $PID
|         kill -9 $PID
|         rm -f /var/lock/subsys/qmail
|         echo "done"
|         ;;
|
|
| ----------
| From: Keith Warno[SMTP:[EMAIL PROTECTED]]
| Sent: Wednesday, 2 February 2000 17:01
| To: [EMAIL PROTECTED]
| Subject: Re: Sending to an IP address
|
| I tried sending a message to wilson@[203.26.11.154].
|
| The response I received is:
|
| Hi. This is the qmail-send program at mailbox.muao-inc.net.
| I'm afraid I wasn't able to deliver your message to the following
addresses.
| This is a permanent error; I've given up. Sorry it didn't work out.
|
| <wilson@[203.26.11.154]>:
| 203.26.11.154 does not like recipient.
| Remote host said: 553 sorry, that domain isn't in my list of allowed
| rcpthosts (
| Giving up on 203.26.11.154.
|
|
| hmmm.... did you just kill -HUP `pidof qmail-send` or did you shut down
and
| restart qmail completely?  If you didn't do the latter, try it.
|
| ----- Original Message -----
| From: "Wilson Fletcher" <[EMAIL PROTECTED]>
| To: <[EMAIL PROTECTED]>
| Sent: 02 February 2000, Wednesday 00:42
| Subject: RE: Sending to an IP address
|
|
| |
| | OK added [203.26.11.154] to both control/locals & control/rcpthosts
still
| not luck (yes I restarted qmail)
|
|





On Wed, Feb 02, 2000 at 05:01:02PM +1100, Wilson Fletcher wrote:
> hmmm no square brackets .... I might try removing them.

All this bracket talk is nonsense. And you don't have to restart anything after
making a change to rcpthosts--it's reread for every incoming smtp connection.

If the bracketed IP address in the e-mail address is one of the computer's IP
addresses, then the contents of control/localiphost (which defaults to
control/me) is the domain that's checked for in control/rcpthosts.

So whatever's in control/me (or control/localiphost if you have it) needs to be
in control/rcpthosts in order for this to work for you.

Chris




On Wed, Feb 02, 2000 at 04:42:55PM +1100, Wilson Fletcher wrote:

> OK added [203.26.11.154] to both control/locals & control/rcpthosts
> still not luck (yes I restarted qmail)

That's because it's the wrong way of doing things. Read the qmail-smtpd
man page, and see the section about the control file "localiphost".

-- 
See complete headers for more info




BRILLIANT ! that's it.

So a summary.  All I needed to do is put mclachlan.com.au in localiphost.

qmail replaces the ip with the FQDN & then we go onto rcpthosts etc.

Thankyou everyone for your contributions I really appreciate it.

Wilson Fletcher

----------
From:   Anand Buddhdev[SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, 2 February 2000 17:40
To:     [EMAIL PROTECTED]
Cc:     [EMAIL PROTECTED]
Subject:        Re: Sending to an IP address

On Wed, Feb 02, 2000 at 04:42:55PM +1100, Wilson Fletcher wrote:

> OK added [203.26.11.154] to both control/locals & control/rcpthosts
> still not luck (yes I restarted qmail)

That's because it's the wrong way of doing things. Read the qmail-smtpd
man page, and see the section about the control file "localiphost".

-- 
See complete headers for more info





Hi all,
I got a problem with rcpthosts. my domain is abc.spnetctg.com and I put it
in rcpthosts.

#cat rcpthosts
abc.spnetctg.com

Now when I try to send mail to any e-mail address except abc.spnetctg.com
domain qmail reject it. But If there is not rcpthosts it works nice. Here
is my smtproutes:

#cat smtproutes
abc.spnetctg.com:localhost
:mail.spnetctg.com

How can I use rcpthosts and is it necessary to use?

Sifat.





On Wed, Feb 02, 2000 at 12:21:23PM +0600, Md. Sifat Ullah Patwary wrote:
> Hi all,
> I got a problem with rcpthosts. my domain is abc.spnetctg.com and I put it
> in rcpthosts.
> 
> #cat rcpthosts
> abc.spnetctg.com
> 
> Now when I try to send mail to any e-mail address except abc.spnetctg.com
> domain qmail reject it.

Do you think it might be helpful to tell us *how* it was rejected? Or are we
meant to guess?

What did your logs show?

Did you get a bounce? If so, what was it?


Regards.




Well, the purpose of rcpthosts is to specify what domains mail will be
recieved for.  If it doesn't exist, you are an open relay.  If you're
sending from a certain subnet or IP, you can simply specify what IPs are
exceptions to rctphosts.  Or, there are methods of smtp after pop or
straight smtp authentication if you're using a new Netscape or Outlook
Express.

Here's a good site:  http://www.sfu.ca/~yzhang/linux/qmail/chap2.html

HOT,
Jacob Joseph

----- Original Message -----
From: "Md. Sifat Ullah Patwary" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 01, 2000 10:21 PM
Subject: Problem with rcpthosts


> Hi all,
> I got a problem with rcpthosts. my domain is abc.spnetctg.com and I put it
> in rcpthosts.
>
> #cat rcpthosts
> abc.spnetctg.com
>
> Now when I try to send mail to any e-mail address except abc.spnetctg.com
> domain qmail reject it. But If there is not rcpthosts it works nice. Here
> is my smtproutes:
>
> #cat smtproutes
> abc.spnetctg.com:localhost
> :mail.spnetctg.com
>
> How can I use rcpthosts and is it necessary to use?
>
> Sifat.
>






Check out:

http://www.palomine.net/qmail/relaying.html




-----Oorspronkelijk bericht-----
Van:    Md. Sifat Ullah Patwary [SMTP:[EMAIL PROTECTED]]
Verzonden:      Wednesday, February 02, 2000 7:21 AM
Aan:    [EMAIL PROTECTED]
Onderwerp:      Problem with rcpthosts

Hi all,
I got a problem with rcpthosts. my domain is abc.spnetctg.com and I put it
in rcpthosts.

#cat rcpthosts
abc.spnetctg.com

Now when I try to send mail to any e-mail address except abc.spnetctg.com
domain qmail reject it. But If there is not rcpthosts it works nice. Here
is my smtproutes:

#cat smtproutes
abc.spnetctg.com:localhost
:mail.spnetctg.com

How can I use rcpthosts and is it necessary to use?

Sifat.





Hi all,

What is the time interval taken by qmail-send to retry to send its quied
mail. Can it be controled? We can tell qmail-send to retry to send its
quied mail by issueing the signal ALRM. Can it be made auto without using
crond?

Sifat.





I think this is in the docs somewhere. There is a table in life with qmail:

http://web.infoave.net/~dsill/lwq.html#sending-messages

Wilson


----------
From:   Md. Sifat Ullah Patwary[SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, 2 February 2000 17:59
To:     [EMAIL PROTECTED]
Subject:        retrying time by qmail-send

Hi all,

What is the time interval taken by qmail-send to retry to send its quied
mail. Can it be controled? We can tell qmail-send to retry to send its
quied mail by issueing the signal ALRM. Can it be made auto without using
crond?

Sifat.





qmailanalog wants seconds and fractional seconds (since start of epoch, I
suppose, although I don't think it actually matters since I believe all of
its calculations are relative).  Dan, were you planning on releasing a new
version of qmailanalog sometime at or after qmail 2.0?  Is the logging
format going to change sufficiently that I shouldn't put a lot of time
into approving log analysis for 1.03?

Attached is a small program based on tai64nlocal that will convert from
tai64n format to what qmailanalog expects.

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


/* $Id$

   Convert external TAI64N timestamps to fractional seconds since epoch.

   Written by Russ Allbery <[EMAIL PROTECTED]>
   This work is in the public domain.

   Usage:

        tai64nfrac < input > output

   Expects the input stream to be a sequence of lines beginning with @, a
   timestamp in external TAI64N format, and a space.  Replaces the @ and the
   timestamp with fractional seconds since epoch (1970-01-01 00:00:00 UTC).
   The input time format is the format written by tai64n and multilog.  The
   output time format is expected by qmailanalog. */

#include <stdio.h>

/* Read a TAI64N external format timestamp from stdin and write fractional
   seconds since epoch (TAI, not UTC) to stdout.  Return the character after
   the timestamp. */
int
decode(void)
{
    int c;
    unsigned long u;
    unsigned long seconds = 0;
    unsigned long nanoseconds = 0;

    while ((c = getchar()) != EOF) {
        u = c - '0';
        if (u >= 10) {
            u = c - 'a';
            if (u >= 6) break;
            u += 10;
        }
        seconds <<= 4;
        seconds += nanoseconds >> 28;
        nanoseconds &= 0xfffffff;
        nanoseconds <<= 4;
        nanoseconds += u;
    }
    seconds -= 4611686018427387914ULL;
    printf("%lu.%lu ", seconds, nanoseconds);
    return c;
}


int
main(void)
{
    int c;
    unsigned long seconds;
    unsigned long nanoseconds;

    while ((c = getchar()) != EOF) {
        if (c == '@') c = decode();
        while (c != EOF) {
            putchar(c);
            if (c == '\n') break;
            c = getchar();
        }
    }
}





Hello!
I have downloaded qtools package. How can I use this with qmail. Can anyone
tell me in comprehensive way or documetation site?

TIA
manoj





HI

I�ve got mny qmail to work but then I stopped it and started it with
tcpserver again and it won�t work. When i read the FAQ and doc they only
give examples how to start qmail-smptd directly via tcpserver, but I need to
start it via the /var/qmail/rc which starts qmail with procmail as local
deliverer.

How do I do that?


/peter


Reply via email to