qmail Digest 28 Sep 2000 10:00:00 -0000 Issue 1137

Topics (messages 49499 through 49606):

Re: tcpserver
        49499 by: Oliver Koch
        49513 by: Charles Cazabon

qmail logging
        49500 by: reach_prashant.zeenext.com
        49542 by: Dave Sill

Re: Problem receiving
        49501 by: Dave Sill

Re: Concurrency Remote up to 500
        49502 by: Dave Sill

Re: Remote_host_said:_450_Client_host_rejected:_cannot_find_your_hostname
        49503 by: Jan Knepper
        49504 by: Jan Knepper
        49508 by: Dave Sill
        49509 by: Jan Knepper
        49510 by: markd.bushwire.net
        49521 by: Raul Miller
        49523 by: Jan Knepper
        49528 by: Gerry Boudreaux
        49530 by: markd.bushwire.net
        49533 by: mark
        49544 by: Jan Knepper
        49575 by: Greg White

Re: daemontools
        49505 by: Dave Sill
        49511 by: Vince Vielhaber

File attachment quota
        49506 by: jim
        49507 by: Petr Novotny

help about qmail
        49512 by: Andres Fernando Saieh Rodriguez

Install DB library
        49514 by: Allama Hicham
        49515 by: Charles Cazabon

Unable to read controls
        49516 by: Jonathan Fanti
        49520 by: Charles Cazabon
        49524 by: Jonathan Fanti
        49527 by: Charles Cazabon
        49529 by: Petr Novotny
        49531 by: markd.bushwire.net
        49532 by: Jonathan Fanti
        49535 by: Bruce Guenter
        49536 by: Charles Cazabon
        49540 by: Ben Beuchler

VSM
        49517 by: Kunal Uskaikar
        49518 by: Magnus Bodin
        49522 by: Peter Green
        49526 by: Magnus Bodin

Re: Mypoints.com is not nice to us qmail admins
        49519 by: Chris K. Young

Re: How set ONLY Mailbox work mode in qmail?
        49525 by: Michail A.Baikov
        49541 by: Dave Sill
        49567 by: Michail A.Baikov
        49569 by: Dave Sill
        49571 by: Charles Cazabon
        49604 by: Michail A.Baikov

Anti-Spam domains+users list
        49534 by: Enrique Vadillo

SSL in Qmail
        49537 by: dG
        49538 by: markd.bushwire.net
        49539 by: Dave Sill

Re: Mail routing
        49543 by: Dave Sill
        49546 by: Daniel Augusto Fernandes
        49547 by: Ihnen, David
        49548 by: Daniel Augusto Fernandes
        49552 by: Ihnen, David
        49555 by: markd.bushwire.net
        49558 by: Alexander Jernejcic
        49564 by: Daniel Augusto Fernandes
        49570 by: markd.bushwire.net
        49573 by: Daniel Augusto Fernandes
        49574 by: Peter van Dijk
        49577 by: markd.bushwire.net
        49578 by: Daniel Augusto Fernandes
        49580 by: Peter van Dijk
        49583 by: Daniel Augusto Fernandes
        49587 by: Ihnen, David
        49588 by: Daniel Augusto Fernandes

Re: qmail behind a firewall
        49545 by: Dave Sill
        49557 by: Jos Okhuijsen

tcpserver  SESSIONLIMIT
        49549 by: reach_prashant.zeenext.com
        49551 by: Peter van Dijk
        49553 by: Dave Sill

Has anybody used qmail with MS SQL 7 ?
        49550 by: Sebastian Pilafis
        49561 by: Sebastian Pilafis

Re: Some users not getting mail with Outlook
        49554 by: Alexander Jernejcic

tcpserver  SESSIONLIMIT (fwd)
        49556 by: reach_prashant.zeenext.com
        49559 by: Dave Sill
        49560 by: reach_prashant.zeenext.com
        49562 by: reach_prashant.zeenext.com
        49565 by: Dave Sill

badmailfrom not working..
        49563 by: Enrique Vadillo
        49566 by: markd.bushwire.net

Re: Pop3 Timeout problems
        49568 by: Sean Peterson

Need expert's ADVICE !;)
        49572 by: Mark Lo
        49579 by: Gary Barnett

qmail-inject
        49576 by: Jose de Jesus Rodriguez Ramirez
        49584 by: Charles Cazabon
        49585 by: Graphic Rezidew
        49586 by: Ihnen, David
        49589 by: markd.bushwire.net
        49601 by: Jon Rust

RH 7.0 surprises
        49581 by: Mate Wierdl

qmail with MS SQL 7...  help!...  please?...
        49582 by: Sebastian Pilafis

Message-Id does not appear in bounce messages
        49590 by: Alexey Rodriguez Yakushev
        49591 by: Peter van Dijk

.qmail proliferation
        49592 by: Uri Guttman
        49594 by: Vern Hart
        49603 by: Uri Guttman

procmail error
        49593 by: Ramzi Abdallah

Unable to log into Vpopmail
        49595 by: Gadoury
        49596 by: dG

dash addresses failing
        49597 by: Aaron Goldblatt
        49599 by: Alexander Pennace

Re: Internal DNS issues/550 cannot route to sender
        49598 by: Raul Miller

Re: Outlook 'server pushed' mail notification
        49600 by: Raul Miller

Hotmail - We all know it, here's the proof
        49602 by: Brett Randall

solved : limiting max connection from same IP
        49605 by: reach_prashant.zeenext.com

Stack Smashing
        49606 by: Doug Preston

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]


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


On Mit, 27 Sep 2000, Jonathan Fanti wrote:
> I'm trying to do selective relaying and have setup a rule for TCP
> server:
> 
> 127.0.0.1:allow,RELAYCLIENT=""
> 213.86.7.:allow,RELAYCLIENT=""
> :allow
> 
> then I start tcpserver using this command in the qmail-smtpd run file:
> 
> /usr/bin/tcpserver -v -p -x /etc/tcp.smptp.cdb \
> -u $QMAILUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
> 
> But when It starts I get an error, 
> 
> tcpserver: fatal: no IP address for 502
> 
> Any ideas where I am going wrong?

I can only guess, but maybe you should check your $QMAILUID and
$NOFILESGID. Is 502 the GID for the group nofiles? Does
$NOFILESGID contain more than that number?

hih,

-- 
Oliver Koch                                  Systems Administrator
Computational Mathematics & Optimization     Institute of Analysis
Johannes Kepler University Linz                            Austria
[EMAIL PROTECTED]                Tel. +43 70 2469 9166




Oliver Koch <[EMAIL PROTECTED]> wrote:
> On Mit, 27 Sep 2000, Jonathan Fanti wrote:
> > I'm trying to do selective relaying and have setup a rule for TCP
> > server:
[...] 
> > then I start tcpserver using this command in the qmail-smtpd run file:
> > 
> > /usr/bin/tcpserver -v -p -x /etc/tcp.smptp.cdb \

In addition to Oliver's suggestion, ensure you are actually recompiling the
.cdb file from your rules file; just changing the rules file will be
insufficient, unless you're cron'ing its regeneration.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------







    hello friends 


   how can i log  everything handled by qmail-smtpd  , qmail-send
,qmail-qmqpd   and  auth_pop  for qmail-pop3d authentication failures  

     i am running qmail-smtpd under tcpserver also installed daemons tools 
 ,  but was't able to find  proper docs  on how to configure  ,
all these tools to get complete log related mail ativities 


    how can i restrict Max failed login attampts  to 3 , i am using
auth_pop  along with qmail_pop3d 


thanks and regards 
Prashant Desai 








[EMAIL PROTECTED] wrote:

>   how can i log  everything handled by qmail-smtpd  , qmail-send
>,qmail-qmqpd   and  auth_pop  for qmail-pop3d authentication failures

qmail-smtpd and qmail-qmqpd don't log anything. There are patches to
add logging to qmail-smtpd. qmail-send logs to standard
output. There's only one level of logging: everything. I don't know
what auth_pop is. I can't remember if qmail-pop3d logs anything, but I 
don't think it does. tcpserver can be made to log all connection
attempts.

>     i am running qmail-smtpd under tcpserver also installed daemons tools 
> ,  but was't able to find  proper docs  on how to configure  ,
>all these tools to get complete log related mail ativities 

The LWQ installation logs everything.

>    how can i restrict Max failed login attampts  to 3 , i am using
>auth_pop  along with qmail_pop3d 

You'd have to modify your checkpassword utility to do this.

-Dave




Andy Bradford <[EMAIL PROTECTED]> wrote:

>Thus said Kari Suomela on Tue, 26 Sep 2000 14:55:33 EST:
>
>> I don't have a dot-qmail at all! Should I have one, where, and what 
>> should it contain?
>
>If you aren't using any dot-qmail (as in a .qmail-something file) then 
>how is it possible that qmail is trying to deliver to:
>
>< | /var/qmail/bin/fastforward -d [EMAIL PROTECTED]>
>
>This looks suspiciously like you have placed a directive in a dot-qmail 
>file somewhere to pipe the mail to a program.  As I suggested before, I 
>suspect that you have an extra space before the | in your file.

I's also look at the defaultdelivery parameter on the qmail-start
command line.

-Dave




"Ricardo Albano" <[EMAIL PROTECTED]> wrote:

>Simple question: Any here have qmail-1.03 running and get more than 500
>"qmail-remote" proceses at same time ?

The limit on my list server is 500, and I routinely hit it. It's an
old 2-processor Alpha server running Tru64 UNIX.

-Dave




Greg White wrote:

> Just to confirm -- Mark has probably hit the nail on the head with this
> one:
>
> root@frodo:~# dig -x 63.105.9.34
>
> ; <<>> DiG 8.2 <<>> -x
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;;      34.9.105.63.in-addr.arpa, type = ANY, class = IN

OK, let me try that.

> IMHO, any competent DNS admin should _never_, _ever_ permit _any_
> address he is responsible for to be answered NXDOMAIN for a PTR record.
> This is just unacceptably sloppy DNS admin. Lots of DNS admins do it,
> but then again lots of DNS admins run and like M$ DNS or BIND ;).
>
> Grrrrrr. Incompetent DNS administration at this level really yanks my
> chain...

I do run bind and set DNS up for the first time.
What should I change, remove or add in your opinion?

Jan

--
Jan Knepper
Smartsoft, LLC
88 Petersburg Road
Petersburg, NJ 08270
U.S.A.

http://www.smartsoft.cc/
http://www.mp3.com/pianoprincess

Phone : 609-628-4260
FAX   : 609-628-1267
FAX   : 303-845-6415 http://www.fax4free.com/

Phone : 020-873-3837 http://www.xoip.nl/ (Dutch)
FAX   : 020-873-3837 http://www.xoip.nl/ (Dutch)

In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <[EMAIL PROTECTED]>






[EMAIL PROTECTED] wrote:

> Actually, on looking at the Postfix docs I see that they probably have
> reject_unknown_client set in their configuration, which is documented as:
>
>         "Reject the request when the client IP address has no PTR record in
>          the DNS. The unknown_client_reject_code parameter specifies the
>          response code to rejected requests (default: 450)."
>
> And your IP is in that category (thanks for telling us what it is, it made it
> easy to check).
>
> You have two choices. Get your ISP to add a PTR record for your IP(s) or convince
> the folks at Freebsd.org that their config needs tweaking. It's a not uncommon
> anti-UCE setting, but it's tough.

Well, that's going to be the first choice, as I do my own DNS. But only did it the 
first time.
What would be missing where in the DNS setup to cause this?

ns0.digitaldaemon.com 63.105.9.35
ns1.digitaldaemon.com 63.105.9.36

Thanks!
Jan



--
Jan Knepper
Smartsoft, LLC
88 Petersburg Road
Petersburg, NJ 08270
U.S.A.

http://www.smartsoft.cc/
http://www.mp3.com/pianoprincess

Phone : 609-628-4260
FAX   : 609-628-1267
FAX   : 303-845-6415 http://www.fax4free.com/

Phone : 020-873-3837 http://www.xoip.nl/ (Dutch)
FAX   : 020-873-3837 http://www.xoip.nl/ (Dutch)

In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <[EMAIL PROTECTED]>






Jan Knepper <[EMAIL PROTECTED]> wrote:

>I do run bind and set DNS up for the first time.
>What should I change, remove or add in your opinion?

Remove bind, add djbdns[1]. 1/2 :-)

-Dave

Footnotes: 
[1]  http://cr.yp.to/djbdns.html




Dave Sill wrote:

> Jan Knepper <[EMAIL PROTECTED]> wrote:
> >I do run bind and set DNS up for the first time.
> >What should I change, remove or add in your opinion?
> Remove bind, add djbdns[1]. 1/2 :-)

OK, but what would that mean to the config files?

> Footnotes:
> [1]  http://cr.yp.to/djbdns.html

Jan



--
Jan Knepper
Smartsoft, LLC
88 Petersburg Road
Petersburg, NJ 08270
U.S.A.

http://www.smartsoft.cc/
http://www.mp3.com/pianoprincess

Phone : 609-628-4260
FAX   : 609-628-1267
FAX   : 303-845-6415 http://www.fax4free.com/

Phone : 020-873-3837 http://www.xoip.nl/ (Dutch)
FAX   : 020-873-3837 http://www.xoip.nl/ (Dutch)

In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <[EMAIL PROTECTED]>






