Re: Startup works from shell but not from /etc/rc.d/qmail

2000-08-08 Thread Chris, the Young One

On Tue, Aug 08, 2000 at 01:24:48AM -0400, Todd Finney wrote:
! Couldn't you just do something like this in the rc script 
! to get the correct pid every time?
! 
! `ps  -C qmail-send | sed  's/^.\([0-9]*\).*/\1/' | tr -d 
! [:space:]`

I think you probably meant ``^.*'' instead of ``^.''.

! [Note: There is probably a better way to do 
! this.  Suggestions are welcome.]

If I remember correctly, this does pretty much the same thing as
``pidof'', except I think the latter is faster.

Even faster, I believe, is to simply write qmail-send's pid to
/var/run/qmail.pid, as suggested in my previous post; then you don't
even have to search through all the processes, as ``ps'' and ``pidof''
have to.

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



RE: help with strange problem

2000-08-08 Thread Brett Randall

 to add
 I have discovered that the users that are working are in
 /var/control/users/assign
 what updates this file?

Unless RedHat 7.0 beta includes some automatic function, then you do. Read
the qmail FAQ on info for how to update this (specifically look for
information on NIS/NFS outages...this is included there.) I don't know if
this is covered in LWQ but I would guess so.

Also, most of the problems I have had with qmail like yours are to do with
Maildir permissions. Make sure in the actual home folder of the recipient
that they have at least read/write permissions (maybe a cd ~user; chmod -R
u+r *; chown -R user *; chown -R user .qmail; chgrp -R group *; chgrp -R
group .qmail) might help. This has 90% of the time caused the below problem.
BUT the assign file you asked about before probably caused the other 10%! If
in doubt, delete it : (Or move it somewhere else and its associated
files...probably recommended).

Brett.

Manager
InterPlanetary Solutions
http://ipsware.com/
-Original Message-
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re: help with strange problem



