Re: Log the messages's body

2000-06-22 Thread Gerrit Pape

On Thu, Jun 22, 2000 at 03:01:24AM +, 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



Re: unable to switch to queue directory

2000-06-22 Thread Sylwester S. Biernacki

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]





Re: one user, virtual domains, mysql, wizz bang, mailing list manager

2000-06-22 Thread Sylwester S. Biernacki

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]





no checkpassword in /var/qmail/bin/

2000-06-22 Thread reach_prashant


  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








IDs back from qmail-inject ?

2000-06-22 Thread Flemming Funch

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




Re: no checkpassword in /var/qmail/bin/

2000-06-22 Thread jedi


[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 ?



Re: no checkpassword in /var/qmail/bin/

2000-06-22 Thread Gerrit Pape

On Thu, Jun 22, 2000 at 09:07:10AM +, [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



qmail smtp problem

2000-06-22 Thread Federico Barbazza

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.




supervised pop3d fails to TERM

2000-06-22 Thread Jud Harris

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 21

/var/qmail/supervise/qmail-pop3d/log/run

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s100
/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])




vacation program for qmail/vpopmail/qmailadmin

2000-06-22 Thread Marco Leeflang

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

greetings,
marco leeflang



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

2000-06-22 Thread qmail-digest-help


qmail Digest 22 Jun 2000 10:00:01 - 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 

Mail queueing in relay host.

2000-06-22 Thread mgr

Dear Qmail admins,

We have two computers with one acting as a relay
host(abc.valid.net connected to the internet) and the other, on the local
network(xyz.local.net),  for storing mails.  abc.valid.net is just for
forwarding mails to and from the local mail machine(xyz.local.net).  The
problem I face is that if the internet link is down then the mails sent
bounces back immediately and does not queue up in the abc.valid.net.

I have setup the control/smtproutes file which has the following
entry:

:[ip address of the ISP MX]


Should I setup something else?

Thanks in advance.

Regards,

Jacob Rajan,
Systems Manager,
Raman Research Institute,
Bangalore, India.





unable_to_chdir_to_maildir

2000-06-22 Thread Vince


please help i got this error in my qmail system,

Jun 22 18:30:02 qmail qmail: 961669802.819169 starting delivery 15: msg
95447 to local [EMAIL PROTECTED]
Jun 22 18:30:02 qmail qmail: 961669802.820265 status: local 1/10 remote 0/20
Jun 22 18:30:02 qmail qmail: 961669802.894011 delivery 15: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
Jun 22 18:30:02 qmail qmail: 961669802.895107 status: local 0/10 remote 0/20

what is my mistake here? 

thank you!




Re: unable_to_chdir_to_maildir

2000-06-22 Thread Thorkild Stray

On Thu, 22 Jun 2000, Vince wrote:

 please help i got this error in my qmail system,
 Jun 22 18:30:02 qmail qmail: 961669802.819169 starting delivery 15: msg
 95447 to local [EMAIL PROTECTED]
 Jun 22 18:30:02 qmail qmail: 961669802.820265 status: local 1/10 remote 0/20
 Jun 22 18:30:02 qmail qmail: 961669802.894011 delivery 15: deferral:
 Unable_to_chdir_to_maildir._(#4.2.1)/
 Jun 22 18:30:02 qmail qmail: 961669802.895107 status: local 0/10 remote 0/20
 what is my mistake here? 

What are the permissions on the Maildir/ catalog in the vhernz's home
catalog? 

Did you make that Maildir with maildirmake?

-- 
Thorkild




pop3d problem

2000-06-22 Thread Jens Georg

hi,

today i installed pop3d using ucspi-tcp 0.84. whenever i try to fetch
email via pop3 using netscape messenger on a windows box, netscape says:
"this user has no $HOME/Maildir. Enter a new password".

what does this mean ?

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




no POP logging with checkpassword and pop3d

2000-06-22 Thread Mirco Jeske

Hi all,

I am on the way .. but there are some problems , shure.

my linux server is running qmail 1.03(all daemons work). SMPT / relaying is
ok. 

I have two client hosts (Win98) with Outlook as MUA.

Now I want them to connect to  my linux server via pop3, so I was asked for a
user and passwd. I set up a normal linux account for both : comp1/password and
comp2/password. I used this user and his password for logginf, but it doesn't
work.
I tested checkpassword with /var/qmail/bin/qmail-popup host /bin/checkpassword pwd
and got everything all right.
Do I have to tell qmail about the users for pop3 in a different file ?

Help needed, thanx, Mirco





  _

there is no attachment today. Have a nice day.



Re: Newbie Problems Starting qmail

2000-06-22 Thread John Romero

Good morning, all!

Regarding my previous message, I have still been unable to resolve my
problem, despite reviewing the more popular references such as LWQ and the
qmail faq.  I understand that the solution may be as plain as day to many of
you, however, as I mentioned in my subject as well as below, I'm new to
qmail and not that experienced with Linux.  So if some kind soul could take
a minute to shed a little light, I'd be most grateful.

Thanks in advance!

John Romero

 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





using ./Maildir/ problems

2000-06-22 Thread Mirco Jeske

Hi all,

I am running qmail 1.03 and decided to use ./Maildir/ delivery.
When an internal mail to [EMAIL PROTECTED] is sent, the folling lines come
in the log:

@40003951f0ee087f3d54 starting delivery 33: msg 766948 to local
[EMAIL PROTECTED] @40003951f0ee0880048c status: local 1/10 remote 0/20
@40003951f0ee08ebb6dc delivery 33: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
@40003951f0ee08ec85e4 status: local 0/10 remote 0/20


There is the path /home/mirco/Maildir/new (or cur / tmp) , which should be used
for mail delivery.

The last seven days I was reading so much about sendmail, qmail and all the
daemons, that I now completly lost orientation. Somebody wash my brain please !!

Where do I have to set the enviroment variable MAILDIR ??
And how can it be , that the path is not found although it's there ?

I post everything you need, but please help me out ...

Mirco, Hannover



Re: qmail smtp problem

2000-06-22 Thread Chris Johnson

On Thu, Jun 22, 2000 at 11:30:49AM +0200, Federico Barbazza wrote:
 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!!

See FAQ 5.4, and if you need further details see
http://www.palomine.net/qmail/relaying.html and
http://www.palomine.net/qmail/selectiverelay.html.

Chris



RE: using ./Maildir/ problems

2000-06-22 Thread Tim Hunter

Since you stated you chose to use Maildir/ delivery I would guess that you
edited defaultdelivery in your qmail rc file, or that you understand what
that means.

what it looks like is you need to run maildirmake (found in /var/qmail/bin)
as the user mirco.
Or if you already have a Maildir for mirco, you need to check the ownership
and permissions.

Good luck.

-- Tim


-Original Message-
From: Mirco Jeske [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 9:18 AM
To: [EMAIL PROTECTED]
Subject: using ./Maildir/ problems


Hi all,

I am running qmail 1.03 and decided to use ./Maildir/ delivery.
When an internal mail to [EMAIL PROTECTED] is sent, the folling lines
come
in the log:

@40003951f0ee087f3d54 starting delivery 33: msg 766948 to local
[EMAIL PROTECTED] @40003951f0ee0880048c status: local 1/10 remote
0/20
@40003951f0ee08ebb6dc delivery 33: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
@40003951f0ee08ec85e4 status: local 0/10 remote 0/20


There is the path /home/mirco/Maildir/new (or cur / tmp) , which should be
used
for mail delivery.

The last seven days I was reading so much about sendmail, qmail and all the
daemons, that I now completly lost orientation. Somebody wash my brain
please !!

Where do I have to set the enviroment variable MAILDIR ??
And how can it be , that the path is not found although it's there ?

I post everything you need, but please help me out ...

Mirco, Hannover




dial on demand (wvdial) and internal mails

2000-06-22 Thread Mirco Jeske

Hi again,

Under qmail 1.03 I have the problem that the server goes online - even when I
send a mail to someone in my internal net.

My mail server is server.home.net and there are two users : mirco and cloudy
sending a mail to [EMAIL PROTECTED] causes wvdial to dial. So it must be,
that qmail sends the impuls, although my /var/qmail/control/locals is

server.home.net
mirco.home.net
cloudy.home.net

the log reports :

@40003951ed69334870dc new msg 766948
@40003951ed693348f1c4 info msg 766948: bytes 1697 from [EMAIL PROTECTED] qp 884 
uid 101
@40003951ed6933afdd6c starting delivery 28: msg 766948 to local 
[EMAIL PROTECTED]
@40003951ed6933b08d34 status: local 1/10 remote 0/20
@40003951ed6934101e0c delivery 28: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/


It tells me, that this adress is local, but still a connection is made.
(by the way : the last line reports of an other problem I have, please read
"using ./Maildir/ problems")

I want the computer to deliver internal mails without going online, as you
guess.

In which way am I wrong 


thanx, Mirco Jeske


 -- 
_

there is no attachment today. Have a nice day.



Re: dial on demand (wvdial) and internal mails

2000-06-22 Thread Johan Almqvist

On Thu, Jun 22, 2000 at 03:32:30PM +0200, Mirco Jeske wrote:
 Hi again,
 
 Under qmail 1.03 I have the problem that the server goes online - even when I
 send a mail to someone in my internal net.

Probably, qmail is looking up the local mail servers' IP or doing some
RBL stuff. Or maybe looking up the senders' domain so that it exists (for
bounces)?

-Johan




Re: pop3d problem

2000-06-22 Thread Steffan Hoeke

On Thu, Jun 22, 2000 at 02:34:24PM +0200, Jens Georg wrote:
 hi,
 
 today i installed pop3d using ucspi-tcp 0.84. whenever i try to fetch
 email via pop3 using netscape messenger on a windows box, netscape says:
 "this user has no $HOME/Maildir. Enter a new password".
 
 what does this mean ?
It means exactly what it says ;-)
The user you are trying to fetch mail as doesn't have a Maildir in his/her
home directory, did you use maildirmake for those users ?