On Wed, Sep 27, 2000 at 08:44:24AM -0400, Jan Knepper wrote:
> Greg White wrote:
> 
> > Just to confirm -- Mark has probably hit the nail on the head with this
> > one:
> >
> > root@frodo:~# dig -x 63.105.9.34
> >
> > ; <<>> DiG 8.2 <<>> -x
> > ;; res options: init recurs defnam dnsrch
> > ;; got answer:
> > ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4
> > ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> > ;; QUERY SECTION:
> > ;;      34.9.105.63.in-addr.arpa, type = ANY, class = IN
> 
> OK, let me try that.
> 
> > IMHO, any competent DNS admin should _never_, _ever_ permit _any_
> > address he is responsible for to be answered NXDOMAIN for a PTR record.
> > This is just unacceptably sloppy DNS admin. Lots of DNS admins do it,
> > but then again lots of DNS admins run and like M$ DNS or BIND ;).
> >
> > Grrrrrr. Incompetent DNS administration at this level really yanks my
> > chain...
> 
> I do run bind and set DNS up for the first time.
> What should I change, remove or add in your opinion?

Greg isn't talking about your DNS he's talking about the people who
manage the reverse DNS, the one that answers for 63.105.9.34 which looks
to be uunet. Leastwise they're responsible for 63.105.

If it's uunet, they have to fix their DNS by either adding a reverse entry
or delegating name serving of your IP(s) to you.

As I said previously, contact your ISP to get them to fix it or contact the
folks at Freebsd.org. It's currently not a problem you can fix at your end.


Regards.




On Wed, Sep 27, 2000 at 09:12:25AM -0400, Jan Knepper wrote:
> OK, but what would that mean to the config files?

You'd have to recreate them.  djbdns config files are much, much simpler
than bind's.

Unfortunately, that also means that they're different.

On the positive side, creating all the config files you need for djbdns
is about as hard as creating the reverse zone files you need for your
ptr records.  On the negative side, you'll have to do a bit more work
up front, to install djbdns and daemontools.  On the positive side,
you'll be saving yourself a lot of work in the long run.

If you don't want to install djbdns (and there's a mailing list for that:
[EMAIL PROTECTED]), what you have to do with bind is create
another zone (or perhaps multiple zones) for your ptr entries, and
populate it with ptr records.  Your bind docs should tell you the details.

