qmail Digest 22 Jun 2000 10:00:01 -0000 Issue 1040

Topics (messages 43367 through 43432):

Re: For Qmail List Owner
        43367 by: Stephen Berg
        43401 by: Eric Cox

vpopmail - why ?
        43368 by: Jens Georg
        43369 by: Magnus Bodin

urgent  help needed
        43370 by: reach_prashant.zeenext.com
        43387 by: suresh

Re: Never mind... Re: mail received and lost; was SMTP port 25
        43371 by: Dave Sill

Maildir and LDAP
        43372 by: Ricardo D. Albano
        43373 by: Torbjorn Tornkvist

Almost Started qmail
        43374 by: Tony Campisi

Transferring queue?
        43375 by: Rick McMillin
        43376 by: Brian Sweeney
        43377 by: Gary D. Margiotta

load testing...
        43378 by: Brian Sweeney
        43399 by: Clint Bullock

one user, virtual domains, mysql, wizz bang, mailing list manager
        43379 by: Peter Gradwell
        43425 by: Sylwester S. Biernacki

qmail-pop3d
        43380 by: Ricardo D. Albano
        43383 by: Charles Cazabon
        43384 by: Ricardo D. Albano
        43385 by: Brian Sweeney
        43393 by: Charles Cazabon
        43398 by: John van V.

unable to switch to queue directory
        43381 by: Clifford Thurber
        43424 by: Sylwester S. Biernacki

qmail footer
        43382 by: qmail.col7.metta.lk

How to increase the MAX hop count
        43386 by: net admin
        43400 by: Dave Sill
        43402 by: David Benfell
        43403 by: Bruno Wolff III
        43405 by: Giles Lean

Re: msglog feature
        43388 by: Dave Sill

Re: HELP PLEASE
        43389 by: Dave Sill

Re: Allow only certain user
        43390 by: Dave Sill

Re: ATRN/TURN
        43391 by: Dave Sill

Re: Redirecting double bounces
        43392 by: Dave Sill

defaultdelivery
        43394 by: Adam McKenna
        43395 by: Charles Cazabon

Re: Problems in qmail's Installation
        43396 by: Dave Sill

Re: error
        43397 by: Dave Sill

Newbie Problems Starting qmail
        43404 by: John Romero

Issues with qmail pop3d and $HOME/Mailbox
        43406 by: Eric Walters
        43407 by: Giles Lean
        43408 by: Brian Sweeney
        43409 by: Brian Sweeney
        43410 by: David Benfell

POP/IMAP Question.
        43411 by: Jason Murphy

How to receive mail without user directory?
        43412 by: Boyd Kelly

vpopmail
        43413 by: Javier Vino R.
        43414 by: Ramy M. Hassan
        43415 by: James Lee Bell

POP3D
        43416 by: David Benfell
        43417 by: David Benfell

Re: dirmaker
        43418 by: clemensF

Re: SMTP port 25
        43419 by: clemensF

Log the messages's body
        43420 by: Nguyen Hong Son
        43423 by: Gerrit Pape

condredirect does not appear to work correctly under Solaris
        43421 by: Martin Searancke
        43422 by: asantos

no checkpassword in /var/qmail/bin/
        43426 by: reach_prashant.zeenext.com
        43428 by: jedi.claranet.fr
        43429 by: Gerrit Pape

IDs back from qmail-inject ?
        43427 by: Flemming Funch

qmail smtp problem
        43430 by: Federico Barbazza

supervised pop3d fails to TERM
        43431 by: Jud Harris

vacation program for qmail/vpopmail/qmailadmin
        43432 by: Marco Leeflang

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]


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


Personally I don't like those prefixes to subject lines.  I'd rather
not see them.

On Wed, 21 Jun 2000 10:20:55 +0530 (IST), System Administrator wrote:

>Hi
>
>can we have a prefix set for our list. for example :
>
>Subject line of each mail on the list has something as follows :
>
>Subject : [Qmail] ................
>
>the dots signify the actual subject.


                            Stephen Berg
//-    USAF Instructor  -/-  Reluctant NT User -/- Web Designer    -//
//-                 Home = [EMAIL PROTECTED]                   -//
//-               Work = [EMAIL PROTECTED]               -//
//-     http://iceberg.3c0x1.com/   -/-   http://www.3c0x1.com     -//     






I suppose you're looking to do filtering, right?

Netscape will filter messages for you, and put them into 
a different folder, etc.  Just click on Edit->Message Filters, 
and create a filter that puts any message with 
"[EMAIL PROTECTED]" in the To: or Cc: headers into a 
different folder.  Presto!

Hope that helps,
Eric


System Administrator wrote:
> 
> Hi
> 
> can we have a prefix set for our list. for example :
> 
> Subject line of each mail on the list has something as follows :
> 
> Subject : [Qmail] ................
> 
> the dots signify the actual subject.
> 
> Note :
> ======
> Sorry to post this mail directly to the list, but i do not have the lsit
> owner's email id, hence the mail to the list.
> 
> regards,
> 
> Parag Mehta                        <[EMAIL PROTECTED]>
> System Administrator.
> Puretech Internet Pvt. Ltd.        http://puretech.co.in/
> 77 Atlanta. Nariman Point.
> Mumbai - 400021. India.            Tel: +91-22-2833158
> ============================================================
> Support is now available thru our Web Based Support System.
> http://support.puretech.co.in
> ============================================================




hi,

i have installed qmail with vpopmail and it delivers emails perfectly.
so, for what purposes is vpopmail for ? what can't be done without
vpopmail?

regards,

jens
---------------------------------------------------------------------------
department computer science, university of dortmund
linux ... life's too short for reboots!




On Wed, Jun 21, 2000 at 01:25:10PM +0200, Jens Georg wrote:
> hi,
> 
> i have installed qmail with vpopmail and it delivers emails perfectly.
> so, for what purposes is vpopmail for ? what can't be done without
> vpopmail?

Have you installed vpopmail without reading what it is suppouse to do for
you? 

Have you tested the POP-service? Or does "it delivers emails perfectly"
just refer to ordinary local and remote delivery? 

/magnus

--
now playing: Laibach - in the army now. 




 
 hello friends 

  i have installed Qmail 1.03 + openldap on redhat linux 6.1
qmail is delievering mails to the users defiened in LDAP directory server ,


 my problem is 

1> how can i configure qmail-pop3d  so that user will download their mails 

2> how to enable quota so that users who exceeds their limit will get a
message and all their mails gets bounced 


  thanks a lot 
  Prashant Desai 






Hello
I have installed qmail on solaris 8
and using tcpserver to run it .Is there any way i can start logging it
can anybody help me
thanx in advance
Suresh
----------------------------------------------------------------
Send and receive mails in Indian languages.
Register free with http://www.mailjol.com




----------------------------------------------------------------
Send and receive mails in Indian languages.
Register free with http://www.mailjol.com


-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, June 21, 2000 5:45 PM
Subject: urgent help needed


>
> hello friends
>
>  i have installed Qmail 1.03 + openldap on redhat linux 6.1
>qmail is delievering mails to the users defiened in LDAP directory server ,
>
>
> my problem is
>
>1> how can i configure qmail-pop3d  so that user will download their mails
>
>2> how to enable quota so that users who exceeds their limit will get a
>message and all their mails gets bounced
>
>
>  thanks a lot
>  Prashant Desai
>






Vince <[EMAIL PROTECTED]> wrote:

>my rc file is this 
>
># Using splogger to send the log through syslog.
># Using procmail to deliver messages to /var/spool/mail/$USER by default.
>
>exec env - PATH="/var/qmail/bin:$PATH" \
>qmail-start "`cat /home/./Maildir/`"

