qmail Digest 8 Aug 2000 10:00:01 -0000 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/assign....was...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 time dns time dns time dns
> > qmail 155 1250 127 1230 127 1235
> > Postfix 184 1375 168 1290 161 1330
> > exim 645 475 161 450 157 451
> > SMTPfeed 215 610 160 442 157 461
> > 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 755 make-compile
( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
compile
chmod 755 compile
( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
2>&1 \
&& cat fork.h2 || cat fork.h1 ) > fork.h
rm -f tryvfork.o tryvfork
./compile qmail-local.c
qmail-local.c: In function `main':
qmail-local.c:448: warning: return type of `main' is not `int'
./compile qmail.c
./compile quote.c
./compile now.c
./compile gfrom.c
./compile myctime.c
./compile slurpclose.c
cat auto-ccld.sh make-makelib.sh > make-makelib
chmod 755 make-makelib
( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
makelib
chmod 755 makelib
./compile case_diffb.c
./compile case_diffs.c
./compile case_lowerb.c
./compile case_lowers.c
./compile case_starts.c
./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \
case_lowers.o case_starts.o
./compile getln.c
./compile getln2.c
./makelib getln.a getln.o getln2.o
./compile subgetopt.c
./compile sgetopt.c
./makelib getopt.a subgetopt.o sgetopt.o
./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
directory
make: *** [sig_alarm.o] Error 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7 Aug 00, at 9:24, Steve Woolley 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.
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBOY6rNFMwP8g7qbw/EQKMEwCcCpnMAZi7zbZYOaNF4DM5lTyPwyAAoNdS
nJ8ZSn/vwlCLy0OCnUjBcSla
=kw5D
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
[Tom Waits]
In article <[EMAIL PROTECTED]> Charles Roten <[EMAIL PROTECTED]> wrote:
| I'm trying to set up a redundant "store-and-forward" mail server.
| This box will reside much farther towards our network periphery
| than the present Exchange server we are currently using. We will
| set up a *secondary* MX record for it in DNS, so mail will only
| go to it if the primary is unavailable. If we lose a critical
| internal network node for, say, a day or two, the intent is that
| this box will act as a "cache" until connectivity is restored,
| then will forward the email it has been storing to the again-
| available Exchange server.
| I seem to have qmail running now .. thanks, again, to Greg Owen.
| The problem now is how to set it up to *forward* mail to
| *another* server. Paul Gregg's Single UID Mailbox HOWTO, at
| http://www.tibus.net/pgregg/projects/qmail/single-uid-howto.html,
| really does not seem to be what I am looking for, since it seems
| to require a distinct entry in /var/qmail/users/assign for each
| individual user. This is perfect for a situation where the
| server is being used to manage POP-3 accounts, but the management
| problems of this approach for a domain with, perhaps 300 to 400
| users, whose accounts are really managed at the Exchange server,
| are unreasonable.
| What I need is a configuration such that *all* emails coming into
| the foo.com domain will be stored and, once the network link to
| the primary server is back up, will be forwarded. There doesn't
| seem to be any information at http://www.qmail.org/top.html about
| how to do *that*.
| Has anyone done something like this using qmail? Any pointers to
| configuration data would be much appreciated.
There are a couple of ways to do this. As another user suggested, store the
emails in a POP box and have a method of kicking a maildirsmtp when your
exchange comes online (usually a finger daemon will do this, I wrote my
own fingerd in perl to handle this task).
The other method, simpler, but more prone to problems if your exchange
doesn't dialup for a period of time.
Just put the domains in rcpthosts and either have a single all domains
entry or define the specific domains which must be forwarded in the
smtproutes file. This way, the qmail box becomes the main MX where all mail
goes first. In smtproutes put:
domain1.com:myexchangebox.mydom.com
domain2.com:myexchangebox.mydom.com
or simply:
:myexchangebox.mydom.com
If all domains from this qmail are going to be delivered to your exchange.
Paul.
--
| Paul Gregg | T: +44 (0) 28 90 424190 | |
| Technical Director | F: +44 (0) 28 90 424709 | CLUB24 INTERNET |
| The Internet Business Ltd | W: http://www.tibus.net | Free Access |
| Holywood House, Innis Court | E: info @ tibus . net | www.club24.co.uk |
| Holywood, Co Down, BT18 9HF | P: pgregg @ tibus . net | |
On Mon, Aug 07, 2000 at 02:53:36PM +0100, [EMAIL PROTECTED] wrote:
>
> Just put the domains in rcpthosts and either have a single all domains
> entry or define the specific domains which must be forwarded in the
> smtproutes file. This way, the qmail box becomes the main MX where all mail
> goes first. In smtproutes put:
> domain1.com:myexchangebox.mydom.com
> domain2.com:myexchangebox.mydom.com
No question about it: I would explicitly state which domains
should be stored and forwarded in rcpthosts.
The messages thus received will bounce after queuelifetime
(man qmail-send).
John
I have some little problems with the headers of mails received and sended via
qmail. The headers looks like :
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 1141 invoked from network); 7 Aug 2000 13:28:02 -0000
Received: from unknown (HELO RD-AUDIO) (192.168.0.41)
by 192.168.0.101 with SMTP; 7 Aug 2000 13:28:02 -0000
...
one problem is the date but timezone and date are correct , what's happened ?
the second problem is "from unknown ...", what can i do to have "from mxmlab" (my
external server) ?
thanx
Jerome.
--
Audouy J�r�me - 3rd year student in E.S.S.I. (Ecole Sup�rieure en Sciences
Informatiques)
e-mail : [EMAIL PROTECTED] / [EMAIL PROTECTED]
www : http://djidji.citeweb.net / http://www.essi.fr/~audouy
> one problem is the date but timezone and date are correct , what's happened ?
the correct date is : 15:28:02 +0200
--
Audouy J�r�me - 3rd year student in E.S.S.I. (Ecole Sup�rieure en Sciences
Informatiques)
e-mail : [EMAIL PROTECTED] / [EMAIL PROTECTED]
www : http://djidji.citeweb.net / http://www.essi.fr/~audouy
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7 Aug 00, at 15:49, Audouy Jérôme wrote:
> one problem is the date but timezone and date are correct , what's
> happened ?
You mean you see a "wrong" timezone? See
http://www.faqts.com/knowledge-base/view.phtml/aid/1167/fid/208
and archives of this list. In short, that's by design and the
reasoning behind is sound.
> the second problem is "from unknown ...", what can i do to
> have "from mxmlab" (my external server) ?
1. If you run tcpserver with -H option, remove this option.
2. Otherwise, fix your reverse DNS for 192.168.0.41.
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBOY60XFMwP8g7qbw/EQIpfQCcCelCycoFUPk+Z4XeQi+FWD94Mr8AnRSq
KcsgGLhZlSi9VvcJexJmMJoG
=35H0
-----END PGP SIGNATURE-----
Hi!
Have a strage problem..
I use virtualdomain and got some strange deliverys....
[EMAIL PROTECTED]
why dosent it get a real adress?
// Magnus L�fqvist
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/
--- Here are the ezmlm command addresses.
I can handle administrative requests automatically.
Just send an empty note to any of these addresses:
<[EMAIL PROTECTED]>:
Stop receiving messages.
<[EMAIL PROTECTED]>:
Retrieve a copy of message 12345 from the archive.
DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
If you do, I won't see them, and subscribers will yell at you.
and subscribers will yell at you,
Tony Campisi
Hi everybody!
I use qmail in my systems, but it seems don't to work well with some
adreesses.
qmail-send returns this error:
----
This is a permanent error; I've given up. Sorry it didn't work out.
<[EMAIL PROTECTED]>:
Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)
----
Can anybody tell me something about this problem?.
Thanks in advance.
Jes�s Arn�iz
Jes�s Arn�iz <[EMAIL PROTECTED]> wrote:
>----
>This is a permanent error; I've given up. Sorry it didn't work out.
>
><[EMAIL PROTECTED]>:
>Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)
>----
>
>Can anybody tell me something about this problem?.
It means just what it says: qmail couldn't look up xxx.xxx.es in the
DNS.
If you hadn't x'd it out, we might have been able to tell you more.
-Dave
Jes�s Arn�iz Calvo
Customer Operations - PSINet Spain
-----Mensaje original-----
De: Jes�s Arn�iz [mailto:[EMAIL PROTECTED]]
Enviado el: lunes 7 de agosto de 2000 17:41
Para: [EMAIL PROTECTED]
Asunto:
> -----Mensaje original-----
> De: Dave Sill [mailto:[EMAIL PROTECTED]]
> Enviado el: lunes 7 de agosto de 2000 17:03
> Para: [EMAIL PROTECTED]
> Asunto: Re: Problems delivering mail.
>
>
> Jes�s Arn�iz <[EMAIL PROTECTED]> wrote:
>
> >----
> >This is a permanent error; I've given up. Sorry it didn't work out.
> >
> ><[EMAIL PROTECTED]>:
> >Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)
> >----
> >
> >Can anybody tell me something about this problem?.
>
> It means just what it says: qmail couldn't look up xxx.xxx.es in the
> DNS.
>
> If you hadn't x'd it out, we might have been able to tell you more.
>
> -Dave
>
I have found that in that domain is a mail server and it works well with
others servers but mine. I found some more interesting.
doing a dig I get this:
----
dig xxxx.xx mx
xxx.xxx.es. 6h54m46s IN MX 10 999.99.999.99.
---
I think the IP shouldn't have a dot "." at the end and this may be the
reason that leads qmail not to find a mail server there.
Others mail servers work with this configuration, may be some bug there in
qmail or something?.
Jes�s Arn�iz.
That is a misconfigured Zone file.. That is not a bug in qmail.. that should
not have the . at the end of it unless it is pointed to a FQDN.
Sean
----- Original Message -----
From: Jes�s Arn�iz <[EMAIL PROTECTED]>
To: qmail-list <[EMAIL PROTECTED]>
Sent: Monday, August 07, 2000 11:45 AM
Subject: Problems with some DNS configurations.?
>
>
> Jes�s Arn�iz Calvo
> Customer Operations - PSINet Spain
>
> -----Mensaje original-----
> De: Jes�s Arn�iz [mailto:[EMAIL PROTECTED]]
> Enviado el: lunes 7 de agosto de 2000 17:41
> Para: [EMAIL PROTECTED]
> Asunto:
>
>
> > -----Mensaje original-----
> > De: Dave Sill [mailto:[EMAIL PROTECTED]]
> > Enviado el: lunes 7 de agosto de 2000 17:03
> > Para: [EMAIL PROTECTED]
> > Asunto: Re: Problems delivering mail.
> >
> >
> > Jes�s Arn�iz <[EMAIL PROTECTED]> wrote:
> >
> > >----
> > >This is a permanent error; I've given up. Sorry it didn't work out.
> > >
> > ><[EMAIL PROTECTED]>:
> > >Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)
> > >----
> > >
> > >Can anybody tell me something about this problem?.
> >
> > It means just what it says: qmail couldn't look up xxx.xxx.es in the
> > DNS.
> >
> > If you hadn't x'd it out, we might have been able to tell you more.
> >
> > -Dave
> >
>
> I have found that in that domain is a mail server and it works well with
> others servers but mine. I found some more interesting.
>
> doing a dig I get this:
>
> ----
> dig xxxx.xx mx
>
> xxx.xxx.es. 6h54m46s IN MX 10 999.99.999.99.
>
> ---
>
> I think the IP shouldn't have a dot "." at the end and this may be the
> reason that leads qmail not to find a mail server there.
>
> Others mail servers work with this configuration, may be some bug there in
> qmail or something?.
>
> Jes�s Arn�iz.
> -----Mensaje original-----
> De: Sean C Truman [mailto:[EMAIL PROTECTED]]
> Enviado el: lunes 7 de agosto de 2000 17:54
> Para: Jes�s Arn�iz; qmail-list
> Asunto: Re: Problems with some DNS configurations.?
>
>
> That is a misconfigured Zone file.. That is not a bug in qmail..
> that should
> not have the . at the end of it unless it is pointed to a FQDN.
>
Yes but if other servers work with this zone I think some may be changed in
qmail in order to work with this misconfigured zones.
> Sean
> ----- Original Message -----
> From: Jes�s Arn�iz <[EMAIL PROTECTED]>
> To: qmail-list <[EMAIL PROTECTED]>
> Sent: Monday, August 07, 2000 11:45 AM
> Subject: Problems with some DNS configurations.?
>
>
> >
> >
> > -----Mensaje original-----
> > De: Jes�s Arn�iz [mailto:[EMAIL PROTECTED]]
> > Enviado el: lunes 7 de agosto de 2000 17:41
> > Para: [EMAIL PROTECTED]
> > Asunto:
> >
> >
> > > -----Mensaje original-----
> > > De: Dave Sill [mailto:[EMAIL PROTECTED]]
> > > Enviado el: lunes 7 de agosto de 2000 17:03
> > > Para: [EMAIL PROTECTED]
> > > Asunto: Re: Problems delivering mail.
> > >
> > >
> > > Jes�s Arn�iz <[EMAIL PROTECTED]> wrote:
> > >
> > > >----
> > > >This is a permanent error; I've given up. Sorry it didn't work out.
> > > >
> > > ><[EMAIL PROTECTED]>:
> > > >Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)
> > > >----
> > > >
> > > >Can anybody tell me something about this problem?.
> > >
> > > It means just what it says: qmail couldn't look up xxx.xxx.es in the
> > > DNS.
> > >
> > > If you hadn't x'd it out, we might have been able to tell you more.
> > >
> > > -Dave
> > >
> >
> > I have found that in that domain is a mail server and it works well with
> > others servers but mine. I found some more interesting.
> >
> > doing a dig I get this:
> >
> > ----
> > dig xxxx.xx mx
> >
> > xxx.xxx.es. 6h54m46s IN MX 10 999.99.999.99.
> >
> > ---
> >
> > I think the IP shouldn't have a dot "." at the end and this may be the
> > reason that leads qmail not to find a mail server there.
> >
> > Others mail servers work with this configuration, may be some
> bug there in
> > qmail or something?.
> >
> > Jes�s Arn�iz.
>
Ok, so you want to break something that works to work with something that is
broken?
Give us the server you think is broken and let us look at it.
We are only here to help, but we can't if you don't let us.
Many, Many, Many times what looks like MTA errors are DNS errors.
The PROPER thing to do would be to notify the zone admin and have them fix
it.
-----Original Message-----
From: Jes�s Arn�iz [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 07, 2000 12:26 PM
To: qmail-list
Subject: misconfigured zones.
> -----Mensaje original-----
> De: Sean C Truman [mailto:[EMAIL PROTECTED]]
> Enviado el: lunes 7 de agosto de 2000 17:54
> Para: Jes�s Arn�iz; qmail-list
> Asunto: Re: Problems with some DNS configurations.?
>
>
> That is a misconfigured Zone file.. That is not a bug in qmail..
> that should
> not have the . at the end of it unless it is pointed to a FQDN.
>
Yes but if other servers work with this zone I think some may be changed in
qmail in order to work with this misconfigured zones.
> Sean
> ----- Original Message -----
> From: Jes�s Arn�iz <[EMAIL PROTECTED]>
> To: qmail-list <[EMAIL PROTECTED]>
> Sent: Monday, August 07, 2000 11:45 AM
> Subject: Problems with some DNS configurations.?
>
>
> >
> >
> > -----Mensaje original-----
> > De: Jes�s Arn�iz [mailto:[EMAIL PROTECTED]]
> > Enviado el: lunes 7 de agosto de 2000 17:41
> > Para: [EMAIL PROTECTED]
> > Asunto:
> >
> >
> > > -----Mensaje original-----
> > > De: Dave Sill [mailto:[EMAIL PROTECTED]]
> > > Enviado el: lunes 7 de agosto de 2000 17:03
> > > Para: [EMAIL PROTECTED]
> > > Asunto: Re: Problems delivering mail.
> > >
> > >
> > > Jes�s Arn�iz <[EMAIL PROTECTED]> wrote:
> > >
> > > >----
> > > >This is a permanent error; I've given up. Sorry it didn't work out.
> > > >
> > > ><[EMAIL PROTECTED]>:
> > > >Sorry, I couldn't find a mail exchanger or IP address. (#5.4.4)
> > > >----
> > > >
> > > >Can anybody tell me something about this problem?.
> > >
> > > It means just what it says: qmail couldn't look up xxx.xxx.es in the
> > > DNS.
> > >
> > > If you hadn't x'd it out, we might have been able to tell you more.
> > >
> > > -Dave
> > >
> >
> > I have found that in that domain is a mail server and it works well with
> > others servers but mine. I found some more interesting.
> >
> > doing a dig I get this:
> >
> > ----
> > dig xxxx.xx mx
> >
> > xxx.xxx.es. 6h54m46s IN MX 10 999.99.999.99.
> >
> > ---
> >
> > I think the IP shouldn't have a dot "." at the end and this may be the
> > reason that leads qmail not to find a mail server there.
> >
> > Others mail servers work with this configuration, may be some
> bug there in
> > qmail or something?.
> >
> > Jes�s Arn�iz.
>
Quoting Jes�s Arn�iz ([EMAIL PROTECTED]):
> > De: Sean C Truman [mailto:[EMAIL PROTECTED]]
> > That is a misconfigured Zone file.. That is not a bug in qmail..
> > that should
> > not have the . at the end of it unless it is pointed to a FQDN.
> Yes but if other servers work with this zone I think some may be changed in
> qmail in order to work with this misconfigured zones.
OK, how about keeping all these messages regarding your DNS troubles
in one thread? Anyway...
Tell us which version of qmail you are using. I do believe Dan
relaxed qmail's strictness of MX pointing to IP addresses in 1.03.
Some bitched loudly about it since "sendmail does it." Blah! It just
allowed administrators that don't know squat about DNS to get their
mail :) So, if you're using 1.02 or earlier then qmail will indeed
bounce the mail.
You still should email the administrators of that zone and clue them
into the fact that MX's are supposed to be FQDN's.
Aaron
> > > ----
> > > dig xxxx.xx mx
> > >
> > > xxx.xxx.es. 6h54m46s IN MX 10 999.99.999.99.
On Sat, Aug 05, 2000 at 05:45:24PM +0200, wolfgang zeikat wrote:
> the subject sure is good to have in the response,
> but i think of people who spend some time typing their mail,
> mistype the address, send without keeping a copy ...
> and have to retype it all in order to resend (remember? :)
>
> the included copy would allow them to just copy/paste from the autoreply
> ..
>
> and since qmail-autoresponder has the -c option to include a copy of the
> original message that size restriction came to my mind ... so you wouldnt
> send them their entire holiday.jpg or whatever back but just the original
> text message which (i think) hardly ever is bigger than 50 K.
---end quoted text---
yes, but then there's also the problem of when someone sends a message with an
attachment on it, then they get the bounce that has what looks like the whole message
and attachment on it, then they just forward the bounce message including the partial
attachment on to whoever was really supposed to recieve the message.
one thought is to put the whole message in the bounce to local users, and then filter
the message through a program that will remove any attachments from it for bounces to
remote users?
--
Brian Johnson <[EMAIL PROTECTED]>
---
Some people have told me they don't think a fat penguin really embodies
the grace of Linux, which just tells me they have never seen a angry
penguin charging at them in excess of 100mph. They'd be a lot more careful
about what they say if they had. -- Linus Torvalds
On Sat, Aug 05, 2000 at 04:46:12PM +0200, wolfgang zeikat wrote:
> i use qmail-autoresponder in .qmail-default to send a message back to
> senders who send to invalid users on our server.
> now i would like to know a few things:
> - is it possible to include only like the first 50 KB of the original
> message? so that for example bigger attachments would simply get truncated
> to that size?
I'll add that feature.
> - is it possible to exclude local users from the message limit of 1 per
> hour?
Exclude them meaning they wouldn't get any responses, or they would not
be rate limited? What would this accomplish?
--
Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/
PGP signature
Also sprach Bruce Guenter <[EMAIL PROTECTED]> on 07.08.2000:
> - is it possible to include only like the first 50 KB of the
original
> message?
I'll add that feature.
great (i achieved by using the head command)
> - is it possible to exclude local users from the message limit of
1 per
> hour?
Exclude them meaning they wouldn't get any responses, or they would
not
be rate limited? What would this accomplish?
a new co-worker mistyped 5 local email addresses in an hour ... with a
limit of 1 per hour he wouldnt have gotten a message back.
wolfgang
On Mon, Aug 07, 2000 at 09:45:47PM +0200, wolfgang zeikat wrote:
> Also sprach Bruce Guenter <[EMAIL PROTECTED]> on 07.08.2000:
>
> > - is it possible to include only like the first 50 KB of the
> original
> > message?
> I'll add that feature.
> great (i achieved by using the head command)
and what about attachments ? head could cut one in the middle...
> a new co-worker mistyped 5 local email addresses in an hour ... with a
> limit of 1 per hour he wouldnt have gotten a message back.
translating the qmail-error messages would really be the best solution
IMHO, but well, TAMDWTDI :)
Olivier
--
_________________________________________________________________
Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
Also sprach Olivier M. <[EMAIL PROTECTED]> on 07.08.2000:
>i achieved by using the head command)
>and what about attachments ? head could cut one in the middle...
it does cut them off, thus my autoreply says:
--- Below this line is a copy of the message.
(Note that this copy has been truncated to 50 KB.)
by the way, please dont send me private copies of your mails to this list
;)
thanks
wolfgang
On Mon, Aug 07, 2000 at 09:45:47PM +0200, wolfgang zeikat wrote:
> a new co-worker mistyped 5 local email addresses in an hour ... with a
> limit of 1 per hour he wouldnt have gotten a message back.
So limit it to 5 per hour. Or educate your employees.
--
Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/
PGP signature
Hi everyone!
I want to upgrade my actual version of qmail. I use Red Hat and I wonder if
I can upgrade it only installing the rpm. Is there any problem with old
configurations or something if I do it by this way?
Thanks in advance.
Jes�s.
On Mon, Aug 07, 2000 at 08:59:08PM +0200, Jes�s Arn�iz wrote:
> I want to upgrade my actual version of qmail. I use Red Hat and I wonder if
> I can upgrade it only installing the rpm. Is there any problem with old
> configurations or something if I do it by this way?
Upgrade to _what_ ? :) is there a qmail 1.04 or something ?
Well, copying the config files should be easy, and make sure
there are no messages in the queue if you want to move it.
Regards,
Olivier
--
_________________________________________________________________
Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
Yo.
I've setup Qmail on a RedHat Linux 6.1 system. I have decided to use
Maildir's, and everything work's fine except for one little problem. I'm
currently using qmail-pop3d as my Pop3 server, and when I try to check mail
through an external client, ie. Micrsoft Outlook, I repeatdly get the
message, 'this user has no $HOME/Maildir', when the Maildir is in the user's
home directory, and when I send a message to a user it show's up in file,
'new' in the Maildir. The Maildir was creatred using maildirmake, and is
chmoded too 'drwx------ ' and the Maildir files/directories are owned by the
same user/group who own's that home directory.
It look's fine to me, but what am I missing?
Any advice, or solution's would be sincerly appreciated.
UrBuN-DeGeNeRaTe
[EMAIL PROTECTED]
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
I'm running qmail on a vanilla RH 6.2 x86. The only optional package I
installed was Qmail-pgsql (http://www.fizzz.net/qmail+pgsql/). Everything
works fine if I directly start qmail from the command line by issuing one
of the following two command as root (using bash):
csh -cf '/var/qmail/rc &'
/var/qmail/rc &
The problem is with running /etc/rc.d/init.d/qmail. Whether the guts of
the start case are any of the following, the script never terminates.
daemon csh -cf '/var/qmail/rc &'
daemon csh -cf '/var/qmail/rc'
daemon /var/qmail/rc
Specifically it gets stuck in the call to "nice" made in the "daemon"
routine defined in /etc/rc.d/init.d/functions:
nice -n $nicelevel initlog $INITLOG_ARGS -c "$*" && success "$base
startup" || failure "$base startup"
Could anyone tell me what would cause this behavior or how to fix it? In
case it would be helpful, my entire /etc/rc.d/init.d/qmail program is below
(with alternate attempts commented out). And, yes, I'm killing off qmail
and su'd to root before running /etc/rc.d/init.d/qmail.
Thank you.
Ellen Spertus
#!/bin/sh
#
# qmail This shell script takes care of starting and stopping
# qmail.
#
# description: Qmail is a Mail Transport Agent, which is the program \
# that moves mail from one machine to another.
# pidfile: /var/run/qmail.pid
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
DAEMON=yes
QUEUE=1h
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
# See how we were called.
case "$1" in
start)
# Start daemons.
echo -n "Starting qmail: "
# daemon csh -cf '/var/qmail/rc &'
daemon csh -cf '/var/qmail/rc'
# daemon /var/qmail/rc
echo
touch /var/lock/subsys/qmail
;;
stop)
# Stop daemons.
echo -n "Shutting down qmail: "
killproc qmail
echo
rm -f /var/lock/subsys/qmail
;;
restart)
$0 stop
$0 start
;;
status)
status qmail
;;
*)
echo "Usage: qmail {start|stop|restart|status}"
exit 1
esac
exit 0
On Mon, Aug 07, 2000 at 01:59:35PM -0700, Ellen Spertus wrote:
! The problem is with running /etc/rc.d/init.d/qmail. Whether the guts of
! the start case are any of the following, the script never terminates.
!
! daemon csh -cf '/var/qmail/rc &'
! daemon csh -cf '/var/qmail/rc'
! daemon /var/qmail/rc
!
! Specifically it gets stuck in the call to "nice" made in the "daemon"
! routine defined in /etc/rc.d/init.d/functions:
!
! nice -n $nicelevel initlog $INITLOG_ARGS -c "$*" && success "$base
! startup" || failure "$base startup"
I haven't played with Redhat myself, so can't be authoritative here.
>From the "$*" above, it seems to suggest that the first form won't
work[1]. Two forms might, however (though I can't test):
daemon "/var/qmail/rc &"
daemon "csh -cf '/var/qmail/rc &'"
Failing that, perhaps make a script that executes and backgrounds
/var/qmail/rc and specify that script as an argument to daemon.
[1] The arguments ``csh'', ``-cf'', and ``/var/qmail/rc &'' will get
joined into ``csh -cf /var/qmail/rc &'' and if split again (by
initlog presumably) turn into 4 arguments.
Hope it's something...
---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
PGP: 0xCCC6114E/0x706A6AAD |_
Thanks for your help.
> daemon "/var/qmail/rc &"
> daemon "csh -cf '/var/qmail/rc &'"
These didn't work.
>Failing that, perhaps make a script that executes and backgrounds
>/var/qmail/rc and specify that script as an argument to daemon.
Ah, of course. That worked. Thank you. The only downside is that I get
the wrong pid, but I can live with that (unless someone wants to volunteer
a more elegant solution).
Ellen Spertus
On Mon, Aug 07, 2000 at 06:37:44PM -0700, Ellen Spertus wrote:
! Ah, of course. That worked. Thank you. The only downside is that I get
! the wrong pid, but I can live with that (unless someone wants to volunteer
! a more elegant solution).
What kind of pid is considered ``wrong''? I thought all programs that
backgrounded themselves, did so by forking a child and exiting the
parent.
---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
At 02:17 PM 8/8/2000 +1200, you wrote:
>What kind of pid is considered ``wrong''? I thought all programs that
>backgrounded themselves, did so by forking a child and exiting the
>parent.
Wrong for the purposes of the /etc/rc.d/init.d scripts; i.e., for the
"status", "stop", and "restart" commands.
Ellen Spertus
On Mon, Aug 07, 2000 at 08:06:38PM -0700, Ellen Spertus wrote:
! Wrong for the purposes of the /etc/rc.d/init.d scripts; i.e., for the
! "status", "stop", and "restart" commands.
Ahh, okay. After having looked at /etc/rc.d/init.d/functions on our
Linux users group's Redhat machine, I figured out how those killproc
and status functions work.
The ``main'' qmail process is called qmail-send, not qmail, so ``pidof''
won't find it. So the best way for those scripts to find the process is
to put something sensible in /var/run/qmail.pid.
I hope this works...
#!/bin/sh
/var/qmail/rc & echo "$!" > /var/run/qmail.pid
Cheers,
---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
At 11:06 PM 8/7/00, you wrote:
>At 02:17 PM 8/8/2000 +1200, you wrote:
> >What kind of pid is considered ``wrong''? I thought all
> programs that
> >backgrounded themselves, did so by forking a child and
> exiting the
> >parent.
>
>Wrong for the purposes of the /etc/rc.d/init.d scripts;
>i.e., for the "status", "stop", and "restart" commands.
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:]`
[Note: There is probably a better way to do
this. Suggestions are welcome.]
cheers,
Todd
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
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
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
I wrote the list last week about a script I found in the archives
which will bounce email if a certain subject is found. I would
like instead to deliver this mail to an alternative email address
at the same domain. Is this a doable thing? I don't mind if
it also delivers to the original mailbox, I just need to get another
copy someplace else.
Thanks,
mike.
_____NetZero Free Internet Access and Email______
http://www.netzero.net/download/index.html
John White <[EMAIL PROTECTED]> schrieb/wrote:
> Add the domain in question to rcpthosts. Add a loop-back entry for
> the domain to smtproutes. Add an entry for the domain to virtualhosts.
> Create a maildir for the domain. Create a .qmail-default entry for the
> domain pointing to the maildir. Use maildirsmtp to transfer all the
> mail stored in the maildir to the remote domain over a single smtp
> session.
No, this won't solve the problem as serialmail will still deliver one
copy per recipient.
Claus
--
http://www.faerber.muc.de
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
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
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
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
Hello,
I am using fetchmail to retrieve mail from my ISP's server to my
local machine. It worked fine with sendmail, but then I installed
qmail 1.03. I now get a an error...
/usr/libexec/ld.so: tcp-env: libresolv.so.2.0: No such file or directory
First, where should this file be, why don't I have it and where do I get it?
I am running OpenBSD 2.7 on a sparc, and I'm using Maildirs.
Thanks for your help.
Roy Brown
On Mon, Aug 07, 2000 at 06:27:45PM -0700, Roy G Brown III wrote:
! /usr/libexec/ld.so: tcp-env: libresolv.so.2.0: No such file or directory
[...]
! I am running OpenBSD 2.7 on a sparc, and I'm using Maildirs.
OpenBSD, as far as I know, does not have libresolv. All the resolver
functions are in libc.
$ ldd /var/qmail/bin/tcp-env
/var/qmail/bin/tcp-env:
-lc.25 => /usr/lib/libc.so.25.0 (0x4001e000)
Did you compile qmail yourself?
---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
I have a qmail act as mail hub relay and I want my qmail to strip all previous
"Received" header so that outside people did not know the mail is caming from internal
host.
Any external problem capable doing that...
Regards,
Edward
|
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 machine....well, 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.....
but when you add a new user ....you can't send mail to them at either
address....I'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 ago....and 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-x 6
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-x 4 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-x 4 root
root 1024 Aug 3 17:34
Desktop drwx------ 5 root
root 1024 Aug 3 15:48
Maildir drwxrwxr-x 2 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-x 6 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:
achilles.k12.ar.us Address: 165.29.1.1
Name: bryant.dsc.k12.ar.us Address:
165.29.94.240
###########################################
##############nslookup on the aliased domain#######
[root@bryant control]# nslookup bryant.k12.ar.us Server:
achilles.k12.ar.us Address: 165.29.1.1
Name: bryant.dsc.k12.ar.us Address:
165.29.94.240 Aliases:
bryant.k12.ar.us
#################################################
|
|
to add........
I have discovered that the users that are working are in
/var/control/users/assign
what updates this file?
----- Original Message -----
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 machine....well, 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.....
but when you add a new user ....you can't send mail to them at either
address....I'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 ago....and 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-x 6
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-x 4 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-x 4 root
root 1024 Aug 3 17:34
Desktop drwx------ 5 root
root 1024 Aug 3 15:48
Maildir drwxrwxr-x 2 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-x 6 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:
achilles.k12.ar.us Address: 165.29.1.1
Name: bryant.dsc.k12.ar.us Address:
165.29.94.240
###########################################
##############nslookup on the aliased domain#######
[root@bryant control]# nslookup bryant.k12.ar.us Server:
achilles.k12.ar.us Address: 165.29.1.1
Name: bryant.dsc.k12.ar.us Address:
165.29.94.240 Aliases:
bryant.k12.ar.us
#################################################
|
> 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 machine....well, 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
address....I'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 ago....and 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-x 6 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-x 4 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-x 4 root root 1024 Aug 3 17:34 Desktop
drwx------ 5 root root 1024 Aug 3 15:48 Maildir
drwxrwxr-x 2 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-x 6 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: achilles.k12.ar.us
Address: 165.29.1.1
Name: bryant.dsc.k12.ar.us
Address: 165.29.94.240
###########################################
##############nslookup on the aliased domain#######
[root@bryant control]# nslookup bryant.k12.ar.us
Server: achilles.k12.ar.us
Address: 165.29.1.1
Name: bryant.dsc.k12.ar.us
Address: 165.29.94.240
Aliases: bryant.k12.ar.us
#################################################
|
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~
|
|
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 .......
----- Original Message -----
Sent: Monday, August 07, 2000 10:11
PM
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?
----- Original Message -----
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 machine....well, 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.....
but when you add a new user ....you can't send mail to them at either
address....I'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 ago....and 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-x
6 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-x 4 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-x 4 root
root 1024 Aug 3 17:34
Desktop drwx------ 5 root
root 1024 Aug 3 15:48
Maildir drwxrwxr-x 2 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-x 6 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:
achilles.k12.ar.us Address: 165.29.1.1
Name: bryant.dsc.k12.ar.us Address:
165.29.94.240
###########################################
##############nslookup on the aliased domain#######
[root@bryant control]# nslookup bryant.k12.ar.us Server:
achilles.k12.ar.us Address: 165.29.1.1
Name: bryant.dsc.k12.ar.us Address:
165.29.94.240 Aliases:
bryant.k12.ar.us
#################################################
|
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.
> 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/
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 "
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 "
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. 2 Fax +49-6201-503-66
D-69469 Weinheim [EMAIL PROTECTED]
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
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
>
>
>