The following directories should be present:
/home/[username]/Maildir/cur
/home/[username]/Maildir/tmp
/home/[username]/Maildir/new
 
 jens
HTH,
 Steffan
-- 
http://therookie.dyndns.org




RE: pop3d problem

2000-06-22 Thread Brian Sweeney

It's also possible your $HOST is not defined.  A lot of people have been
asking this question...is this something to do with reverse DNS or what?
Anyway, here's the response I gave someone else ~1 week ago:


When you telnet to your host on port 110, 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: Steffan Hoeke [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 10:13 AM
To: qmail mailinglist
Subject: Re: pop3d problem


On Thu, Jun 22, 2000 at 02:34:24PM +0200, Jens Georg wrote:
 hi,

 today i installed pop3d using ucspi-tcp 0.84. whenever i try to fetch
 email via pop3 using netscape messenger on a windows box, netscape says:
 "this user has no $HOME/Maildir. Enter a new password".

 what does this mean ?
It means exactly what it says ;-)
The user you are trying to fetch mail as doesn't have a Maildir in his/her
home directory, did you use maildirmake for those users ?

The following directories should be present:
/home/[username]/Maildir/cur
/home/[username]/Maildir/tmp
/home/[username]/Maildir/new

 jens
HTH,
 Steffan
--
http://therookie.dyndns.org




forward

2000-06-22 Thread Jonathan Fortin



To forward. i edited .qmail-lev

and added [EMAIL PROTECTED], when i send email to [EMAIL PROTECTED], it doesnt
get forwarded to [EMAIL PROTECTED], how do i fix this?


thanks

sincerely,

jonathan




Re: forward

2000-06-22 Thread Johan Almqvist

On Thu, Jun 22, 2000 at 11:23:46AM -0400, Jonathan Fortin wrote:
 To forward. i edited .qmail-lev
 
 and added [EMAIL PROTECTED], when i send email to [EMAIL PROTECTED], it doesnt
 get forwarded to [EMAIL PROTECTED], how do i fix this?