[Final aside: ptr records can [but don't have to] give identifying
information, but the real reason that some won't accept mail from a
machine without ptr records is that you have to know a little bit about
how dns works before you set them up.  And, lots of spammers don't know
how about dns.  So, basically, they're an acid test that some spammers
don't pass.]

-- 
Raul




[EMAIL PROTECTED] wrote:

> > I do run bind and set DNS up for the first time.
> > What should I change, remove or add in your opinion?
>
> Greg isn't talking about your DNS he's talking about the people who
> manage the reverse DNS, the one that answers for 63.105.9.34 which looks
> to be uunet. Leastwise they're responsible for 63.105.

I certainly run via a UUnet connection, but I think I am responsable for
63.105.9.32/27
So whatever UUnet's DNS say's should come from my setup right?

> If it's uunet, they have to fix their DNS by either adding a reverse entry
> or delegating name serving of your IP(s) to you.

I thought before I even wrote the first message that the problem had to do with
reverse DNS as I think hub.FreeBSD.org is trying to find the host name for
63.105.9.34. That by itself should be defined in my DNS setup as far as I know.

> As I said previously, contact your ISP to get them to fix it or contact the
> folks at Freebsd.org. It's currently not a problem you can fix at your end.

Does this change anything or is it still UUnet's responsability?

Jan



--
Jan Knepper
Smartsoft, LLC
88 Petersburg Road
Petersburg, NJ 08270
U.S.A.

http://www.smartsoft.cc/
http://www.mp3.com/pianoprincess

Phone : 609-628-4260
FAX   : 609-628-1267
FAX   : 303-845-6415 http://www.fax4free.com/

Phone : 020-873-3837 http://www.xoip.nl/ (Dutch)
FAX   : 020-873-3837 http://www.xoip.nl/ (Dutch)

In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <[EMAIL PROTECTED]>






At 11:31 AM 9/27/2000 -0400, Jan Knepper wrote:
>[EMAIL PROTECTED] wrote:
>
> > > I do run bind and set DNS up for the first time.
> > > What should I change, remove or add in your opinion?
> >
> > Greg isn't talking about your DNS he's talking about the people who
> > manage the reverse DNS, the one that answers for 63.105.9.34 which looks
> > to be uunet. Leastwise they're responsible for 63.105.
>
>I certainly run via a UUnet connection, but I think I am responsable for
>63.105.9.32/27
>So whatever UUnet's DNS say's should come from my setup right?

According to ARIN, The block is SWIP'd to you, but you do not
have reverse delegated to you, therefore it is still up to UUNet
to handle reverse DNS for you:

whois -h arin.net NETBLK-UU-63-105-9-32
Smartsoft, LLC (NETBLK-UU-63-105-9-32)
    88 Petersburg Road
    Petersburg, NJ 08270
    US

    Netname: UU-63-105-9-32
    Netblock: 63.105.9.32 - 63.105.9.63

    Coordinator:
       Knepper, Jan  (JK795-ARIN)  [EMAIL PROTECTED]
       609-628-4260

    Record last updated on 03-Jun-2000.
    Database last updated on 27-Sep-2000 06:52:42 EDT.

The ARIN Registration Services Host contains ONLY Internet
<snip>

(There are no Domain System inverse mapping statements there)

Hope this helps.

Gerry Boudreaux






On Wed, Sep 27, 2000 at 11:31:22AM -0400, Jan Knepper wrote:
> [EMAIL PROTECTED] wrote:
> 
> > > I do run bind and set DNS up for the first time.
> > > What should I change, remove or add in your opinion?
> >
> > Greg isn't talking about your DNS he's talking about the people who
> > manage the reverse DNS, the one that answers for 63.105.9.34 which looks
> > to be uunet. Leastwise they're responsible for 63.105.
> 
> I certainly run via a UUnet connection, but I think I am responsable for
> 63.105.9.32/27
> So whatever UUnet's DNS say's should come from my setup right?

Well possibly. But uunet have to change their DNS to say that your DNS is
the authoritative server for that range of addresses. They haven't done that bit.

Just as the .cc people had to add an entry to say that your name servers are
responsible for smartsoft.cc so do the 63.105.9 people have to add an entry to say
that your name servers are responsible for 63.105.9.32/27


> > If it's uunet, they have to fix their DNS by either adding a reverse entry
> > or delegating name serving of your IP(s) to you.
> 
> I thought before I even wrote the first message that the problem had to do with
> reverse DNS as I think hub.FreeBSD.org is trying to find the host name for
> 63.105.9.34. That by itself should be defined in my DNS setup as far as I know.


> 
> > As I said previously, contact your ISP to get them to fix it or contact the
> > folks at Freebsd.org. It's currently not a problem you can fix at your end.
> 
> Does this change anything

No.

> or is it still UUnet's responsability?

Yes.


Regards.




He needs to email [EMAIL PROTECTED] and ask for an RFC2317 style reverse
delegation.

Regards,

Mark

[EMAIL PROTECTED] wrote:
> 
> On Wed, Sep 27, 2000 at 11:31:22AM -0400, Jan Knepper wrote:
> > [EMAIL PROTECTED] wrote:
> >
> > > > I do run bind and set DNS up for the first time.
> > > > What should I change, remove or add in your opinion?
> > >
> > > Greg isn't talking about your DNS he's talking about the people who
> > > manage the reverse DNS, the one that answers for 63.105.9.34 which looks
> > > to be uunet. Leastwise they're responsible for 63.105.
> >
> > I certainly run via a UUnet connection, but I think I am responsable for
> > 63.105.9.32/27
> > So whatever UUnet's DNS say's should come from my setup right?
> 
> Well possibly. But uunet have to change their DNS to say that your DNS is
> the authoritative server for that range of addresses. They haven't done that bit.
> 
> Just as the .cc people had to add an entry to say that your name servers are
> responsible for smartsoft.cc so do the 63.105.9 people have to add an entry to say
> that your name servers are responsible for 63.105.9.32/27
> 
> > > If it's uunet, they have to fix their DNS by either adding a reverse entry
> > > or delegating name serving of your IP(s) to you.
> >
> > I thought before I even wrote the first message that the problem had to do with
> > reverse DNS as I think hub.FreeBSD.org is trying to find the host name for
> > 63.105.9.34. That by itself should be defined in my DNS setup as far as I know.
> 
> >
> > > As I said previously, contact your ISP to get them to fix it or contact the
> > > folks at Freebsd.org. It's currently not a problem you can fix at your end.
> >
> > Does this change anything
> 
> No.
> 
> > or is it still UUnet's responsability?
> 
> Yes.
> 
> Regards.

-- 

mark                [EMAIL PROTECTED]
                      877 227 4330




OK guys!

Thanks for the help, I just send the following message to UUnet. I hope they will react
soon!

Don't worry, be Kneppie!
Jan



--
Jan Knepper
Smartsoft, LLC
88 Petersburg Road
Petersburg, NJ 08270
U.S.A.

http://www.smartsoft.cc/
http://www.mp3.com/pianoprincess

Phone : 609-628-4260
FAX   : 609-628-1267
FAX   : 303-845-6415 http://www.fax4free.com/

Phone : 020-873-3837 http://www.xoip.nl/ (Dutch)
FAX   : 020-873-3837 http://www.xoip.nl/ (Dutch)

In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <[EMAIL PROTECTED]>



Hi,

I am experiencing some problems with sending e-mail to certain
domains.
It turns out that their reverse lookup (DNS) does not respond
properly. I have checked my setup, but it seems that there is
something wrong on the UUnet end of the setup.

Please could you make sure you've setup a RFC2317 style reverse
delegation for 63.105.9.32/27 since I do run my own DNS.

Thanks!
Jan



--
Jan Knepper
Smartsoft, LLC
88 Petersburg Road
Petersburg, NJ 08270
U.S.A.

http://www.smartsoft.cc/
http://www.mp3.com/pianoprincess

Phone : 609-628-4260
FAX   : 609-628-1267
FAX   : 303-845-6415 http://www.fax4free.com/

Phone : 020-873-3837 http://www.xoip.nl/ (Dutch)
FAX   : 020-873-3837 http://www.xoip.nl/ (Dutch)

In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <[EMAIL PROTECTED]>








Raul Miller wrote:
> 
> On Wed, Sep 27, 2000 at 09:12:25AM -0400, Jan Knepper wrote:
> > OK, but what would that mean to the config files?
> 
> You'd have to recreate them.  djbdns config files are much, much simpler
> than bind's.
> 
> Unfortunately, that also means that they're different.
> 
> On the positive side, creating all the config files you need for djbdns
> is about as hard as creating the reverse zone files you need for your
> ptr records.  On the negative side, you'll have to do a bit more work
> up front, to install djbdns and daemontools.  On the positive side,
> you'll be saving yourself a lot of work in the long run.
> 
> If you don't want to install djbdns (and there's a mailing list for that:
> [EMAIL PROTECTED]), what you have to do with bind is create
> another zone (or perhaps multiple zones) for your ptr entries, and
> populate it with ptr records.  Your bind docs should tell you the details.
> 
> [Final aside: ptr records can [but don't have to] give identifying
> information, but the real reason that some won't accept mail from a
> machine without ptr records is that you have to know a little bit about
> how dns works before you set them up.  And, lots of spammers don't know
> how about dns.  So, basically, they're an acid test that some spammers
> don't pass.]
> 
> --
> Raul

Actually, the ISP had to delegate the reverse IP's, or the reverse zone,
and it appears that they have done this as of today, at least partially:

root@frodo:~# dig -x 63.105.9.34

; <<>> DiG 8.2 <<>> -x
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;      34.9.105.63.in-addr.arpa, type = ANY, class = IN

;; ANSWER SECTION:
34.9.105.63.in-addr.arpa.  0S IN CNAME  34.32.9.105.63.in-addr.arpa.
(partial dig results).

However, the CNAME in the answer is invalid:

root@frodo:~# dig any 34.32.9.105.63.in-addr.arpa  @auth100.ns.uu.net

; <<>> DiG 8.2 <<>> any 34.32.9.105.63.in-addr.arpa @auth100.ns.uu.net
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 6
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;      34.32.9.105.63.in-addr.arpa, type = ANY, class = IN

;; AUTHORITY SECTION:
32.9.105.63.in-addr.arpa.  6H IN SOA  auth100.ns.uu.net.
hostmaster.uu.net. (
(partial dig output).

Still pretty messed up... Maybe they're just preparing to delegate the
zone, but now instead of answering NXDOMAIN for the first PTR record,
they're answering with a CNAME that resolves to NXDOMAIN....

GW




Vern Hart <[EMAIL PROTECTED]> wrote:

>Yesterday, Ben Beuchler wrote:
>> 
>> I recommend whoever it is that is doing the lovely qmail shirts (I'll be
>> ordering mine shortly!) should do one that says "What Do The Logs
>> Say?(tm)".  I know I would buy one...
>
>I did a little research to find the true attribution of this phrase.
>The first person to mention that it is a trademark was Dave Sill:
>
>  http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/04/msg00272.html

The trademark bit was a joke, of course.

>There was a message that attributed a 1998 copyright to Dave Sill:
>
>  http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/08/msg01417.html

And I think he just pulled that out of ... thin air.

>So, how about this:  Shirt front, small on right side:  the qmail
>dolphin with http://lwq.w3.to and/or http://qmail.org under it.  On
>the back, the dolphin (bigger) with this quote under it:
>
>   What Do The Logs Say?(tm)
>     -- Dave Sill, Life with qmail
>
>(with various font sizes as appropriate)
>
>Thoughts?  Objections?  Contentions?

It doesn't seem right to attribute it to LWQ if it's not in LWQ.

I use the lwq.w3.to URL because it's short. Do people find the pop-up
ad annoying? If so, I could set up http://lwq.sill.org to redirect to
http://web.infoave.net/~dsill/lwq. In fact, I think I'll do that
anyway[1]. Unfortunately, sill.org sits on a 28.8K dialup, so I can't
serve LWQ (in volume) directly. Maybe someday I'll get decent
connectivity.[2]

-Dave

Footnotes: 
[1]  Anyone know how to do that off the top of their head?
[2]  http://www.starband.com/, perhaps?




On Wed, 27 Sep 2000, Dave Sill wrote:

> ad annoying? If so, I could set up http://lwq.sill.org to redirect to
> http://web.infoave.net/~dsill/lwq. In fact, I think I'll do that
> anyway[1]. Unfortunately, sill.org sits on a 28.8K dialup, so I can't
> serve LWQ (in volume) directly. Maybe someday I'll get decent
> connectivity.[2]
> 
> -Dave
> 
> Footnotes: 
> [1]  Anyone know how to do that off the top of their head?

This should work.  The number (3 in this case) means to wait 3 seconds
before redirecting.  Set it to 0 to go immediately.  This goes in the
index.html file at lwq.sill.org

<meta HTTP-EQUIV=Refresh CONTENT="3;URL=http://web.infoave.net/~dsill/lwq">

> [2]  http://www.starband.com/, perhaps?

Aren't they teaming up with msn?  Also aren't they going to be windoze
interface only?  

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







Hi guys,

Is there anyway I can limit the file attachment size for my qmail clients?
I wouldn't want anyone trying to send the first half of Episode I mpeg.
I've read the many pages of documents and I might have overlooked that part
if it's there, but I don't remember seeing it.

Tanx

Jim T.





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

On 27 Sep 2000, at 8:56, jim wrote:

> Is there anyway I can limit the file attachment size for my qmail
> clients?

Why attachment? Why not the whole e-mail? Use 
control/databytes, plus perhaps DATABYTES on per-IP basis.

man qmail-smtpd


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.2 -- QDPGP 2.61a
Comment: http://community.wow.net/grt/qdpgp.html

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




hi, i use qmail in my linux redhat 6.2 server  and i want to know about php or perl 
procedures for imap and pop3(qmail pop3). 

thanks....


Get your FREE Email and Voicemail at Lycos Communications at
http://comm.lycos.com




Hi everyone,
I'd like to Install DB library, but when I want to configure it, I have
a message like
"missing strip, No strip utility found"
Where can I found these "strip utility"?
Thanks,
Allama;





Allama Hicham <[EMAIL PROTECTED]> wrote:
> I'd like to Install DB library, but when I want to configure it, I have
> a message like
> "missing strip, No strip utility found"
> Where can I found these "strip utility"?

strip removes debugging symbols from binaries; if you're running Linux, it
should be in the binutils package, I think.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




Hi, 

After getting tcpserver working (thanks all for the help!), I have
started qmail.. I think!
If I look at the log for qmail-send I it is full of the error "Alert:
cannot start: unable to read controls!"

This might be a silly question, but I have checked and I do have all the
required files in my /var/qmail/control dir.

Any help would be most appreciated!

Thanks,

Jon.
-- 
ICMP - The protocol that likes to go: PING!




Jonathan Fanti <[EMAIL PROTECTED]> wrote:
> 
> If I look at the log for qmail-send I it is full of the error "Alert:
> cannot start: unable to read controls!"
> 
> This might be a silly question, but I have checked and I do have all the
> required files in my /var/qmail/control dir.

Are you sure?  If there wasn't a problem, you wouldn't see this error.  What is
the output of
        `ls -ld / /var /var/qmail /var/qmail/control /var/qmail/control/*` ?

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




Here is the output:


drwxr-xr-x   18 root     root         4096 Sep 26 10:42 /
drwxr-xr-x   22 root     root         4096 Sep 26 10:36 /var
drwxr-xr-x   13 root     qmail        4096 Sep 26 17:55 /var/qmail
drw-r--r--    2 qmaill   qmail        4096 Sep 25 17:03
/var/qmail/control
-rw-r--r--    1 root     root           11 Sep 25 16:47
/var/qmail/control/boun$
-rw-r--r--    1 root     root            8 Sep 25 16:51
/var/qmail/control/data$
-rw-r--r--    1 root     root           16 Sep 26 09:34
/var/qmail/control/defa$
-rw-r--r--    1 root     root           16 Sep 26 09:34
/var/qmail/control/defa$
-rw-r--r--    1 root     root           16 Sep 25 16:53
/var/qmail/control/doub$
-rw-r--r--    1 root     root           11 Sep 25 16:53
/var/qmail/control/doub$
-rw-r--r--    1 root     root           16 Sep 25 16:55
/var/qmail/control/helo$
-rw-r--r--    1 root     root           92 Sep 26 09:59
/var/qmail/control/loca$
-rw-r--r--    1 root     root           16 Sep 25 17:50
/var/qmail/control/me
-rw-r--r--    1 root     root           11 Sep 25 17:50
/var/qmail/control/plus$
-rw-r--r--    1 root     root           94 Sep 26 09:59
/var/qmail/control/rcpt$
-rw-r--r--    1 root     root           49 Sep 25 16:44
/var/qmail/control/smpt$

Okay, so I couldn't copy it all, but you get the idea ;]

I see where this is going, I think that maybe qmail has to have
ownership of all the directories heading down to the control files? Am I
on the right road?

Jon.

Charles Cazabon wrote:
> 
> Jonathan Fanti <[EMAIL PROTECTED]> wrote:
> >
> > If I look at the log for qmail-send I it is full of the error "Alert:
> > cannot start: unable to read controls!"
> >
> > This might be a silly question, but I have checked and I do have all the
> > required files in my /var/qmail/control dir.
> 
> Are you sure?  If there wasn't a problem, you wouldn't see this error.  What is
> the output of
>         `ls -ld / /var /var/qmail /var/qmail/control /var/qmail/control/*` ?
> 
> Charles
> --
> -----------------------------------------------------------------------
> Charles Cazabon                            <[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------

-- 
ICMP - The protocol that likes to go: PING!




Jonathan Fanti <[EMAIL PROTECTED]> wrote:
> Here is the output:
[...] 
> drwxr-xr-x   18 root     root         4096 Sep 26 10:42 /
> drwxr-xr-x   22 root     root         4096 Sep 26 10:36 /var
> drwxr-xr-x   13 root     qmail        4096 Sep 26 17:55 /var/qmail
> drw-r--r--    2 qmaill   qmail        4096 Sep 25 17:03
> /var/qmail/control

There's your problem.  Nobody can list the contents of /var/qmail/control,
because the execute bits aren't set.  Do a `chmod 755 /var/qmail/control`
and everything should work.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




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

On 27 Sep 2000, at 16:35, Jonathan Fanti wrote:

> drw-r--r--    2 qmaill   qmail        4096 Sep 25 17:03
> /var/qmail/control

chmod a+x /var/qmail/control
(Why is /var/qmail/control owned by qmaill, anyway? 
Compromising the logger compromises your /var/qmail/control, i.e. 
compromises the whole mail system!
chown root /var/qmail/control)

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.2 -- QDPGP 2.61a
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOdIJxVMwP8g7qbw/EQIxWgCgk5Ojq5nIbeQ44oFHwfmAJ/+Vs+UAnA3D
cIM8/v9aEkxas1DVdtpM+4q2
=7Lni
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




On Wed, Sep 27, 2000 at 04:35:15PM +0100, Jonathan Fanti wrote:
> Here is the output:
> 
> 
> drwxr-xr-x   18 root     root         4096 Sep 26 10:42 /
> drwxr-xr-x   22 root     root         4096 Sep 26 10:36 /var
> drwxr-xr-x   13 root     qmail        4096 Sep 26 17:55 /var/qmail
> drw-r--r--    2 qmaill   qmail        4096 Sep 25 17:03
> /var/qmail/control
> -rw-r--r--    1 root     root           11 Sep 25 16:47
> /var/qmail/control/boun$
> -rw-r--r--    1 root     root            8 Sep 25 16:51
> /var/qmail/control/data$
> -rw-r--r--    1 root     root           16 Sep 26 09:34
> /var/qmail/control/defa$
> -rw-r--r--    1 root     root           16 Sep 26 09:34
> /var/qmail/control/defa$
> -rw-r--r--    1 root     root           16 Sep 25 16:53
> /var/qmail/control/doub$
> -rw-r--r--    1 root     root           11 Sep 25 16:53
> /var/qmail/control/doub$
> -rw-r--r--    1 root     root           16 Sep 25 16:55
> /var/qmail/control/helo$
> -rw-r--r--    1 root     root           92 Sep 26 09:59
> /var/qmail/control/loca$
> -rw-r--r--    1 root     root           16 Sep 25 17:50
> /var/qmail/control/me
> -rw-r--r--    1 root     root           11 Sep 25 17:50
> /var/qmail/control/plus$
> -rw-r--r--    1 root     root           94 Sep 26 09:59
> /var/qmail/control/rcpt$
> -rw-r--r--    1 root     root           49 Sep 25 16:44
> /var/qmail/control/smpt$
> 
> Okay, so I couldn't copy it all,


But you should. You may have missed the very entry that's causing the problem. Charles
specifically asked for all the output. He did that for a reason. Since you don't know
what is wrong, how can you know which information is superflous?

> but you get the idea ;]

No we don't. Now we have to go thru this whole process again.


> 
> I see where this is going, I think that maybe qmail has to have
> ownership of all the directories heading down to the control files? Am I
> on the right road?

No. qmail only needs to be able to read those controls. That can be thru a variety
of permission strategies. I would actually discourage ownership by any of the qmail
uids and instead leave it similar to what you have.

How about running qmail-showctl and showing us all of the output?

How about running ls -l /var/qmail/controls and showing us all of the output 
his time?


Regards.

> 
> Jon.
> 
> Charles Cazabon wrote:
> > 
> > Jonathan Fanti <[EMAIL PROTECTED]> wrote:
> > >
> > > If I look at the log for qmail-send I it is full of the error "Alert:
> > > cannot start: unable to read controls!"
> > >
> > > This might be a silly question, but I have checked and I do have all the
> > > required files in my /var/qmail/control dir.
> > 
> > Are you sure?  If there wasn't a problem, you wouldn't see this error.  What is
> > the output of
> >         `ls -ld / /var /var/qmail /var/qmail/control /var/qmail/control/*` ?
> > 
> > Charles
> > --
> > -----------------------------------------------------------------------
> > Charles Cazabon                            <[EMAIL PROTECTED]>
> > GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> > Any opinions expressed are just that -- my opinions.
> > -----------------------------------------------------------------------
> 
> -- 
> ICMP - The protocol that likes to go: PING!





> There's your problem.  Nobody can list the contents of /var/qmail/control,
> because the execute bits aren't set.  Do a `chmod 755 /var/qmail/control`
> and everything should work.

It works! thanks very much, your a star!

Jon.

-- 
ICMP - The protocol that likes to go: PING!




On Wed, Sep 27, 2000 at 09:49:02AM -0600, Charles Cazabon wrote:
> Jonathan Fanti <[EMAIL PROTECTED]> wrote:
> > Here is the output:
> [...] 
> > drwxr-xr-x   18 root     root         4096 Sep 26 10:42 /
> > drwxr-xr-x   22 root     root         4096 Sep 26 10:36 /var
> > drwxr-xr-x   13 root     qmail        4096 Sep 26 17:55 /var/qmail
> > drw-r--r--    2 qmaill   qmail        4096 Sep 25 17:03
> > /var/qmail/control
> There's your problem.  Nobody can list the contents of /var/qmail/control,
> because the execute bits aren't set.  Do a `chmod 755 /var/qmail/control`
> and everything should work.

Just to be pedantic, The 'r' bit is for listing the directory, but the
'x' bit controls access to the files in the directory.  So, qmail would
have been able to list the files but not open them.
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature





Bruce Guenter <[EMAIL PROTECTED]> wrote:
> Just to be pedantic, The 'r' bit is for listing the directory, but the
> 'x' bit controls access to the files in the directory.  So, qmail would
> have been able to list the files but not open them.

Mea culpa.  Thanks for the correction.  I suppose I should have realized
that, as qmail shouldn't need to list files -- the filenames are hardcoded,
correct?

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




On Wed, Sep 27, 2000 at 10:41:03AM -0600, Bruce Guenter wrote:

> > There's your problem.  Nobody can list the contents of /var/qmail/control,
> > because the execute bits aren't set.  Do a `chmod 755 /var/qmail/control`
> > and everything should work.
> 
> Just to be pedantic, The 'r' bit is for listing the directory, but the
> 'x' bit controls access to the files in the directory.  So, qmail would
> have been able to list the files but not open them.

petra:~$ ls -ld testing/
dr--r--r--   2 insyte   users        4096 Sep 27 12:18 testing/
petra:~$ ls testing/
/bin/ls: testing/MegabitServiceCenter: Permission denied
petra:~$ chmod 555 testing/
petra:~$ ls -ld testing/
dr-xr-xr-x   2 insyte   users        4096 Sep 27 12:18 testing/
petra:~$ ls -l testing/
total 4
-rw-r--r--   1 insyte   users          32 Sep 27 12:18 StupidTestFile

-- 
Ben Beuchler                                         [EMAIL PROTECTED]
MAILER-DAEMON                                         (612) 321-9290 x101
Bitstream Underground                                   www.bitstream.net




I m looking out for information on VSM format , can u suggest ?




On Wed, Sep 27, 2000 at 08:40:30PM +0530, Kunal Uskaikar wrote:
>
> I m looking out for information on VSM format , can u suggest ?

qmail has no VSM format. 
What is it? 

http://www.vsm.de/ ? 
http://www.vsm.com/ ? 

http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?query=vsm



/magnus




also sprach magnus:
> On Wed, Sep 27, 2000 at 08:40:30PM +0530, Kunal Uskaikar wrote:
> >
> > I m looking out for information on VSM format , can u suggest ?
> 
> qmail has no VSM format. 
> What is it? 

He probably means /var/spool/mail/$USER format, which is referred to as vsm
in some of the qmail docs.

Kunal: I don't know where you can find information on this. However, you
probably don't want VSM format for your mail. There are far better solutions
out there, namely djb's Maildir structure.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"And the next time you consider complaining that running Lucid Emacs
19.05 via NFS from a remote Linux machine in Paraguay doesn't seem to
get the background colors right, you'll know who to thank."
(By Matt Welsh)





On Wed, Sep 27, 2000 at 11:24:16AM -0400, Peter Green wrote:
> also sprach magnus:
> > On Wed, Sep 27, 2000 at 08:40:30PM +0530, Kunal Uskaikar wrote:
> > >
> > > I m looking out for information on VSM format , can u suggest ?
> > 
> > qmail has no VSM format. 
> > What is it? 
> 
> He probably means /var/spool/mail/$USER format, which is referred to as vsm
> in some of the qmail docs.

Sorry. I forgot the smiley ;-)
 
> Kunal: I don't know where you can find information on this. However, you
> probably don't want VSM format for your mail. There are far better solutions
> out there, namely djb's Maildir structure.

I agree. But anyway:

http://qmail.x42.com/man/misc/INSTALL.vsm.txt


/magnus

--
http://x42.com/




Quoted from Eric Cox:
>                                           I figure the more 
> IPs in my RBL-style domain, the cleaner and more manageable my 
> mail queues will be...

If you use rbldns to serve your own RBL lists, its data file needs
consist of only one line:

0.0.0.0/0

This will make your mail queue very clean and manageable. :-)

        ---Chris K.
-- 
 Chris, the Young One |_ If you can't afford a backup system, you can't 
  Auckland, New Zealand |_ afford to have important data on your computer. 
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed  






> Help me please!!!
> 
> 1. I am have "old sendmail" system, and all mail found in
> /var/spool/mail/$USER (all in sendmail-like mode (mbox))
> 
> 2. I am set qmail and create Maildir directory's.
> 
> 3. But system must save all message's for every $USER in
> /var/spool/mail/$USER
> 
> 4. I am create ln -s /var/spool/mail/$USER Mailbox and every $HOME.
> 
> Problem:
> 
> 1. All messages saving in Maildir/new/....
> How automate move all message from Maildir/ to ./Mailbox ?
> 
> 2. All messages saved in ./Mailbox not visible in pop3 connection. :(
> 
> Sorry for bad english :(
> 
> Help me, please!
> 





"Michail A.Baikov" <[EMAIL PROTECTED]> wrote:

> 1. I am have "old sendmail" system, and all mail found in
> /var/spool/mail/$USER (all in sendmail-like mode (mbox))
> 
> 2. I am set qmail and create Maildir directory's.

If you need mail delivered to /var/spool/mail/$USER, then you don't
want or need Maildirs.

> 3. But system must save all message's for every $USER in
> /var/spool/mail/$USER

See INSTALL.vsm.

> 4. I am create ln -s /var/spool/mail/$USER Mailbox and every $HOME.

Why? What's looking for $HOME/Mailbox?
 
> 1. All messages saving in Maildir/new/....
> How automate move all message from Maildir/ to ./Mailbox ?

Write a script to loop through the messages and append them to the
/var/spool/mail/$USER mailbox after prefising them with "From "
lines.

> 2. All messages saved in ./Mailbox not visible in pop3 connection. :(

Wait... ./Mailbox or ./Maildir? Which POP3 daemon are you using? If
you're using one that looks in /var/spool/mail/$USER, then it won't
look in the user's home directory (unless you create a link) and the
mailbox will have to be in mbox format, not maildir format.

-Dave




Hello


> "Michail A.Baikov" <[EMAIL PROTECTED]> wrote:
>
> > 1. I am have "old sendmail" system, and all mail found in
> > /var/spool/mail/$USER (all in sendmail-like mode (mbox))
> >
> > 2. I am set qmail and create Maildir directory's.
>
> If you need mail delivered to /var/spool/mail/$USER, then you don't
> want or need Maildirs.


But qmail not work in only maildirs mode. pop3 daemon know about ONLY
Maildirs! :-(


>
> > 3. But system must save all message's for every $USER in
> > /var/spool/mail/$USER
>
> See INSTALL.vsm.


I'm don't want use other software (like sendmail,procmail,qpopper and etc),
but want be use mailbox-like style.


>
> > 4. I am create ln -s /var/spool/mail/$USER Mailbox and every $HOME.
>
> Why? What's looking for $HOME/Mailbox?

Too many capacibility parts of disk's. We must use only /var/spool/mail for
storage messages.

I'm make next (ex. for user BOB):

mkdir /var/spool/mail/bob
mkdir /var/spool/mail/bob/cur
.........................................../new
.........................................../tmp
chown bob.users /var/spool/mail/bob
chown bob.users * -R (in bob directory)
chmod 0700 /var/spool/mail/bob
etc..

in $HOME :

echo -n >.qmail
echo ./Maildir/ > .qmail
ln -s /var/spool/mail/bob Maildir

and all work, but this curved :-/

I am want use Mailbox in $HOME. And kill Maildir with /var/spool/mail/*

qmail-pop3d not work with Mailbox :-(


>
> > 1. All messages saving in Maildir/new/....
> > How automate move all message from Maildir/ to ./Mailbox ?
>
> Write a script to loop through the messages and append them to the
> /var/spool/mail/$USER mailbox after prefising them with "From "
> lines.

Sorry, not understand, source? Example of script please ;-)

>
> > 2. All messages saved in ./Mailbox not visible in pop3 connection. :(
>
> Wait... ./Mailbox or ./Maildir? Which POP3 daemon are you using? If
> you're using one that looks in /var/spool/mail/$USER, then it won't
> look in the user's home directory (unless you create a link) and the
> mailbox will have to be in mbox format, not maildir format.

./Mailbox! ;-) I am want and using qmail-pop3d.

Resume: qmail-pop3d work with ./Mailbox or no?


Michail.





"Michail A.Baikov" <[EMAIL PROTECTED]> wrote:

>But qmail not work in only maildirs mode. pop3 daemon know about ONLY
>Maildirs! :-(

qmail-pop3d only works with maildirs.

>I'm don't want use other software (like sendmail,procmail,qpopper and etc),
>but want be use mailbox-like style.

Sorry, that's not possible. You'll either need to use maildirs or
switch to a POP daemon like Solid[1].

>Too many capacibility parts of disk's. We must use only /var/spool/mail for
>storage messages.

You'll need to use /bin/mail, procmail, or some other local delivery
agent. qmail-local only delivers to $HOME.

>I'm make next (ex. for user BOB):
>
>mkdir /var/spool/mail/bob
>mkdir /var/spool/mail/bob/cur
>.........................................../new
>.........................................../tmp
>chown bob.users /var/spool/mail/bob
>chown bob.users * -R (in bob directory)
>chmod 0700 /var/spool/mail/bob
>etc..
>
>in $HOME :
>
>echo -n >.qmail
>echo ./Maildir/ > .qmail
>ln -s /var/spool/mail/bob Maildir
>
>and all work, but this curved :-/

Yeah. :-)

>I am want use Mailbox in $HOME. And kill Maildir with /var/spool/mail/*

Wait a minute...I thought you said you had to use /var/spool/mail, not 
$HOME. Which is it?

>qmail-pop3d not work with Mailbox :-(

Correct.

>> > 1. All messages saving in Maildir/new/....
>> > How automate move all message from Maildir/ to ./Mailbox ?
>>
>> Write a script to loop through the messages and append them to the
>> /var/spool/mail/$USER mailbox after prefising them with "From "
>> lines.
>
>Sorry, not understand, source? Example of script please ;-)

Something like:

  for i in `find Maildir -type f -print`; do
    echo >>/var/spool/mail/$USER
    echo "root@localhost Wed Sep 27 13:39:32 2000" >>/var/spool/mail/$USER
    sed 's/^From/>From/' $i >>/var/spool/mail/$USER
  done

Which is completely untested and likely to Kill Your Dog (tm)[2].

>Resume: qmail-pop3d work with ./Mailbox or no?

No.

So why do you want to use mbox? Maildir is superior.

-Dave

Footnotes: 
[1]  http://web.infoave.net/~dsill/lwq.html#solid

[2]  http://web.infoave.net/~dsill/lwq.html#lwq-warranty




Michail A.Baikov <[EMAIL PROTECTED]> wrote:
> >
> > If you need mail delivered to /var/spool/mail/$USER, then you don't
> > want or need Maildirs.
> 
> But qmail not work in only maildirs mode. pop3 daemon know about ONLY
> Maildirs! :-(
[...] 
> in $HOME :
> 
> echo -n >.qmail
> echo ./Maildir/ > .qmail
> ln -s /var/spool/mail/bob Maildir
> 
> and all work, but this curved :-/
> 
> I am want use Mailbox in $HOME. And kill Maildir with /var/spool/mail/*
> qmail-pop3d not work with Mailbox :-(

You're really confused here.  A Maildir is not just an mbox named "Maildir".
They're fundamentally different.  Programs which expect mail to be stored
in mbox format in /var/spool/mail/$USER will not understand a Maildir there,
which is what you're trying to accomplish above.

Yes, qmail-pop3d does not understand anything but Maildirs.  So use
qpopper instead; it can use /var/spool/mail/$USER mboxes.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




Better use link to /var/spool/mail and ONE software (?standalone). ;-)
But might be qmail-pop3d make it mbox support in future?


----- Original Message -----
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 28, 2000 12:12 AM
Subject: Re: Fw: How set ONLY Mailbox work mode in qmail?


> Michail A.Baikov <[EMAIL PROTECTED]> wrote:
> > >
> > > If you need mail delivered to /var/spool/mail/$USER, then you don't
> > > want or need Maildirs.
> >
> > But qmail not work in only maildirs mode. pop3 daemon know about ONLY
> > Maildirs! :-(
> [...]
> > in $HOME :
> >
> > echo -n >.qmail
> > echo ./Maildir/ > .qmail
> > ln -s /var/spool/mail/bob Maildir
> >
> > and all work, but this curved :-/
> >
> > I am want use Mailbox in $HOME. And kill Maildir with /var/spool/mail/*
> > qmail-pop3d not work with Mailbox :-(
>
> You're really confused here.  A Maildir is not just an mbox named
"Maildir".
> They're fundamentally different.  Programs which expect mail to be stored
> in mbox format in /var/spool/mail/$USER will not understand a Maildir
there,
> which is what you're trying to accomplish above.
>
> Yes, qmail-pop3d does not understand anything but Maildirs.  So use
> qpopper instead; it can use /var/spool/mail/$USER mboxes.
>
> Charles
> --
> -----------------------------------------------------------------------
> Charles Cazabon                            <[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------





Hi,

I used to access thru a script the anti-spam list usually found at:

        http://www.webeasy.com:8080/spam/spam_download_table 

but it hasn't been working for weeks now, do you guys know any other
updated TXT-format anti-spam list of users and domains that i can use to 
fill my badmailfrom file and block at least *some* of the spam in my qmail?

Thanks,

Enrique-




Has anyone successfully implemented  Frederik Vermeulen's patch to QMail for
SSL?  Will this patch allow a Mail Client to connect to QMail popd w/ a
secure connection? Are there any other SSL solutions for QMail?

Thanks,

David





On Wed, Sep 27, 2000 at 12:59:26PM -0500, dG wrote:
> Has anyone successfully implemented  Frederik Vermeulen's patch to QMail for
> SSL?  Will this patch allow a Mail Client to connect to QMail popd w/ a
> secure connection? Are there any other SSL solutions for QMail?

stunnel works fine and that way you need no code changes to qmail.


Regards.




dG <[EMAIL PROTECTED]> wrote:

>Has anyone successfully implemented  Frederik Vermeulen's patch to QMail for
>SSL?

Yes.

>Will this patch allow a Mail Client to connect to QMail popd w/ a
>secure connection?

No. It implements the STARTTLS command for SMTP.

>Are there any other SSL solutions for QMail?

stunnel or any other SSL wrapper will work.

-Dave




"Gustavo Zambon Rozatti" <[EMAIL PROTECTED]> wrote:

>        I have more than 500 users in a qmail server, wich are
>        conected to Internet and to our Intranet, but not all of them
>        can have Internet access. So how can I prevent some users
>        from sending and receveing any mail to/from any host other
>        then localhost?

It's not easy. To do it right, you'd have to run all your mail through 
a general filter (see qmail.faqts.com or possibly modify a spam
filter).

-Dave




Dave Sill wrote:
> 
> "Gustavo Zambon Rozatti" <[EMAIL PROTECTED]> wrote:
> 
> >        I have more than 500 users in a qmail server, wich are
> >        conected to Internet and to our Intranet, but not all of them
> >        can have Internet access. So how can I prevent some users
> >        from sending and receveing any mail to/from any host other
> >        then localhost?
> 
> It's not easy. To do it right, you'd have to run all your mail through
> a general filter (see qmail.faqts.com or possibly modify a spam
> filter).

What about a simple single firewall on that machine?

--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm)               [EMAIL PROTECTED]
GCSNet                                    http://www.gcsnet.com.br/
--------------------------------------------------------------------
                     Se voc� n�o encontra
                     o sentido das coisas
                     � porque este n�o
                     se encontra, se cria.
                                   Antoine Saint-Exup�ry




> -----Original Message-----
> From: Daniel Augusto Fernandes [mailto:[EMAIL PROTECTED]]
>
> Dave Sill wrote:
> > 
> > "Gustavo Zambon Rozatti" <[EMAIL PROTECTED]> wrote:
> > 
> > >        I have more than 500 users in a qmail server, wich are
> > >        conected to Internet and to our Intranet, but not 
> all of them
> > >        can have Internet access. So how can I prevent some users
> > >        from sending and receveing any mail to/from any host other
> > >        then localhost?
> > 
> > It's not easy. To do it right, you'd have to run all your 
> mail through
> > a general filter (see qmail.faqts.com or possibly modify a spam
> > filter).
> 
> What about a simple single firewall on that machine?

How would that work?  What rules?

David




"Ihnen, David" wrote:
> 
> > -----Original Message-----
> > From: Daniel Augusto Fernandes [mailto:[EMAIL PROTECTED]]
> >
> > Dave Sill wrote:
> > >
> > > "Gustavo Zambon Rozatti" <[EMAIL PROTECTED]> wrote:
> > >
> > > >        I have more than 500 users in a qmail server, wich are
> > > >        conected to Internet and to our Intranet, but not
> > all of them
> > > >        can have Internet access. So how can I prevent some users
> > > >        from sending and receveing any mail to/from any host other
> > > >        then localhost?
> > >
> > > It's not easy. To do it right, you'd have to run all your
> > mail through
> > > a general filter (see qmail.faqts.com or possibly modify a spam
> > > filter).
> >
> > What about a simple single firewall on that machine?
> 
> How would that work?  What rules?
> 

Well, he could set up two smtp servers in his net. One for users who are
allowed to send extern mail and other for those who are not allowed. The
first one should use SMTP-AUTH as in:
http://members.elysium.pl/brush/qmail-smtpd-auth/

So, if one annoying user change his smtp server config in the MUA he
would have to authenticate.

Then, he would have a firewall to deny port 25 packets from the second
smtp server to the internet and allow it from the first server.

Is this all ok?

--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm)               [EMAIL PROTECTED]
GCSNet                                    http://www.gcsnet.com.br/
--------------------------------------------------------------------
                     Se voc� n�o encontra
                     o sentido das coisas
                     � porque este n�o
                     se encontra, se cria.
                                   Antoine Saint-Exup�ry






> -----Original Message-----
> From: Daniel Augusto Fernandes [mailto:[EMAIL PROTECTED]]
> "Ihnen, David" wrote:
> > How would that work?  What rules?
> 
> Well, he could set up two smtp servers in his net. One for 
> users who are
> allowed to send extern mail and other for those who are not 
> allowed. The
> first one should use SMTP-AUTH as in:
> http://members.elysium.pl/brush/qmail-smtpd-auth/
> 
> So, if one annoying user change his smtp server config in the MUA he
> would have to authenticate.
> 
> Then, he would have a firewall to deny port 25 packets from the second
> smtp server to the internet and allow it from the first server.
> 
> Is this all ok?

That would work, but I think it would kinda important to tell him that he
needs two servers and authentication to keep people from futzing with it.
That didn't seem to be an assumption in the scenario.

David




On Wed, Sep 27, 2000 at 03:15:14PM -0300, Daniel Augusto Fernandes wrote:
> "Ihnen, David" wrote:
> > 
> > > -----Original Message-----
> > > From: Daniel Augusto Fernandes [mailto:[EMAIL PROTECTED]]
> > >
> > > Dave Sill wrote:
> > > >
> > > > "Gustavo Zambon Rozatti" <[EMAIL PROTECTED]> wrote:
> > > >
> > > > >        I have more than 500 users in a qmail server, wich are
> > > > >        conected to Internet and to our Intranet, but not
> > > all of them
> > > > >        can have Internet access. So how can I prevent some users
> > > > >        from sending and receveing any mail to/from any host other
> > > > >        then localhost?
> > > >
> > > > It's not easy. To do it right, you'd have to run all your
> > > mail through
> > > > a general filter (see qmail.faqts.com or possibly modify a spam
> > > > filter).
> > >
> > > What about a simple single firewall on that machine?
> > 
> > How would that work?  What rules?
> > 
> 
> Well, he could set up two smtp servers in his net. One for users who are
> allowed to send extern mail and other for those who are not allowed. The
> first one should use SMTP-AUTH as in:
> http://members.elysium.pl/brush/qmail-smtpd-auth/
> 
> So, if one annoying user change his smtp server config in the MUA he
> would have to authenticate.
> 
> Then, he would have a firewall to deny port 25 packets from the second
> smtp server to the internet and allow it from the first server.
> 
> Is this all ok?

Well it depends a lot on his setup. First off, he didn't particularly say
that all the users came in via smtp. Maybe they have shell access?

Second. The address allocation may be via DHCP or somesuch that is
not within his control.

Third. The users may use shared PCs.

Fourth. He may not have the ability to put a firewall on his machine.


I think that's why Dave said it's difficult as each avenue of entry
has to be addressed. That's not to say your idea wont work, but we need
to know the full situation - which hasn't been stated.



Regards.




hi,

> So how can I prevent some users from sending and receveing any > mail to/from any 
>host other then localhost?

the sending part could be done by selective reaying with tcp rules /tcp.smtp).
sorry, but not any good idea for the receiving part (maybe some dot-qmail fiddeling? 
dropping each mail where the sender-domain is
not your local email-domain) btw: to me it seems not quite polite anyway

;) a
==============================================
Alexander Jernejcic
email:[EMAIL PROTECTED]

begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end

==============================================





[EMAIL PROTECTED] wrote:
> 
> On Wed, Sep 27, 2000 at 03:15:14PM -0300, Daniel Augusto Fernandes wrote:
> > "Ihnen, David" wrote:
> > >
> > > > -----Original Message-----
> > > > From: Daniel Augusto Fernandes [mailto:[EMAIL PROTECTED]]
> > > >
> > > > Dave Sill wrote:
> > > > >
> > > > > "Gustavo Zambon Rozatti" <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > >        I have more than 500 users in a qmail server, wich are
> > > > > >        conected to Internet and to our Intranet, but not
> > > > all of them
> > > > > >        can have Internet access. So how can I prevent some users
> > > > > >        from sending and receveing any mail to/from any host other
> > > > > >        then localhost?
> > > > >
> > > > > It's not easy. To do it right, you'd have to run all your
> > > > mail through
> > > > > a general filter (see qmail.faqts.com or possibly modify a spam
> > > > > filter).
> > > >
> > > > What about a simple single firewall on that machine?
> > >
> > > How would that work?  What rules?
> > >
> >
> > Well, he could set up two smtp servers in his net. One for users who are
> > allowed to send extern mail and other for those who are not allowed. The
> > first one should use SMTP-AUTH as in:
> > http://members.elysium.pl/brush/qmail-smtpd-auth/
> >
> > So, if one annoying user change his smtp server config in the MUA he
> > would have to authenticate.
> >
> > Then, he would have a firewall to deny port 25 packets from the second
> > smtp server to the internet and allow it from the first server.
> >
> > Is this all ok?
> 
> Well it depends a lot on his setup. First off, he didn't particularly say
> that all the users came in via smtp. Maybe they have shell access?

Even with shell access, one would have to connect to a port 25 on the
other side to send its msgs. This would not be possible with the
firewall. These users would have to use the first server as a relay if
they want to send msgs to the net.

> 
> Second. The address allocation may be via DHCP or somesuch that is
> not within his control.
> 

My suggestion has nothing to do with the client IP adresses. All the
machine in the local net should not have access to extern port 25 but
the only relay smtp server (the first one).

> Third. The users may use shared PCs.
> 

Again, the same reply above. And they would have to authenticate in the
smtp server.

> Fourth. He may not have the ability to put a firewall on his machine.
> 

Well, there is a lot of free firewall systems avaliable in the net. He
could use an extra machine as a firewall or his own mailserver could
have two IP aliases for the smtp servers and the firewalling abilities.

> I think that's why Dave said it's difficult as each avenue of entry
> has to be addressed. That's not to say your idea wont work, but we need
> to know the full situation - which hasn't been stated.
> 
> Regards.

Ok... I was wrong saying it would be a 'simple single firewal'. But, I
think he would be able to do what he wants.

Regards
:o)

--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm)               [EMAIL PROTECTED]
GCSNet                                    http://www.gcsnet.com.br/
--------------------------------------------------------------------
                     Se voc� n�o encontra
                     o sentido das coisas
                     � porque este n�o
                     se encontra, se cria.
                                   Antoine Saint-Exup�ry




On Wed, Sep 27, 2000 at 04:28:13PM -0300, Daniel Augusto Fernandes wrote:
 
> Even with shell access, one would have to connect to a port 25 on the
> other side to send its msgs. This would not be possible with the
> firewall. These users would have to use the first server as a relay if
> they want to send msgs to the net.

Whaa? Most Unix UAs do not connect to an SMTP server directly, but submit
via qmail-inject (or more likely a sendmail wrapper).

What if user 'a' can send externally and user 'b' cannot and they both
use, eg, mailx?

The answer is that they'd have to be permissioned and pathed to use
seperate instances of qmail.


Regards.




[EMAIL PROTECTED] wrote:
> 
> On Wed, Sep 27, 2000 at 04:28:13PM -0300, Daniel Augusto Fernandes wrote:
> 
> > Even with shell access, one would have to connect to a port 25 on the
> > other side to send its msgs. This would not be possible with the
> > firewall. These users would have to use the first server as a relay if
> > they want to send msgs to the net.
> 
> Whaa? Most Unix UAs do not connect to an SMTP server directly, but submit
> via qmail-inject (or more likely a sendmail wrapper).
> 
> What if user 'a' can send externally and user 'b' cannot and they both
> use, eg, mailx?
> 
> The answer is that they'd have to be permissioned and pathed to use
> seperate instances of qmail.
> 
> Regards.

If they do that they will be on the same machine, and they should be
able to do that. But if they want to send an internet mail they will
have to connect to port 25 of the extern host if they want to use smtp.

qmail-inject and any sendmail wrapper actually connect to port 25 when
sending extern mail.

--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm)               [EMAIL PROTECTED]
GCSNet                                    http://www.gcsnet.com.br/
--------------------------------------------------------------------
                     Se voc� n�o encontra
                     o sentido das coisas
                     � porque este n�o
                     se encontra, se cria.
                                   Antoine Saint-Exup�ry




On Wed, Sep 27, 2000 at 05:26:27PM -0300, Daniel Augusto Fernandes wrote:
[snip]
> qmail-inject and any sendmail wrapper actually connect to port 25 when
> sending extern mail.

No.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me




> > On Wed, Sep 27, 2000 at 04:28:13PM -0300, Daniel Augusto Fernandes wrote:
> > 
> > > Even with shell access, one would have to connect to a port 25 on the
> > > other side to send its msgs. This would not be possible with the
> > > firewall. These users would have to use the first server as a relay if
> > > they want to send msgs to the net.
> > 
> > Whaa? Most Unix UAs do not connect to an SMTP server directly, but submit
> > via qmail-inject (or more likely a sendmail wrapper).
> > 
> > What if user 'a' can send externally and user 'b' cannot and they both
> > use, eg, mailx?
> > 
> > The answer is that they'd have to be permissioned and pathed to use
> > seperate instances of qmail.
> > 
> > Regards.
> 
> If they do that they will be on the same machine, and they should be
> able to do that. But if they want to send an internet mail they will
> have to connect to port 25 of the extern host if they want to use smtp.
> 
> qmail-inject and any sendmail wrapper actually connect to port 25 when
> sending extern mail.

Whaa? This is completely wrong. Neither qmail-inject nor the sendmail wrapper
connects to port 25 at all!

They both utimately give the mail to qmail-queue which gives it to qmail-send
which gives it to qmail-rspawn which gives it to qmail-remote who hasn't the
foggiest idea who the real submittor is and has no authentication information
to give to the SMTP connection on port 25 that it establishes totally independently
of your submission.

At what part of the qmail-inject process do you think you give the
authentication information? There is none.

Have you actually tried what you propose?


Regards.




Peter van Dijk wrote:
> 
> On Wed, Sep 27, 2000 at 05:26:27PM -0300, Daniel Augusto Fernandes wrote:
> [snip]
> > qmail-inject and any sendmail wrapper actually connect to port 25 when
> > sending extern mail.
> 
> No.
> 

Hey, here is a good chance to learn something! How could they do that?

--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm)               [EMAIL PROTECTED]
GCSNet                                    http://www.gcsnet.com.br/
--------------------------------------------------------------------
                     Se voc� n�o encontra
                     o sentido das coisas
                     � porque este n�o
                     se encontra, se cria.
                                   Antoine Saint-Exup�ry




On Wed, Sep 27, 2000 at 06:03:13PM -0300, Daniel Augusto Fernandes wrote:
> Peter van Dijk wrote:
> > 
> > On Wed, Sep 27, 2000 at 05:26:27PM -0300, Daniel Augusto Fernandes wrote:
> > [snip]
> > > qmail-inject and any sendmail wrapper actually connect to port 25 when
> > > sending extern mail.
> > 
> > No.
> > 
> 
> Hey, here is a good chance to learn something! How could they do that?

See markd's mail for a good explanation.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me




[EMAIL PROTECTED] wrote:
> 
> > > On Wed, Sep 27, 2000 at 04:28:13PM -0300, Daniel Augusto Fernandes wrote:
> > >
> > > > Even with shell access, one would have to connect to a port 25 on the
> > > > other side to send its msgs. This would not be possible with the
> > > > firewall. These users would have to use the first server as a relay if
> > > > they want to send msgs to the net.
> > >
> > > Whaa? Most Unix UAs do not connect to an SMTP server directly, but submit
> > > via qmail-inject (or more likely a sendmail wrapper).
> > >
> > > What if user 'a' can send externally and user 'b' cannot and they both
> > > use, eg, mailx?
> > >
> > > The answer is that they'd have to be permissioned and pathed to use
> > > seperate instances of qmail.
> > >
> > > Regards.
> >
> > If they do that they will be on the same machine, and they should be
> > able to do that. But if they want to send an internet mail they will
> > have to connect to port 25 of the extern host if they want to use smtp.
> >
> > qmail-inject and any sendmail wrapper actually connect to port 25 when
> > sending extern mail.
> 
> Whaa? This is completely wrong. Neither qmail-inject nor the sendmail wrapper
> connects to port 25 at all!
> 
> They both utimately give the mail to qmail-queue which gives it to qmail-send
> which gives it to qmail-rspawn which gives it to qmail-remote who hasn't the
> foggiest idea who the real submittor is and has no authentication information
> to give to the SMTP connection on port 25 that it establishes totally independently
> of your submission.
> 
> At what part of the qmail-inject process do you think you give the
> authentication information? There is none.
> 
> Have you actually tried what you propose?
> 

Well, You're right! He will have some problem if he want some shell
users to have extern mail access and some not!

Still, I don't know how could qmail-inject(qmail-remote) and sendmail
send msgs to other hosts without connecting to port 25...

Well done,

--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm)               [EMAIL PROTECTED]
GCSNet                                    http://www.gcsnet.com.br/
--------------------------------------------------------------------
                     Se voc� n�o encontra
                     o sentido das coisas
                     � porque este n�o
                     se encontra, se cria.
                                   Antoine Saint-Exup�ry




> Still, I don't know how could qmail-inject(qmail-remote) and sendmail
> send msgs to other hosts without connecting to port 25...

A couple of possiblities:

qmail-inject does not connect to anything - it uses qmail-queue to insert a
message into the qmail queue.  It must be run on the machine that is running
qmail.

qmail-remote - introduced if a message is in queue and is not being
delivered locally - connects to a remote mail service and transmits the
message.

TO OTHER HOSTS - yes, a remote transfer must take place.

TO ENTER MAIL SYSTEM - no.  If there is a mail system running on the current
machine, there is no need whatsoever to use a remote connection to get it
into the mail system.


---
And if you want to be technical, you don't have to run your
remote-connectable mail server on port 25, if the servers transmitting to it
are informed...

David




"Ihnen, David" wrote:
> 
> > Still, I don't know how could qmail-inject(qmail-remote) and sendmail
> > send msgs to other hosts without connecting to port 25...
> 
> A couple of possiblities:
> 
> qmail-inject does not connect to anything - it uses qmail-queue to insert a
> message into the qmail queue.  It must be run on the machine that is running
> qmail.
> 
> qmail-remote - introduced if a message is in queue and is not being
> delivered locally - connects to a remote mail service and transmits the
> message.
> 
> TO OTHER HOSTS - yes, a remote transfer must take place.
> 
> TO ENTER MAIL SYSTEM - no.  If there is a mail system running on the current
> machine, there is no need whatsoever to use a remote connection to get it
> into the mail system.

Well, if it called qmail-remote then the msg is to be sent remotely. Or
qmail-send would call qmail-lspawn which would give it to qmail-local.

What do you mean for 'mail system'?

> 
> ---
> And if you want to be technical, you don't have to run your
> remote-connectable mail server on port 25, if the servers transmitting to it
> are informed...

Then you would be able to send msgs only to those informed. If you want
to be able to send msg to virtually everyone in the net you should use
SMTP.

--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm)               [EMAIL PROTECTED]
GCSNet                                    http://www.gcsnet.com.br/
--------------------------------------------------------------------
                     Se voc� n�o encontra
                     o sentido das coisas
                     � porque este n�o
                     se encontra, se cria.
                                   Antoine Saint-Exup�ry




"Jos Okhuijsen" <[EMAIL PROTECTED]> wrote:

>We run qmail on a box behind a firewall, 
>another, lower priority,  external smtp server knows it's way 
>through and can deliver to our machine, bounces however 
>go to the return adress, and double bounce. 
>
>The DNS MX priority is 10 for the machine behind the 
>firewall, and 20 for the public machine.

Why do you even list the private machine if it's not accessible?

>The return address is always behindSmpt.domain.com, 
>both using SMTPserver behind the firewall as well as an
>SMTPserver in the public. 
>
>Questions: Is the return-address always constructed from
>the MX records in the DNS? 

If, by "return-address" you mean the envelope return path, it's
determined at the time the message is injected. If it's injected via
SMTP, it comes from the the MAIL command. If it's injected locally,
it's either specified by the MUA or defaulted from the From field. I'm 
not aware of any circumstances where it's set from the MX record.

>Is there a way to fix the returnaddress to point to the 
>beforeFirewall box? (other than fixing the DNS)

Users should configure their MUA's to use beforeFirewall in their
e-mail addresses. If that's not an option, the FAQ describes a way to
rewrite messages:

  http://cr.yp.to/qmail/faq/servers.html#network-rewriting

-Dave




Hi Dave,

> >We run qmail on a box behind a firewall, 
> Why do you even list the private machine if it's not accessible?

Eh, it's the ISP's decision, i don't like it either. 

> If, by "return-address" you mean the envelope return path, it's
> determined at the time the message is injected. If it's injected via
> SMTP, it comes from the the MAIL command. If it's injected locally,
> it's either specified by the MUA or defaulted from the From field. I'm 
> not aware of any circumstances where it's set from the MX record.

In this case it was the MUA. I was told the return address was 
either empty or entered with the right (before firewall) address, 
and jumped to conclusions. 

> Users should configure their MUA's to use beforeFirewall in their
> e-mail addresses. If that's not an option, the FAQ describes a way to
> rewrite messages:
> 
>   http://cr.yp.to/qmail/faq/servers.html#network-rewriting

Which make my day, thanks 
> 
> -Dave
> 

Jos







   hello friends 


    is there any environment variable like "SESSIONLIMIT" set by tcpserver
, how to set it , 

  thanks 
Prashant Desai 







On Wed, Sep 27, 2000 at 02:17:22PM +0300, [EMAIL PROTECTED] wrote:
> 
>     is there any environment variable like "SESSIONLIMIT" set by tcpserver
> , how to set it , 

If you're talking about limiting the number of simultaneous connections:
that's what the -c option is for. If that's not what you're talking
about, please be more precise :)

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me




[EMAIL PROTECTED] wrote:

>    is there any environment variable like "SESSIONLIMIT" set by tcpserver
>, how to set it , 

What are you trying to do? What would "SESSIONLIMIT" be set to?

-Dave




 Hi
 I would like to know if someone has used qmail reading usernames and
passwords from a table in MS SQL 7 using openlink's ODBC driver?.
 I have learned that it can be done modifing vpopmail to use this driver,
but i would like to know if anyone have already done it succesfully, and,
idealy, if i can download a vpopmail that alrready has this changes done.

 Sebastian Pilafis






  Hi
  I would like to know if someone has used qmail reading usernames and
passwords from a table in MS SQL 7 using openlink's ODBC driver.
  I have learned that it can be done modifing vpopmail to use this driver,
but i would like to know if anyone have already done it succesfully, and,
idealy, if i can download a vpopmail that alrready has this changes done.





hi again,

> we still have 2-3 users that are not receiving their mail.

just to ensure, the pc itself can connect to the pop3-server try the following from 
the pc:
telnet to your popserver port 110
and then type the following sequence:
user <username> [enter]
 result: +OK 
pass <passwd> [enter]
 result: +OK
list [enter]
 should show a list of the messages waiting for the user logged in
quit [enter]
 ends the session

if that goes ok, the question is to be forwarded to redmond 

;) a
 

==============================================
Alexander Jernejcic              
email:[EMAIL PROTECTED]

begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end

==============================================





  hello peter 


   no i am certainly not talking about -c  it stands for  count 
not for SESSIONLIMIT  , i am trying to limit simultanious SMTP connections
from single IP address and found some scripts written by anad , but author
of that script suggest that MAX limit count must be specified by
tcpserver's environment variabl named "SESSIONLIMIT" , 


 i have gone through some odcs but didt found any thing mentioning this so
, i posted 

 thanks and regards 
Prashant Desai 

---------- Forwarded message ----------
From: Peter van Dijk <[EMAIL PROTECTED]>
Date: Wed, 27 Sep 2000 20:26:34 +0200
Subject: Re: tcpserver  SESSIONLIMIT


On Wed, Sep 27, 2000 at 02:17:22PM +0300, [EMAIL PROTECTED] wrote:

> 
>     is there any environment variable like "SESSIONLIMIT" set by
tcpserver
> , how to set it , 

If you're talking about limiting the number of simultaneous connections:
that's what the -c option is for. If that's not what you're talking
about, please be more precise :)

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me






[EMAIL PROTECTED] wrote:

>   no i am certainly not talking about -c  it stands for  count 
>not for SESSIONLIMIT  , i am trying to limit simultanious SMTP connections
>from single IP address and found some scripts written by anad ,

You should have mentioned that when you asked the question.

>but author
>of that script suggest that MAX limit count must be specified by
>tcpserver's environment variabl named "SESSIONLIMIT" , 

I think he's saying that you need to configure tcpserver to set
SESSIONLIMIT on a per-host basis, e.g., in tcp.smtp:

  128.219.128.125:allow,RELAYCLIENT="",SESSIONLIMIT=10
  128.219.:allow,SESSIONLIMIT=5

-Dave







---------- Forwarded message ----------
From: [EMAIL PROTECTED]
Date: Wed, 27 Sep 2000 14:40:06 AST
Subject: tcpserver  SESSIONLIMIT (fwd)


  hello peter 


   no i am certainly not talking about -c  it stands for  count 
not for SESSIONLIMIT  , i am trying to limit simultanious SMTP connections
from single IP address and found some scripts written by anad , but author
of that script suggest that MAX limit count must be specified by
tcpserver's environment variabl named "SESSIONLIMIT" , 


 i have gone through some odcs but didt found any thing mentioning this so
, i posted 

 thanks and regards 
Prashant Desai 

---------- Forwarded message ----------
From: Peter van Dijk <[EMAIL PROTECTED]>
Date: Wed, 27 Sep 2000 20:26:34 +0200
Subject: Re: tcpserver  SESSIONLIMIT


On Wed, Sep 27, 2000 at 02:17:22PM +0300, [EMAIL PROTECTED] wrote:


> 
>     is there any environment variable like "SESSIONLIMIT" set by
tcpserver
> , how to set it , 

If you're talking about limiting the number of simultaneous connections:
that's what the -c option is for. If that's not what you're talking
about, please be more precise :)

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me










---------- Forwarded message ----------
From: [EMAIL PROTECTED]
Date: Wed, 27 Sep 2000 14:40:06 AST
Subject: tcpserver  SESSIONLIMIT (fwd)


  hello peter 


   no i am certainly not talking about -c  it stands for  count 
not for SESSIONLIMIT  , i am trying to limit simultanious SMTP connections
from single IP address and found some scripts written by anad , but author
of that script suggest that MAX limit count must be specified by
tcpserver's environment variabl named "SESSIONLIMIT" , 


 i have gone through some odcs but didt found any thing mentioning this so
, i posted 

 thanks and regards 
Prashant Desai 

---------- Forwarded message ----------
From: Peter van Dijk <[EMAIL PROTECTED]>
Date: Wed, 27 Sep 2000 20:26:34 +0200
Subject: Re: tcpserver  SESSIONLIMIT


On Wed, Sep 27, 2000 at 02:17:22PM +0300, [EMAIL PROTECTED] wrote:


> 
>     is there any environment variable like "SESSIONLIMIT" set by
tcpserver
> , how to set it , 

If you're talking about limiting the number of simultaneous connections:
that's what the -c option is for. If that's not what you're talking
about, please be more precise :)

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me







[EMAIL PROTECTED] wrote:

>---------- Forwarded message ----------
>From: [EMAIL PROTECTED]
>Date: Wed, 27 Sep 2000 14:40:06 AST
>Subject: tcpserver  SESSIONLIMIT (fwd)
>
>
>  hello peter 
>
>
>   no i am certainly not talking about -c  it stands for  count 
>not for SESSIONLIMIT  , i am trying to limit simultanious SMTP connections
>from single IP address and found some scripts written by anad , but author
>of that script suggest that MAX limit count must be specified by
>tcpserver's environment variabl named "SESSIONLIMIT" , 
>
>
> i have gone through some odcs but didt found any thing mentioning this so
>, i posted 
>
> thanks and regards 
>Prashant Desai 

Geeze, would you *PLEASE* stop posting everything multiple times?

-Dave




Hi,

I am using qmail 1.03 along with tcpserver, the problem i have is that
apparently my ~qmaild/control/badmailfrom file is not blocking anything
at all, for instance i have tried sending mail from some remote unauthorized
location as '[EMAIL PROTECTED]' which *IS* listed in that file and the sender
-unexpectedly- is acepted:

% telnet myhost.mydomain 25
Connected.
220 myhost.mydomain ESMTP
...
mail from: [EMAIL PROTECTED]
250 ok

Besides, command "ls -lu ~qmaild/control/badmailfrom" reports that the file
is not even being read, am i missing something somewhere?

Enrique-




On Wed, Sep 27, 2000 at 02:11:41PM -0500, Enrique Vadillo wrote:
> Hi,
> 
> I am using qmail 1.03 along with tcpserver, the problem i have is that
> apparently my ~qmaild/control/badmailfrom file is not blocking anything
> at all, for instance i have tried sending mail from some remote unauthorized
> location as '[EMAIL PROTECTED]' which *IS* listed in that file and the sender
> -unexpectedly- is acepted:
> 
> % telnet myhost.mydomain 25
> Connected.

Well. If you had given us your real details we could have worked out
what was happening because...

> 220 myhost.mydomain ESMTP
> ...
> mail from: [EMAIL PROTECTED]
> 250 ok

...that does not test it.

But we can't really tell for you.

Did you consider giving us real details so that we can help?

> Besides, command "ls -lu ~qmaild/control/badmailfrom" reports that the file
> is not even being read, am i missing something somewhere?

Your missing on giving us real information.


Regards.




I am experiencing this as well. It only occurs with Micro$oft Outlook
Express. The computers that are having this issue can connect to the
mail server using telnet to port 25 and 110, so it seems that MOE is the
problem. 

If anyone has any info on the cause/solution please share it with the
list, thank you. 

-- 
Sean Peterson
System Administrator
Valley Internet Providers Ltd.
[EMAIL PROTECTED]

Jose wrote:
> 
> Lately, my server has been having problems with POP3 timeouts.
> 
> Using Qmail 1.03 and the pop3 daemon that comes with QMail.
> 
> I'm getting many calls from clients claiming that their email programs
> say: POP3 Server not responding, etc.
> 
> This occurs during an email download.  Some will be halfway through, or
> 1/4 or 90%.
> 
> What is causing these pop3 timeouts?
> 
> Thanks,
> 
> Jose de Leon




    Hi,

       I am trying to install a virus scanner for my qmail mail server.  and
I have downloaded and installed the Trend Mico Interscan Viruswall for
Linux.  Then, I went through all the documentations about Interscan.
Superising.....What I found out is that I don't have to use this product
(Interscan Viruswall) with qmail-scanner in order to get it to work.
Intersan Viruswall will automatically scan all smtp traffic then pass it
back to the smtp server (qmail-smtp).  As this implying that I don't need to
use qmail-scanner with interscan viruswall.

What I want to know is that Do I need to use qmail-scanner in order to work
with interscan viruswall for qmail ?

What is the major function for qmail-scanner.??  I have checked with the
qmail-scanner site.  I think the major function is to block any viurs with
certain characteristics...like .vbs.  Am I right ??

Thank you so much for your help.

Mark





>>> "Mark Lo" <[EMAIL PROTECTED]> 09/27/00 01:19PM >>>
<snip>

I'm not an expert.. just a happy qmail/qmail-scanner user — and you've managed
to bring me out of lurk mode for the first time on the list. I'll leave you to 
determine
if that was good or bad :-)

</LurkMode>

>       I am trying to install a virus scanner for my qmail mail server.  and
>I have downloaded and installed the Trend Mico Interscan Viruswall for
>Linux.  Then, I went through all the documentations about Interscan.
>Superising.....What I found out is that I don't have to use this product
>(Interscan Viruswall) with qmail-scanner in order to get it to work.
>Intersan Viruswall will automatically scan all smtp traffic then pass it
>back to the smtp server (qmail-smtp).  As this implying that I don't need to
>use qmail-scanner with interscan viruswall.
>
>What I want to know is that Do I need to use qmail-scanner in order to work
>with interscan viruswall for qmail ?

Correct. If you use Viruswall/emanager you don't need qmail-scanner.

>What is the major function for qmail-scanner.??  I have checked with the
>qmail-scanner site.  I think the major function is to block any viurs with
>certain characteristics...like .vbs.  Am I right ??

qmail-scanner handles unpacking the message's attachments and then
runs two or three passes across the resulting mess of files.

Pass A: commercial virus scanner

Pass B: Perlscanner.. which handles attachment removal and keyword matching.

Pass C: Redundant scan of the original message
 (in case the commercial virus scanner can do a better job)

I just completed an installation of qmail and qmail-scanner.

I also evaluated Interscan VirusWall.

Qmail/qmail-scanner won on the following grounds:

1) For ~$130 I was able to get two copies of NAI's virus scanner for linux) 
        Viruswall was going to be about $1500 each ($3k total)

2) I liked qmail's configuration and documentation. Though it IS a bit sparse in the
    'bringing it all together' category. LWQ saved me a lot of hours. Thanks Dave!

3) qmail/qmail-scanner is Open Source, so I can always figure out what's happening
    and "fix it myself."

4) Best of all: No salesman to call and ask me if I want to upgrade for only $xxx!

5) Viruswall seems to REQUIRE the use of sendmail. And not just a sendmail wrapper.
It wants to modify sendmail config files to insure it has it's hooks in the right 
place.
I could be wrong on this point (and I'm sure someone will correct me if so.) 
Perhaps this is for outgoing smtp .. sendmail -> viruswall? .. Don't remember, as
I junked all of my notes after deciding upon qmail...

Oh.. You want a feature comparison?

1) Interscan Viruswall + eManager allows the following:

        a) virus signature matching
        b) keyword matching
        c) file attachment extension matching
        d) A bunch of other stuff which I didn't want to use.

2) Qmail/qmail-scanner won't do the following:

        a) Automatic virus dat file updates (Cron to the rescue!)
        b) Scan HTTP and FTP transfers
        c) ActiveX and Java blocking

<LurkMode>

Regards,

Gary Barnett
Network Administrator
Wells, St. John, P.S.






Hi,

I am using qmail 1.03 with tcpserver, the problem is that i wrote some
scripts to tell me when services go down, usually with sendmail I will do it
with

        echo "message" | /usr/lib/sendmail [EMAIL PROTECTED]

with qmail I try to do the same but I can't, because the
/var/qmail/bin/sendmail is gone... so I try to do it with qmail-inject

        echo To:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject

and works... it sends a black email, my question is how to put some subject
or body to the email???

can someone help me??

Thanks in Advance!


Jose de Jesus Rodriguez
MyWeb Mexico SA de CV
email: [EMAIL PROTECTED]
Tel. +52 (8) 336 7557
Fax. +52 (8) 336 7558





Jose de Jesus Rodriguez Ramirez <[EMAIL PROTECTED]> wrote:
> 
> with qmail I try to do the same but I can't, because the
> /var/qmail/bin/sendmail is gone...

qmail ships with a sendmail 'wrapper'.  Depending on how you installed it,
it may have ended up as /usr/lib/sendmail.  Did you try that? 

> so I try to do it with qmail-inject
> 
>       echo To:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
> 
> and works... it sends a black email, my question is how to put some subject
> or body to the email???

Try using 'mailsubj'.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




I don't know why you don't have a "/var/qmail/bin/sendmail". There's 
one on my box. I'd do a 'find / -name sendmail '  if I were you.

to answer your question: 

you should be able to use to format :
                echo "MESSAGE" | /var/qmail/bin/qmail-inject [EMAIL PROTECTED]

that's if you just want a simple message. If you want something elaborate 
you have other options.


On Wed, Sep 27, 2000 at 04:08:03PM -0500, Jose de Jesus Rodriguez Ramirez wrote:
> Hi,
> 
> I am using qmail 1.03 with tcpserver, the problem is that i wrote some
> scripts to tell me when services go down, usually with sendmail I will do it
> with
> 
>       echo "message" | /usr/lib/sendmail [EMAIL PROTECTED]
> 
> with qmail I try to do the same but I can't, because the
> /var/qmail/bin/sendmail is gone... so I try to do it with qmail-inject
> 
>       echo To:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
> 
> and works... it sends a black email, my question is how to put some subject
> or body to the email???
> 
> can someone help me??
> 
> Thanks in Advance!
> 
> 
> Jose de Jesus Rodriguez
> MyWeb Mexico SA de CV
> email: [EMAIL PROTECTED]
> Tel. +52 (8) 336 7557
> Fax. +52 (8) 336 7558
> 

-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The word "spine" is, of course, an anagram of "penis".  This is true in
almost fifty percent of the languages of the Galaxy, and many people
have attempted to explain why.  Usually these explanations get bogged
down in silly puns about "standing erect".
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Graphic Rezidew
[EMAIL PROTECTED]





> Hi,
> 
> I am using qmail 1.03 with tcpserver, the problem is that i wrote some
> scripts to tell me when services go down, usually with 
> sendmail I will do it
> with
> 
>       echo "message" | /usr/lib/sendmail [EMAIL PROTECTED]
> 
> with qmail I try to do the same but I can't, because the
> /var/qmail/bin/sendmail is gone... so I try to do it with qmail-inject
> 
>       echo To:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
> 
> and works... it sends a black email, my question is how to 
> put some subject
> or body to the email???
> 
> can someone help me??


I like to make nifty little files with all the subject and stuff in them so
that my error messages are more informative.

cat - > downmessage.msg
From: Alerter <[EMAIL PROTECTED]>
To: Alertee <[EMAIL PROTECTED]>
Subject: Its down!

Halp Halp, my process is down!

^D

cat downmessages.msg | /var/qmail/bin/qmail-inject

Pretty simple, and oh-so-pretty!

David




> cat - > downmessage.msg
> From: Alerter <[EMAIL PROTECTED]>
> To: Alertee <[EMAIL PROTECTED]>
> Subject: Its down!
> 
> Halp Halp, my process is down!
> 
> ^D
> 
> cat downmessages.msg | /var/qmail/bin/qmail-inject
> 
> Pretty simple, and oh-so-pretty!

Alternatively:

/var/qmail/bin/qmail-inject <<ENDOFDATA
From: Alerter <[EMAIL PROTECTED]>
To: Alertee <[EMAIL PROTECTED]>
Subject: Its down!

Halp Halp, my process is down!
ENDOFDATA


And remove the need for an external file. (Of course an external file is good
for other things such as being able to change the message and recipient without
changing the script...)


Regards.




On Wed, Sep 27, 2000 at 04:08:03PM -0500, Jose de Jesus Rodriguez Ramirez wrote:
<snip>
> with qmail I try to do the same but I can't, because the
> /var/qmail/bin/sendmail is gone... so I try to do it with qmail-inject
> 
>       echo To:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
> 
> and works... it sends a black email, my question is how to put some subject
> or body to the email???

   host:~{1} $ echo "To: [EMAIL PROTECTED]
   > Subject: test
   > From: [EMAIL PROTECTED]
   > 
   > this is the body...blah
   > blah
   > blah blah blah" | qmail-inject
   host:~{2} $

That'll work in bash. In csh and tcsh you'll need backslashes at the end
of each line.

jon




While there are some unpleasant surprises after an RH 6.2 -> 7.0 upgrade,
there is good news: sendmail is not installed anymore by default if you
have an rpm that provides and MTA and it conflicts with sendmail.  It
means, in particular, that the sendmail links in /usr/lib and /usr/sbin
are not removed.

Another thing of general interest: inetd is replaced by xinetd.  This
means that if you had telnet and friends run under tcpserver, and you
commented their lines out in inetd.conf---they will still be started under
xinetd.

What is a really unpleasant surprise: I could not log in so far while xdm
is running.  But that is offtopic...

Mate
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  





 Hi
 I would like to know if someone has used qmail reading usernames and
passwords from a table in MS SQL 7 using openlink's ODBC driver.
 I have learned that it can be done modifing vpopmail to use this driver,
but i would like to know if anyone have already done it succesfully, and,
idealy, if i can download from somewhere a vpopmail that alrready has this
changes done.

 Thanks anyway






        Hello, i have a small problem, when qmail sends a bounce message,
it does not put a Message-Id entry in the header. At the begining i though
it was normal but i saw that sendmail bounces do get that entry in the
header. Maybe it is a misconfiguration, i really don't know.
        Thanks for your help.
                                Alexey






On Wed, Sep 27, 2000 at 06:40:23PM +0000, Alexey Rodriguez Yakushev wrote:
>       Hello, i have a small problem, when qmail sends a bounce message,
> it does not put a Message-Id entry in the header. At the begining i though
> it was normal but i saw that sendmail bounces do get that entry in the
> header. Maybe it is a misconfiguration, i really don't know.

qmail just doesn't do that. Message-ID are not required.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me





i would like to be able to keep some of my .qmail files out of my home
dir as they are cluttering it up as i add new lists. also i would like
to be able to manage ~alias's .qmail files as my user id. i own the
entire private net and box so i don't have any problems with security
and there are no other users.

i tried to make ~alias's files owned by me but it seems to fail. i just
don't want to have to su to root to create new lists and such in ~alias.

any ideas? i didn't see anything about this in the FAQ or on the qmail
pages.

thanx,

uri

-- 
Uri Guttman  ---------  [EMAIL PROTECTED]  ----------  http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page  -----------  http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net  ----------  http://www.northernlight.com




Today, Uri Guttman wrote:
> 
> i would like to be able to keep some of my .qmail files out of my home
> dir as they are cluttering it up as i add new lists. also i would like
> to be able to manage ~alias's .qmail files as my user id. i own the
> entire private net and box so i don't have any problems with security
> and there are no other users.
> 
> i tried to make ~alias's files owned by me but it seems to fail. i just
> don't want to have to su to root to create new lists and such in ~alias.
> 
> any ideas? i didn't see anything about this in the FAQ or on the qmail
> pages.

To quote myself from http://www.qmail.org/top.html:

    Vern Hart doesn't like a pile of .qmail files in his home
    directory. So he uses users/assign to put them into a
    subdirectory: 

    =vern:vern:2244:18:/home/vern:::
    +vern-:vern:2244:18:/home/vern:s/::

    This puts .qmail and .qmail-default in his home directory but
    everything else is in .qmails/.  This changes ~/.qmail-foo to
    ~/.qmails/foo and really cleans up his home.

As far as the alias user goes, you could change the name in the
source code or give the alias user the same uid as yourself in
/etc/passwd.  Or, better yet, su to alias to create lists and such.
You don't have to be root, just be alias.  Or, your could set up
a virtualdomain for the main domain on the box and have it send the
mail to your .qmail files, etc.  There's lots of ways to solve that
problem.

Cheers,
Vern





>>>>> "VH" == Vern Hart <[EMAIL PROTECTED]> writes:

  VH>     =vern:vern:2244:18:/home/vern:::
  VH>     +vern-:vern:2244:18:/home/vern:s/::

  VH>     This puts .qmail and .qmail-default in his home directory but
  VH>     everything else is in .qmails/.  This changes ~/.qmail-foo to
  VH>     ~/.qmails/foo and really cleans up his home.

that is exactly what i wanted. it took a few tries to clean up all my
bugs (like the file is .qmails/foo and not .qmails/.qmail-foo).

  VH> As far as the alias user goes, you could change the name in the
  VH> source code or give the alias user the same uid as yourself in
  VH> /etc/passwd.  Or, better yet, su to alias to create lists and such.
  VH> You don't have to be root, just be alias.  Or, your could set up
  VH> a virtualdomain for the main domain on the box and have it send the
  VH> mail to your .qmail files, etc.  There's lots of ways to solve that
  VH> problem.

well, my current setup has ~alias symlinked to ~/Mail/alias. the dir is
setgid qmail andthe files are readable by the group.

all i have in there is .qmail-default which is set to:

&[EMAIL PROTECTED]

and an list mmg has .qmail-mmg set to:

&[EMAIL PROTECTED]

i have a shell func which makes new lists:

ezmake () 
{ 
    ezmlm-make ~/Mail/lists/$1 ~/Mail/qmails/$1 $1 sysarch.com;
    echo "&uri-$[EMAIL PROTECTED]" >~/Mail/alias/.qmail-$1
}


so for it looks good. both internal and external (via fetchmail) mail
works with the lists.

thanx,

uri

-- 
Uri Guttman  ---------  [EMAIL PROTECTED]  ----------  http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page  -----------  http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net  ----------  http://www.northernlight.com




Hi

I noticed that my /var/log/maillog contains procmail errors such as this one.

Sep 28 11:16:54 intranet qmail: 970100214.227272 delivery 2: success: procmail:_
Lock_failure_on_"/var/spool/mail/rsa.lock"/did_0+0+2/


any idea what might be causing this??

Thanks

Ramzi




Hi,

First, if cross-list posting is not appreciated let me know and I will
refrain.

I am running qmail + qmail-pop3d + vpopmail  I am unable to log into the POP
server using any of my virtual domain users.  I am able to log into my
system accounts with no problems.  Here are some of my startup scripts and
perms.  Am I missing something here?

My /var/qmail/supervise/qmail-popd/run file:

#!/bin/sh          
exec softlimit -m 2000000 tcpserver -v 0 110 /var/qmail/bin/qmail-popup \
mail.grayhat.org /home/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d Maildir 2>&1

ls -l output for vpopmail/domains/:
drwxr-x---   4 vpopmail vchkpw       4096 Sep 28 04:49 grayhat.org

ls -l vpopmail/domains/grayhat.org:
drwxr-x---   3 vpopmail vchkpw       4096 Sep 28 03:39 postmaster
drwxr-x---   3 vpopmail vchkpw       4096 Sep 28 03:40 psudonic
-rwxr-x---   1 vpopmail vchkpw        182 Sep 28 04:49 vpasswd
-rwxr-x---   1 vpopmail vchkpw       2274 Sep 28 04:49 vpasswd.cdb

results of qmail-showctl:
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 515, 516, 517, 0, 518, 519, 520, 521.
group ids: 514, 515.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: Bounce user name is MAILER-DAEMON.
bouncehost: Bounce host name is me.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is grayhat.org.
defaulthost: Default host name is mail.grayhat.org.
doublebouncehost: (Default.) 2B recipient host: mail.grayhat.org.
doublebounceto: 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is mail.grayhat.org.
helohost: (Default.) SMTP client HELO host name is mail.grayhat.org.
idhost: (Default.) Message-ID host name is mail.grayhat.org.
localiphost: (Default.) Local IP address becomes mail.grayhat.org.
locals:            
Messages for localhost are delivered locally.
me: My name is mail.grayhat.org.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: (Default.) Plus domain name is mail.grayhat.org.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:         
SMTP clients may send messages to recipients at localhost.
SMTP clients may send messages to recipients at grayhat.org.
SMTP clients may send messages to recipients at graycastle.com.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 mail.grayhat.org.
smtproutes: (Default.) No artificial SMTP routes.
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains:    
Virtual domain: grayhat.org:grayhat.org
Virtual domain: graycastle.com:graycastle.com

If any more info is needed to troubleshoot this then please let me know.
Thanks,

David





I figured it out.  For some reason under /service i had literal directories
instead of symlinks

David


Hi,

First, if cross-list posting is not appreciated let me know and I will
refrain.

I am running qmail + qmail-pop3d + vpopmail  I am unable to log into the POP
server using any of my virtual domain users.  I am able to log into my
system accounts with no problems.  Here are some of my startup scripts and
perms.  Am I missing something here?






Qmail 1.03, Linux 2.2.17, Slackware 7.1.  Incoming mail to a given account 
works okay.

A test to [EMAIL PROTECTED] completes properly.

A test to [EMAIL PROTECTED], sent through mail.swbell.net as the 
SMTP relay (I'm in their subnet, folks, no funny business) fails, and I 
don't understand what I'm missing.

In a previous incarnation of this box, this kind of delivery worked 
correctly.  When that box crashed, I managed to save /etc and /var/qmail, 
and I dropped them into the new setup.  Obviously I missed something and 
would appreciate a pointer in the right direction.  Directions to TFMs and 
FAQs (specific sections please, since I've missed them) would be welcome.

An example bounce looks like this:
=========
Hi. This is the qmail-send program at wndrgrl.goldblatt.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.

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

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

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 15013 invoked from network); 28 Sep 2000 03:33:09 -0000
Received: from mta5.rcsntx.swbell.net (151.164.30.29)
   by wndrgrl.goldblatt.net with SMTP; 28 Sep 2000 03:33:09 -0000
Received: from dd.goldblatt.net ([208.190.130.81]) by mta5.rcsntx.swbell.net
  (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9)
  with ESMTP id <[EMAIL PROTECTED]> for
  [EMAIL PROTECTED]; Wed, 27 Sep 2000 22:29:28 -0500 (CDT)
========

I've stripped the remaining headers (from, to, date, subject, x-center, 
message-id, mime-version, x-mailer, and content-type).

Inside /home/lists/.qmail we find:

./Maildir/
=============
Relevant log from /var/log/messages:

2:33:09 wndrgrl qmail: 970111989.307698 starting delivery 84: msg 754282 to 
loca
l [EMAIL PROTECTED]
2:33:09 wndrgrl qmail: 970111989.307883 status: local 1/10 remote 0/20
2:33:09 wndrgrl qmail: 970111989.320760 delivery 84: failure: 
Sorry,_no_mailbox_
here_by_that_name._(#5.1.1)/
2:33:09 wndrgrl qmail: 970111989.320959 status: local 0/10 remote 0/20
2:33:09 wndrgrl qmail: 970111989.515325 bounce msg 754282 qp 15017
2:33:09 wndrgrl qmail: 970111989.515499 end msg 754282
2:33:09 wndrgrl qmail: 970111989.588633 new msg 754285
2:33:09 wndrgrl qmail: 970111989.588799 info msg 754285: bytes 792 from 
<aaron@g
oldblatt.net> qp 15014 uid 1004
2:33:09 wndrgrl qmail: 970111989.716212 starting delivery 85: msg 754285 to 
loca
l [EMAIL PROTECTED]
2:33:09 wndrgrl qmail: 970111989.716401 status: local 1/10 remote 0/20
2:33:09 wndrgrl qmail: 970111989.716478 new msg 754284
2:33:09 wndrgrl qmail: 970111989.716557 info msg 754284: bytes 1361 from <> 
qp 1
5017 uid 1009
2:33:09 wndrgrl qmail: 970111989.939403 delivery 85: success: did_1+0+0/
2:33:09 wndrgrl qmail: 970111989.939601 status: local 0/10 remote 0/20

==================================

TIA.
ag





On Wed, Sep 27, 2000 at 11:04:02PM -0500, Aaron Goldblatt wrote:
> Qmail 1.03, Linux 2.2.17, Slackware 7.1.  Incoming mail to a given account 
> works okay.
> 
> A test to [EMAIL PROTECTED] completes properly.

Which indicates ~lists/.qmail is working properly.

> A test to [EMAIL PROTECTED], sent through mail.swbell.net as the 
> SMTP relay (I'm in their subnet, folks, no funny business) fails, and I 
> don't understand what I'm missing.

Probably ~lists/.qmail-jobs or ~lists/.qmail-defaults.

PGP signature





On Tue, Sep 26, 2000 at 01:48:25PM +0100, John Portwin wrote:
> This has answered one of my questions - it seems that from a commandline,
> Qmail will automatically add '@mobiletones.com' while Pine needs to be also
> told to do that? Is this correct?

Basically.

Pine figures that it can't trust /usr/lib/sendmail, so it appends
the host name to the mail address.  But, fortunately, it gives you
the option of putting:

user-domain=mobiletones.com

in its config file.

> My main concern is the top message - although currently
> 'office.mobiletones.com' doesn't exist, it will when I get this up
> and running as the main server, however pluto.office.mobiletones.com
> will never exist as it is an internal portforward from the machine
> office.mobiletones.com - will this cause me problems in the future?

Only if people use software which has been configured in a way which
appends pluto.office.mobiletones.com.

One thing people sometimes do for this is use a wildcard mx -- basically
saying that any mail for *.office.mobiletones.com is delivered to some
set of mail servers.

-- 
Raul




On Wed, Sep 27, 2000 at 01:00:51AM +0100, John P wrote:
> I've seen some offices have new mail delivered 'instantly' to their Outlook
> users - I presume it's when done in conjunction with Exchange. That is, as
> soon as the server recieves the e-mail, it is put in the user's folder and
> they are notified with the little envelope (and annoying sound). I think it
> works over NetBIOS.
> 
> Will it work via Qmail and a centrally-held POP3 store?

It won't work by default, but something like that could be made to work.

Basically, it is delivered instantly to their pop mailbox, and the trick
is to deliver the notification.  I seem to recall that samba had support
for winpopup messages -- if you could live with those (perhaps delaying
popups if the user has an active pop session, etc.)

-- 
Raul




      Message to Hotmail Members



      We apologize, but your account is temporarily unavailable. This delay
does not affect the entire site or relate specifically to your account, but
the machine that holds your account information is temporarily unavailable.
We do not expect this delay to last much longer, so please continue to check
our site for your account status.
      We will do our best to make your account available as quickly as
possible. We appreciate your support, and sincerely apologize for the
inconvenience.



The proof of 2k?

/BR

Manager
InterPlanetary Solutions
http://ipsware.com/








   hello friens 


      thanks very much list specially to dave , anand ,Charles Cazabon  ,
frank      , 


   at last i suceeded to limit max SMTP sessions from single ip 


  thanks a lot once again 
Prashant Desai 







Is (has) anyone looked into using something like immunix.org's  compiler to
protect qmail/vpopmail etc. from
stack smashing attacks?

Is anyone familiar with the exposure of these programs to this type of attack?

Is it a non-issue due to the exceptional coding techniques / raw talent of
qmail&vpopmail programmers? ;-)

And no, I don't work for, or have any other self-interest in immunix.  I've just
been reading up on these methods of stack smashing attack prevention.

H.A.G.D.

-doug



Reply via email to