- Original Message -
From: Barry Smoke
To: [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 9:45 PM
Subject: help with strange problem


I have been pulling my hair out on this one all day long.  I am including
all my information so you guys can help keep my hair in.
I have been running qmail on a mail machine at a k12 school for a year...no
real problems to speak of
now I have upgraded this server to redhat 7.0 beta..I know...why on
earth would you use beta on a production machinewell, I tested it out on
several otehr machines...and all went well, and it's not the beta I'm having
problems with.

The machine in question is bryant.dsc.k12.ar.us
there is an alias to this machine...bryant.k12.ar.us
I have been running this machine aliased for our administrators for the
year...and now I'm moving all of our schools over to this machine.
That includes elementaries, the jr.high, high school, etc
Mail is working perfectly for our administrators(thank goodness)...but not
for new users
I have /etc/skel setup to create a Maildir correctly(yes I used
maildirmake), and copy a .qmail file to everyone's home directory.
I checked permissions...they match our existing users that are working.
you can send mail to [EMAIL PROTECTED] me at
[EMAIL PROTECTED]
but when you add a new user you can't send mail to them at either
addressI've tried restarting qmail...and restarting the machine(with
blind hopes)
I got this whe I added a user named testingthemail:
to local [EMAIL PROTECTED]
Aug  7 20:10:10 bryant qmail: 965697010.528031 status: local 2/10 remote
0/20
Aug  7 20:10:10 bryant qmail: 965697010.548143 delivery 24: success:
did_0+0+0/
Aug  7 20:10:10 bryant qmail: 965697010.566173 status: local 1/10 remote
0/20
Aug  7 20:10:10 bryant qmail: 965697010.567118 delivery 25: failure:
Sorry,_no_m
ailbox_here_by_that_name._(#5.1.1)/
I added another user just a while agoand all of the sudden his is
working...I haven't done anything
but this new one I just added isn't yet...
is there a file I have to manually update if I want users to be accessible
right after being added?
#/etc/skel##
[root@bryant skel]# ls -al
total 20
drwxr-xr-x6 root root 1024 Aug  3 17:51 .
drwxr-xr-x   48 root root 6144 Aug  7 19:20 ..
-rw-r--r--1 root root   24 Jul 17 09:56 .bash_logout
-rw-r--r--1 root root  230 Jul 17 09:56 .bash_profile
-rw-r--r--1 root root  124 Jul 17 09:56 .bashrc
-rw-r--r--1 root root  688 Jul 25 11:53 .emacs
drwxr-xr-x4 root root 1024 Aug  3 17:34 .kde
-rw-rw-r--1 root root   11 May 10 12:55 .qmail
-rw-r--r--1 root root 3394 Jul 12 19:34 .screenrc
drwxr-xr-x4 root root 1024 Aug  3 17:34 Desktop
drwx--5 root root 1024 Aug  3 15:48 Maildir
drwxrwxr-x2 root root 1024 Dec  4  1999 web
[root@bryant skel]# cat .qmail
./Maildir/
[root@bryant skel]# cd Maildir
[root@bryant Maildir]# ls -al
total 5
drwx--5 root root 1024 Aug  3 15:48 .
drwxr-xr-x6 root root 1024 Aug  3 17:51 ..
drwx--2 root root 1024 Aug  3 15:48 cur
drwx--2 root root 1024 Aug  3 15:48 new
drwx--2 root root 1024 Aug  3 15:48 tmp
##control files###
[root@bryant control]# cat defaulthost
bryant.k12.ar.us
[root@bryant control]# cat defaultdomain
k12.ar.us
[root@bryant control]# cat locals
proxy.intranet.net
localhost
bryant.k12.ar.us
proxy.bryant.dsc.k12.ar.us
bryant.dsc.k12.ar.us
[root@bryant control]# cat me
bryant.k12.ar.us
##nslookup on the ip##
[root@bryant control]# nslookup 165.29.94.240
Server:  

Re: Startup works from shell but not from /etc/rc.d/qmail

2000-08-08 Thread Chris, the Young One

On Tue, Aug 08, 2000 at 06:05:59PM +1200, Chris, the Young One wrote:
! ! `ps  -C qmail-send | sed  's/^.\([0-9]*\).*/\1/' | tr -d 
! ! [:space:]`
! 
! I think you probably meant ``^.*'' instead of ``^.''.

Someone teach me to test my suggestions first! ``^ *'' instead of
``^.*'' would work better, it seems...

The rest of my message still stands.

---Chris K.
-- 
 Chris, the Young One |_ but what's a dropped message between friends? 
  Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. 
http://cloud9.hedgee.com/ |_ Robinson, IV  



Re: users/assign....was...strange problem

2000-08-08 Thread Oliver Koch

On Die, 08 Aug 2000, Barry Smoke wrote:
 sure enough...after 2 hours...the next user I put in started working.and he got 
appended to /var/qmail/users/assign
 I've never seen this problem before..what can I do to make this instantaneous?
 What is updating that file?
 
 Someone Please help ...

You said the delivery starts working only after the user appears in
the users/assign file. Look at your cron-jobs after a line
containing qmail-pw2u and qmail-newu. These two commands update the
users/assign and users/cdb files. 

The qmail-users database is only needed when the home-directories
are mounted via NFS or the passwords are managed by NIS or similar.
During a NFS or NIS outage the messages would bounce if the users
were not known locally. This way the message is deferred until NFS
is up again.

You might want to look at 4.9 in the FAQ.

hih,

-- 
Oliver Koch   Registered Linux User 163952

Fuch's Warning:
If you actually look like your passport photo, you aren't well
enough to travel.



Virtual domains

2000-08-08 Thread kamal_batra

hi Everybody,

My virtualdomain file is as follows:-

/var/qmail/control/virtualdomains file contains

xyz.com:user
 
and if tru to send the mail to [EMAIL PROTECTED] it gets delivered to ~user/Maildir/new 
How do I configured my system or do I make changes so that it can allow other mail 
server (xyz.com) to pick up the mails from ~user/Maildir via pop3 so that it can 
delivers the mails to the users on its server.

And  also will user account can be used by the mail server (xyz.com) to relay the 
message to the internet.

Regards,
kamal Batra








*
Go to:
www.NetWala.com  " The Internet in every wallet "



RE: users/assign....was...strange problem

2000-08-08 Thread Brett Randall

 The qmail-users database is only needed when the home-directories
 are mounted via NFS or the passwords are managed by NIS or similar.
 During a NFS or NIS outage the messages would bounce if the users
 were not known locally. This way the message is deferred until NFS
 is up again.

As a subnote to the list (not specifically to Oliver)...that is actually an
interesting statement (and yes, I know that's what it says in the FAQ). We
run a number of qmail servers together here combining NFS and NIS, and we
don't use a users database. If NFS goes down, the main server simply defers
the e-mail, saying in the logs that it is unavailable to deliver to the
Maildir (it will defer for up to a week, the default timeout).

If NIS goes down, everything continues as normal since all our qmail servers
are slave NIS servers rather than clients. BUT if we ran clients, and qmail
had to do a delivery to the machine it was running on (and it was not the
master server), then yes there would be a problem (in finding the home
directory), but in general for safety I recommend using NIS slaves rather
than clients - there is little reason to do it as clients and not the other.
If you're worried about security - hec, you're running NIS! The most
insecure
distributed information network in the world! You have to lock it down
manually by default to get any smidget of security out of it :

Just some information for the list. Might help someone one day.

Brett.

Manager
InterPlanetary Solutions
http://ipsware.com/




RE: Virtual domains

2000-08-08 Thread Brett Randall

That was amazingly inexplicit...

 How do I configured my system or do I make changes so that it can
 allow other mail server (xyz.com) to pick up the mails from
 ~user/Maildir via pop3 so that it can delivers the mails to the
 users on its server.

Look at fetchmail, or some of the other alternatives mentioned on this list
earlier this week...You might be able to optimise the process with a bit of
scripting and file transfer stuff but I'll leave that to your imagination...

 And  also will user account can be used by the mail server
 (xyz.com) to relay the message to the internet.

I take it English is not your first language? I couldn't really understand
that but if you want to learn about relaying, at a minimal start 'man
qmail-control' and read up on smtproutes, and also look in Life With qmail
(grab the URL from http://www.qmail.org/top.html) to avoid some very very
common mistakes in relaying.

Brett

Manager
InterPlanetary Solutions
http://ipsware.com/


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 09, 2000 1:58 AM
 To: [EMAIL PROTECTED]
 Subject: Virtual domains


 hi Everybody,

 My virtualdomain file is as follows:-

 /var/qmail/control/virtualdomains file contains

 xyz.com:user

 and if tru to send the mail to [EMAIL PROTECTED] it gets delivered to
 ~user/Maildir/new


 Regards,
 kamal Batra








 *
 Go to:
 www.NetWala.com  " The Internet in every wallet "




Re: Startup works from shell but not from /etc/rc.d/qmail

2000-08-08 Thread Todd Finney

At 02:05 AM 8/8/00, you wrote:
On Tue, Aug 08, 2000 at 01:24:48AM -0400, Todd Finney 
wrote:
! Couldn't you just do something like this in the rc 
script
! to get the correct pid every time?
!
! `ps  -C qmail-send | sed  's/^.\([0-9]*\).*/\1/' | tr -d 

! [:space:]`

I think you probably meant ``^.*'' instead of ``^.''.

eh, close enough for jazz.

! [Note: There is probably a better way to do
! this.  Suggestions are welcome.]

If I remember correctly, this does pretty much the same 
thing as
``pidof'', except I think the latter is faster.

Excellent.  You previously mentioned pidof, but said that 
it wouldn't work.  I didn't test that statement.

Even faster, I believe, is to simply write qmail-send's 
pid to
/var/run/qmail.pid, as suggested in my previous post; then 
you don't
even have to search through all the processes, as ``ps'' 
and ``pidof''
have to.

I don't know which one would be faster.  Speed really isn't 
an issue in this case though, is it?  You only need to get 
the pid when you run the rc script, and that is (hopefully) 
not a regular occurrence.   Also, the time it takes to scan 
the process list is probably trivial when compared with the 
time it takes to restart qmail-send.

If the qmail-rcfile file is already set up to look for the 
qmail pid, changing where it looks for it is a simple 
search and replace.  You have to change the file anyway if 
you're implementing the qmail.pid solution, and pidof saves 
you the trouble of adding the (admittedly minor) pid 
recording function.

pidof, a win by 44 characters?

cheers,
Todd






RE: Delays in POP3 response

2000-08-08 Thread Slider


Possibly try recreating the tcp.smtpd.cdb and make sure that the tcp.smtpd
is correct before doing so!

Slider


-Original Message-
From: Dave Brooks, BCS Systems [mailto:[EMAIL PROTECTED]]
Sent: 08 August 2000 04:13
To: [EMAIL PROTECTED]
Subject: Re: Delays in POP3 response


Thanks for your reply.

I already had -R. Changing this to -RH has halved the delay (from approx.
22 seconds to 11 seconds), but there still is a delay.

For testing, I am telnetting directly to an IP address:port number. I have
also put an entry into /etc/hosts for the client system (and hosts is
searched before a DNS lookup).

Thanks


Dave


At 20:24 07/08/00 -0400, you wrote:
Add -RH flag to your tcpserver wrapper and see if it corrects your
problem..
The Delay is probly coming from DNS lookup..

Sean Truman
Prodigy Solutions, Inc
www.prodigysolutions.com

- Original Message -
From: Dave Brooks, BCS Systems [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 8:21 PM
Subject: Delays in POP3 response


  Hello,
 
  When connecting to the POP3 and SMTP servers there is a delay before the
  "+OK" response. This can be easily shown by using telnet to connect to
the
  POP3 port (using an IP address, so no name lookup).
 
  The maillog shows:
  Aug  8 11:54:14 server pop3d: 965692454.925054 tcpserver: pid 990
from
  192.168.1.122
  Aug  8 11:54:36 server pop3d: 965692476.984864 tcpserver: ok 990
  :192.168.1.1:110 :192.168.1.122::1136
 
  tcpserver has started pop3d at 11:54:14, the OK is not sent until
11:54:36.
 
 
  Any ideas please.
 
 
  Many thanks,
 
 
  Dave






Multiple Mails with qmail-inject

2000-08-08 Thread Martin Sckopke

Hi all,

we're using a little script to do some header rewriting.
It is called via .qmail-fixup-default.
The output of the script is the fed into qmail-inject,
QMAILINJECT=i.
Almost everything works as expected, there's just one
problem: if a mail is sent to multiple users, EACH of
them gets it multiple times. The number of individual
mails is equal to the number or receivers.

The .qmail-fixup-default script is called n-times and
calls qmail-inject n-times (n is the number of receivers),
then qmail-inject sends each message n times.

We have this setup running for some years now but
recently upgraded hardware, kernel and qmail version.
Qmail was 1.01 and is now 1.03. Hardware is Intel,
OS is Linux.

Does anybody have an idea??
Thanx in advance,

Martin
-- 
GiS - Gesellschaft fuer integrierte Systemplanung mbH
Martin Sckopke   Tel. +49-6201-503-74
Junkersstr. 2Fax  +49-6201-503-66
D-69469 Weinheim  [EMAIL PROTECTED]



Rctp Hosts Problem......

2000-08-08 Thread Alexander Meis

Hi

i got the problem that i cant send mail with my qmail SMTP
to anny domain which is not in the rctphosts file.
here is outlooks error message:
Die Nachricht konnte nicht gesendet werden, da einer der Empfänger vom
Server nicht akzeptiert wurde.
Die nicht akzeptierte E-Mail-Adresse ist '[EMAIL PROTECTED]'. Betreff 'test2',
Konto: '194.97.99.230', Server: '194.97.99.230',
Protokoll: SMTP, Serverantwort: '553 sorry, that domain isn't in my list of
allowed rcpthosts (#5.7.1)', Anschluss: 25, Secure(SSL): Nein, Serverfehler:
553, Fehlernummer: 0x800CCC79

How can I fix this.

Regards Alex






RE: Rctp Hosts Problem......

2000-08-08 Thread Brett Randall

Quick fix: read Life With qmail (URL at http://www.qmail.org/top.html), look
up the relaying section. The problem is that the server has not been set up
to allow relaying. To do this, you must have the ucspi-tcp tools installed
so you can use tcpserver. Read the above doc for more anyway...

Brett


Manager
InterPlanetary Solutions
http://ipsware.com/


 -Original Message-
 From: Alexander Meis [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 08, 2000 6:31 PM
 To: [EMAIL PROTECTED]
 Subject: Rctp Hosts Problem..


 Hi

 i got the problem that i cant send mail with my qmail SMTP
 to anny domain which is not in the rctphosts file.
 here is outlooks error message:
 Die Nachricht konnte nicht gesendet werden, da einer der Empfänger vom
 Server nicht akzeptiert wurde.
 Die nicht akzeptierte E-Mail-Adresse ist '[EMAIL PROTECTED]'. Betreff 'test2',
 Konto: '194.97.99.230', Server: '194.97.99.230',
 Protokoll: SMTP, Serverantwort: '553 sorry, that domain isn't in
 my list of
 allowed rcpthosts (#5.7.1)', Anschluss: 25, Secure(SSL): Nein,
 Serverfehler:
 553, Fehlernummer: 0x800CCC79

 How can I fix this.

 Regards Alex







qmail Digest 8 Aug 2000 10:00:01 -0000 Issue 1087

2000-08-08 Thread qmail-digest-help


qmail Digest 8 Aug 2000 10:00:01 - Issue 1087

Topics (messages 46252 through 46310):

Re: Mailing list performance
46252 by: Dave Sill

Trouble compiling qmail under RedHat v6.2 Intel
46253 by: Steve Woolley
46254 by: Petr Novotny

Re: Configuring a "Store-and-Forward" backup qmail server
46255 by: pgregg.niweb.com
46266 by: John White

RFC-822 Headers
46256 by: Audouy Jérôme
46257 by: Audouy Jérôme
46258 by: Petr Novotny

Strange virtualdomains
46259 by: Magnus Löfqvist
46270 by: Magnus Bodin

(null)
46260 by: 

Re: qmail-unsubscribe
46261 by: Tony Campisi

Problems delivering mail.
46262 by: Jesús Arnáiz
46263 by: Dave Sill

Problems with some DNS configurations.?
46264 by: Jesús Arnáiz
46265 by: Sean C Truman

misconfigured zones.
46267 by: Jesús Arnáiz
46269 by: Tim Hunter
46271 by: Aaron L. Meehan

Re: Announcing qmail-autoresponder version 0.93
46268 by: Brian Johnson
46272 by: Bruce Guenter
46275 by: wolfgang zeikat
46276 by: Olivier M.
46278 by: wolfgang zeikat
46294 by: Bruce Guenter

Upgrade a qmail
46273 by: Jesús Arnáiz
46274 by: Olivier M.

Error Message 'this user has no $HOME/Maildir' ?
46277 by: UrBuN DeGeNeRaTe

Startup works from shell but not from /etc/rc.d/qmail
46279 by: Ellen Spertus
46284 by: Chris, the Young One
46286 by: Ellen Spertus
46289 by: Chris, the Young One
46292 by: Ellen Spertus
46295 by: Chris, the Young One
46297 by: Todd Finney
46299 by: Chris, the Young One
46301 by: Chris, the Young One
46306 by: Todd Finney

impossible to do?
46280 by: M.B.

Re: orbs.org accuses qmail of mailbomb relaying!
46281 by: Claus Färber

Delays in POP3 response
46282 by: Dave Brooks, BCS Systems
46283 by: Sean C Truman
46293 by: Dave Brooks, BCS Systems
46307 by: Slider

libresolv.so.2.0 problem
46285 by: Roy G Brown III
46288 by: Chris, the Young One

Strip all previous "Received" header
46287 by: Edward Tsang

help with strange problem
46290 by: Barry Smoke
46291 by: Barry Smoke
46300 by: Brett Randall

qmail-pop3d question
46296 by: Wesly Ng

users/assignwas...strange problem
46298 by: Barry Smoke
46302 by: Oliver Koch
46304 by: Brett Randall

Virtual domains
46303 by: kamal_batra.netwala.com
46305 by: Brett Randall

Multiple Mails with qmail-inject
46308 by: Martin Sckopke

Rctp Hosts Problem..
46309 by: Alexander Meis
46310 by: Brett Randall

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]


--



"David Dyer-Bennet" [EMAIL PROTECTED] wrote:

Dave Sill [EMAIL PROTECTED] writes on 4 August 2000 at 09:37:29 -0400
  
   Eval 1  Eval 2  Eval 3
  MTA   timedns timedns timedns
  qmail  155   1250  127   1230  127   1235
  Postfix184   1375  168   1290  161   1330
  exim   645475  161450  157451
  SMTPfeed   215610  160442  157461
  zmailer   1530   1675  357   1260  360   1300

I read the time on eval 1 for qmail as 20 seconds.  Well, maybe 22.
There's a very sharp bend in both DNS and SMTP curves at that point,
and only completely trivial activity after that.

Ah, so you're looking at the time to deliver something like 97-99% of
the messages. I'm looking at the 100% times, which tend to be
dominated by a couple of slow remote servers.

I'd like to see the raw numbers in addition to the graphs.

-Dave




I am having trouble compiling qmail from the source distribution
unde RedHat 6.2 Intel. According to the README's I should not have
to anything special to compile but I seem to be blowing up because
of a simple standard header file not being found. I know I could
probably go back and locate each one of these files but I normally
do not have this kind of problem when compiling source. Am I
missing some key PATH setting or key piece of info to compiling
this properly?

Steve Woolley

Compilation output:

[swoolley@myhost qmail-1.03]$ make
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
)  auto-ccld.sh
cat auto-ccld.sh make-load.sh  make-load
chmod 755 make-load
cat auto-ccld.sh find-systype.sh  find-systype
chmod 755 find-systype
./find-systype  systype
( cat warn-auto.sh; ./make-load "`cat systype`" )  load
chmod 755 load
cat auto-ccld.sh make-compile.sh  make-compile
chmod 

Re: Mailing list performance

2000-08-08 Thread Dave Sill

"P.Y. Adi Prasaja" [EMAIL PROTECTED] wrote:

Here is your previous post:

 He apparently confused incoming concurrency with outgoing
 concurrency.

What are you trying to say in this regard?

Motonori seems to have thought that the "smtp" service entry in
master.cf controlled outgoing concurrency, when, in fact, it controls
incoming concurrency.

 Perhaps you're thinking of  default_destination_concurrency_limit?
 That's the *per destination* limit, not the overall concurrency limit.

Yes. And seems to me that you pretend to that this would not give any
impact to the measurements...

It could be a factor if any of the test addresses had duplicate
hostnames. Since they were of the form nobody@FQDN, they were
apparently all unique.

 Either you're wrong or the documentation on the web is wrong. I don't
 care enough to determine which is the case. Here is what the web docs
 say:

No. The docs is minimum, but it isn't wrong.
If there is no such a limitation in qmail, why should one pretend
to that there is no such a limitation in other MTA (postfix) too?

I'm not "pretending" anything.

Once again, if you would like to see the comparisson numbers that
author gives to us, just see at the linear equation from each graph.
You would see that postfix beat qmail just for about 1 msg/second
rate in 2nd and 3th evaluation (this fact is unsignificant, for me at
least).

Firstly, those rates are for DNS queries, not SMTP deliveries. Second, 
a steeper slope doesn't necessarily mean it's faster. The equation is:

  y = N x + a

and the "a" can be a significant factor.

Anyway, if the number of process_limit is increased, say 120,
with the same condition (environment, machine, etc.), should qmail a
lot faster than postfix because of its great efficiency in resources
using by qmail compares to postfix (yes, I didn't talk about the
whole results, it's about 'internal processing').

Perhaps...that hasn't been proven in a published test, to my
knowledge. I'd also like to see the effect of running a local
dns cache (both djbdns and BIND).

-Dave



Re: Trouble compiling qmail under RedHat v6.2 Intel

2000-08-08 Thread Steve Woolley

Petr Novotny wrote:
 
  ./compile sig_alarm.c
  In file included from /usr/include/signal.h:300,
   from sig_alarm.c:1:
  /usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
 
 You need glibc-devel and kernel-headers packages.
 

I checked and I believe I have these:

[root@myhost /root]# rpm -q kernel-headers
kernel-headers-2.2.16-3
[root@myhost /root]# rpm -q glibc 
glibc-2.1.3-15
[root@myhost /root]# rpm -q glibc-devel
glibc-devel-2.1.3-15

Any other thoughts? Thanks for your response.

Steve



Re: Trouble compiling qmail under RedHat v6.2 Intel

2000-08-08 Thread Peter Green

also sprach steve.woolley:
 Petr Novotny wrote:
  
   ./compile sig_alarm.c
   In file included from /usr/include/signal.h:300,
from sig_alarm.c:1:
   /usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
  
  You need glibc-devel and kernel-headers packages.
  
 
 I checked and I believe I have these:
 
 [root@myhost /root]# rpm -q kernel-headers
 kernel-headers-2.2.16-3

Did you install this before, after, or independent of a kernel-source RPM?
kernel-source will walk all over kernel-headers.

Either re-install (with --force) kernel-headers to get all of the proper
symlinks back, or check the following:

* /usr/src/linux = /usr/src/linux-VERSION
* /usr/src/linux/include/asm = /usr/src/linux/include/asm-ARCH
* /usr/include/asm = /usr/src/linux/include/asm
* /usr/include/linux = /usr/src/linux/include/linux

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Need I say more? This is the kernel you've been waiting for. It leaps tall
buildings if you throw it hard enough, and it makes diffs _really_ fast if
you have enough memory.
(Linus Torvalds, announcing a yet better kernel)




Re: Startup works from shell but not from /etc/rc.d/qmail

2000-08-08 Thread Todd Finney

On 9 Aug 2000, Chris, the Young One wrote:

On Tue, Aug 08, 2000 at 03:57:20AM -0400, Todd Finney wrote:
! I don't know which one would be faster.  Speed really isn't 
! an issue in this case though, is it?

I love efficiency wherever I find it (though a good friend calls me
``the king of procrastination'', so I guess I don't practise what I
preach). So, to me, whether it's an issue here is not an issue. :-)

Doing 50% more work to have a seldom-run and small-footprint process run
10% faster is not efficient.  

!  You have to change the file anyway if 
! you're implementing the qmail.pid solution, and pidof saves 
! you the trouble of adding the (admittedly minor) pid 
! recording function.

But no, we don't have to change /etc/rc.d/init.d/qmail. As mentioned
in a previous message, Ellen is using a script file that backgrounds
/var/qmail/rc; my solution only involves changing that script.

Go back and read the messages again.  Ellen didn't need to correct pid for
the startup script.  She needed it for qmail-rcfile, which is different.  If 
you're changing the location of the pid - be it from nothing to
/var/run/qmail.pid or from nothing to /sbin/pidof qmail-send, you need
to update the qmail-rcfile to reflect this change.  Using pidof removes
the need to record the pid to a file, which saves you about 44 characters. 


! pidof, a win by 44 characters?

You know you're a geek when you start counting how many characters a
command takes up. :-) (That's a compliment, in case you take it the
other way.)

Thank you.  

cheers,
Todd





Users getting other users mail.

2000-08-08 Thread Bernard (Brian) J. Duffy

Hi all,

I am having a problem where several users are getting email that is being 
sent to another person. One guys email in particular is being received by 
four other people. This problem has now spread to several other individuals.

I checked aliases and mailing list memberships, and everything seems ok there.

Has anyone out there ever encountered this problem or have any idea how to 
find out what is wrong? Some embarrassing incidents have already taken 
place, and i need to stop this as soon as possible!


Thanks for your help!


Bernard (Brian) J. Duffy
Database Administrator
ReserveAmerica  -- NY
40 South Street
Ballston Spa, NY 12020
(518)885-4282 x2017
[EMAIL PROTECTED]




supervise + qmail-pop3d prob

2000-08-08 Thread Manuel Gisbert

Just joining this list a couple of minutes ago, i already got
my first serious problem.

I installed
qmail 1.03
vpopmail 4.8.7
ucspi-tcp-0.88
and
daemontools-0.70

to setup an qmail/vpopmail mailserver
according to the tutorial "life with qmail"

Now here's my prob:

The supervise process doesn't recognize my pop3d starting up.

After starting "supervise /var/qmail/supervise/qmail-pop3" i get multiple
error messages
tcpserver: fatal: unable to bind: address already used
as supervise repeatedly starts the tcpserver.

Nevertheless does one pop3 daemon start up and accepts connections.
When I start that skript manually the pop3d start at once.
Here is my run skript:

snipp
#! /bin/sh
exec /usr/local/bin/tcpserver -H -R -l my_host 0 pop3
/var/qmail/bin/qmail-popup my_host \
/usr/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
/snipp

The stmp daemon is started the same way and produces no probs.

What's going wrong
Thanks in advance
Manuel




RE: supervise + qmail-pop3d prob

2000-08-08 Thread Brett Randall

 After starting "supervise /var/qmail/supervise/qmail-pop3" i get multiple
 error messages
   tcpserver: fatal: unable to bind: address already used
 as supervise repeatedly starts the tcpserver.

This usually means the port it is trying to access is already in use. If
inetd is running at the same time, edit /etc/inetd.conf and make sure that
the pop3 client in there has been commented out.

Brett

Manager
InterPlanetary Solutions
http://ipsware.com/




compile probs on netbsd

2000-08-08 Thread Ryan Fox



I'm having a problem compiling qmail 1.03 on NetBSD 1.4.2 
intel.

from 'make setup check':

./load qmail-remote control.o constmap.o timeoutread.o 
timeoutwrite.o timeoutconn.o tcpto.o now.o dns.o ip.o ipalloc.o ipme.o 
quote.o ndelay.a case.a sig.a open.a lock.a seek.a getln.a stralloc.a 
alloc.a substdio.a error.a str.a fs.a auto_qmail.o `cat dns.lib` 
`cat socket.lib`dns.o: Undefined symbol `__res_get_error' referenced from 
text segmentcollect2: ld returned 1 exit status*** Error code 
1

./compile tries to use cc, I changed it to gcc (2.9.5-2) with 
the same results.
Any ideas?

Thanks,
Ryan Fox
Noguska
[EMAIL PROTECTED]


RE: help with strange problem

2000-08-08 Thread Barry Smoke



I always check that first...so what 
I'm getting is that this shouldn't be happening..the cron job definately 
makes a new user work..but I'm not using NIS, or 
NFS.
I 
agree it is strange that the message says mailbox..what else might be 
conflicting? AgainI have been using qmail for quite sometimeand 
I've not had this problem before.it is very strange.


##this is my startup script in 
var/services/qmail##[root@bryant bsmoke]# cd 
/var/service[root@bryant service]# lspop3d qmail qmqpd 
qmtpd smtpd[root@bryant service]# cd qmail[root@bryant qmail]# 
lslog run run~ supervise[root@bryant qmail]# cat 
run#!/bin/sh. /usr/lib/qmail/run-functionsreaddefault aliasempty 
aliasempty ./Maildir/make-owners /var/qmailexec qmail-start 
"$aliasempty" 

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, August 08, 2000 2:36 
  AMTo: Barry SmokeSubject: Re: help with strange 
  problemJust two 
  ideas: Aug 7 20:10:10 bryant 
  qmail: 965697010.567118 delivery 25: failure: 
  Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/  
  Shouldn't be Maildir? I mean... take 
  a look at your start-up script and check qmail delivers to Maildir and not to 
  mailbox... drwx--  
  5 root   root 1024 Aug 3 
  15:48 Maildirdrwxrwxr-x  2 root   root  
 1024 Dec 4 1999 web[root@bryant skel]# 
  cat ..qmail./Maildir/

  [root@bryant skel]# cd 
  Maildir[root@bryant Maildir]# ls -altotal 5drwx--  
  5 root   root 1024 Aug 3 
  15:48 .drwxr-xr-x  6 root   root   
1024 Aug 3 17:51 ..drwx--  2 root 
root 1024 Aug 3 15:48 
  curdrwx--  2 root   root
   1024 Aug 3 15:48 newdrwx--  2 root  
   root 1024 Aug 3 15:48 tmp  
  The owner of these files would 
  have to be the user and not root Hope it helps Paco 
  GraciaDirector TécnicoAmira Sistemas


RE: help with strange problem

2000-08-08 Thread Barry Smoke

I never knew about this...because i've never set qmail up for
nis/nfs.which makes my situation even stranger
I always check the permissions firstI have permissions set up correctly
in /etc/skel...so every user created automatically has the correct
permissions..permissions have always been what I look at first, because
as with you ...it always fixes 90% of my problems...sucks to have one in
the other 10%

I'm almost stumped on this one..it has to be something simple
I would rather not have to run that cron script...if I don't have to.
I concider it kind of a hack for now.


-Original Message-
From: Brett Randall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 1:05 AM
To: qmail
Subject: RE: help with strange problem


 to add
 I have discovered that the users that are working are in
 /var/control/users/assign
 what updates this file?

Unless RedHat 7.0 beta includes some automatic function, then you do. Read
the qmail FAQ on info for how to update this (specifically look for
information on NIS/NFS outages...this is included there.) I don't know if
this is covered in LWQ but I would guess so.

Also, most of the problems I have had with qmail like yours are to do with
Maildir permissions. Make sure in the actual home folder of the recipient
that they have at least read/write permissions (maybe a cd ~user; chmod -R
u+r *; chown -R user *; chown -R user .qmail; chgrp -R group *; chgrp -R
group .qmail) might help. This has 90% of the time caused the below problem.
BUT the assign file you asked about before probably caused the other 10%! If
in doubt, delete it : (Or move it somewhere else and its associated
files...probably recommended).

Brett.

Manager
InterPlanetary Solutions
http://ipsware.com/
-Original Message-
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re: help with strange problem



- Original Message -
From: Barry Smoke
To: [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 9:45 PM
Subject: help with strange problem


I have been pulling my hair out on this one all day long.  I am including
all my information so you guys can help keep my hair in.
I have been running qmail on a mail machine at a k12 school for a year...no
real problems to speak of
now I have upgraded this server to redhat 7.0 beta..I know...why on
earth would you use beta on a production machinewell, I tested it out on
several otehr machines...and all went well, and it's not the beta I'm having
problems with.

The machine in question is bryant.dsc.k12.ar.us
there is an alias to this machine...bryant.k12.ar.us
I have been running this machine aliased for our administrators for the
year...and now I'm moving all of our schools over to this machine.
That includes elementaries, the jr.high, high school, etc
Mail is working perfectly for our administrators(thank goodness)...but not
for new users
I have /etc/skel setup to create a Maildir correctly(yes I used
maildirmake), and copy a .qmail file to everyone's home directory.
I checked permissions...they match our existing users that are working.
you can send mail to [EMAIL PROTECTED] me at
[EMAIL PROTECTED]
but when you add a new user you can't send mail to them at either
addressI've tried restarting qmail...and restarting the machine(with
blind hopes)
I got this whe I added a user named testingthemail:
to local [EMAIL PROTECTED]
Aug  7 20:10:10 bryant qmail: 965697010.528031 status: local 2/10 remote
0/20
Aug  7 20:10:10 bryant qmail: 965697010.548143 delivery 24: success:
did_0+0+0/
Aug  7 20:10:10 bryant qmail: 965697010.566173 status: local 1/10 remote
0/20
Aug  7 20:10:10 bryant qmail: 965697010.567118 delivery 25: failure:
Sorry,_no_m
ailbox_here_by_that_name._(#5.1.1)/
I added another user just a while agoand all of the sudden his is
working...I haven't done anything
but this new one I just added isn't yet...
is there a file I have to manually update if I want users to be accessible
right after being added?
#/etc/skel##
[root@bryant skel]# ls -al
total 20
drwxr-xr-x6 root root 1024 Aug  3 17:51 .
drwxr-xr-x   48 root root 6144 Aug  7 19:20 ..
-rw-r--r--1 root root   24 Jul 17 09:56 .bash_logout
-rw-r--r--1 root root  230 Jul 17 09:56 .bash_profile
-rw-r--r--1 root root  124 Jul 17 09:56 .bashrc
-rw-r--r--1 root root  688 Jul 25 11:53 .emacs
drwxr-xr-x4 root root 1024 Aug  3 17:34 .kde
-rw-rw-r--1 root root   11 May 10 12:55 .qmail
-rw-r--r--1 root root 3394 Jul 12 19:34 .screenrc
drwxr-xr-x4 root root 1024 Aug  3 17:34 Desktop
drwx--5 root root 1024 Aug  3 15:48 Maildir
drwxrwxr-x2 root root 1024 Dec  4  1999 web
[root@bryant skel]# cat .qmail
./Maildir/
[root@bryant skel]# cd Maildir

RE: help with strange problem

2000-08-08 Thread Brett Randall

 I'm almost stumped on this one..it has to be something simple
 I would rather not have to run that cron script...if I don't have to.
 I concider it kind of a hack for now.

Ok...have you tried dumping the whole 'assign' setup? This should disable
its usage, since you don't need it. Give that a go...Also a cron script is
terrible. When I add a user, I want it to work NOW not when the next update
is. I don't know WHOSE idea that was...The hack I would do would be to the
adduser script itself. But anyway try dumping the users/assign structure and
see what happens.

Brett.


Manager
InterPlanetary Solutions
http://ipsware.com/




Re: supervise + qmail-pop3d prob

2000-08-08 Thread Michael Hufnagl

hi,

At 16:36 08.08.00 +0200, you wrote:
Just joining this list a couple of minutes ago, i already got
my first serious problem.

I installed
qmail 1.03
vpopmail 4.8.7
ucspi-tcp-0.88
and
daemontools-0.70

to setup an qmail/vpopmail mailserver
according to the tutorial "life with qmail"

Now here's my prob:

The supervise process doesn't recognize my pop3d starting up.

After starting "supervise /var/qmail/supervise/qmail-pop3" i get multiple
error messages
 tcpserver: fatal: unable to bind: address already used
as supervise repeatedly starts the tcpserver.

hey...
"supervise /var/qmail/supervise/qmail-pop3"

is NOT:
.../var/qmail/bin/qmail-pop3d Maildir 


Nevertheless does one pop3 daemon start up and accepts connections.
When I start that skript manually the pop3d start at once.

and if you start the skript then again you will got a
"tcpserver: fatal: unable to bind: address already used"

;-)

nothing else supervice do...

i think, you start qmail-pop3d in the background and so supervice will 5 
sec later try to start qmail-pop3d again...

Here is my run skript:

snipp
#! /bin/sh
exec /usr/local/bin/tcpserver -H -R -l my_host 0 pop3
/var/qmail/bin/qmail-popup my_host \
/usr/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
/snipp

The stmp daemon is started the same way and produces no probs.

nope. it is started NOT in the same way. you start smtpd without '' ;-)



--

MfG
Michael Hufnagl
Netzwerktechnik

***
* ecore Kommunikations AG
* http://www.ecore.net
*




SV: Strange virtualdomains

2000-08-08 Thread Magnus Löfqvist

Hi,

im sorry, I was in a bit of a rusch last time...
it is like this, I have virtual domain system that delivery all the mails to
about 10-15 domains to one user, in that user (mailmaster in my case) have a
.qmail-default file that starts up a script for get the user accound who
should retreive the mail from a sql database,
but some mails are stuck and it look like qmail dosent set the correct
RECIPIENT enviroment variable...I only get
[EMAIL PROTECTED]
The box answers on worldnet.se, etanet.nu, norrtelje.net, d-tech.nu and
wnprod.org

// Magnus Löfqvist

here is a example mailheader that makes this error:

RECIPIENT: [EMAIL PROTECTED]
SENDER: [EMAIL PROTECTED]

Received: (qmail 4897 invoked by uid 1008); 5 Aug 2000 20:11:16 -
Received: (qmail 4891 invoked from network); 5 Aug 2000 20:11:15 -
Received: from unknown (HELO bas05.calypso.net) (194.52.189.101)
  by 62.100.129.2 with SMTP; 5 Aug 2000 20:11:15 -
Received: from nic.calypso.net (nic.calypso.net [194.52.189.130])
by bas05.calypso.net (8.8.5/8.8.7) with ESMTP id WAA28165;
Sat, 5 Aug 2000 22:11:19 +0200 (CEST)
Received: from win.calypso.net (t3o77p4.telia.com [195.198.146.4])
by nic.calypso.net (8.8.5/8.8.5) with ESMTP id WAA07953;
Sat, 5 Aug 2000 22:13:54 +0200 (MET DST)
Message-Id: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Sat, 05 Aug 2000 22:07:54 +0200
To: Per Johansson C Sekt 1 [EMAIL PROTECTED],
  Berndt =?iso-8859-1?Q?Bj=F6rklund?= C Sekt 2
[EMAIL PROTECTED]
se,
  =?iso-8859-1?Q?B=F6rje?= Axlund =?iso-8859-1?Q?Chefsinstrukt=F6r?= Sekt 3
cse
[EMAIL PROTECTED],
  Kjell =?iso-8859-1?Q?Karlstr=F6m?= Hvbat Nord Kommendant
[EMAIL PROTECTED]
From: Rolf Dhejne [EMAIL PROTECTED]
Subject: =?iso-8859-1?Q?LEDNINGKRIGF=D6RING?=
Cc: Lars Rosenqvist C Hvbat nord [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: multipart/mixed;




-Ursprungligt meddelande-
Från: Magnus Bodin [mailto:[EMAIL PROTECTED]]
Skickat: den 7 augusti 2000 19:23
Till: qmail list
Ämne: Re: Strange virtualdomains


On Mon, Aug 07, 2000 at 04:34:52PM +0200, Magnus Löfqvist wrote:

 Have a strage problem..
 I use virtualdomain and got some strange deliverys
 [EMAIL PROTECTED]
 why dosent it get a real adress?

You really have to be a little more elaborative in your error reports.

How did you configure the domain in virtualdomains and how does the "error"
look like?


/magnus

--
http://x42.com/




a thought.... help with strange problem

2000-08-08 Thread Barry Smoke

Here's a thoughti moved the /home directory to a new drive a while back
ago.is this fstab entry causing this to act like nfs?

#fstab##
[root@bryant /etc]# cat fstab
/dev/sda3   /   ext2defaults1 1
/dev/sda1   /boot   ext2defaults1 2
/dev/sda2   swapswapdefaults0 0
/dev/sdb1   swapswapdefaults0 0
/dev/fd0/mnt/floppy ext2owner,noauto0 0
/dev/cdrom  /mnt/cdrom  iso9660 owner,noauto,ro 0 0
none/proc   procdefaults0 0
none/dev/ptsdevpts  gid=5,mode=620
0 0
/dev/sdb2   /home   ext2defaults1 1

-Original Message-
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 8:54 AM
To: Brett Randall
Cc: Qmail@List. Cr. Yp. To
Subject: RE: help with strange problem


I never knew about this...because i've never set qmail up for
nis/nfs.which makes my situation even stranger
I always check the permissions firstI have permissions set up correctly
in /etc/skel...so every user created automatically has the correct
permissions..permissions have always been what I look at first, because
as with you ...it always fixes 90% of my problems...sucks to have one in
the other 10%

I'm almost stumped on this one..it has to be something simple
I would rather not have to run that cron script...if I don't have to.
I concider it kind of a hack for now.


-Original Message-
From: Brett Randall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 1:05 AM
To: qmail
Subject: RE: help with strange problem


 to add
 I have discovered that the users that are working are in
 /var/control/users/assign
 what updates this file?

Unless RedHat 7.0 beta includes some automatic function, then you do. Read
the qmail FAQ on info for how to update this (specifically look for
information on NIS/NFS outages...this is included there.) I don't know if
this is covered in LWQ but I would guess so.

Also, most of the problems I have had with qmail like yours are to do with
Maildir permissions. Make sure in the actual home folder of the recipient
that they have at least read/write permissions (maybe a cd ~user; chmod -R
u+r *; chown -R user *; chown -R user .qmail; chgrp -R group *; chgrp -R
group .qmail) might help. This has 90% of the time caused the below problem.
BUT the assign file you asked about before probably caused the other 10%! If
in doubt, delete it : (Or move it somewhere else and its associated
files...probably recommended).

Brett.

Manager
InterPlanetary Solutions
http://ipsware.com/
-Original Message-
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re: help with strange problem



- Original Message -
From: Barry Smoke
To: [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 9:45 PM
Subject: help with strange problem


I have been pulling my hair out on this one all day long.  I am including
all my information so you guys can help keep my hair in.
I have been running qmail on a mail machine at a k12 school for a year...no
real problems to speak of
now I have upgraded this server to redhat 7.0 beta..I know...why on
earth would you use beta on a production machinewell, I tested it out on
several otehr machines...and all went well, and it's not the beta I'm having
problems with.

The machine in question is bryant.dsc.k12.ar.us
there is an alias to this machine...bryant.k12.ar.us
I have been running this machine aliased for our administrators for the
year...and now I'm moving all of our schools over to this machine.
That includes elementaries, the jr.high, high school, etc
Mail is working perfectly for our administrators(thank goodness)...but not
for new users
I have /etc/skel setup to create a Maildir correctly(yes I used
maildirmake), and copy a .qmail file to everyone's home directory.
I checked permissions...they match our existing users that are working.
you can send mail to [EMAIL PROTECTED] me at
[EMAIL PROTECTED]
but when you add a new user you can't send mail to them at either
addressI've tried restarting qmail...and restarting the machine(with
blind hopes)
I got this whe I added a user named testingthemail:
to local [EMAIL PROTECTED]
Aug  7 20:10:10 bryant qmail: 965697010.528031 status: local 2/10 remote
0/20
Aug  7 20:10:10 bryant qmail: 965697010.548143 delivery 24: success:
did_0+0+0/
Aug  7 20:10:10 bryant qmail: 965697010.566173 status: local 1/10 remote
0/20
Aug  7 20:10:10 bryant qmail: 965697010.567118 delivery 25: failure:
Sorry,_no_m
ailbox_here_by_that_name._(#5.1.1)/
I added another user just a while agoand all of the sudden his is

Re: supervise + qmail-pop3d prob

2000-08-08 Thread Chris Johnson

On Tue, Aug 08, 2000 at 04:36:21PM +0200, Manuel Gisbert wrote:
 The supervise process doesn't recognize my pop3d starting up.
 
 After starting "supervise /var/qmail/supervise/qmail-pop3" i get multiple
 error messages
   tcpserver: fatal: unable to bind: address already used
 as supervise repeatedly starts the tcpserver.
 
 Nevertheless does one pop3 daemon start up and accepts connections.
 When I start that skript manually the pop3d start at once.
 Here is my run skript:
 
 snipp
 #! /bin/sh
 exec /usr/local/bin/tcpserver -H -R -l my_host 0 pop3
 /var/qmail/bin/qmail-popup my_host \
 /usr/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
 ^^^
Remove the  from the end of your script.

Chris



Re: Strange virtualdomains

2000-08-08 Thread Magnus Bodin

On Tue, Aug 08, 2000 at 05:02:11PM +0200, Magnus Löfqvist wrote:
 Hi,
 
 im sorry, I was in a bit of a rusch last time...
 it is like this, I have virtual domain system that delivery all the mails to
 about 10-15 domains to one user, in that user (mailmaster in my case) have a
 .qmail-default file that starts up a script for get the user accound who
 should retreive the mail from a sql database,
 but some mails are stuck and it look like qmail dosent set the correct
 RECIPIENT enviroment variable...I only get
 [EMAIL PROTECTED]
 The box answers on worldnet.se, etanet.nu, norrtelje.net, d-tech.nu and
 wnprod.org

Sounds strange. 
I suggest that you instruct your script to dump ALL environment variables
and the message to a log when this happen and send it here. 

What domain and localpart was the target for attached message?

/magnus

--
http://x42.com/



RE: help with strange problem

2000-08-08 Thread pgracia


 to add
 I have discovered that the users that are working are in
 /var/control/users/assign
 what updates this file?

Maybe the problem is there. Check the entries in this file to be:

+domain.tld:user:uid:gid:directory where Maildir is:-::

for example... my account in my domain would be something like

+amira.es:pgracia:500:500:/home/pgracia:-::

Anyway the reference to mailbox in the error message is weird...



Paco Gracia
Director Técnico
Amira Sistemas




FW: help with strange problem

2000-08-08 Thread Barry Smoke




-Original Message-From: Barry Smoke 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, August 08, 2000 9:28 
AMTo: [EMAIL PROTECTED]; Barry SmokeCc: 
Qmail%List._Cr._Yp._To @list.cr.yp.toSubject: RE: help with strange 
problem
hmmmy entries look like 
this
with 
the username in front.

=barry:barry:983:504:/home/barry:::+barry-:barry:983:504:/home/barry:-::=testingthemail:testingthemail:984:984:/home/testingthemail:::+testingthemail-:testingthemail:984:984:/home/testingthemail:-:: 


  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, August 08, 2000 10:21 
  AMTo: Barry SmokeCc: Qmail%List._Cr._Yp._To 
  @list.cr.yp.toSubject: RE: help with strange 
  problem to 
  add I have discovered that the users that are working are 
  in /var/control/users/assign what updates this file? 
  Maybe the problem is there. Check the 
  entries in this file to be: +domain.tld:user:uid:gid:directory where Maildir is:-:: 
  for example... my account in my domain 
  would be something like +amira.es:pgracia:500:500:/home/pgracia:-:: Anyway the reference to mailbox in the error message is 
  weird... Paco 
  GraciaDirector TécnicoAmira Sistemas


Re: Users getting other users mail.

2000-08-08 Thread Dave Sill

"Bernard (Brian) J. Duffy" [EMAIL PROTECTED] wrote:

I am having a problem where several users are getting email that is being 
sent to another person. One guys email in particular is being received by 
four other people. This problem has now spread to several other individuals.

I checked aliases and mailing list memberships, and everything seems ok there.

Has anyone out there ever encountered this problem or have any idea how to 
find out what is wrong? Some embarrassing incidents have already taken 
place, and i need to stop this as soon as possible!

So, to paraphrase: "I'm having a problem, but everything looks right
to me. Help!"

Not much to go on, there, Brian. :-)

How about providing the following:

  1) an example of a misdelivered message with *all* header fields
 intact--especially "Received"
  2) contents of the relevant user's .qmail files
  3) snippet from qmail-send logs during the misdelivery

-Dave



Re: Multiple Mails with qmail-inject

2000-08-08 Thread Dave Sill

Martin Sckopke [EMAIL PROTECTED] wrote:

we're using a little script to do some header rewriting.

Sorry, that voids your qmail warranty. :-)

It is called via .qmail-fixup-default.
The output of the script is the fed into qmail-inject,
QMAILINJECT=i.
Almost everything works as expected, there's just one
problem: if a mail is sent to multiple users, EACH of
them gets it multiple times. The number of individual
mails is equal to the number or receivers.

The .qmail-fixup-default script is called n-times and
calls qmail-inject n-times (n is the number of receivers),
then qmail-inject sends each message n times.

If you re-inject the messages N times, wouldn't you expect to receive
N copies? Unless your script re-injects it only for that copy's
recipient..

We have this setup running for some years now but
recently upgraded hardware, kernel and qmail version.
Qmail was 1.01 and is now 1.03. Hardware is Intel,
OS is Linux.

What I can't figure out is how you managed to avoid duplicates
before...

-Dave



Thanx supervise + qmail-pop3d

2000-08-08 Thread Manuel Gisbert

Well thanx,

removing the "" cleared that problem at once.
typical rookie fault
should have got out for myself

thanx
Manuel



RE: supervise + qmail-pop3d prob

2000-08-08 Thread Manuel Gisbert

This usually means the port it is trying to access is already in use. If
inetd is running at the same time, edit /etc/inetd.conf and make sure that
the pop3 client in there has been commented out.

Well, pop3 client is commented out in inetd.conf
As i said there is no problem running the skript from the console
The problem here is that supervise doesn't recognize that tcpserver/pop3d is
already running
and tries to start the daemon again.

Manuel




[Fwd: qmail-pop3d question]

2000-08-08 Thread Bruce Edge

What error are you getting from your pop3 client?

Are you allowing connections, as specified in hosts.allow/deny?

 Wesly Ng wrote:
 
 Hello,
 I setup the qmail on turbolinux4.0 on 2 servers.
 I follow the step of "Life with Qmail" setup qmail-pop3d and checkpassword
 run the pop-3 by inetd.conf and send HUP to inetd.
 pass the test on INSTALL of checkpassword-0.81.
 also, I check that tcp.smtp
 :allow
 but I still can't check email from the client by pop3 which is inside my
 LAN.
 any other things that I missed?
 thanks~
 
 




Re: Open letter

2000-08-08 Thread David L. Nicol

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

"Ihnen, David" wrote:

 Maybe an extra-low-effort system would consist of a simply speaking a
 keyword into a microphone


I would find this more troublesome than typing my passphrase.

- -- 
  David Nicol 816.235.1187 [EMAIL PROTECTED]
Originator of the world's first combination bassinet and table saw
-BEGIN PGP SIGNATURE-
Version: perl -pe '$_=unpack("u*",$_);'
Comment: 92G5S="!!;F]T:5R(%!EFP@2%C:V5R"@``

iD8DBQE5kDOHJiOJhroV3bkRAtpcAJ4zQtG9qz925plFbbrtWEwveK38LwCeKjnf
/TkbHsLEy4a1ZK+yQ4mYl1k=
=DSp0
-END PGP SIGNATURE-



Re: send to group functionality ?

2000-08-08 Thread David L. Nicol

 
  Is there an easy way to just send to all users in a linux group,
  instead of having to use an alias file?


You mean group, as in, a line in /etc/group, right?

Lets say I have a message in a file called syl2000fall.txt and
I want to send it to everyone in the group called chem507.

I think this would do it:

mail `grep ^chem507 /etc/group | cut -f4 -d:`  syl2000fall.txt


Some light tweaking may be required, but mail will accept
comma-delimited recipients, YMMV.


-- 
  David Nicol 816.235.1187 [EMAIL PROTECTED]
Originator of the world's first combination bassinet and table saw



Re: Sort maildir and send smallest first

2000-08-08 Thread David L. Nicol


I recall from an earlier discussion of a similar problem that a
perceived consensus was reached that a good way to do this kind
of thing is to patch qmail-remote so that if
the message is too big to send, it appears as a temporary error
without even attempting to connect.
also the definition of "too big to send" is read in from the file
system in such a way that it can be easily monitored, and easily 
manipulated by a cron job.  Something like the (non)existence of
/var/mail/control/okay-to-send-big. 

After the status changes, an ALRM signal is generated to reprocess
all backed up mail (most of which is there due to being oversize,
it is hoped) and that is that.

I do not know if this approach can be applied to maildirsmtp and
serialmail.



Peter van Dijk wrote:
 
 On Wed, Jul 26, 2000 at 08:45:34AM +0600, [EMAIL PROTECTED] wrote:
 [snip]
  I would like to have qmail changed to do a
  sort mailbox by seize and
  send the smallest first.
 
  ... The larger
  messages could then go at night where the x minutes is set to a higher
  value.
 




-- 
  David Nicol 816.235.1187 [EMAIL PROTECTED]
Originator of the world's first combination bassinet and table saw



Re: stop postmaster to make more acounts..

2000-08-08 Thread David L. Nicol

Dave Sill wrote:
 
 Geir Ove =?iso-8859-1?Q?=D8ksnes?= [EMAIL PROTECTED] wrote:
 
 My customers have paid for like 100 email accounts
 and one postmaster account...  how to i restrict him
 from making more than 100 email accounts?...
 this is on a virtual domain..
 
 Run a cron job periodically that removes/disables any .qmail*-default
 files and any .qmail* files in excess of 100.
 
 -Dave


better to monitor his overuse and bill him for it


-- 
  David Nicol 816.235.1187 [EMAIL PROTECTED]
Originator of the world's first combination bassinet and table saw



Re: stop postmaster to make more acounts..

2000-08-08 Thread Tim Hunter

If I remember correctly the new qmailadmin has a setting for this.

Now if only I could remember what it was, I remember seeing the settings on
either this or the vpopmail mailing list.  BEtter yet im sure its in the
tarball somewhere.

-- Tim


- Original Message -
From: "David L. Nicol" [EMAIL PROTECTED]
To: "Dave Sill" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2000 1:06 PM
Subject: Re: stop postmaster to make more acounts..


 Dave Sill wrote:
 
  Geir Ove =?iso-8859-1?Q?=D8ksnes?= [EMAIL PROTECTED] wrote:
 
  My customers have paid for like 100 email accounts
  and one postmaster account...  how to i restrict him
  from making more than 100 email accounts?...
  this is on a virtual domain..
 
  Run a cron job periodically that removes/disables any .qmail*-default
  files and any .qmail* files in excess of 100.
 
  -Dave


 better to monitor his overuse and bill him for it


 --
   David Nicol 816.235.1187 [EMAIL PROTECTED]
 Originator of the world's first combination bassinet and table saw





Qmail and NIS databases

2000-08-08 Thread pgracia



Maybe someone could interest this one:

http://rucus.ru.ac.za/~keith/qmail/update-nis-qmail-users.html

Paco Gracia
Director Técnico
Amira Sistemas

Missing attachment...

2000-08-08 Thread Guillermo Villasana Cardoza

Hello guys... I was wondering if anyone knows why do sometimes some
email attachments get stripped off the email, is this a server side
problem, a client side problem or a protocol problem?
Or can someone tell me where I can get documentation about this...

Thanks
Guillermo Villasana



Re: Users getting other users mail.

2000-08-08 Thread Bernard (Brian) J. Duffy

I apologize for being a bonehead. I have hollered at people for doing the 
same thing as i just did more than once :)

Somebody made several typos in /etc/aliases which caused the problem.




Bernard (Brian) J. Duffy
Database Administrator
ReserveAmerica  -- NY
40 South Street
Ballston Spa, NY 12020
(518)885-4282 x2017
[EMAIL PROTECTED]




How to stop sub-domains in BADMAIL

2000-08-08 Thread John McCoy, Jr

Sorry this has probably been asked a thousand times but here it is.

We keep getting spam from zzn.com, but with sub domains, so it's yes.zzn.com
or friend.zzn.com

I know to stop them by putting this in BADMAIL
@friend.zzn.com
@yes.zzn.com

Can I do it this way?
@*.zzn.com

Thanks all


*
John McCoy, Jr
Systems Administrator
Central Systems, Mills College
510-430-3321
[EMAIL PROTECTED]
*





Re: How to stop sub-domains in BADMAIL

2000-08-08 Thread Dave Sill

"John McCoy, Jr" [EMAIL PROTECTED] wrote:

I know to stop them by putting this in [badmailfrom]
@friend.zzn.com
@yes.zzn.com

Can I do it this way?
@*.zzn.com

No, but you could block their IP addresses using tcpserver.

-Dave



Revert to Sendmail

2000-08-08 Thread Anand Saokar

Hi *,

How do I revert back to sendmail?...I am not able to use Telnet ...it
reflects the qmail status still.
I have stopped the QMail from Running.
I am able to recieve remote mails but not send it thru Telnet.

I have done the following:

1. Uncommented this line in   /etc/init.d/sendmail.
  sendmail -bd -q15m

2. Started the sendmail daemon and shows up as running.

3. Added the setuid bit on the sendmail binary:
  # chmod 777 /usr/lib/sendmail

4. Moved the sendmail binary back to its place:
  # mv /usr/lib/sendmail.bak /usr/lib/sendmail

Please reply asap,
Anand




Re: Revert to Sendmail

2000-08-08 Thread Steve Wolfe

 How do I revert back to sendmail?

Sendmail installation instructions are available from www.sendmail.org.

 3. Added the setuid bit on the sendmail binary:
   # chmod 777 /usr/lib/sendmail

  By all means, leave it world-writeable like that.  That way, any normal
user on your system can overwrite it with the contents of their choice, and
thus gain root access.

steve




qmail behind nat looping trying to receive mail form outside

2000-08-08 Thread Michael Fiumano


Hi,

I am having troubles receiving mail with qmail.  Here is my setup:  I am
running qmail on my linux box behind a NAT device.  My MX record points to
a name not in my domain (dynamic dns) and that name points to my IP
address (that shouldn't matter much).  What seems to be happening is that
my server is looping the mail back to itself because it can't realize that
monkey.fiumano.com is itself.  See the returned mail I got when I tried to
send myself mail fom the outside. 

As a side note, my server keeps having these identd processes start
whenever i send myself mail:
17665 ?S  0:00 in.identd -P/dev/null
17666 ?S  0:00 in.identd -P/dev/null
17667 ?S  0:00 in.identd -P/dev/null
17668 ?S  0:00 in.identd -P/dev/null
17669 ?S  0:00 in.identd -P/dev/null
17670 ?S  0:00 in.identd -P/dev/null
17671 ?S  0:00 in.identd -P/dev/null
And I tried the -R switch on tcpserver like I saw someone suggest in the
list, but it hasn't helped.

Also I can't send myself mail locally either, but I can't figure out why.
I telnet to myself to spoof mail to [EMAIL PROTECTED] but it never makes
it to the Mailbox.

I'd appreciate any help on this.  Here is an example mail I sent to my
mailserver from outside.


-- Forwarded message --
Date: 8 Aug 2000 08:00:11 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

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

[EMAIL PROTECTED]:
63.227.124.31 failed after I sent the message.
Remote host said: 554 too many hops, this message is looping (#5.4.6)

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

Return-Path: [EMAIL PROTECTED]
Received: (qmail 17659 invoked from network); 8 Aug 2000 08:00:09 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:09 -
Received: (qmail 17656 invoked from network); 8 Aug 2000 08:00:07 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:07 -
Received: (qmail 17653 invoked from network); 8 Aug 2000 08:00:06 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:06 -
Received: (qmail 17650 invoked from network); 8 Aug 2000 08:00:05 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:05 -
Received: (qmail 17647 invoked from network); 8 Aug 2000 08:00:03 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:03 -
Received: (qmail 17644 invoked from network); 8 Aug 2000 08:00:02 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:02 -
Received: (qmail 17641 invoked from network); 8 Aug 2000 08:00:01 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:01 -
Received: (qmail 17638 invoked from network); 8 Aug 2000 07:59:59 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:59 -
Received: (qmail 17635 invoked from network); 8 Aug 2000 07:59:58 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:58 -
Received: (qmail 17632 invoked from network); 8 Aug 2000 07:59:57 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:57 -
Received: (qmail 17629 invoked from network); 8 Aug 2000 07:59:55 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:55 -
Received: (qmail 17626 invoked from network); 8 Aug 2000 07:59:54 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:54 -
Received: (qmail 17623 invoked from network); 8 Aug 2000 07:59:53 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:53 -
Received: (qmail 17620 invoked from network); 8 Aug 2000 07:59:52 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:52 -
Received: (qmail 17617 invoked from network); 8 Aug 2000 07:59:50 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:50 -
Received: (qmail 17614 invoked from network); 8 Aug 2000 07:59:49 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:49 -
Received: (qmail 17611 invoked from network); 8 Aug 2000 07:59:48 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:48 -
Received: (qmail 17608 invoked from network); 8 Aug 2000 

Re: Revert to Sendmail

2000-08-08 Thread Chris Garrigues

 From:  "Steve Wolfe" [EMAIL PROTECTED]
 Date:  Tue, 8 Aug 2000 13:24:50 -0600

  How do I revert back to sendmail?
 
 Sendmail installation instructions are available from www.sendmail.org.
 
  3. Added the setuid bit on the sendmail binary:
# chmod 777 /usr/lib/sendmail
 
   By all means, leave it world-writeable like that.  That way, any normal
 user on your system can overwrite it with the contents of their choice, and
 thus gain root access.

...and by the way, this does *not* turn in the setuid bit.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


Re: qmail behind nat looping trying to receive mail form outside

2000-08-08 Thread Tyler J. Frederick

What's the contents of your /var/qmail/locals file?

- T

-- 
Tyler J. Frederick
Systems Administrator
Sportsline.com, Inc.

On Tue, 8 Aug 2000, Michael Fiumano wrote:

 
 Hi,
 
 I am having troubles receiving mail with qmail.  Here is my setup:  I am
 running qmail on my linux box behind a NAT device.  My MX record points to
 a name not in my domain (dynamic dns) and that name points to my IP
 address (that shouldn't matter much).  What seems to be happening is that
 my server is looping the mail back to itself because it can't realize that
 monkey.fiumano.com is itself.  See the returned mail I got when I tried to
 send myself mail fom the outside. 
 
 As a side note, my server keeps having these identd processes start
 whenever i send myself mail:
 17665 ?S  0:00 in.identd -P/dev/null
 17666 ?S  0:00 in.identd -P/dev/null
 17667 ?S  0:00 in.identd -P/dev/null
 17668 ?S  0:00 in.identd -P/dev/null
 17669 ?S  0:00 in.identd -P/dev/null
 17670 ?S  0:00 in.identd -P/dev/null
 17671 ?S  0:00 in.identd -P/dev/null
 And I tried the -R switch on tcpserver like I saw someone suggest in the
 list, but it hasn't helped.
 
 Also I can't send myself mail locally either, but I can't figure out why.
 I telnet to myself to spoof mail to [EMAIL PROTECTED] but it never makes
 it to the Mailbox.
 
 I'd appreciate any help on this.  Here is an example mail I sent to my
 mailserver from outside.
 
 
 -- Forwarded message --
 Date: 8 Aug 2000 08:00:11 -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: failure notice
 
 Hi. This is the qmail-send program at fiumano.com..
 I'm afraid I wasn't able to deliver your message to the following addresses.
 This is a permanent error; I've given up. Sorry it didn't work out.
 
 [EMAIL PROTECTED]:
 63.227.124.31 failed after I sent the message.
 Remote host said: 554 too many hops, this message is looping (#5.4.6)
 
 --- Below this line is a copy of the message.
 
 Return-Path: [EMAIL PROTECTED]
 Received: (qmail 17659 invoked from network); 8 Aug 2000 08:00:09 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:09 -
 Received: (qmail 17656 invoked from network); 8 Aug 2000 08:00:07 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:07 -
 Received: (qmail 17653 invoked from network); 8 Aug 2000 08:00:06 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:06 -
 Received: (qmail 17650 invoked from network); 8 Aug 2000 08:00:05 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:05 -
 Received: (qmail 17647 invoked from network); 8 Aug 2000 08:00:03 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:03 -
 Received: (qmail 17644 invoked from network); 8 Aug 2000 08:00:02 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:02 -
 Received: (qmail 17641 invoked from network); 8 Aug 2000 08:00:01 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:01 -
 Received: (qmail 17638 invoked from network); 8 Aug 2000 07:59:59 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:59 -
 Received: (qmail 17635 invoked from network); 8 Aug 2000 07:59:58 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:58 -
 Received: (qmail 17632 invoked from network); 8 Aug 2000 07:59:57 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:57 -
 Received: (qmail 17629 invoked from network); 8 Aug 2000 07:59:55 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:55 -
 Received: (qmail 17626 invoked from network); 8 Aug 2000 07:59:54 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:54 -
 Received: (qmail 17623 invoked from network); 8 Aug 2000 07:59:53 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:53 -
 Received: (qmail 17620 invoked from network); 8 Aug 2000 07:59:52 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:52 -
 Received: (qmail 17617 invoked from network); 8 Aug 2000 07:59:50 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:50 -
 Received: (qmail 17614 invoked from network); 8 Aug 2000 07:59:49 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 

Setting up qmail user accounts

2000-08-08 Thread Kevin Smith

Hi All,

Can someone tell why if I create a user account like this :

./maildirmake $HOME/Maildir
echo ./Maildir/  ~/.qmail

I can send email using the command: echo to: ksmith |
/var/qmail/bin/qmail-inject

However, if I create a user account like this :

~ksmith/.qmail-ksmith

I can use the command: echo to: ksmith | /var/qmail/bin/qmail-inject and I
do receive the test email?

Any ideas?

Also, when I try to send email to the user via my email client on my PC to
the mailserver, it never arrives, yet I never get a return mail sending it
was never delivered, can someone tell if I have installed qmail correctly?

Also, if I am connecting retrieve email from the webserver from my PC, it
goes through port 110, is it possible that the server is blocking port 110
as this is a managed server (ISP does not support qmail) and I recall that
it was somehow setup not to process email, so I thought... if port 110 is
barred, how on Solaris v2.6 do I stop this from happening?

Many thanks,

Kevin Smith




Re: qmail behind nat looping trying to receive mail form outside

2000-08-08 Thread Michael Fiumano

fiumano.com.

On Tue, 8 Aug 2000, Tyler J. Frederick wrote:

 What's the contents of your /var/qmail/locals file?
 
 - T
 
 -- 
 Tyler J. Frederick
 Systems Administrator
 Sportsline.com, Inc.
 
 On Tue, 8 Aug 2000, Michael Fiumano wrote:
 
  
  Hi,
  
  I am having troubles receiving mail with qmail.  Here is my setup:  I am
  running qmail on my linux box behind a NAT device.  My MX record points to
  a name not in my domain (dynamic dns) and that name points to my IP
  address (that shouldn't matter much).  What seems to be happening is that
  my server is looping the mail back to itself because it can't realize that
  monkey.fiumano.com is itself.  See the returned mail I got when I tried to
  send myself mail fom the outside. 
  
  As a side note, my server keeps having these identd processes start
  whenever i send myself mail:
  17665 ?S  0:00 in.identd -P/dev/null
  17666 ?S  0:00 in.identd -P/dev/null
  17667 ?S  0:00 in.identd -P/dev/null
  17668 ?S  0:00 in.identd -P/dev/null
  17669 ?S  0:00 in.identd -P/dev/null
  17670 ?S  0:00 in.identd -P/dev/null
  17671 ?S  0:00 in.identd -P/dev/null
  And I tried the -R switch on tcpserver like I saw someone suggest in the
  list, but it hasn't helped.
  
  Also I can't send myself mail locally either, but I can't figure out why.
  I telnet to myself to spoof mail to [EMAIL PROTECTED] but it never makes
  it to the Mailbox.
  
  I'd appreciate any help on this.  Here is an example mail I sent to my
  mailserver from outside.
  
  
  -- Forwarded message --
  Date: 8 Aug 2000 08:00:11 -
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: failure notice
  
  Hi. This is the qmail-send program at fiumano.com..
  I'm afraid I wasn't able to deliver your message to the following addresses.
  This is a permanent error; I've given up. Sorry it didn't work out.
  
  [EMAIL PROTECTED]:
  63.227.124.31 failed after I sent the message.
  Remote host said: 554 too many hops, this message is looping (#5.4.6)
  
  --- Below this line is a copy of the message.
  
  Return-Path: [EMAIL PROTECTED]
  Received: (qmail 17659 invoked from network); 8 Aug 2000 08:00:09 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:09 -
  Received: (qmail 17656 invoked from network); 8 Aug 2000 08:00:07 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:07 -
  Received: (qmail 17653 invoked from network); 8 Aug 2000 08:00:06 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:06 -
  Received: (qmail 17650 invoked from network); 8 Aug 2000 08:00:05 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:05 -
  Received: (qmail 17647 invoked from network); 8 Aug 2000 08:00:03 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:03 -
  Received: (qmail 17644 invoked from network); 8 Aug 2000 08:00:02 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:02 -
  Received: (qmail 17641 invoked from network); 8 Aug 2000 08:00:01 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:01 -
  Received: (qmail 17638 invoked from network); 8 Aug 2000 07:59:59 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:59 -
  Received: (qmail 17635 invoked from network); 8 Aug 2000 07:59:58 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:58 -
  Received: (qmail 17632 invoked from network); 8 Aug 2000 07:59:57 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:57 -
  Received: (qmail 17629 invoked from network); 8 Aug 2000 07:59:55 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:55 -
  Received: (qmail 17626 invoked from network); 8 Aug 2000 07:59:54 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:54 -
  Received: (qmail 17623 invoked from network); 8 Aug 2000 07:59:53 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:53 -
  Received: (qmail 17620 invoked from network); 8 Aug 2000 07:59:52 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:52 -
  Received: (qmail 17617 invoked from network); 8 Aug 2000 07:59:50 -
  Received: from unknown (HELO fiumano.com.) (63.227.124.31)
by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:50 

Re: Revert to Sendmail

2000-08-08 Thread Anand Saokar

But here I am only REVERTING Back to Sendmail .i.e I had previously Installed
Sendmail over which I installed QMail...Now If I want to turn Sendmail back on
How do I do that? apart from using the steps as stated in Rmove.sendmail
document.

Steve Wolfe wrote:

  How do I revert back to sendmail?

 Sendmail installation instructions are available from www.sendmail.org.

  3. Added the setuid bit on the sendmail binary:
# chmod 777 /usr/lib/sendmail

   By all means, leave it world-writeable like that.  That way, any normal
 user on your system can overwrite it with the contents of their choice, and
 thus gain root access.

 steve




Re: Setting up qmail user accounts

2000-08-08 Thread Kevin Smith

I think I've managed to work out that problem now...

The problem I have now is I can't download messages off of the mailserver
from my PC.  I have qmail setup on another mailserver, but I didn't set that
up..

Does anyone have any pointers as to what to do?  Is there something I need
to enable POP or SMTP on the machine?  Or should qmail have sorted that out?

The error I get from Outlook Express is :

The connection to the server has failed. Account: 'DWS', Server:
'dwshop2.dedic.web.xara.net', Protocol: POP3, Port: 110, Secure(SSL): No,
Socket Error: 10061, Error Number: 0x800CCC0E

Cheers,

Kevin

- Original Message -
From: "Kevin Smith" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2000 9:06 PM
Subject: Setting up qmail user accounts


 Hi All,

 Can someone tell why if I create a user account like this :

 ./maildirmake $HOME/Maildir
 echo ./Maildir/  ~/.qmail

 I can send email using the command: echo to: ksmith |
 /var/qmail/bin/qmail-inject

 However, if I create a user account like this :

 ~ksmith/.qmail-ksmith

 I can use the command: echo to: ksmith | /var/qmail/bin/qmail-inject and I
 do receive the test email?

 Any ideas?

 Also, when I try to send email to the user via my email client on my PC to
 the mailserver, it never arrives, yet I never get a return mail sending it
 was never delivered, can someone tell if I have installed qmail correctly?

 Also, if I am connecting retrieve email from the webserver from my PC, it
 goes through port 110, is it possible that the server is blocking port 110
 as this is a managed server (ISP does not support qmail) and I recall that
 it was somehow setup not to process email, so I thought... if port 110 is
 barred, how on Solaris v2.6 do I stop this from happening?

 Many thanks,

 Kevin Smith






Re: Revert to Sendmail

2000-08-08 Thread Fabrice Scemama

Anand, your X-Mailer header denonciates you as using NT...
I really believe it would be more efficient and lot safer
for you to revert to post office.
Don't feel offensed in any way, but to administrate
qmail or, worse, sendmail, you do need to be more savvy
in unix administration.
Fabrice

Anand Saokar wrote:
 
 But here I am only REVERTING Back to Sendmail .i.e I had previously Installed
 Sendmail over which I installed QMail...Now If I want to turn Sendmail back on
 How do I do that? apart from using the steps as stated in Rmove.sendmail
 document.
 
 Steve Wolfe wrote:
 
   How do I revert back to sendmail?
 
  Sendmail installation instructions are available from www.sendmail.org.
 
   3. Added the setuid bit on the sendmail binary:
 # chmod 777 /usr/lib/sendmail
 
By all means, leave it world-writeable like that.  That way, any normal
  user on your system can overwrite it with the contents of their choice, and
  thus gain root access.
 
  steve

-- 
"Ce  n'est pas  parce qu'on  dit  : "Fermez  la porte,  il fait  froid
dehors", qu'il fait moins froid  dehors quand la porte est fermee." --
Pierre Dac



Re: Revert to Sendmail

2000-08-08 Thread markd

On Tue, Aug 08, 2000 at 01:12:38PM -0700, Anand Saokar wrote:
 But here I am only REVERTING Back to Sendmail .i.e I had previously Installed
 Sendmail over which I installed QMail...Now If I want to turn Sendmail back on
 How do I do that? apart from using the steps as stated in Rmove.sendmail
 document.

We heard your question the first time. There is no documented procedure
for uninstalling qmail. But, you've stated that you previously installed
Sendmail, why not just do that again?

Remember, this list consists mostly of people who know nothing about
Sendmail or don't want to keep knowing about Sendmail. On that basis,
asking your question here is kinda like asking vegetarians how to eat
meat.


Regards.



Re: qmail behind nat looping trying to receive mail form outside

2000-08-08 Thread Tyler J. Frederick

You don't have anything in your smtproutes that would send this back out
do you?  Let me make sure I understand this.  You have a qmail box that is
on an ip (10.0.0.3) and that has a static translation to the world through
a router or NAT box of some sort.  The MX for fiumano.com is pointed to
this static translated address?

- T

-- 
Tyler J. Frederick
Systems Administrator
Sportsline.com, Inc.

On Tue, 8 Aug 2000, Michael Fiumano wrote:

 fiumano.com.
 
 On Tue, 8 Aug 2000, Tyler J. Frederick wrote:
 
  What's the contents of your /var/qmail/locals file?
  
  - T
  
  -- 
  Tyler J. Frederick
  Systems Administrator
  Sportsline.com, Inc.
  
  On Tue, 8 Aug 2000, Michael Fiumano wrote:
  
   
   Hi,
   
   I am having troubles receiving mail with qmail.  Here is my setup:  I am
   running qmail on my linux box behind a NAT device.  My MX record points to
   a name not in my domain (dynamic dns) and that name points to my IP
   address (that shouldn't matter much).  What seems to be happening is that
   my server is looping the mail back to itself because it can't realize that
   monkey.fiumano.com is itself.  See the returned mail I got when I tried to
   send myself mail fom the outside. 
   
   As a side note, my server keeps having these identd processes start
   whenever i send myself mail:
   17665 ?S  0:00 in.identd -P/dev/null
   17666 ?S  0:00 in.identd -P/dev/null
   17667 ?S  0:00 in.identd -P/dev/null
   17668 ?S  0:00 in.identd -P/dev/null
   17669 ?S  0:00 in.identd -P/dev/null
   17670 ?S  0:00 in.identd -P/dev/null
   17671 ?S  0:00 in.identd -P/dev/null
   And I tried the -R switch on tcpserver like I saw someone suggest in the
   list, but it hasn't helped.
   
   Also I can't send myself mail locally either, but I can't figure out why.
   I telnet to myself to spoof mail to [EMAIL PROTECTED] but it never makes
   it to the Mailbox.
   
   I'd appreciate any help on this.  Here is an example mail I sent to my
   mailserver from outside.
   
   
   -- Forwarded message --
   Date: 8 Aug 2000 08:00:11 -
   From: [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: failure notice
   
   Hi. This is the qmail-send program at fiumano.com..
   I'm afraid I wasn't able to deliver your message to the following addresses.
   This is a permanent error; I've given up. Sorry it didn't work out.
   
   [EMAIL PROTECTED]:
   63.227.124.31 failed after I sent the message.
   Remote host said: 554 too many hops, this message is looping (#5.4.6)
   
   --- Below this line is a copy of the message.
   
   Return-Path: [EMAIL PROTECTED]
   Received: (qmail 17659 invoked from network); 8 Aug 2000 08:00:09 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:09 -
   Received: (qmail 17656 invoked from network); 8 Aug 2000 08:00:07 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:07 -
   Received: (qmail 17653 invoked from network); 8 Aug 2000 08:00:06 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:06 -
   Received: (qmail 17650 invoked from network); 8 Aug 2000 08:00:05 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:05 -
   Received: (qmail 17647 invoked from network); 8 Aug 2000 08:00:03 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:03 -
   Received: (qmail 17644 invoked from network); 8 Aug 2000 08:00:02 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:02 -
   Received: (qmail 17641 invoked from network); 8 Aug 2000 08:00:01 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:01 -
   Received: (qmail 17638 invoked from network); 8 Aug 2000 07:59:59 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:59 -
   Received: (qmail 17635 invoked from network); 8 Aug 2000 07:59:58 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:58 -
   Received: (qmail 17632 invoked from network); 8 Aug 2000 07:59:57 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:57 -
   Received: (qmail 17629 invoked from network); 8 Aug 2000 07:59:55 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:55 -
   Received: (qmail 17626 invoked from network); 8 Aug 2000 07:59:54 -
   Received: from unknown (HELO fiumano.com.) (63.227.124.31)
 by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:54 -
   Received: 

Re: qmail behind nat looping trying to receive mail form outside

2000-08-08 Thread Michael Fiumano

yes

On Tue, 8 Aug 2000, Tyler J. Frederick wrote:

 You don't have anything in your smtproutes that would send this back out
 do you?  Let me make sure I understand this.  You have a qmail box that is
 on an ip (10.0.0.3) and that has a static translation to the world through
 a router or NAT box of some sort.  The MX for fiumano.com is pointed to
 this static translated address?
 
 - T
 
 -- 
 Tyler J. Frederick
 Systems Administrator
 Sportsline.com, Inc.
 
 On Tue, 8 Aug 2000, Michael Fiumano wrote:
 
  fiumano.com.
  
  On Tue, 8 Aug 2000, Tyler J. Frederick wrote:
  
   What's the contents of your /var/qmail/locals file?
   
   - T
   
   -- 
   Tyler J. Frederick
   Systems Administrator
   Sportsline.com, Inc.
   
   On Tue, 8 Aug 2000, Michael Fiumano wrote:
   

Hi,

I am having troubles receiving mail with qmail.  Here is my setup:  I am
running qmail on my linux box behind a NAT device.  My MX record points to
a name not in my domain (dynamic dns) and that name points to my IP
address (that shouldn't matter much).  What seems to be happening is that
my server is looping the mail back to itself because it can't realize that
monkey.fiumano.com is itself.  See the returned mail I got when I tried to
send myself mail fom the outside. 

As a side note, my server keeps having these identd processes start
whenever i send myself mail:
17665 ?S  0:00 in.identd -P/dev/null
17666 ?S  0:00 in.identd -P/dev/null
17667 ?S  0:00 in.identd -P/dev/null
17668 ?S  0:00 in.identd -P/dev/null
17669 ?S  0:00 in.identd -P/dev/null
17670 ?S  0:00 in.identd -P/dev/null
17671 ?S  0:00 in.identd -P/dev/null
And I tried the -R switch on tcpserver like I saw someone suggest in the
list, but it hasn't helped.

Also I can't send myself mail locally either, but I can't figure out why.
I telnet to myself to spoof mail to [EMAIL PROTECTED] but it never makes
it to the Mailbox.

I'd appreciate any help on this.  Here is an example mail I sent to my
mailserver from outside.


-- Forwarded message --
Date: 8 Aug 2000 08:00:11 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

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

[EMAIL PROTECTED]:
63.227.124.31 failed after I sent the message.
Remote host said: 554 too many hops, this message is looping (#5.4.6)

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

Return-Path: [EMAIL PROTECTED]
Received: (qmail 17659 invoked from network); 8 Aug 2000 08:00:09 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:09 -
Received: (qmail 17656 invoked from network); 8 Aug 2000 08:00:07 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:07 -
Received: (qmail 17653 invoked from network); 8 Aug 2000 08:00:06 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:06 -
Received: (qmail 17650 invoked from network); 8 Aug 2000 08:00:05 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:05 -
Received: (qmail 17647 invoked from network); 8 Aug 2000 08:00:03 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:03 -
Received: (qmail 17644 invoked from network); 8 Aug 2000 08:00:02 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:02 -
Received: (qmail 17641 invoked from network); 8 Aug 2000 08:00:01 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:01 -
Received: (qmail 17638 invoked from network); 8 Aug 2000 07:59:59 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:59 -
Received: (qmail 17635 invoked from network); 8 Aug 2000 07:59:58 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:58 -
Received: (qmail 17632 invoked from network); 8 Aug 2000 07:59:57 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:57 -
Received: (qmail 17629 invoked from network); 8 Aug 2000 07:59:55 -
Received: from unknown (HELO fiumano.com.) (63.227.124.31)
  by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:55 -
Received: (qmail 17626 invoked from 

Re: qmail behind nat looping trying to receive mail form outside

2000-08-08 Thread Michael Fiumano

 yes that is right.  There is nothing in smtproutes and the rest which you
stated is correct.
 
 On Tue, 8 Aug 2000, Tyler J. Frederick wrote:
 
  You don't have anything in your smtproutes that would send this back out
  do you?  Let me make sure I understand this.  You have a qmail box that is
  on an ip (10.0.0.3) and that has a static translation to the world through
  a router or NAT box of some sort.  The MX for fiumano.com is pointed to
  this static translated address?
  
  - T
  
  -- 
  Tyler J. Frederick
  Systems Administrator
  Sportsline.com, Inc.
  
  On Tue, 8 Aug 2000, Michael Fiumano wrote:
  
   fiumano.com.
   
   On Tue, 8 Aug 2000, Tyler J. Frederick wrote:
   
What's the contents of your /var/qmail/locals file?

- T

-- 
Tyler J. Frederick
Systems Administrator
Sportsline.com, Inc.

On Tue, 8 Aug 2000, Michael Fiumano wrote:

 
 Hi,
 
 I am having troubles receiving mail with qmail.  Here is my setup:  I am
 running qmail on my linux box behind a NAT device.  My MX record points to
 a name not in my domain (dynamic dns) and that name points to my IP
 address (that shouldn't matter much).  What seems to be happening is that
 my server is looping the mail back to itself because it can't realize that
 monkey.fiumano.com is itself.  See the returned mail I got when I tried to
 send myself mail fom the outside. 
 
 As a side note, my server keeps having these identd processes start
 whenever i send myself mail:
 17665 ?S  0:00 in.identd -P/dev/null
 17666 ?S  0:00 in.identd -P/dev/null
 17667 ?S  0:00 in.identd -P/dev/null
 17668 ?S  0:00 in.identd -P/dev/null
 17669 ?S  0:00 in.identd -P/dev/null
 17670 ?S  0:00 in.identd -P/dev/null
 17671 ?S  0:00 in.identd -P/dev/null
 And I tried the -R switch on tcpserver like I saw someone suggest in the
 list, but it hasn't helped.
 
 Also I can't send myself mail locally either, but I can't figure out why.
 I telnet to myself to spoof mail to [EMAIL PROTECTED] but it never makes
 it to the Mailbox.
 
 I'd appreciate any help on this.  Here is an example mail I sent to my
 mailserver from outside.
 
 
 -- Forwarded message --
 Date: 8 Aug 2000 08:00:11 -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: failure notice
 
 Hi. This is the qmail-send program at fiumano.com..
 I'm afraid I wasn't able to deliver your message to the following addresses.
 This is a permanent error; I've given up. Sorry it didn't work out.
 
 [EMAIL PROTECTED]:
 63.227.124.31 failed after I sent the message.
 Remote host said: 554 too many hops, this message is looping (#5.4.6)
 
 --- Below this line is a copy of the message.
 
 Return-Path: [EMAIL PROTECTED]
 Received: (qmail 17659 invoked from network); 8 Aug 2000 08:00:09 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:09 -
 Received: (qmail 17656 invoked from network); 8 Aug 2000 08:00:07 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:07 -
 Received: (qmail 17653 invoked from network); 8 Aug 2000 08:00:06 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:06 -
 Received: (qmail 17650 invoked from network); 8 Aug 2000 08:00:05 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:05 -
 Received: (qmail 17647 invoked from network); 8 Aug 2000 08:00:03 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:03 -
 Received: (qmail 17644 invoked from network); 8 Aug 2000 08:00:02 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:02 -
 Received: (qmail 17641 invoked from network); 8 Aug 2000 08:00:01 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 08:00:01 -
 Received: (qmail 17638 invoked from network); 8 Aug 2000 07:59:59 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:59 -
 Received: (qmail 17635 invoked from network); 8 Aug 2000 07:59:58 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:58 -
 Received: (qmail 17632 invoked from network); 8 Aug 2000 07:59:57 -
 Received: from unknown (HELO fiumano.com.) (63.227.124.31)
   by 10.0.0.3 with SMTP; 8 Aug 2000 07:59:57 -
 Received: (qmail 17629 invoked 

qmailanalog for dummies

2000-08-08 Thread Tony Campisi

Our qmail server has been up for 2 days and everything is working fine. I
would like to use qmailanalog to analyze activity.
I have read through the archive but need more answers.
I installed qmailanalog-0.70

:From an archived message:
awk '{$1="";$2="";$3="";$4="";$5="";print}' /var/log/maillog \
 | matchup \
  processed_log

My 'processed_log' is an empty file I created - /var/log/qmail/analog
I want to analyze my /var/log/qmail/current file.

awk '{$1="";$2="";$3="";$4="";$5="";print}' /var/log/qmail/current |
/usr/local/qmailanalog/bin/matchup  /var/log/qmail/analog

The above is all on one line

After running the above, my 'analog' file has data in it like,

?  3317 from qmail-return-51885-tony.campisi=cardinalservices.com@list
?  256010 to local [EMAIL PROTECTED]
?
?  1908 from qmail-return-51884-tony.campisi=cardinalservices.com@list
?  256010 to local [EMAIL PROTECTED]
?  0/40
?
?  0/40

When I try
/usr/local/qmailanalog/bin/zoverall  /var/log/qmail/analog
I get

One line per recipient. Information on each line:
* sbytes is the number of bytes successfully delivered to this recipient.
* mess is the number of messages sent to this recipient (success plus failu
re).
* tries is the number of delivery attempts (success, failure, deferral).
* xdelay is the total xdelay incurred by this recipient.

sbytes  mess  tries  xdelay  recipient

There is no information under these headers. Can someone please tell me what
I'm doing wrong.

TIA,
Tony Campisi





qmail not receiving email messages

2000-08-08 Thread Kevin Smith

I've managed to partly configure qmail and the test - echo to: ksmith |
/var/qmail/bin/qmail-inject - seems to work okay and results in the
following in my /Maildir directory...

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 8843 invoked by uid 108); 8 Aug 2000 20:11:28 -
Date: 8 Aug 2000 20:11:28 -
Message-ID: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
to: [EMAIL PROTECTED]

However, if I use my Outlook Express client PC to send an email using the
POP Server: dwshop2.dedic.web.xara.net, it never gets there, but also, it
never comes back saying it can't be delivered.  Also when I try to check my
email setting SMTP: dwshop2.dedic.web.xara.net in Outlook Express it can't
check it and comes back with the following error :-

The connection to the server has failed. Account: 'DWS', Server:
'dwshop2.dedic.web.xara.net', Protocol: POP3, Port: 110, Secure(SSL): No,
Socket Error: 10061, Error Number: 0x800CCC0E

Any ideas anyone?

Many thanks,

Kevin Smith





one SMTP Server Backup

2000-08-08 Thread Luis

Hello Everyone,

I have a pretty situation in my ISP:

I Have to SMTP Server for one domain:
the first has de MX=1
the second has the MX=2

I need to create one solution where when the second server is up, all
the incoming messages on the first server would be moved  to the second
server and, when the second server is down, all the incomming messages
on the first server would be locked internally and, when the second
server goes up, would be moved to the second server.

SendMail works good on this situation.

Anyone worked with one situation like this in qmail?

Thanks in advance
Luis Bezerra





Re: help - qmail rejecting mail. no mailbox here by that name.

2000-08-08 Thread David Benfell

On Wed, Aug 02, 2000 at 12:13:11PM -0400, Dave Sill wrote:
 
 J [EMAIL PROTECTED] wrote:
 
 All the users have accounts on this qmail server, but
 the account names are
 different than their email address [EMAIL PROTECTED]
 ..  Job Bob's userid
 on the unix machine is "bobj" /home/bobj
 
 Under the alias directory I created a .qmail-joe-bob
 (also tried
 .qmail-joe.bob) ..  the contents of this alias file is
 "bobj".
 
 Should be ~alias/.qmail-joe:bob. See:
 
   http://Web.InfoAve.Net/~dsill/lwq.html#dots-in-extensions
 
Do other special characters besides periods also need to be
substituted for?  With colons, or something else?

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

 



Re: Startup works from shell but not from /etc/rc.d/qmail

2000-08-08 Thread Chris, the Young One

On Tue, Aug 08, 2000 at 10:17:24AM -0400, Todd Finney wrote:
! If you're changing the location of the pid - be it from nothing to
! /var/run/qmail.pid or from nothing to /sbin/pidof qmail-send, you need
! to update the qmail-rcfile to reflect this change.

No. Bear in mind that Ellen mentioned being able to control the daemon
via the ``start'', ``stop'', ``restart'', ``status'', c commands.
``stop'' uses the killproc function; ``status'' uses status. Both of
those functions are built in to /etc/rc.d/init.d/functions, and check
for /var/run/qmail.pid if pidof fails.

So, our two choices are:

1. write pid to /var/run/qmail.pid, as suggested in my previous posts.
2. change /etc/rc.d/init.d/qmail, to say ``killproc qmail-send'' and
   ``status qmail-send''.

The first solution will not involve changing /etc/rc.d/init.d/qmail.
I'm trying to go for something that doesn't depend on knowing that
the main qmail process is called qmail-send, in case Dan gets a change
of mind for version 2.0.

For Ellen's purposes however, either will work, so I don't really
intend to debate this further, not on-list at least.

offtopic
For the record, I think I'm doing pretty well at avoiding the use of
gender-specific pronouns. :-) I hate it when people try to apply one
to me (because with a name like Chris, you'd have a fair probability
of guessing incorrectly), so I don't do it for others either---unless
they say it's all right.
/offtopic

---Chris K.
-- 
 Chris, the Young One |_ but what's a dropped message between friends? 
  Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. 
http://cloud9.hedgee.com/ |_ Robinson, IV  



Re: Delays in POP3 response

2000-08-08 Thread Greg White

- Original Message -
From: Dave Brooks, BCS Systems [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 5:21 PM
Subject: Delays in POP3 response


 Hello,

 When connecting to the POP3 and SMTP servers there is a delay before the
 "+OK" response. This can be easily shown by using telnet to connect to the
 POP3 port (using an IP address, so no name lookup).

 The maillog shows:
 Aug  8 11:54:14 server pop3d: 965692454.925054 tcpserver: pid 990 from
 192.168.1.122
 Aug  8 11:54:36 server pop3d: 965692476.984864 tcpserver: ok 990
 :192.168.1.1:110 :192.168.1.122::1136

 tcpserver has started pop3d at 11:54:14, the OK is not sent until
11:54:36.

SNIP

Perhaps tcpserver is exhibiting its default behaviour of trying to look up
the logging in user with identd, or trying to reverse-resolve the host IP.
Play with the options -H and -R for tcpserver to discover which is the
problem (it may be both).





qmail-qmptd: what, why and where?

2000-08-08 Thread Brett Randall

Hi All

I'm running a number of internal relay machines as SMTP relays and am 
curious about this qmail-qmptd. I have looked around a fair bit for some 
real doco but have had no real luck. Is anyone able to give me 
(technical/detailed - that means none of this 'its more efficient' one liner 
crap) information on what it is, in what areas it is better/worse than SMTP, 
where documentation is on setting it up and how it interacts with SMTP 
servers?

Thanks,

Brett Randall

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




Re: qmail-qmptd: what, why and where?

2000-08-08 Thread Greg White


- Original Message -
From: Brett Randall [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 09, 2000 10:52 AM
Subject: qmail-qmptd: what, why and where?


 Hi All

 I'm running a number of internal relay machines as SMTP relays and am
 curious about this qmail-qmptd. I have looked around a fair bit for some
 real doco but have had no real luck. Is anyone able to give me
 (technical/detailed - that means none of this 'its more efficient' one
liner
 crap) information on what it is, in what areas it is better/worse than
SMTP,
 where documentation is on setting it up and how it interacts with SMTP
 servers?
SNIP

I've always liked to get it straight from the horse's mouth, so to speak:

http://cr.yp.to/proto/qmtp.txt

GW




Re: one SMTP Server Backup

2000-08-08 Thread Eric Cox



Luis wrote:
 
 Hello Everyone,
 
 I have a pretty situation in my ISP:
 
 I Have to SMTP Server for one domain:
 the first has de MX=1
 the second has the MX=2
 
 I need to create one solution where when the second server is up, all
 the incoming messages on the first server would be moved  to the second
 server and, when the second server is down, all the incomming messages
 on the first server would be locked internally and, when the second
 server goes up, would be moved to the second server.
 
 SendMail works good on this situation.

yep, do it at work, with one smtproutes line.  "man qmail-remote" should 
provide the appropriate syntax (which escapes me at the moment).

Eric



Checkpassword not accepting password's when correct! Please Help!!

2000-08-08 Thread UrBuN DeGeNeRaTe

Hi There.

I currently have Qmail 1.03 setup on an Intel based RedHat Linux 6.1 
machine. It is working fine except for a problem which I keep on getting 
when trying to check mail through a POP client .. I'm using qmail-pop3d as 
my POP server, and this is the exact line which I have in my inetd.conf 
file:

pop3 stream tcp nowait root /var/qmail/bin/qmail-popup 
jupiter.ddm-webservers.com /bin/checkpassword /var/qmail/bin/qmail-pop3d 
Maildir

It's all on one line. I keep on getting messages about the autentication 
failing, and that I have entered the wrong username or password, when I am 
sure that they are completly correct! All of of my system password files 
(/etc/passwd) are using MD5 SHADOWED style passwords. I know there is 
something going on with checkpassword, but I don't know what. Can someone 
out there please help me!! ANY help or advice would be apriciated! Please !



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




Hotmail now based on IIS ?!

2000-08-08 Thread Irwan Hadi

According to http://www.netcraft.com/whats/?host=www.hotmail.com , seems 
that Hotmail now is running IIS and not apache with FreeBSD anymore.
It seems that hotmail will be the second company being delisted at 
www.qmail.org/top.html for using qmail after Red Hat ?!




Re: Hotmail now based on IIS ?!

2000-08-08 Thread Walt Mankowski

On Tue, Aug 08, 2000 at 10:12:19PM -0600, Irwan Hadi wrote:
 According to http://www.netcraft.com/whats/?host=www.hotmail.com , seems 
 that Hotmail now is running IIS and not apache with FreeBSD anymore.
 It seems that hotmail will be the second company being delisted at 
 www.qmail.org/top.html for using qmail after Red Hat ?!

They seem to have multiple servers running different OS's.  Hit reload
a few times and you'll see the old familiar

www.hotmail.com is running Apache/1.3.6 (Unix) mod_ssl/2.2.8
SSLeay/0.9.0b on FreeBSD




filters

2000-08-08 Thread Raul Beltran

hi, is there a possibility to automatically concatenate a string like 
"[qmail] " to the subjects of all the messages coming from this mailing 
list?

That would allow us to filter all messages coming from this list to a 
specific folder, or (my particular situation) aviod hotmail delivering them 
to the bulk mail folder...

I get a lot of bulk mail and wouldnt like to turn this option off, and have 
not found a way to filter messages from this list to my inbox (or any other 
folder) becasue the 'subject' and 'from' fields are always different

please help me with this...

Raul Beltran

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




Re: filters

2000-08-08 Thread Chris, the Young One

On Wed, Aug 09, 2000 at 12:35:09AM -0500, Raul Beltran wrote:
 That would allow us to filter all messages coming from this list to a 
 specific folder, or (my particular situation) aviod hotmail delivering them 
 to the bulk mail folder...

Filter on Delivered-To, or Mailing-List. If hotmail can't do that, use
another email service.

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



Re: Sort maildir and send smallest first

2000-08-08 Thread qmail

On Tue, Aug 08, 2000 at 05:05:21PM +, David L. Nicol wrote:
 
 I recall from an earlier discussion of a similar problem that a
 perceived consensus was reached that a good way to do this kind
 of thing is to patch qmail-remote so that if
 the message is too big to send, it appears as a temporary error
 without even attempting to connect.
 also the definition of "too big to send" is read in from the file
 system in such a way that it can be easily monitored, and easily 
 manipulated by a cron job.  Something like the (non)existence of
 /var/mail/control/okay-to-send-big. 
 
 After the status changes, an ALRM signal is generated to reprocess
 all backed up mail (most of which is there due to being oversize,
 it is hoped) and that is that.

Thanks. Sounds interesting.

If anyone of you remember what to seach for then I shall search the
archives. 

Perhaps I could search the body of text for qmail-remote ?

Jacob



Re: Sort maildir and send smallest first

2000-08-08 Thread qmail

On Wed, Aug 09, 2000 at 07:02:19AM +0600, [EMAIL PROTECTED] wrote:
 On Tue, Aug 08, 2000 at 05:05:21PM +, David L. Nicol wrote:
  
  I recall from an earlier discussion of a similar problem that a
  perceived consensus was reached that a good way to do this kind
snip 
 Thanks. Sounds interesting.
 
 If anyone of you remember what to seach for then I shall search the
 archives. 
 
 Perhaps I could search the body of text for qmail-remote ?

Sorry for that one.
That was not possible, I got far too many entries.
I should have checked before sending.
Any guess would be useful, 
I have almost all of last years mail on my server.

Jacob




RE: smtp auth and vpopmail

2000-08-08 Thread Kevin Bucknum

Ken - is your problem just with Netscape?  Did you uncomment out the #DEFINE
SMTPAUTH_NETSCAPE_WORKAROUND line??

 -Original Message-
 From: kbo [mailto:kbo]On Behalf Of Ken Jones
 Sent: Tuesday, August 08, 2000 11:58 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: smtp auth and vpopmail


 Does anyone have vpopmail working with smtp authentication?

 I'm trying to make the
 http://members.elysium.pl/brush/qmail-smtpd-auth/
 code work with vpopmail and netscape 4.72. But
 no luck so far.

 If you have it working, what is your startup line
 for tcpserver/qmail-smtpd? What changes did you
 make to the qmail-smtpd.c code besides applying
 the patch?

 Ken Jones
 inter7





Re: smtp auth and vpopmail

2000-08-08 Thread Chris Seawood

Ken Jones wrote:
 
 Does anyone have vpopmail working with smtp authentication?

A couple of weeks ago, I posted an updated patch to let smtp-auth use
vpopmail 4.8.6 for authentication.  The original instructions are still
at http://members.elysium.pl/brush/qmail-smtpd-auth/faq.html .

 I'm trying to make the
 http://members.elysium.pl/brush/qmail-smtpd-auth/
 code work with vpopmail and netscape 4.72. But
 no luck so far.

As Kevin Bucknum pointed out, make sure that you uncomment the
SMTPAUTH_NETSCAPE_WORKAROUND define in qmail-smtpd.c.

- cls