What you did will forward mail to [EMAIL PROTECTED] to hotmail (assuming
that the .qmail-lev file is in lev's home dir). To forward mail to
[EMAIL PROTECTED] to hotmail, the file name should be just .qmail.

man dot-qmail

-Johan 
-- 
Johan Almqvist



Re: no checkpassword in /var/qmail/bin/

2000-06-22 Thread David Benfell

On Thu, Jun 22, 2000 at 11:24:00AM +0200, Gerrit Pape wrote:
 
 On Thu, Jun 22, 2000 at 09:07:10AM +, [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.
 
I believe the answer is both.  It is neither in /var/qmail/bin, but in
/bin (at least on my system), nor is it included in qmail-1.03.  On
the other hand, I can't say I have it working yet either...

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

 



unable to execute qq

2000-06-22 Thread Herman Van Keer [M-PRO]

Hi,

I compiled qmail and got it up and running (kind of).

My problem right now is: i cannot send mail as a 'non-root' user: it
complaints about 'unable to execute qq (#4.3.0)
As root I can send messages local as well as to remote sites?

I suppose it is a permissions problem but where?

I do have another problem too:
In the log file I see these lines:
trouble injecting bounce message
Same problem? Permissions?
 
Unfortunately the search engine on the qmail mailing list does not seem
to work?

Thanks for your reply.
Herman


-- 
++
!   Herman Van Keer  !
!   Tel: +1 403 863-6075 !
!   E-mail: [EMAIL PROTECTED]   !
++



old qmail dists

2000-06-22 Thread Magnus Bodin


Anyone sitting on the old public qmail distributions? 
I'm interested in 1.02 and the ones before that. 

/magnus



(still) POP over SSH trouobles

2000-06-22 Thread David Benfell

Hello again, and thanks for all your help so far.

Hopefully I've got this a little better nailed down.

My .fetchmailrc looks like this (I'll try to remember to blank out the
passwords this time):

defaults
protocol POP3
is benfell here
fetchall
forcecr
mda "/usr/bin/procmail -f - "
poll mail. user dbenfell password xxx
poll antares.x port 0 user benfell pass 
preconnect "ssh -C -f [EMAIL PROTECTED] -L
0:antares.x:110 sleep 5"
poll area66-1.dsl.speakeasy.net port 0 user benfell pass

preconnect "ssh -C -f [EMAIL PROTECTED] -L
0:area66-1.dsl.speakeasy.net:110 sleep 2"
poll pop3.z user dbenfell password xxx # keep no
fetchall

This formula worked very, very briefly, once, in fact, on antares, a
machine where I have an account but not administrative access and
which runs sendmail.  Mostly it isn't working there either.  The other
flavors people have sent me haven't made any difference, so I'm
assuming my problem isn't in .fetchmailrc.  area66-1 is running qmail.

As you can see, I'm trying this on two machines, antares and area66-1.
area66-1 is my server.

Since I omitted the --syslog and --invisible options, I get a little
more information on the terminal where I'm running this:

1 message for dbenfell at mail. (2133 octets).
reading message 1 of 1 (2133 octets) .. flushed
Warning: Remote host denied X11 forwarding, perhaps xauth program
could not be run on the server side.
fetchmail: POP3 connection to antares.x failed: Connection
refused
fetchmail: Query status=SOCKET
Warning: Remote host denied X11 forwarding, perhaps xauth program
could not be run on the server side.
Local: bind: Address already in use
fetchmail: pre-connection command failed with status 65280
fetchmail: Query status=SYNTAX
fetchmail: No mail for dbenfell at pop3.z

Going to my own server, area66-1, I see in /var/log/messages:

Jun 22 08:50:25 area66-1 sshd[2011]: log: Connection from
216.254.42.100 port 1022
Jun 22 08:50:25 area66-1 sshd[2011]: log: RSA authentication for
benfell accepted.
Jun 22 08:50:25 area66-1 sshd[2013]: log: executing remote command as
user benfell
Jun 22 08:50:27 area66-1 sshd[2011]: log: Closing connection to
216.254.42.100
Jun 22 08:55:39 area66-1 sshd[2014]: log: Connection from
216.254.42.100 port 1022
Jun 22 08:55:40 area66-1 sshd[2014]: log: RSA authentication for
benfell accepted.
Jun 22 08:55:40 area66-1 sshd[2016]: log: executing remote command as
user benfell
Jun 22 08:55:42 area66-1 sshd[2014]: log: Closing connection to
216.254.42.100
Jun 22 08:59:19 area66-1 sshd[2018]: log: Connection from
216.254.42.100 port 1023
Jun 22 08:59:31 area66-1 sshd[2018]: log: RSA authentication for
benfell accepted.
Jun 22 08:59:40 area66-1 su: (to root) benfell on /dev/pts/0
Jun 22 08:59:40 area66-1 PAM-unix2[2031]: session started for user
root, service su
Jun 22 09:00:00 area66-1 /USR/SBIN/CRON[2048]: (benfell) CMD (cd
/home/benfell/setiathome; ./setiathome -nice 19 -email)
Jun 22 09:00:54 area66-1 sshd[2071]: log: Connection from
216.254.42.100 port 1021
Jun 22 09:00:55 area66-1 sshd[2071]: log: RSA authentication for
benfell accepted.
Jun 22 09:00:55 area66-1 sshd[2073]: log: executing remote command as
user benfell
Jun 22 09:00:57 area66-1 sshd[2071]: log: Closing connection to
216.254.42.100
Jun 22 09:06:14 area66-1 sshd[2074]: log: Connection from
216.254.42.100 port 1021
Jun 22 09:06:14 area66-1 sshd[2074]: log: RSA authentication for
benfell accepted.
Jun 22 09:06:14 area66-1 sshd[2074]: fatal: bind: Address already in
use
Jun 22 09:11:28 area66-1 sshd[2076]: log: Connection from
216.254.42.100 port 1021
Jun 22 09:11:29 area66-1 sshd[2076]: log: RSA authentication for
benfell accepted.
Jun 22 09:11:29 area66-1 sshd[2076]: fatal: bind: Address already in
use
Jun 22 09:16:43 area66-1 sshd[2097]: log: Connection from
216.254.42.100 port 1021
Jun 22 09:16:43 area66-1 sshd[2097]: log: RSA authentication for
benfell accepted.
Jun 22 09:16:43 area66-1 sshd[2097]: fatal: bind: Address already in
use
Jun 22 09:20:00 area66-1 /USR/SBIN/CRON[2102]: (benfell) CMD (cd
/home/benfell/setiathome; ./setiathome -nice 19 -email)
Jun 22 09:21:59 area66-1 sshd[2110]: log: Connection from
216.254.42.100 port 1021
Jun 22 09:21:59 area66-1 sshd[2110]: log: RSA authentication for
benfell accepted.
Jun 22 09:21:59 area66-1 sshd[2110]: fatal: bind: Address already in
use
Jun 22 09:27:13 area66-1 sshd[2119]: log: Connection from
216.254.42.100 port 1021

Am I interpreting this right when I think I'm succeeding in my ssh
access, but not in getting at port 110?
I've installed tcpserver, partly because of its stated benefits,
partly because the expertise on this list seems to be oriented in that
direction.  Am I correct in understanding that tcpserver bypasses
hosts.allow and hosts.deny?  I added the startup to my inetd startup
script.  In part, it looks like:


Re: unable_to_chdir_to_maildir

2000-06-22 Thread Paul Gregg

In article [EMAIL PROTECTED] Thorkild 
Stray [EMAIL PROTECTED] wrote:
| On Thu, 22 Jun 2000, Vince wrote:

| please help i got this error in my qmail system,
| Jun 22 18:30:02 qmail qmail: 961669802.819169 starting delivery 15: msg
| 95447 to local [EMAIL PROTECTED]
| Jun 22 18:30:02 qmail qmail: 961669802.820265 status: local 1/10 remote 0/20
| Jun 22 18:30:02 qmail qmail: 961669802.894011 delivery 15: deferral:
| Unable_to_chdir_to_maildir._(#4.2.1)/
| Jun 22 18:30:02 qmail qmail: 961669802.895107 status: local 0/10 remote 0/20
| what is my mistake here? 

| What are the permissions on the Maildir/ catalog in the vhernz's home
| catalog? 

| Did you make that Maildir with maildirmake?

Yes,

You'll also get this error from qmail is you are using a +domain
in users/assign and the $HOME defined in users/assign does not
have a .qmail-default

Paul.
-- 
| Paul Gregg  | T: +44 (0) 28 90 424190 |  |
| Technical Director  | F: +44 (0) 28 90 424709 | CLUB24  INTERNET |  
| The Internet Business Ltd   | W: http://www.tibus.net |   Free  Access   |  
| Holywood House, Innis Court | E: info  @ tibus . net  | www.club24.co.uk |  
| Holywood, Co Down, BT18 9HF | P: pgregg @ tibus . net |  |



Re: unable to execute qq

2000-06-22 Thread Dave Sill

"Herman Van Keer [M-PRO]" [EMAIL PROTECTED] wrote:

My problem right now is: i cannot send mail as a 'non-root' user: it
complaints about 'unable to execute qq (#4.3.0)
As root I can send messages local as well as to remote sites?

I suppose it is a permissions problem but where?

/var/qmail/bin/qmail-queue

I do have another problem too:
In the log file I see these lines:
trouble injecting bounce message
Same problem? Permissions?

Probably.

Unfortunately the search engine on the qmail mailing list does not seem
to work?

If you mean http://www-archive.ornl.gov:8000, it works fine for
me. What problem are you having?

-Dave



Re: urgent help needed

2000-06-22 Thread Dave Sill

"suresh" [EMAIL PROTECTED] wrote:

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

How did you install it? It should already be logging.

-Dave



Re: virtualdomain

2000-06-22 Thread Dave Sill

"Vladimir Horak" [EMAIL PROTECTED] wrote:

  I have problem with virtual domain. It seems to me that virtual domain must
not be subdomain of any domain from locals. Is it true?

No.

  I had this configuration:

locals:
mydomain.cz
a.mydomain.cz
b.mydomain.cz

virtualdomains:
any-other.cz:user

It works fine. But I want to make virtualdomain c.mydomain.cz. I add this
domain to virtualdomains:

any-other.cz:user
c.mydomain.cz:userc

When I send mail from localhost to [EMAIL PROTECTED], qmail send it to
[EMAIL PROTECTED], it is OK.

When I send mail from any other host, qmail send it to any@my-server-name.
And when I try to send mail from the same host using "telnet my-server-name
25" and simple SMTP commands, qmail send it to [EMAIL PROTECTED] (it is
strange).

Can you help me, please? Qmail is 1.03, no patches.

Compare the log entries for the two cases.

-Dave



Re: condredirect does not appear to work correctly under Solaris

2000-06-22 Thread Louis Theran

[EMAIL PROTECTED] (Martin Searancke) writes:

 I have just moved qmail over from an SGI box to a new Solaris box and
 
 | condredirect [EMAIL PROTECTED] [ "$HOST" = omp.co.nz ]
 
 Any ideas?

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

Solaris doesn't have /usr/bin/[, IIRC.

^L




Re: primary server config

2000-06-22 Thread Dave Sill

[EMAIL PROTECTED] wrote:

I'd like to setup a priamry to do mail forwarding to a NT exchange server

it would be useful if a copy of each forwarded e-mail could be saved
on the qmail server for 30 days or so 

what's the best way of doing this...

Use QUEUE_EXTRA to copy the messages to an alias that saves them in a
Maildir, and run "find" nightly to remove the 31-day-old messages.

See:

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

-Dave



Re: primary server config ++

2000-06-22 Thread Dave Sill

[EMAIL PROTECTED] wrote:

I'd like to setup a priamry to do mail forwarding to a NT exchange
server, only if there is no local account on the primary mail server

Use ~alias/.qmail-default to forward the "no local account" messages
to the NT box, e.g.:

  |forward "$LOCAL"@ntbox

it would be useful if a copy of each forwarded e-mail could be saved
on the qmail server for 30 days or so

Add a Maildir delivery line to ~alias/.qmail-default:

  ./LogMaildir/

And run a cron job nightly to purge 31-day-old mail from
~alias/LogMaildir.

-Dave



SMTP/POP3 cgi app, smtp does not redirect to other servers

2000-06-22 Thread John van V.



Hi all,

I am building a pop toaster from the al-the-pal product.
http://althepal.com/

Basically it is a stupid simple perl cgi app, but I am just learning the mail
protocols (argh!!)

The pop3 part rocks, no problems there.

But when I try to send mail to my yahoo mail instead of my own box, I get the
error that yahoo.com is not on the list of recipients.

To me that makes sense, but is there a feature where qmail will redirect mail
to any other mail server out there ??

I have partially hardwired the above to use qmail-inject, with parital success
(the attachments feature is broken yet)

I have a pretty good background building cgi's for intranets.  I will set up
CVS if anybody wants to work on this product or evolve an even better one.

I have a club to support that kind of action, and infact, I really want to
become a tcpserver/tcpclient expert sometime soon.

TIA !!

Lots of ^L  (lol?? :)

=
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/



multilog problems

2000-06-22 Thread Clifford Thurber

Hello,
I have just installed a tcpserver supervised qmail. The  problem I am
having concerns multilog. The message a recieve on console at boot time is :


multilog: fatal: unable to switch to current directory: access denied

I know that this probably involves a permissions problem but here is where
I am stumped.
Here is are the permissions of /var/log/qmail/smtpd :

root@cygnus:/var/qmail/supervise/qmail-send/log  ls -l /var/log/qmail/smtpd
total 4
drwxr-xr-x  2 qmaill   qmail512 Jun 21 15:49 ./
drwxr-xr-x   3 qmaill   qmail512 Jun 21 15:49 ../

Here is the contents of/var/qmail/supervise/qmail-send/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail

Here is the contents of   /var/qmail/supervise/qmail-smtpd/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/smtpd

My /var/qmail/rc looks like this:
#!/bin/sh

# Using stdout for logging
# Using control/defaultdelivery from qmail-local to deliver messages by
default

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"

My /etc/init.d/qmail script is taken off of the Life With Qmail page/


I am running qmail 1.03 on a solaris 2.6 system with daemontools-0.70. I
have checked the mailing list archives and didn't find any more insight. I
someone could help me out with this I would greatly appreciate it. Thanks



Re: multilog problems

2000-06-22 Thread Dave Sill

Clifford Thurber [EMAIL PROTECTED] wrote:

multilog: fatal: unable to switch to current directory: access denied

I know that this probably involves a permissions problem but here is where
I am stumped.
Here is are the permissions of /var/log/qmail/smtpd :

root@cygnus:/var/qmail/supervise/qmail-send/log  ls -l /var/log/qmail/smtpd
total 4
drwxr-xr-x  2 qmaill   qmail512 Jun 21 15:49 ./
drwxr-xr-x   3 qmaill   qmail512 Jun 21 15:49 ../

Access to a directory requires access to all of its parent
directories. Try:

  ls -ld /var/log/qmail /var/log /var /

-Dave



QMAIL Presentation in German

2000-06-22 Thread Erwin Hoffmann

Hi, 

I was supposed to give a QMAIL presentation at a congress of the German
Unix User Group (GUUG) (http://www.guug.de). However, the whole congress
was canceled thus the presentation is more or less "virtual".

In case of interest (in particular the German QMAIL users) the presentation
can be downloaded from my QMAIL page 

http://www.fehcom.de/qmail_en.html 

as PDF document.

Cheers
eh.
+---+
|  fffhh http://www.fehcom.deDr. Erwin Hoffmann |
| ff  hh|
| ffeee     ccc   ooomm mm  mm   Wiener Weg 8   |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm 50858 Koeln|
| ff  ee eee  hh  hh  cc   oo oo mm   mm  mm|
| ff  eee hh  hh   cc   oo   oo  mm   mm  mm Tel 0221 484 4923  |
| ff      hh  hhccc   ooomm   mm  mm Fax 0221 484 4924  |
+---+



auth_po in /var/qmail/bin

2000-06-22 Thread prashant





hello friends 

can some one tell me what is the function of "auth_pop" in 
/var/qmail/bin i have compiled qmail with qmail-ldap patch on redhat 
6.1


thanks 

prahant desai


Re: auth_po in /var/qmail/bin

2000-06-22 Thread Magnus Bodin

On Thu, Jun 22, 2000 at 01:13:51AM +0530, prashant wrote:
 
 can some one tell me what is the function of "auth_pop" in /var/qmail/bin
  i have compiled qmail with qmail-ldap patch on redhat 6.1

If you know why you patched qmail with qmail-ldap you probably also know
that this patch adds ldap lookup abilities to both delivery and client
protocols. auth_pop is a snap in replacement for checkpassword that is
required when installing the pop3-service with qmail-popup. 

Look further in the QLDAPINSTALL file that you got with the patch and in
"Life with qmail" to see how to setup pop3.

/magnus
--
"Good (open) software will prove itself, and
 DJB is known to write software that works.   - Wietse Venema 2000-06-20




Re: Too load ! (fwd)

2000-06-22 Thread John Gonzalez/netMDC admin

Just curious as to wether this persons argument about qmail not complying
with RFC 821 is correct or not? Anyone?


-- 
  ___   _  __   _  
__  /___ ___    /__  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[-[system info]---]
  2:00pm  up 42 days, 20:03,  3 users,  load average: 0.16, 0.54, 1.30

-- Forwarded message --
Date: Fri, 23 Jun 2000 07:37:43 +1200 (NZST)
From: Alan Brown [EMAIL PROTECTED]
To: Keith Warno [EMAIL PROTECTED]
Cc: Subscribers of Qpopper [EMAIL PROTECTED]
Subject: Re: Too load !

On Thu, 22 Jun 2000, Keith Warno wrote:

 Flames will be directed to /dev/null ; this was not intended to start an MTA
 war.  It's just a possible solution.

I'm not going to flame - just point out that qmail breaches RFC 821 in
several areas. It's also fairly unfriendly about bandwidth usage _and_
accepts some relay attempts, then dumps them in the postmaster box,
which can result in local or proxy mailbombings.

Postfix and Exim are two other alternatives to sendmail, both better
behaved.

Qmail _is_ useful if you run a list processor because of its high
throughput abilities, but IMO it's not suitable as a general purpose
mailserver. It was designed for list servers with good bounce management
and it shows.

AB





quota problems

2000-06-22 Thread prashant

hello list

 i have installed qmail with qmail ldap patch

how can i set quotas for users mailbox (using Maildir) , i am not using pams
for qmail


thanks
PraSHANT




Hacker attack!

2000-06-22 Thread Chad Day

Check this out:

http://www.floridatoday.com/news/business/stories/2000/jun/bus062100b.htm

Excerpts:

Harris Corp.'s Web site disappeared from the Internet Monday and Tuesday,
after an apparent hacker attack rerouted visitors to an unrelated site that
was still under construction. 
Baker said the problem started when an unknown person e-mailed Network
Solutions Inc., which maintains a directory for Internet addresses,
instructing the Herndon, Va.-based company to reroute all traffic from the
www.harris.com http://www.harris.com domain to a site maintained by
myinternet.com, another Internet domain registration company. 


Apparently in this day and age, sending e-mail is considered hacking!  I
must be an old-sk00l hax0r th3n, since I started sending e-mail sometime
around 1991 through my 3133t WW1V BBS.

I advise that all list members block port 25 until these malicious hackers
can be brought to justice.  Turn off sendmail, qmail, postfix, or whatever
you run, don't allow services that hax0rs can exploit.

Oh, look!  I just hacked the qmail list, by sending e-mail to it!

:)

Chad Day
Beach Associates

When I speak german... I think german in my head... but like...Do skript
kiddies see a w40l3 8uncha 1's and 0's and 3's and 4's and 7's in their
h34d'5 w43n t43y R +a1k1n6 ? -- SirStanley




Re: dirmaker

2000-06-22 Thread Ricardo D. Albano

Hehe, not the qmail home dir, the user mailbox dir. :)

RDA.-

-Original Message-
From: clemensF [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED];
[EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Wednesday, June 21, 2000 10:43 PM
Subject: Re: dirmaker


 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




tcpserver with qmail-ldap patch

2000-06-22 Thread prashant



hello friends 

i have installed qmail wit hqmail-ldap patch , on RedHat linux 
6.1 and wanna config it with tcpserver for heavy loads 

its going to be a production system , can some one tell me how 
should i proceed , 
is it possible for AIX ?


thanks 
pRASHANT


RE: dirmaker

2000-06-22 Thread Brian Sweeney


I don't know how it works with LDAP, but I just have a Maildir and a .qmail
file in my /etc/skel directory, which is the skeleton for useradds.  Then,
whenever I add a user, they come with everything already setup...

-Brian
-Original Message-
From: Ricardo D. Albano [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 4:35 PM
To: clemensF; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: dirmaker


Hehe, not the qmail home dir, the user mailbox dir. :)

RDA.-

-Original Message-
From: clemensF [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED];
[EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Wednesday, June 21, 2000 10:43 PM
Subject: Re: dirmaker


 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




Re: Too load ! (fwd)

2000-06-22 Thread Charles Cazabon

John Gonzalez/netMDC admin [EMAIL PROTECTED] wrote:
 Just curious as to wether this persons argument about qmail not complying
 with RFC 821 is correct or not? Anyone?

The author of that text doesn't actually specify what portions of RFC821
he belives that qmail violates, so it's difficult to tell what he's 
referring to.  However, these types of things comes up regularly on this
list.  The general consensus (if I may be so bold) is that Dan's
interpretation or the fuzzy sections of RFC821 does not always comply
with others' interpretation of the same fuzzy sections, but it appears that
most people on this list believe Dan's approach is the most (pick one)
reliable, robust, secure, efficient.

As the author doesn't even spell "qmail" correctly, I think it would be
safe to assume his opinion isn't particularly well researched.

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



Re: Too load ! (fwd)

2000-06-22 Thread Scott D. Yelich


On Thu, 22 Jun 2000, Charles Cazabon wrote:
 As the author doesn't even spell "qmail" correctly, I think it would be
 safe to assume his opinion isn't particularly well researched.

Can you give me a list or any specifics on where the "fuzziness" is?

Scott





Re: pop3d problem

2000-06-22 Thread Johan Almqvist

On Thu, Jun 22, 2000 at 10:38:46PM +0200, Jens Georg wrote:
 hi,
 
  The user you are trying to fetch mail as doesn't have a Maildir in his/her
  home directory, did you use maildirmake for those users ?
 
 no, i didn't :-(. so, after running maildirmake /home/georg/Maildir
 netscape messenger can connect, but there is nothing to fetch, although
 i have several testemails waiting. any idea, what's still wrong ?

Where are those test e-mails you want to see? They SHOULD be in
/home/$USER/Maildir/new/

-Johan
-- 
Johan Almqvist



Re: pop3d problem

2000-06-22 Thread Jens Georg

hi,

 The user you are trying to fetch mail as doesn't have a Maildir in his/her
 home directory, did you use maildirmake for those users ?

no, i didn't :-(. so, after running maildirmake /home/georg/Maildir
netscape messenger can connect, but there is nothing to fetch, although
i have several testemails waiting. any idea, what's still wrong ?

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





Re: multilog problems

2000-06-22 Thread Steffan Hoeke

On Thu, Jun 22, 2000 at 02:17:34PM -0400, Dave Sill wrote:
 Clifford Thurber [EMAIL PROTECTED] wrote:
 
 multilog: fatal: unable to switch to current directory: access denied
 
 I know that this probably involves a permissions problem but here is where
 I am stumped.
 Here is are the permissions of /var/log/qmail/smtpd :
 
 root@cygnus:/var/qmail/supervise/qmail-send/log  ls -l /var/log/qmail/smtpd
 total 4
 drwxr-xr-x  2 qmaill   qmail512 Jun 21 15:49 ./
 drwxr-xr-x   3 qmaill   qmail512 Jun 21 15:49 ../
 
 Access to a directory requires access to all of its parent
 directories. Try:
 
   ls -ld /var/log/qmail /var/log /var /
 
 -Dave
Ok, i'm having the same problem, the output of the previous command (on my
OpenBSD system is:
drwxr-xr-x  16 rootwheel   512 May  6 13:24 /
drwxr-xr-x  28 rootwheel   512 May 18 08:30 /var/
drwxr-xr-x   8 rootwheel  2560 Jun 22 22:50 /var/log/
drwxr-xr-x   3 qmaill  qmail  2560 Jun 22 22:50 /var/log/qmail

So, how to fix without breaking anything else ;)

TIA,
  Steffan
-- 
http://therookie.dyndns.org




Re: pop3d problem

2000-06-22 Thread Steffan Hoeke

On Thu, Jun 22, 2000 at 10:38:46PM +0200, Jens Georg wrote:
 hi,
 
  The user you are trying to fetch mail as doesn't have a Maildir in his/her
  home directory, did you use maildirmake for those users ?
 
 no, i didn't :-(. so, after running maildirmake /home/georg/Maildir
 netscape messenger can connect, but there is nothing to fetch, although
 i have several testemails waiting. any idea, what's still wrong ?
How do you *know* those mails are in $HOME/Maildir/ ?
they could, just as well, be in  $HOME/Mailbox or /var/spool/mail/[username]

How did you check there are actually messages in $HOME/Maildir ?

HTH,
 Steffan
-- 
http://therookie.dyndns.org




Re: (still) POP over SSH trouobles

2000-06-22 Thread Mikko Hänninen

David Benfell [EMAIL PROTECTED] wrote on Thu, 22 Jun 2000:
 poll antares.x port 0 user benfell pass 
 preconnect "ssh -C -f [EMAIL PROTECTED] -L 
0:antares.x:110 sleep 5"

Ok, so you're telling fetchmail here that for retrieving email,
it should connect to the server antares.x at port 110
(and some other stuff).

Then the preconnect command starts up a ssh connection, which
includes a port forwarding of 0 on the localhost to the port 110
on the remote system.

End result: fetchmail tries to connect to port 0 on the remote
server, not on localhost, where the forward has been set up.

Adding a "via localhost" there should fix your problems.

 Warning: Remote host denied X11 forwarding, perhaps xauth program
 could not be run on the server side.
 fetchmail: POP3 connection to antares.x failed: Connection
 refused
 fetchmail: Query status=SOCKET
 Warning: Remote host denied X11 forwarding, perhaps xauth program
 could not be run on the server side.
 Local: bind: Address already in use

Presumably you get "Address already in use" because these two poll
attempts were so close to each other, than the previous ssh session
hadn't yet exited when you already started the second one.  You can
only have on ssh forwarding a specific port on the system at a time.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
"Apple" (c) Copyright 1767, Sir Isaac Newton.



Please Help !!! multilog problems

2000-06-22 Thread Clifford Thurber

I have a feeling this error message might have something to do with the
permission recursively from the /var/qmail/supervise directory downards. I
have these set to 2700. Can someone verify these for me. Since this is a
non production machine. I took the liberty to change the perms on /var
/var/log and /var/log/qmail to 777 and I still recieved the same error
message. So I am really confounded now. Can someone please help.


At 11:18 PM 6/22/00 +0200, you wrote:
On Thu, Jun 22, 2000 at 02:17:34PM -0400, Dave Sill wrote:
 Clifford Thurber [EMAIL PROTECTED] wrote:
 
 multilog: fatal: unable to switch to current directory: access denied
 
 I know that this probably involves a permissions problem but here is where
 I am stumped.
 Here is are the permissions of /var/log/qmail/smtpd :
 
 root@cygnus:/var/qmail/supervise/qmail-send/log  ls -l
/var/log/qmail/smtpd
 total 4
 drwxr-xr-x  2 qmaill   qmail512 Jun 21 15:49 ./
 drwxr-xr-x   3 qmaill   qmail512 Jun 21 15:49 ../
 
 Access to a directory requires access to all of its parent
 directories. Try:
 
   ls -ld /var/log/qmail /var/log /var /
 
 -Dave
Ok, i'm having the same problem, the output of the previous command (on my
OpenBSD system is:
drwxr-xr-x  16 rootwheel   512 May  6 13:24 /
drwxr-xr-x  28 rootwheel   512 May 18 08:30 /var/
drwxr-xr-x   8 rootwheel  2560 Jun 22 22:50 /var/log/
drwxr-xr-x   3 qmaill  qmail  2560 Jun 22 22:50 /var/log/qmail

So, how to fix without breaking anything else ;)

TIA,
  Steffan
-- 
http://therookie.dyndns.org
 



All incoming mail default to one pop box

2000-06-22 Thread David Bouw

This will probably be a FAQ, but I can't find it in the FAQ.. :-)

Lets say I only have 1 domain on my machine.
Is it possible to tranfer all incoming mail to a user account and then setup
.qmail files
there to distribute certain aliases to different boxes..?
In other words just like you can configure virtual domains to send
*@domain2.com to
a user john and then use aliases to do further distribution, so also do this
with the 'primary/first'
domain on the machine ...

Now first the mailer looks if there are any accounts that match the name
(mailto:help@heaven...)
is send to user account 'help' if it exists..

To illustrate here is PIC.local2alias file:

qmail-injectFill in the complete envelope and header:

 | (envelope) from [EMAIL PROTECTED] to [EMAIL PROTECTED]
 | From: [EMAIL PROTECTED]
 | To: [EMAIL PROTECTED]
 |
 | Hi.
 V
qmail-queue Store message safely on disk.
Trigger qmail-send.
 |
 V
! This step I want to remove so that the mailer doesn't look if the user
exists and just
send it to the '.qmail-default box...

qmail-send  Look at envelope recipient, [EMAIL PROTECTED]
 |  Is heaven.af.mil in locals? Yes.
 |  Deliver locally to [EMAIL PROTECTED]
 V

qmail-lspawn ./Mailbox

 |  Look at mailbox name, help.
 |  Is help listed in qmail-users? No.
 |  Is there a help account? No.
 |  Give control of the message to alias.
 |  Run qmail-local.
 V

qmail-local alias ~alias help - help heaven.af.mil [EMAIL PROTECTED]
./Mailbox

Does ~alias/.qmail-help exist? Yes: "john".
Forward message to john.

Thanks..
I am new to Qmail, so the questions may be stupid..
I tried to empy the locals file and put the primary domain in the
virtualdomain table..
But this doesn't seem to work..

Bye Bye
David




rcpthosts

2000-06-22 Thread Z



On Fri, 16 Jun 2000, Chris Johnson wrote:

 On Fri, Jun 16, 2000 at 03:33:20PM -0500, Z wrote:
  well, what i decided to do was switch to qpopper and use the 
  --enable-home-dir-mail=Mailbox and it worked fine.  
  
  now one thing that i don't understand is the rcpthosts file.
  it seems like it would be a file that would decide who gets to use
  qmail as the SMTP server, but when i try to send a message to somewhere
  like freak.net, it tells me that the address is not in the rcpthosts
  file.  so is this to say where you can send to?  do they have something
  for address that can use the SMTP server?  are they one in the same?
  i put '.net' in the rcpthosts file and it sent fine.
 
 Don't do that. Read http://www.palomine.net/qmail/relaying.html and
 http://www.palomine.net/qmail/selectiverelay.html instead.
 
 Chris
 

does this work with qpopper?  i inplemented the select relay
and still get the error that it's not in the rcpthosts file...




New to Qmail, please help

2000-06-22 Thread Joe DiLascio

Greetings

I've followed the INSTALL instructions, my MX records are straight, and I
don't know where to go from here.

Given the domain 'domain.org' and the machine 'mail.domain.org':

I have both the hostname and domain name in 'rcpthosts' and 'locals', but
mail sent to domain.org is bounced with "Although I am the best MX, that
domain isn't in control/locals" ... which I'm very certain is not true.

Any help would be greatly appreciated.

Joe DiLascio

__
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/



Re: rcpthosts

2000-06-22 Thread Irwan Hadi

At 05:21 PM 6/22/00 -0500, Z wrote:
does this work with qpopper?  i inplemented the select relay
and still get the error that it's not in the rcpthosts file...

then you should go to http://www.qmail.org/top.html#addons



Re: New to Qmail, please help

2000-06-22 Thread Joe DiLascio

ls -l:
-rw-r--r--   1 root root   51 Jun 22 17:54
/var/qmail/control/locals

--
cat:
domain.org
mail.domain.org
--

If it helps any, I'm running with the qmail-ldap patch (which is the
primary reason I'm using qmail, I need that kind of builtin LDAP support),
but I haven't changed the default setting to deliver to local if not found
in LDAP.


--- Johan Almqvist [EMAIL PROTECTED] wrote:
 Are you absolutely, perfectly positive that the locals file is in the
 right
 location with the right permissions? In other words, mail them so we can
 see.
 
 On Thu, Jun 22, 2000 at 03:39:29PM -0700, Joe DiLascio wrote:
  Greetings
  
  I've followed the INSTALL instructions, my MX records are straight,
 and I
  don't know where to go from here.
  
  Given the domain 'domain.org' and the machine 'mail.domain.org':
  
  I have both the hostname and domain name in 'rcpthosts' and 'locals',
 but
  mail sent to domain.org is bounced with "Although I am the best MX,
 that
  domain isn't in control/locals" ... which I'm very certain is not
 true.
  
  Any help would be greatly appreciated.
  
  Joe DiLascio
  
  __
  Do You Yahoo!?
  Get Yahoo! Mail - Free email you can access from anywhere!
  http://mail.yahoo.com/
  
 -Johan
 -- 
 Johan Almqvist


__
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/



Re: Transferring mail from 1 server to another

2000-06-22 Thread Irwan Hadi

At 08:47 AM 6/22/00 -0500, Charles Steaderman wrote:
Our company is in the process of changing ISPs and our mail server ip
address is changing. I want email to be available while the DNS changes
get propagated. Can I setup a "dummy" qmail server at the old ip address
and have it automatically forward ALL mail to the new mail server? Is
there an easier/better way?
how about setting the DNS first, and then you move your old server ?

First
you set your DNS with as low as you can for the expiry for a few weeks, so 
when you change your DNS Record, sites accross of internet can fastly 
change their records too.

Then you turn off your server, then move it as quick as possible to new 
location, turn it on, and update the DNS record.





Re: pop3d problem

2000-06-22 Thread Jens Georg

hi,

  i have several testemails waiting. any idea, what's still wrong ?
 How do you *know* those mails are in $HOME/Maildir/ ?

i don't :-).

 they could, just as well, be in  $HOME/Mailbox or /var/spool/mail/[username]

yes, they are in /var/spool/mail/georg

so, how to get them to /home/georg/Maildir ???
 
 How did you check there are actually messages in $HOME/Maildir ?

there are none. 

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



Re: pop3d problem

2000-06-22 Thread Jens Georg

hi,

  i have several testemails waiting. any idea, what's still wrong ?
 How do you *know* those mails are in $HOME/Maildir/ ?

i don't :-).

 they could, just as well, be in  $HOME/Mailbox or /var/spool/mail/[username]

yes, they are in /var/spool/mail/georg

so, how to get them to /home/georg/Maildir ???
 
 How did you check there are actually messages in $HOME/Maildir ?

there are none. 

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




Re: vacation program for qmail/vpopmail/qmailadmin

2000-06-22 Thread Peter Samuel

On Thu, 22 Jun 2000, Marco Leeflang wrote:

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

Write up a draft design and I'll see what I can do for the next
version of qmail-vacation (I'm not familiar with vpopmail, so you'll
have to do some of the ground work).

Regards
Peter
--
Peter Samuel[EMAIL PROTECTED]
Technical Consultantor at present:
eServ. Pty Ltd  [EMAIL PROTECTED]
Phone: +61 2 9206 3410  Fax: +61 2 9281 1301

"If you kill all your unhappy customers, you'll only have happy ones left"




qmail-pop3d

2000-06-22 Thread Nguyen Hong Son

Dear all
I used qmail-pop3d with Maildir and tcpserver, I have tcpserver look like :
tcpserver -v 0 pop-3 /var/qmail/bin/qmail-popup sdn.vn \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 

-But when i use MUA (netscape) to get messages, entering password, after 
that netscape said that :
"An error occurred with the pop3 server, please contact the admin"
Could you give some ideas and how to config netscape MUA to use with Maildir 
and qmail-pop3d
Thanks

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




blocking attachments

2000-06-22 Thread kevin

I wish to block all emails with attachments with the extensions
 *.hta
 *.shs
 *.vbs
 *.vbe
 *.hlp
 *.chm
 *.wsf
 *.wsh
What is the simplest way to do this effectively

Kind regards

Kevin



Sender rejected

2000-06-22 Thread Dennis Robertson

Hello,

I am user dennis on a machine called dencar.powerup.com.au.  I have just had a
message rejected by a remote host as follows:
From [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice
Hi. this is the qmail-send program at dencar.powerup.com.au.  I'm afraid I'm
unable
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]
Connected to 203.12.160.25 but sender was rejected.
Remote host said: 550 Unknown domain in [EMAIL PROTECTED]

In /var/qmail/control/defaultdomain I have powerup.com.au;  in /locals I have
dencar.powerup.com.au repeated on 4 separate lines;  in /me I have
dencar.powerup.com.au;  in /plusdomain I have com.au; and in /rcpthosts
dencar.powerup.com.au repeated on 4 lines.

I have read /var/qmail/doc/FAQ without learning anything.

How do I stop qmail from adding the user to the machine name and confusing some
(not all) ISPs?

Thanks.




-- 
Dennis Robertson  2/2 Sylvia Street  NOOSAVILLE  QLD  4566  AUSTRALIA
Phone: 61 7 54742343  Mobile: 0419 535539  Fax: Phone for setup.
Those who claim the dead never return to life haven't ever been around
here at quitting time.



trouble with bounces

2000-06-22 Thread Spiro Harvey

I have just looked at my qmail-debug logs which is showing the message:

warning: trouble injecting bounce message, will try later.

this is coming up a lot... like several of them in the span of a second...

they started yesterday some time which coincides with some problems I was
having with my swap partition. ie; the drive was corrupted and caused me no
end of problems with my web server, so processes with screwed up names,
qmail, etc... I restarted everything that seemed to crap out and it all
seems to be going OK, but the system is quite low on resources... it floats
between 3 and 20Mb of RAM free out of 384Mb...

I had to kill the swap partition till we can get a new HD to replace the
swap drive, so basically, it may have stemmed from a memory corruption...

it's quite odd, any advice or opinions welcome.

ta.

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



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






Mail ()

2000-06-22 Thread Mark Lo

Hi,

  How to use mail () with q-mail. ??  I mean what do i have to
change for php mail function to work with q-mail ??

Thank you for your help

Mark




commands in .qmail

2000-06-22 Thread Martin Searancke

I have had a look at the solutions on the qmail site for scanning email for
viruses but they do not quite fit what im after. I have also looked at a
script posted to this list that looks for attachment types. This is very
close to what I want but am trying to write a script to use McAfee instead
of just checking the attachments.

If I run my script inside the .qmail file how can I pass the incoming email
to the virus scanner? Is there any way to do this. The check attachment
script obviously does this, but im just a bit too much of a novice to know
how.

i.e (I think im on the right track with this but could be completely wrong,
I know the virus scanner exits with a 13 when it fails)
If '/usr/local/uvscan/uvscan ?' = 13 ;
Then
   echo 'bla bla bla'
   exit 100
fi;

Thanks
Martin

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

[EMAIL PROTECTED]
+64 21 778592





tcpserver programme and qmail with qmail-ldap

2000-06-22 Thread reach_prashant


 hi everyone

 
 i have installed  qmail 1.03 , with qmail-ldap-2601.patch redhat linux
its working fine for me , but as this system is going to be used for
production system  i need to install "tcpserver" programme 
which monitors the load and accordingly differs the tcp connection so 
if someone had done this please reply to me  , how can i do  

 ya i know 1 download tcpserver and 
2 compile it and install tcpserver ,


but have a doubt that is it going to do something with qmail-ldap thing  ,
i dont think it will , but 
just wanna confirm that 


once again thanks a lot for reading my silly question 

 prashant desai






Re: supervised pop3d fails to TERM

2000-06-22 Thread Chris Johnson

On Thu, Jun 22, 2000 at 04:34:31AM -0500, Jud Harris wrote:
 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
  

Try sticking an "exec" in there, like you have in your log script.

Chris



Transferring mail from 1 server to another

2000-06-22 Thread Charles Steaderman

Our company is in the process of changing ISPs and our mail server ip
address is changing. I want email to be available while the DNS changes
get propagated. Can I setup a "dummy" qmail server at the old ip address
and have it automatically forward ALL mail to the new mail server? Is
there an easier/better way?

--
Charlie Steaderman
[EMAIL PROTECTED]
VP Engineering
Poliac Research Corporation
Phone: 952.707.6245



begin:vcard 
n:Steaderman;Charles
x-mozilla-html:FALSE
org:Poliac Research Corporation
adr:;;12233 Wood Lake Drive;Burnsville;MN;55337;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:VP Engineering
tel;fax:612.882.1374
tel;work:612.707.6245
x-mozilla-cpt:;37600
fn:Charles Steaderman
end:vcard