That says that at the time qmail is started, the default delivery
instruction is set to the *contents* of /home/Maildir. This is
almost certainly not what you want. If you want delivery to a maildir
called Maildir in the user's home directory, try:

  exec env - PATH="/var/qmail/bin:$PATH" \
  qmail-start ./Maildir/

-Dave




I can't switch from Mailbox to Maildir format !.... Ahhh!!.. :((
I'm using LDAP to make the lookups, I was changed the /var/qmail/rc with
Maildir, but qmail still deliverying localy in Mailbox format !....

What's wrong ??

RDA.-







Do you have a .qmail file in the user's home dir ?
Example:

# cat /home/accounts/bill/.qmail
./Maildir/

Cheers /Tobbe




I just wanted to thank everyone for their help so far! I'm close to getting this 
together and running

 but.... I'm still getting one error at startup! 

supervise: fatal: unable to start qmail-smtpd/run: exec format error

My /var/qmail/supervise/qmail-smtpd/run file contains:
#!/bin/sh
QMAILDUID=`id -u qmaill`
NOFILESGID=`id -g qmaill`
exec /usr/local/bin/softlimit -m 3000000 \
    /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
        -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1

Dave Kelly asked : 
Q- Something is already bound to port 25.  Have you turned off sendmail? 
A- Yes, Sendmail is dead but I still can't telnet to port 25.

Q- Have you checked to see that there are no errant qmail-smtpd processes already
running?
A- No qmail processes are running.

(Plus, you'll still need to correct the ownership or permissions on
/var/log/qmail)

drwxrwxr-x   6 qmaill   root         1024 May 31 14:37 qmail
I changed some things around in my /etc/passwd file, but I'm such a newbie I don't 
which one
is correct. From LWQ section 2.5.4 I had,
qmaill:*:879:602::/var/qmail:/bin/true
and from another source I had,
qmaill:!!:879:602::/var/qmail:/bin/bash (this is in there now).

I don't know if the above has anything to do with my problem. Is one format correct 
and the other not? Thanks for your help and patience!

tony.campisi







We're upgrading to newer, more powerful servers and
my question involves the queue on the old servers.
Is there a safe, reliable way to just transfer the
queue to the new servers right away, or would it be
best to simply leave the old servers up for 7 days
so that the messages can just dissapear on their own?

Thanks,

Rick McMillin
[EMAIL PROTECTED]
Systems Administrator
Manager, Network Operations
I-Land Internet Services





>From http://www.qmail.org:

"Eric Huss has released queue-fix 1.4
(http://www.netmeridian.com/e-huss/queue-fix.tar.gz). It repairs or
generates a qmail queue structure. You can use this to help move your queue
location, or if you regenerate the file system and the inode numbering
changes. It will also fix permissions and ownerships of the files. Eric
reports that Matthew Harrell wrote a patch to queue-fix
(http://www.pingpackets.com/mirrors/qmail/queue-fix-todo.patch) which makes
it work with Russ Nelson's big-todo patch. Patches upon patches!"

I've never tried it, so I don't know if it works from personal experience...

-Brian

-----Original Message-----
From: Rick McMillin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 11:12 AM
To: [EMAIL PROTECTED]
Subject: Transferring queue?


We're upgrading to newer, more powerful servers and
my question involves the queue on the old servers.
Is there a safe, reliable way to just transfer the
queue to the new servers right away, or would it be
best to simply leave the old servers up for 7 days
so that the messages can just dissapear on their own?

Thanks,

Rick McMillin
[EMAIL PROTECTED]
Systems Administrator
Manager, Network Operations
I-Land Internet Services





>From experience, we migrated a mail queue of 30,000+ users using that
script, and didn't lose a single message.  Worked beautifully.  Was a
Q-mail 1.03 installation on a FBSD 3.4 server.

-Gary

"One World, one Web, one Program" - Microsoft promotional ad
"Ein Volk, ein Reich, ein Fuhrer" - Adolf Hitler

On Wed, 21 Jun 2000, Brian Sweeney wrote:

> >From http://www.qmail.org:
> 
> "Eric Huss has released queue-fix 1.4
> (http://www.netmeridian.com/e-huss/queue-fix.tar.gz). It repairs or
> generates a qmail queue structure. You can use this to help move your queue
> location, or if you regenerate the file system and the inode numbering
> changes. It will also fix permissions and ownerships of the files. Eric
> reports that Matthew Harrell wrote a patch to queue-fix
> (http://www.pingpackets.com/mirrors/qmail/queue-fix-todo.patch) which makes
> it work with Russ Nelson's big-todo patch. Patches upon patches!"
> 
> I've never tried it, so I don't know if it works from personal experience...
> 
> -Brian
> 
> -----Original Message-----
> From: Rick McMillin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 21, 2000 11:12 AM
> To: [EMAIL PROTECTED]
> Subject: Transferring queue?
> 
> 
> We're upgrading to newer, more powerful servers and
> my question involves the queue on the old servers.
> Is there a safe, reliable way to just transfer the
> queue to the new servers right away, or would it be
> best to simply leave the old servers up for 7 days
> so that the messages can just dissapear on their own?
> 
> Thanks,
> 
> Rick McMillin
> [EMAIL PROTECTED]
> Systems Administrator
> Manager, Network Operations
> I-Land Internet Services
> 
> 





hello all-

I've just recently completed an install of a new mailserver running qmail.
I've got some other linux boxes laying around, and I would like to load test
the mailserver over the weekend.  Does anyone have suggestions for software
or scripts, perhaps using perl or expect, that will connect to the smtp port
remotely, send some mail to x users, wait a bit, and connect to the pop
port, check the mail for those users, and then delete it?  I coded some
perl/expect hybrid script to do it, but it doesn't work right (I used
autoexpect, so I'm not surprised).  Any suggestions?  Last time I did this I
ended up just perl scripting a call to qmail-inject for 4 different users,
and setting up a normal pop client to check mail every 1 minute.  The client
crashed and the sends didn't actually use the smtp port though so it wasn't
a real test.

Thanks in advance,
Brian





Brian Sweeney wrote:

> hello all-
>
> I've just recently completed an install of a new mailserver running qmail.
> I've got some other linux boxes laying around, and I would like to load test
> the mailserver over the weekend.  Does anyone have suggestions for software
> or scripts, perhaps using perl or expect, that will connect to the smtp port
> remotely, send some mail to x users, wait a bit, and connect to the pop
> port, check the mail for those users, and then delete it?  I coded some
> perl/expect hybrid script to do it, but it doesn't work right (I used
> autoexpect, so I'm not surprised).  Any suggestions?  Last time I did this I
> ended up just perl scripting a call to qmail-inject for 4 different users,
> and setting up a normal pop client to check mail every 1 minute.  The client
> crashed and the sends didn't actually use the smtp port though so it wasn't
> a real test.
>
> Thanks in advance,
> Brian

Hey Brian,
I did a web search and finally found some source code written in C by the guys
at Stalker Software (Communigate Pro) used to test smtp and pop loads...  I
compiled it on a linux box and used the programs to test a linux/Qmail server
before I dropped it into a production environment a few months ago.  This should
be exactly what you are looking for...

Here's their webpage:
http://www.stalker.com/MailTests/

Hope this helps ;)

--

S. Clint Bullock
Network Administrator
University of Georgia
Office of the Vice President for Research
626 Boyd GSRC
Athens, GA 30602-7411
(706) 542-5936
(706) 542-5638 FAX

begin:vcard 
n:Bullock;Clint
tel;fax:(706) 542-5946
tel;work:(706) 542-5936
x-mozilla-html:FALSE
url:http://www.ovpr.uga.edu
org:University of Georgia;Office of the Vice President for Research
adr:;;626 Boyd GSRC;Athens;GA;30602-7411;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Network Administrator
fn:Clint Bullock
end:vcard




Hi,

I guess the subject says it all, I'm looking for the vpopmail of mailing 
list management to work with qmail.

Basically, I want to have one virtual user with one .qmail file in it 
leading to one program which will then handle multiple lists for multiple 
domains.

I can have multiple domains delivered by putting

domain1.com:listmanager
domain2.com:listmanager

into virtualdomains etc. however, I don't know of much that will then 
process it.

MailMan seems to be the nearest option, and will appear to work with qmail. 
Ok, it doesn't have a mysql backend, but I can live without.

I don't think that ezmlm is this program, because it's dependant on too 
many .qmail files. It also (afaik) needs one user per virtual domain.

Did I mention it needed bounce handling, web interfaces, digests and other 
chummy MLM features too?

Does such a program exist? Or do I need to write it !?

thanks

peter

-- 
peter at gradwell dot com; online @ http://www.gradwell.com/





Dnia 2000-06-21, o godzinie 17:45:52, [EMAIL PROTECTED] napisa�:

> Hi,

> I guess the subject says it all, I'm looking for the vpopmail of mailing 
> list management to work with qmail.

> Basically, I want to have one virtual user with one .qmail file in it 
> leading to one program which will then handle multiple lists for multiple 
> domains.

> I can have multiple domains delivered by putting

> domain1.com:listmanager
> domain2.com:listmanager

> into virtualdomains etc. however, I don't know of much that will then 
> process it.

> MailMan seems to be the nearest option, and will appear to work with qmail. 
> Ok, it doesn't have a mysql backend, but I can live without.

> I don't think that ezmlm is this program, because it's dependant on too 
> many .qmail files. It also (afaik) needs one user per virtual domain.

> Did I mention it needed bounce handling, web interfaces, digests and other 
> chummy MLM features too?

> Does such a program exist? Or do I need to write it !?
I think you should use ezmlm (despite of the fact you think it's not
good). If you look at qmailadmin (see links on qmails' site) you will
see it has lots of options you need. And I don't think that one
directory (because it's not user just directory) is too bad.
Try to look what's inside all .qmail files created by ezmlm-make. You
can change them whatever you want and I'm sure it will work.
I wrote my own scripts in php which are started via apache (suexeced
to user vpopmail and group vchkpw) and they can change a lot of ezmlm
options. If you just have some free time sit and write your own
scripts. If you don't have it you can gimme a email and I can send you
some of mine (but there are really under-developing ;) )

-- 
pozdrawiam,
Sylwester S. Biernacki <[EMAIL PROTECTED]>






Does qmail-pop3d support Mailbox format ?

RDA.-





Ricardo D. Albano <[EMAIL PROTECTED]> wrote:
> Does qmail-pop3d support Mailbox format ?

If you mean Berkeley mbox-format, no.  It's designed for Maildirs.
There are several other POP3 daemons which support mboxes -- check your
favourite software archive or www.qmail.org for details.

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




And how to set up qmail-pop3d to use Maildir format ?
I'm calling qmail-pop3d from inetd with a line like this :
qmail-popup MYHostName checkpassword /var/qmail/bin/qmail-pop3d Maildir

After entering the username/password I get an error like this :
-ERR error in server configuration

Any ideas ?

PS: Now I'm using Maildir format, I also using LDAP patches.

Bye.
RDA.-

-----Original Message-----
From: Charles Cazabon <[EMAIL PROTECTED]>
To: Ricardo D. Albano <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, June 21, 2000 1:15 PM
Subject: Re: qmail-pop3d


>Ricardo D. Albano <[EMAIL PROTECTED]> wrote:
>> Does qmail-pop3d support Mailbox format ?
>
>If you mean Berkeley mbox-format, no.  It's designed for Maildirs.
>There are several other POP3 daemons which support mboxes -- check your
>favourite software archive or www.qmail.org for details.
>
>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 believe so

-----Original Message-----
From: Ricardo D. Albano [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 11:50 AM
To: [EMAIL PROTECTED]
Subject: qmail-pop3d


Does qmail-pop3d support Mailbox format ?

RDA.-





Ricardo D. Albano <[EMAIL PROTECTED]> wrote:
> And how to set up qmail-pop3d to use Maildir format ?
> I'm calling qmail-pop3d from inetd with a line like this :
> qmail-popup MYHostName checkpassword /var/qmail/bin/qmail-pop3d Maildir
> 
> After entering the username/password I get an error like this :
> -ERR error in server configuration
> 
> Any ideas ?

I believe qmail-pop3d is designed only to be run with tcpserver -- it may
depend on some of the environment variables which tcpserver sets up for it,
and it almost certainly depends on the file descriptors being set up.

You may be able to get it to run from inetd by using tcp-env, but I would
recommend going with tcpserver; it's much easier than using inetd anyways,
along with being much more reliable and configurable.

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 believe qmail-pop3d is designed only to be run with tcpserver -- 
Shoot me but I'm running everything thru inetd for the moment.  I found the
entry some where in the docs, here is my entry:

pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup puny.vm.com
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir

(one line)

I'm going to get tcpserver running but to make it a sort of specialized
dataserver, then I'll move everything over.

=====
John van Vlaanderen

      #############################################
      #    CXN, Inc. Contact:  [EMAIL PROTECTED]   #               #
      #      Proud Sponsor of Perl/Unix of NY     #
      #        http://puny.vm.com                 #                 
      #############################################

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




Hello, 
I just did a recent install of qmail and installed the ucpsi tools as well. 
I added the bootscripts for qmail as well. The problem is that qmail 
doesn't start at boot and /var/adm/messages doesn't give any hint as to why 
it is not starting. If I try to start qmail from the command line using 
'/var/qmail/rc &' then do a 'ps -ef | grep qmail' I don't see anything 
however there is now a message in /var/adm/messages which says :
" cygnus qmail: 961545697.225492 alert: cannot start unable to switch to 
queue directory"
The queue directory is owned by user qmailq and group qmail. The mode is 
set to 750 on the queue directory. I am at a loss as to the nature of this 
error. If anyone could give me some feedback on this I would greatly 
appreciate it. Thanks in advance.

Clifford Thurber
Web Systems Administrator
LiveUniverse.com
[EMAIL PROTECTED]
565 5th Ave. 29th Fl.
New York, NY 10017
Ph:212 883 6940  (131)
Fax:212 856 9134




2000-06-21, at 17:44:26, Clifford Thurber wrote:

> Hello, 
> I just did a recent install of qmail and installed the ucpsi tools as well. 
> I added the bootscripts for qmail as well. The problem is that qmail 
> doesn't start at boot and /var/adm/messages doesn't give any hint as to why 
> it is not starting. If I try to start qmail from the command line using 
> '/var/qmail/rc &' then do a 'ps -ef | grep qmail' I don't see anything 
> however there is now a message in /var/adm/messages which says :
> " cygnus qmail: 961545697.225492 alert: cannot start unable to switch to 
> queue directory"
> The queue directory is owned by user qmailq and group qmail. The mode is 
> set to 750 on the queue directory. I am at a loss as to the nature of this 
> error. If anyone could give me some feedback on this I would greatly 
> appreciate it. Thanks in advance.
When I was making one linux box few days ago I had the same problem.
My fix was:
rm -Rf /var/qmail/queue; cd /usr/src/qmail-1.03;
make setup check

After this it works perfectly (and any of qmail-qsanity or queuefix
didn't work).

Please write me (private of course) how did it go.

-- 
greetings,
Sylwester S. Biernacki <[EMAIL PROTECTED]>






Hi all,

I run a local free pop server 
and would like to insert a footer on the mail.

I have followed Dave's LWQ to the letter in my setup 
and qmail works fine for about a year.

I tried to use the patch for inserting a footer in qmail
written by David Harris.

I have compiled qmail with the patch and it works OK, 
but the perl script is not quite understood by me and gives errors.

>####begin####
>#!/usr/bin/perl
>use strict;
>if ( $ENV{'TCPLOCALIP'} eq "x.x.x.x" ) {
>    $ENV{'FOOTER'} = "\n--------------\n http://metta.lk \n";
>}
>exec @ARGV;
>die "exec failed"
>####end####

the command:
exec @ARGV; 
does not execute,

Is "@ARGV;" some shortened form 
that I should have known before I started all this ?
Kindly give me a helping hand.

>Toss the above little program in a file named something like
>"footer-add.pl"
>and then add it just before "qmail-smtpd" in your tcpserver or inetd.conf
>configuration.
> - David Harris

I am running Hedhat 6.0 and perl is installed and working.

Thanks
Jacob





Hi Folks;
I am seeing a bunch of message delivery failed bounces that says:
Too many hops 27 (MAX 25) ...
since almost all the bounces were just a couple of hops more than the max I would like 
to increase my max hop count to, say .. 30, how do I do this and what are the gotchas 
if any?

Dan   Thanks




net admin <[EMAIL PROTECTED]> wrote:

>I am seeing a bunch of message delivery failed bounces that says:
>Too many hops 27 (MAX 25) ...
>since almost all the bounces were just a couple of hops more than the
>max

That's almost always the case, especially when there's a loop
involved.

>I would like to increase my max hop count to, say .. 30, how do I
>do this

Modify the source.

>and what are the gotchas if any? 

Waste of effort and resources, little gain, if any.

-Dave




On Wed, Jun 21, 2000 at 03:53:19PM -0400, Dave Sill wrote:
> 
> net admin <[EMAIL PROTECTED]> wrote:
> 
> >I am seeing a bunch of message delivery failed bounces that says:
> >Too many hops 27 (MAX 25) ...
> >since almost all the bounces were just a couple of hops more than the
> >max
> 
> Waste of effort and resources, little gain, if any.
> 
He's right.  If you do a traceroute to just about anything, you'll see
that 25 hops is ample.  When it takes more than 25 hops, it's getting
lost.

-- 
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
                                -- Richard Davisson
 
                                        [from fortune]

                 




On Wed, Jun 21, 2000 at 01:10:51PM -0700,
  David Benfell <[EMAIL PROTECTED]> wrote:
> He's right.  If you do a traceroute to just about anything, you'll see
> that 25 hops is ample.  When it takes more than 25 hops, it's getting
> lost.

The kind of hops counted by traceroute aren't the ones that show up
in received headers.

Hop counts usually don't go over 20 unless a message gets resent with
the original received headers included. This happens regularly on some mailing
lists.





Someone who can't be replied to "net admin <admin>" wrote:

> I am seeing a bunch of message delivery failed bounces that says:
> Too many hops 27 (MAX 25) ...

What mailer is creating this bounce?  I'll bet it is sendmail, and
there is nothing you can do about it; the site(s) involved have to
change their configuration.

qmail relies on Delivered-To for loop detection rather than the
simplistic counting of Received lines that sendmail uses.  For "belt
and braces" security qmail-smtpd has a hop count limit of 100 as a
backup, but you're clearly not seeing this.

Regards,

Giles





Ralf Weber <[EMAIL PROTECTED]> wrote:

>I've heard that there is a feature or was a patch to log every message to a
>specific mailbox with a .qmail-msglog alias. I however couldn't find
>anything about this on the qmail homepage, the only thing I found on a web
>was a description of patch for qmail 1.01 (unfortunatley not the patch
>itself). Can some kind soul give me an pointer to this feature for qmail
>1.03.

See:

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

-Dave




"Sinisa Malesevic" <[EMAIL PROTECTED]> wrote:

>I use qmail with serialmail and fetchmail. I conect to my ISP with dial up.
>All messages for out are stored in "/var/qmail/alias/pppdir/" and that is OK.
>All mesages witch I receive (with fetchmail) are in
>"/var/qmail/qlias/pppdir/" too. 
> And that is problem. Why this mesages not in maildir of my users???

Because qmail doesn't know that those messages should be delivered
locally. Doublecheck /var/qmail/control/locals.

-Dave




=?iso-8859-1?Q?Andr=E9s?= <[EMAIL PROTECTED]> wrote:

>I use tcpserver, the idea is to create a file containing the users
>([EMAIL PROTECTED] for example) that are allowed to send e-mails with me, to
>define this on the tcp.smtp.cdb file and to check that list with a perl
>program or whatever every time an e-mail is going to be sent.

What you propose won't work because there's no username associated
with incoming TCP connections. You could achieve the same result
securely using the SMTP AUTH or TLS patches and compatible MUA's.

-Dave




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

>Does qmail support ATRN or TURN ?

With patches, yes. Alternatively, seriamail support "AutoTURN", which
is like ETRN but doesn't require that the client specifically send an
ETRN command.

See:

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

-Dave




Ben Beuchler <[EMAIL PROTECTED]> wrote:

>We are getting a ton of double bounces, mostly spam bouncing back to
>non-existent addresses.  In an attempt to thin out my inbox, I set the
>double bounces to got to a seperate address ([EMAIL PROTECTED]).
>Here's the relevant snippet from qmail-showctl:
>
>-----
>doublebouncehost: 2B recipient host: bitstream.net.
>
>doublebounceto: 2B recipient user: doublebounce.
>-----
>
>Despite this fact, I'm still getting double bounces delivered to
>postmaster!  And I did send a HUP to qmail-send.

In "man qmail-send":

       WARNING:  qmail-send  reads its control files only when it
       starts.  If you change the control files,  you  must  stop
       and restart qmail-send.  Exception: If qmail-send receives
       a HUP signal, it will reread locals and virtualdomains.

-Dave




Is there a way to change defaultdelivery to always deliver the mail to
another machine?

I have a machine that I don't want users to have to ever read mail on..  I
want users on this machine to be able to use the "mail" command locally to
send mail, but I don't want them reading it on this machine, I want it to be
automatically send to our mailhub.  (For example, the smtproutes "smarthost"
configuration wouldn't work, because that would deliver to local users first,
before sending out to another machine)

Is there a way to do this in /var/qmail/rc?

--Adam




Adam McKenna <[EMAIL PROTECTED]> wrote:
> Is there a way to change defaultdelivery to always deliver the mail to
> another machine?
> 
> I have a machine that I don't want users to have to ever read mail on..  I
> want users on this machine to be able to use the "mail" command locally to
> send mail, but I don't want them reading it on this machine, I want it to be
> automatically send to our mailhub.  (For example, the smtproutes "smarthost"
> configuration wouldn't work, because that would deliver to local users first,
> before sending out to another machine)
> 
> Is there a way to do this in /var/qmail/rc?

Try using nullmailer instead, by Bruce Guenter.  It doesn't do local delivery
at all; it will only forward to a smarthost.  It's design and interface are
inspired by qmail, and it does use a queue for reliability if the smarthost
goes down or whatnot.

It's at:
http://www.em.ca/~bruceg/nullmailer/

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




SANTOLALLA OSCAR <[EMAIL PROTECTED]> wrote:

>... When i execute  " #
>/usr/local/sbin/qmail start ", appears a message saying the inexistence of
>this file. What i don't find out is which of the previous steps are related
>with the creation of this executable.
>Another matter i don't understand is the message that appears when the
>system tries to start the service qmail: "execvp: No such file or directory
>...       [FAILED]". 

See:

  http://www.faqts.com/knowledge-base/view.phtml/aid/1200/fid/223/lang/en

-Dave




"Fernando B. Hallberg" <[EMAIL PROTECTED]> wrote:

>deferral:
>Connected_to_200.250.15.3_but_swender_was_rejected./Remote_host_said:_451_ma
>ilto:[EMAIL PROTECTED]/

The remote system (200.250.15.3) requires that the domain specified in 
the SMTP MAIL command resolve via DNS.

-Dave




HI, all!

I'm trying to install qmail for the first time on a backup server we have
running Linux redhat v5.2.  I have gone throught the LIFE WITH QMAIL manual,
which I find very useful, but when I try to start qmail I get the following
error on my screen, scrolling over and over:

supervise: fatal: unable to start qmail-smtpd/run: exec format error

Can someone give me a clue as to what is causing this error?

I am new to qmail, and my mastery of Linux is only nominal, so any help with
this matter would be greatly appreciated!

thanks!

John Romero






I have been unable to find out why I cannot get past the error:
* ERR this user has no $HOME/Maildir
Connection closed by foreign host.
I have tried everything I have found on the docs page and FAQ and still
cannot figure out where I have gone wrong.
Please help before I pull out what little hair I have left.
Thanx,

Eric








> I have been unable to find out why I cannot get past the error:
> * ERR this user has no $HOME/Maildir

Does the user have a Maildir directory?  Are the permissions correct
on it and on the home directory? What output is logged from
qmail-pop3d?

Regards,

Giles





Two possiblities that I know of:

1) Did you use the maildirmake program to make the users Maildir directory?
If not, do so.

2) When you telnet to your host on port 25, does it say:
+OK <some_long_string_of_numbers@your_domain_name_here

or does it say something more like:

+OK <some_long_string_of_numbers@checkpasswd>
or
+OK <some_long_string_numbers@/bin/checkpasswd>

If it's one of the latter, your $HOST isn't defined correctly when you're
starting qmail-pop3d.  On mine, I believe it was because I didn't have
reverse DNS running on my DNS server.  I used the qmail-run RPM at
qmail.org, so the line I had to change was:

HOST=$($QMAILHOME/bin/hostname)

where $QMAILHOME for me is defined as /var/qmail.  Before I changed it to
the above, it was some long line with /bin/hostname in it, but with another
app as well.  Near as I can tell, it was getting my hostname, DNSing it,
then attempting to reverse DNS it and get the ip address.  I assume this is
to ensure that DNS is working right when it starts?  I don't know...

Hope this helps some...

-Brian



-----Original Message-----
From: Eric Walters [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 4:48 PM
To: [EMAIL PROTECTED]
Subject: Issues with qmail pop3d and $HOME/Mailbox



I have been unable to find out why I cannot get past the error:
* ERR this user has no $HOME/Maildir
Connection closed by foreign host.
I have tried everything I have found on the docs page and FAQ and still
cannot figure out where I have gone wrong.
Please help before I pull out what little hair I have left.
Thanx,

Eric







DOH!  I meant telnet to port 110, or whatever your POP port is!!!

SORRY!

-Brian

-----Original Message-----
From: Brian Sweeney [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 5:21 PM
To: [EMAIL PROTECTED]
Subject: RE: Issues with qmail pop3d and $HOME/Mailbox


Two possiblities that I know of:

1) Did you use the maildirmake program to make the users Maildir directory?
If not, do so.

2) When you telnet to your host on port 25, does it say:
+OK <some_long_string_of_numbers@your_domain_name_here

or does it say something more like:

+OK <some_long_string_of_numbers@checkpasswd>
or
+OK <some_long_string_numbers@/bin/checkpasswd>

If it's one of the latter, your $HOST isn't defined correctly when you're
starting qmail-pop3d.  On mine, I believe it was because I didn't have
reverse DNS running on my DNS server.  I used the qmail-run RPM at
qmail.org, so the line I had to change was:

HOST=$($QMAILHOME/bin/hostname)

where $QMAILHOME for me is defined as /var/qmail.  Before I changed it to
the above, it was some long line with /bin/hostname in it, but with another
app as well.  Near as I can tell, it was getting my hostname, DNSing it,
then attempting to reverse DNS it and get the ip address.  I assume this is
to ensure that DNS is working right when it starts?  I don't know...

Hope this helps some...

-Brian



-----Original Message-----
From: Eric Walters [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 4:48 PM
To: [EMAIL PROTECTED]
Subject: Issues with qmail pop3d and $HOME/Mailbox



I have been unable to find out why I cannot get past the error:
* ERR this user has no $HOME/Maildir
Connection closed by foreign host.
I have tried everything I have found on the docs page and FAQ and still
cannot figure out where I have gone wrong.
Please help before I pull out what little hair I have left.
Thanx,

Eric







On Wed, Jun 21, 2000 at 05:21:19PM -0400, Brian Sweeney wrote:
> 
> Two possiblities that I know of:
> 
> 1) Did you use the maildirmake program to make the users Maildir directory?
> If not, do so.
> 
> 2) When you telnet to your host on port 25, does it say:

Should this be port 25 or something else?  Like 110 for pop3 perhaps?

> +OK <some_long_string_of_numbers@your_domain_name_here
> 
> or does it say something more like:
> 
> +OK <some_long_string_of_numbers@checkpasswd>
> or
> +OK <some_long_string_numbers@/bin/checkpasswd>
> 
> If it's one of the latter, your $HOST isn't defined correctly when you're
> starting qmail-pop3d.  On mine, I believe it was because I didn't have
> reverse DNS running on my DNS server.  I used the qmail-run RPM at
> qmail.org, so the line I had to change was:
> 
> HOST=$($QMAILHOME/bin/hostname)
> 
> where $QMAILHOME for me is defined as /var/qmail.  Before I changed it to
> the above, it was some long line with /bin/hostname in it, but with another
> app as well.  Near as I can tell, it was getting my hostname, DNSing it,
> then attempting to reverse DNS it and get the ip address.  I assume this is
> to ensure that DNS is working right when it starts?  I don't know...
> 
> Hope this helps some...
> 
> -Brian
> 
> 
> 
> -----Original Message-----
> From: Eric Walters [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 21, 2000 4:48 PM
> To: [EMAIL PROTECTED]
> Subject: Issues with qmail pop3d and $HOME/Mailbox
> 
> 
> 
> I have been unable to find out why I cannot get past the error:
> * ERR this user has no $HOME/Maildir
> Connection closed by foreign host.
> I have tried everything I have found on the docs page and FAQ and still
> cannot figure out where I have gone wrong.
> Please help before I pull out what little hair I have left.
> Thanx,
> 
> Eric
> 
> 
> 

-- 
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
                                -- Richard Davisson
 
                                        [from fortune]

                 




I have to build a good size mail server, and need to know the anwser to a
couple of questions.

1) Is there a way have qmail have two users at two different virtual domains
have the same username and have thier mail delivered to two different mail
accounts and fetchmail with the same username but of course using the
different virtual names.

For example: Mail sent to [EMAIL PROTECTED] and [EMAIL PROTECTED]
would end up on mail.lawinfo.com (Using MX records) in two different
mailboxes. So when they want their email, one would connect as joe on
mail.example.com and the other would connect as joe on mail.otherdomain.com.
I dont care what their maildir's is called on the mail server are, just as
long as it is stored on our server and they get their mail with joe user
name.

2) Has anyone here used the qmail-ldap patch?  The feature list makes it
look good. However, it much be able to fullfil the #1 requirement.


I know these are simple questions, but I cant find any information to verify
the first of the two.


--

Jason Murphy
Web Developer and Systems and Database Administrator

E-mail: [EMAIL PROTECTED]
URL: http://www.lawinfo.com
--------------------------------------------------------------
Lawinfo.com - Legal Industry Marketing for the 21st Century
Phone: 800-397-3743                         Fax: 800-220-4546
--------------------------------------------------------------






I would like to receive mail for another domain and not have to create user
accounts on my linux box.  How can this be accomplished?

Read thru the qmail-HOWTO and qmail FAQ but didn't find any indication.

Thanks in advance.

Boyd Kelly





Hello
 
I tried install vpopmail in freebsd but it wrong ...
 
bash-2.03# tcpserver 0 pop-3 /var/qmail/bin/qmail-popup cougar.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
[1] 438
bash-2.03# tcpserver: fatal: unable to figure out port number for pop-3
 
[1]+  Exit 111                tcpserver 0 pop-3 /var/qmail/bin/qmail-popup cougar.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
 
 
 
I tried:
 
tcpserver 0 pop-3 /var/qmail/bin/qmail-popup cougar.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
 
 
what is wrong??
 
 
 
 
JVino
 
 
 






On Wed, 21 Jun 2000, Javier Vino R. wrote:

> Hello
> 
> I tried install vpopmail in freebsd but it wrong ...
> 
> bash-2.03# tcpserver 0 pop-3 /var/qmail/bin/qmail-popup cougar.net 
>/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
> [1] 438
> bash-2.03# tcpserver: fatal: unable to figure out port number for pop-3
> 
> [1]+  Exit 111                tcpserver 0 pop-3 /var/qmail/bin/qmail-popup 
>cougar.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
> 

Make sure you have a line saying 
pop-3           110/tcp                         
in you /etc/services

                                                __Ramy M. Hassan__






>bash-2.03# tcpserver: fatal: unable to figure out port number for pop-3

Check your /etc/services file to see if there is such a service as
"pop-3" and whether a port is defined for it. The service for port 110
might be spelled differently then "pop-3" as you have here.




Hello,

I'm trying to set up POP over SSH with qmail on my new server.
Unfortunately, I don't even know if I've got the qmail pop program
working correctly.  Here's the line from inetd.conf:

pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup
area66-1.dsl.speakeasy.net /bin/checkpassword /var/qmail/bi

It's really all on one line.  I've tried a couple formulas in my
.fetchmailrc file for achieving this.  One was straight out of the
POP via SSH HOWTO, but the current version is adapted from Life with
Qmail.  The relevant excerpts:

defaults
##      interface "sl0/10.0.2.15"       # SLIRP standard address
        protocol POP3
        is benfell here
        password NwC1762
        fetchall
        forcecr
        to *
##      fetchlimit 10
##      batchlimit 10
        mda "/usr/bin/procmail -f - "
poll area66-1.dsl.speakeasy.net port 11110 user benfell
       preconnect "ssh -x -C -f -L
11110:area66-1.dsl.speakeasy.net:110
[EMAIL PROTECTED] sleep 2 0 </dev/nul
l >/dev/null";

The last three lines shown here actually share the line which precedes
it, beginning with preconnect.

No matter which flavor of .fetchmailrc adaption I use, the result is
the same:

> ssh-agent getmail
Need passphrase for /home/benfell/.ssh/identity (benfell@area66-1).
Enter passphrase:
Identity added: /home/benfell/.ssh/identity (benfell@area66-1)
...Warning: Remote host denied X11 forwarding, perhaps xauth program
could not be run on the server side.
Local: bind: Address already in use
Warning: Remote host denied X11 forwarding, perhaps xauth program
could not be run on the server side.
Local: bind: Address already in use

On the server, I see in /var/log/messages:

Jun 21 16:49:08 area66-1 sshd[3118]: log: Connection from
216.88.157.130 port 58113
Jun 21 16:49:08 area66-1 sshd[3118]: log: Could not reverse map
address 216.88.157.130.
Jun 21 16:49:09 area66-1 sshd[3118]: log: RhostsRsa authentication not
available for connections from unprivileged port.
Jun 21 16:49:09 area66-1 sshd[3118]: log: RSA authentication for
benfell accepted.
Jun 21 16:49:09 area66-1 sshd[3118]: fatal: bind: Address already in
use
Jun 21 16:49:29 area66-1 sshd[3120]: log: Connection from
216.88.157.130 port 58185
Jun 21 16:49:29 area66-1 sshd[3120]: log: Could not reverse map
address 216.88.157.130.
Jun 21 16:49:30 area66-1 sshd[3120]: log: RhostsRsa authentication not
available for connections from unprivileged port.
Jun 21 16:49:30 area66-1 sshd[3120]: log: RSA authentication for
benfell accepted.
Jun 21 16:49:31 area66-1 sshd[3120]: fatal: bind: Address already in
use
Jun 21 16:51:34 area66-1 named[197]: Cleaned cache of 0 RRsets
Jun 21 16:51:34 area66-1 named[197]: USAGE 961631494 961566694
CPU=0.39u/0.25s CHILDCPU=0u/0s
Jun 21 16:51:34 area66-1 named[197]: NSTATS 961631494 961566694 A=9
SOA=428 MX=1
Jun 21 16:51:34 area66-1 named[197]: XSTATS 961631494 961566694 RR=3
RNXD=0 RFwdR=2 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0
SSysQ=1 SAns=321 SFwdQ=4 SDupQ=38 SErr=0 RQ=438 RIQ=0 RFwdQ=0 RDupQ=6
RTCP=107 SFwdR=2 SFail=0 SFErr=0 SNaAns=321 SNXD=0
Jun 21 16:52:01 area66-1 sshd[324]: log: Generating new 768 bit RSA
key.
Jun 21 16:52:02 area66-1 sshd[324]: log: RSA key generation complete.
Jun 21 16:52:40 area66-1 su: (to root) benfell on /dev/pts/0
Jun 21 16:52:40 area66-1 PAM-unix2[3122]: session started for user
root, service su

In /var/log/mail, I see nothing relevant:

Jun 21 16:20:00 area66-1 qmail: 961629600.359411 new msg 222095
Jun 21 16:20:00 area66-1 qmail: 961629600.359669 info msg 222095:
bytes 648 from <[EMAIL PROTECTED]> qp 3038 uid 500
Jun 21 16:20:00 area66-1 qmail: 961629600.363153 starting delivery 68:
msg 222095 to local [EMAIL PROTECTED]
Jun 21 16:20:00 area66-1 qmail: 961629600.363296 status: local 1/10
remote 0/20
Jun 21 16:20:00 area66-1 qmail: 961629600.372457 delivery 68: success:
did_1+0+0/
Jun 21 16:20:00 area66-1 qmail: 961629600.372646 status: local 0/10
remote 0/20
Jun 21 16:20:00 area66-1 qmail: 961629600.372726 end msg 222095
Jun 21 16:40:00 area66-1 qmail: 961630800.365098 new msg 222095
Jun 21 16:40:00 area66-1 qmail: 961630800.365349 info msg 222095:
bytes 648 from <[EMAIL PROTECTED]> qp 3081 uid 500
Jun 21 16:40:00 area66-1 qmail: 961630800.368869 starting delivery 69:
msg 222095 to local [EMAIL PROTECTED]
Jun 21 16:40:00 area66-1 qmail: 961630800.369012 status: local 1/10
remote 0/20
Jun 21 16:40:00 area66-1 qmail: 961630800.378037 delivery 69: success:
did_1+0+0/
Jun 21 16:40:00 area66-1 qmail: 961630800.378219 status: local 0/10
remote 0/20
Jun 21 16:40:00 area66-1 qmail: 961630800.378299 end msg 222095

These messages reflect a cron job I have running every 20 minutes that
generates e-mail.  (I know this is bad form, but the idea is to have
some test mail to retrieve...)

I've been trying to chase down some information on the "Bind: Address
already in use" messages and could find nothing relevant in a google
search.

In the mean time, I'm not succeeding in downloading the e-mail.  So
far as I can see, it's all failing pretty quietly.

So, where do I begin?

-- 
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
                                -- Richard Davisson
 
                                        [from fortune]

                 




I see I inadvertently cut off the line in inetd.conf:

On Wed, Jun 21, 2000 at 05:00:39PM -0700, David Benfell wrote:
> 
> Hello,
> 
> I'm trying to set up POP over SSH with qmail on my new server.
> Unfortunately, I don't even know if I've got the qmail pop program
> working correctly.  Here's the line from inetd.conf:
> 
> pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup
> area66-1.dsl.speakeasy.net /bin/checkpassword /var/qmail/bi

This should actually read:

pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup
area66-1.dsl.speakeasy.net /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir
> 
> It's really all on one line.  I've tried a couple formulas in my
> .fetchmailrc file for achieving this.  One was straight out of the
> POP via SSH HOWTO, but the current version is adapted from Life with
> Qmail.  The relevant excerpts:
> 
> defaults
> ##      interface "sl0/10.0.2.15"       # SLIRP standard address
>         protocol POP3
>         is benfell here
>         password NwC1762
>         fetchall
>         forcecr
>         to *
> ##      fetchlimit 10
> ##      batchlimit 10
>         mda "/usr/bin/procmail -f - "
> poll area66-1.dsl.speakeasy.net port 11110 user benfell
>        preconnect "ssh -x -C -f -L
> 11110:area66-1.dsl.speakeasy.net:110
> [EMAIL PROTECTED] sleep 2 0 </dev/nul
> l >/dev/null";
> 
> The last three lines shown here actually share the line which precedes
> it, beginning with preconnect.
> 
> No matter which flavor of .fetchmailrc adaption I use, the result is
> the same:
> 
> > ssh-agent getmail
> Need passphrase for /home/benfell/.ssh/identity (benfell@area66-1).
> Enter passphrase:
> Identity added: /home/benfell/.ssh/identity (benfell@area66-1)
> ...Warning: Remote host denied X11 forwarding, perhaps xauth program
> could not be run on the server side.
> Local: bind: Address already in use
> Warning: Remote host denied X11 forwarding, perhaps xauth program
> could not be run on the server side.
> Local: bind: Address already in use
> 
> On the server, I see in /var/log/messages:
> 
> Jun 21 16:49:08 area66-1 sshd[3118]: log: Connection from
> 216.88.157.130 port 58113
> Jun 21 16:49:08 area66-1 sshd[3118]: log: Could not reverse map
> address 216.88.157.130.
> Jun 21 16:49:09 area66-1 sshd[3118]: log: RhostsRsa authentication not
> available for connections from unprivileged port.
> Jun 21 16:49:09 area66-1 sshd[3118]: log: RSA authentication for
> benfell accepted.
> Jun 21 16:49:09 area66-1 sshd[3118]: fatal: bind: Address already in
> use
> Jun 21 16:49:29 area66-1 sshd[3120]: log: Connection from
> 216.88.157.130 port 58185
> Jun 21 16:49:29 area66-1 sshd[3120]: log: Could not reverse map
> address 216.88.157.130.
> Jun 21 16:49:30 area66-1 sshd[3120]: log: RhostsRsa authentication not
> available for connections from unprivileged port.
> Jun 21 16:49:30 area66-1 sshd[3120]: log: RSA authentication for
> benfell accepted.
> Jun 21 16:49:31 area66-1 sshd[3120]: fatal: bind: Address already in
> use
> Jun 21 16:51:34 area66-1 named[197]: Cleaned cache of 0 RRsets
> Jun 21 16:51:34 area66-1 named[197]: USAGE 961631494 961566694
> CPU=0.39u/0.25s CHILDCPU=0u/0s
> Jun 21 16:51:34 area66-1 named[197]: NSTATS 961631494 961566694 A=9
> SOA=428 MX=1
> Jun 21 16:51:34 area66-1 named[197]: XSTATS 961631494 961566694 RR=3
> RNXD=0 RFwdR=2 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0
> SSysQ=1 SAns=321 SFwdQ=4 SDupQ=38 SErr=0 RQ=438 RIQ=0 RFwdQ=0 RDupQ=6
> RTCP=107 SFwdR=2 SFail=0 SFErr=0 SNaAns=321 SNXD=0
> Jun 21 16:52:01 area66-1 sshd[324]: log: Generating new 768 bit RSA
> key.
> Jun 21 16:52:02 area66-1 sshd[324]: log: RSA key generation complete.
> Jun 21 16:52:40 area66-1 su: (to root) benfell on /dev/pts/0
> Jun 21 16:52:40 area66-1 PAM-unix2[3122]: session started for user
> root, service su
> 
> In /var/log/mail, I see nothing relevant:
> 
> Jun 21 16:20:00 area66-1 qmail: 961629600.359411 new msg 222095
> Jun 21 16:20:00 area66-1 qmail: 961629600.359669 info msg 222095:
> bytes 648 from <[EMAIL PROTECTED]> qp 3038 uid 500
> Jun 21 16:20:00 area66-1 qmail: 961629600.363153 starting delivery 68:
> msg 222095 to local [EMAIL PROTECTED]
> Jun 21 16:20:00 area66-1 qmail: 961629600.363296 status: local 1/10
> remote 0/20
> Jun 21 16:20:00 area66-1 qmail: 961629600.372457 delivery 68: success:
> did_1+0+0/
> Jun 21 16:20:00 area66-1 qmail: 961629600.372646 status: local 0/10
> remote 0/20
> Jun 21 16:20:00 area66-1 qmail: 961629600.372726 end msg 222095
> Jun 21 16:40:00 area66-1 qmail: 961630800.365098 new msg 222095
> Jun 21 16:40:00 area66-1 qmail: 961630800.365349 info msg 222095:
> bytes 648 from <[EMAIL PROTECTED]> qp 3081 uid 500
> Jun 21 16:40:00 area66-1 qmail: 961630800.368869 starting delivery 69:
> msg 222095 to local [EMAIL PROTECTED]
> Jun 21 16:40:00 area66-1 qmail: 961630800.369012 status: local 1/10
> remote 0/20
> Jun 21 16:40:00 area66-1 qmail: 961630800.378037 delivery 69: success:
> did_1+0+0/
> Jun 21 16:40:00 area66-1 qmail: 961630800.378219 status: local 0/10
> remote 0/20
> Jun 21 16:40:00 area66-1 qmail: 961630800.378299 end msg 222095
> 
> These messages reflect a cron job I have running every 20 minutes that
> generates e-mail.  (I know this is bad form, but the idea is to have
> some test mail to retrieve...)
> 
> I've been trying to chase down some information on the "Bind: Address
> already in use" messages and could find nothing relevant in a google
> search.
> 
> In the mean time, I'm not succeeding in downloading the e-mail.  So
> far as I can see, it's all failing pretty quietly.
> 
> So, where do I begin?
> 
> -- 
> David Benfell
> [EMAIL PROTECTED]
> ICQ 59438240 [e-mail first for access]
> ---
> There are no physicists in the hottest parts of hell, because the
> existence of a "hottest part" implies a temperature difference, and
> any marginally competent physicist would immediately use this to
> run a heat engine and make some other part of hell comfortably cool.
> This is obviously impossible.
>                                 -- Richard Davisson
>  
>                                       [from fortune]
> 
>                

-- 
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
                                -- Richard Davisson
 
                                        [from fortune]

                 




> Ricardo D. Albano:

> How can I set up qmail to make automatically the home dir ?
> I'm using qmail-1.03 with ldap patches.

"make setup check" does that.  pls read "INSTALL*"

clemens




> David Benfell:

> I'm just finishing a qmail installation on my new server box.
> Any attempt to telnet to port 25 yields "connection refused."  I ran
> both tcp and udp scans on it with nmap; the port is not open.

if you start the tcp server with some tcp protection wrapper that isn't
configured to let local connections (i.e. from 127.0.0.1) pass, you won't
even be admitted from/to your own localhost.

clemens




Dear all
I used qmail on a big server, I'd like to log all of the messages's body (in 
and out), I try using qmailanalog but i didn't figured out, i think that 
qmailanalog can't handle the message's body . Could you show me how to solve 
my problem .
Thanks
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com





On Thu, Jun 22, 2000 at 03:01:24AM +0000, Nguyen Hong Son wrote:
> Dear all
> I used qmail on a big server, I'd like to log all of the messages's body (in 
> and out), I try using qmailanalog but i didn't figured out, i think that 
> qmailanalog can't handle the message's body . Could you show me how to solve 
> my problem .

Take a look at http://cr.yp.to/qmail/faq/admin.html#copies .

Gerrit.

-- 
[EMAIL PROTECTED]
                                                          innominate AG
                                                      networking people
fon: +49.30.308806-0  fax: -77  web: http://innominate.de  pgp: /pgp/gp




I have just moved qmail over from an SGI box to a new Solaris box and
discovered that all of the alias I have setup to use condredirect do not
work.

I have tested that the alias is working fine, but the following line does
not work at all. I think its something to do with the condition argument,
but for the life of me I cannot see it. I have tried several combinations
thinking it might me picky about spaces and quotes, but I still cannot get
it to work.

| condredirect [EMAIL PROTECTED] [ "$HOST" = omp.co.nz ]

Any ideas?
Thanks
Martin

Martin Searancke
CommSoft Group Ltd.
Level 8, CommSoft House
90 Symonds St
Auckland, New Zealand






I'm not at all familiar with Solaris, but I'd rewrite that as

| condredirect [EMAIL PROTECTED]  test "$HOST" = omp.co.nz

Armando


-----Original Message-----
From: Martin Searancke <[EMAIL PROTECTED]>
To: qmail list <[EMAIL PROTECTED]>
Date: Quinta-feira, 22 de Junho de 2000 5:07
Subject: condredirect does not appear to work correctly under Solaris


>I have just moved qmail over from an SGI box to a new Solaris box and
>discovered that all of the alias I have setup to use condredirect do not
>work.
>
>I have tested that the alias is working fine, but the following line does
>not work at all. I think its something to do with the condition argument,
>but for the life of me I cannot see it. I have tried several combinations
>thinking it might me picky about spaces and quotes, but I still cannot get
>it to work.
>
>| condredirect [EMAIL PROTECTED] [ "$HOST" = omp.co.nz ]
>
>Any ideas?
>Thanks
>Martin
>
>Martin Searancke
>CommSoft Group Ltd.
>Level 8, CommSoft House
>90 Symonds St
>Auckland, New Zealand
>
>
>

smime.p7s






  hello list 

   i have installed qmail and openldap  , its working fine but its pop3
part which is not working at all  , 

 i didt found checkpassword  file in /var/qmail/bin/ directory  
i have compiled qmail 6-7 times but not able to get the checkpassword 
file 
which options i have to turn on Makefile to get this checkpassword in
/var/qmail/bin    , its creating checkpassword.o  in source directory 



please help me  friends as soon as possible ,i am really in a big trouble 

Prashant










[EMAIL PROTECTED] �crit:
>  i didt found checkpassword  file in /var/qmail/bin/ directory        
> i have compiled qmail 6-7 times but not able to get the checkpassword 
> file 

  Isn't the 'checkpassword' file somewhere in the /bin directory ?




On Thu, Jun 22, 2000 at 09:07:10AM +0000, [EMAIL PROTECTED] wrote:
> 
> [EMAIL PROTECTED] ?crit:
> >  i didt found checkpassword  file in /var/qmail/bin/ directory      
> > i have compiled qmail 6-7 times but not able to get the checkpassword 
> > file 
> 
>   Isn't the 'checkpassword' file somewhere in the /bin directory ?

No. You need http://cr.yp.to/checkpwd.html (or other implementations).
It is not included in qmail-1.03.

Gerrit.

-- 
[EMAIL PROTECTED]
                                                          innominate AG
                                                      networking people
fon: +49.30.308806-0  fax: -77  web: http://innominate.de  pgp: /pgp/gp




Is there any way to get ANY kind of identifying information back from 
qmail-inject that can be used to later match the message up with log entries?

Preferably the same kind of '952161799 qp 10208' kind of code that SMTP or 
QMTP gives me. Both stdout and stderr seem to produce nothing at all on 
success.

It is important to me to account for everything, so I can know exactly what 
was delivered and what wasn't. And qmail-inject seems to be much the 
fastest way I can get things into the queue, so it would be very nice if I 
could also know whatever became of it.

- Flemming





hi all,
i installed qmail-smtpd with tcpserver.
When i try to send mail from another machine (using this as smtp server)
it says:  "error this domain isn't in my rcpthosts list"....something like
this.
I set up my rcphosts variable but it doesn't work!!
Any idea???
Thanks 

Federico.





Greetings Gurus,

Allow me to preface this message by saying I've searched the archive for the
solution to this problem and have come up short.  For others with this
problem, it seems that the problem has lied with a misplaced pipe or
extraneous &, neither of which seem to be my problem.  However, I doubt I'm
immune to such an oversight, so I will include as many specifics as
possible.

My problem: pop3d, run via tcpserver, fails to shut down when supervised

Script contents follow:

/etc/rc.d/init.d/qmail
----------------------
#!/bin/sh -e
# /etc/init.d/qmail : start or stop the qmail mail subsystem.
# borrowed from http://Web.InfoAve.Net/~dsill/lwq.html#start-qmail
# modified by Adam McKenna <[EMAIL PROTECTED]>

PATH=$PATH:/usr/local/bin:/var/qmail/bin

case "$1" in
    start)
        echo -n "Starting mail-transport-agent:"
        svc -u /var/qmail/supervise/*
        echo -n " qmail"
        svc -u /var/qmail/supervise/*/log
        echo " logging."
        ;;
    stop)
        echo -n "Stopping mail-transport-agent: "
        echo -n " qmail"
        svc -d /var/qmail/supervise/*
        echo " logging"
        svc -d /var/qmail/supervise/*/log
        ;;
# file truncated for brevity

/var/qmail/supervise/qmail-pop3d/run
------------------------------------
#!/bin/sh
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
nurelm.dynodns.
net \
/usr/local/bin/checkvpw /var/qmail/bin/qmail-pop3d Maildir 2>&1

/var/qmail/supervise/qmail-pop3d/log/run
----------------------------------------
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s1000000
/var/log/qmail-pop3d

----

So.. any idea what I'm doing wrong?  Thanks in advance for the help.  Please
let me know if more details are needed.

-Jud ([EMAIL PROTECTED])





i want a vacation program where vpopmail users can change their own
vacation message
any suggestion ??

greetings,
marco leeflang


Reply via email to