qmail Digest 10 Apr 2001 10:00:00 -0000 Issue 1330

Topics (messages 60493 through 60530):

PTHREAD_THREADS_MAX  1024 -> 8192
        60493 by: hantunes
        60494 by: Henning Brauer
        60500 by: dan.kelley

Re: 4.4.2 error smtp info
        60495 by: Cybersync

multilog: unable to lock directory
        60496 by: Michael T. Babcock

Not delivering mails
        60497 by: Sumith

Re: I am back to square ONE...
        60498 by: Kirti S. Bajwa

Kernel parameters
        60499 by: Federico Edelman Anaya

Re: test with postmaster failed
        60501 by: Willy De la Court
        60503 by: Gerrit Pape

Upps.. :) Kernel parameters
        60502 by: Federico Edelman Anaya

Re: delay before checking mail with outlook
        60504 by: Dave Sill

-help@
        60505 by: Marcus Ouimet
        60507 by: Bill Andersen

Dynamic email addresses
        60506 by: davidu.gangstabitches.net
        60518 by: Par Leijonhufvud

Re: Hoew to Queue only  mail
        60508 by: Tim Legant
        60512 by: Boris
        60520 by: Tim Legant
        60524 by: Ajit George
        60526 by: Tim Legant
        60530 by: Oleg Polyakov

qmail, qmail-command and procmail
        60509 by: Subba Rao
        60510 by: Ricardo Cerqueira
        60525 by: Gerrit Pape

Removing inetd
        60511 by: Martin Marconcini
        60514 by: alexus
        60521 by: Tim Legant

Re: A strange behavior.
        60513 by: Kou Sato
        60519 by: Tim Legant

CNAME lookup failed
        60515 by: Thum Chee Weng, Ronnie
        60516 by: Alex Pennace
        60517 by: Thum Chee Weng, Ronnie
        60522 by: Thum Chee Weng, Ronnie

Re: Removing inetd (now smtp/tcpserver prob)
        60523 by: Martin Marconcini
        60527 by: Tim Legant

Re: Rewriting header / adding local domain if missing
        60528 by: Antje Koschel

Mark mail as read
        60529 by: Andreas Carlsson

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]


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


will this increase  qmail performance
on linux server?

./hantunes





On Mon, Apr 09, 2001 at 11:38:40AM +0100, hantunes wrote:
> will this increase  qmail performance
> on linux server?

No.

-- 
Henning Brauer     | BS Web Services
Hostmaster BSWS    | Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany





no.  qmail isin't multithreaded.

dan

On Mon, 09 Apr 2001, you wrote:
> will this increase  qmail performance
> on linux server?
> 
> ./hantunes




To anyone that was interested the errors seem to be because the ISP doesnt
know what the hell they are running. I asked them whether they were running
a traffic shaper or a load balancing device and they said "Duh" then said "o
no we dont have anything like that." I then used my personal dialup to a
reputable ISP and suddenly the problems went away. It seems if Qmail smtp
doesn't have a smooth reliable data stream it doesn't like it. I assume this
would be the case for any SMTP connection but I've never had the problem
with Groupwise or Lotus Notes. Thanks to Caspar for pointing me to the
correct RFC. I was wondering if anyone knows where the rest of the SMTP
commands that aren't in the original RFC are listed.

Craig Needs
Adelaide, South Australia





One of the 6 supervised services on one of my gateways stopped 
responding (tinydns) yesterday afternoon.  On the screen was "unable to 
lock directory /var/log/tinydns:", so I did an "svc -t 
/service/tinydns/log" and it worked fine.

Since the line that generates that log output exits 111, how would 
terminating the supervise process help?

Thanks.





Hello
One of the domains is not receiving mails....following is the output of
qmail-send log....

@400000003ad1a39e21f9de4c delivery 69737: deferral:
Failed_to_write_RP_&_DT_(#4.3.2)/Yikes!_Could_create_but_ca
n't_delete_temporary_file!!/ENOENT:_path_doesn't_exist/

Can someone please guide me as to what is the problem
We are using Qmail+Vpopmail 4.9.8-1 (CDB)+Qmailadmin
Regards
Sumith






Hi All:

On 4-6-2001, I posted a message asking help in trying to find out why a
connection to qmail was being refused. I included the following error
message which was being displayed when error response was received:

----------------------------------------------------------------------------
--------
>       '[EMAIL PROTECTED]' on 04/06/2001 11:06 AM
>             Unable to deliver the message due to a communications failure
>       The MTS-ID of the original message is: c=US;a=
> ;p=TIB;l=TALIA-010406150600Z-56
>             MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown
----------------------------------------------------------------------------
--------

I received about 10-12 responses. The very first response suggested that all
connections to Linux computer were being rejected. Yes indeed.. It seemed
that while setting up the security, I have entered "ALL:ALL DENY" in
"/etc/host.dent", but did not have proper setting in "/etc/host.allow". This
caused rejection of connection while send any email.

I am posting this message because everybody, except the first respondent
(Daniel Holden), suggested that: (1) MS Exchange was broken and (2) It was
not a Qmail problem.

As it turned out that: No.. MS Exchange was not broken & Yes.. It was not a
Qmail problem.

Thanks for your help.


Kirti







-----Original Message-----
From: Markus Stumpf [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 3:15 PM
To: Kirti S. Bajwa
Cc: '[EMAIL PROTECTED]'
Subject: Re: I am back to square ONE...


On Fri, Apr 06, 2001 at 12:22:43PM -0400, Kirti S. Bajwa wrote:
>       '[EMAIL PROTECTED]' on 04/06/2001 11:06 AM
>             Unable to deliver the message due to a communications failure
>       The MTS-ID of the original message is: c=US;a=
> ;p=TIB;l=TALIA-010406150600Z-56
>             MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown

I'd say the configuration on that M$ client is broken.
Either there is a typo/misconfiguration in the entry for "SMTP-Host"
where the client tries to inject the mail or the host has no working
misconfigured DNS.
Why? Because:
>             MSEXCH:IMS:TIB:MTC-TN:TALIA 3902 (000B09AA) Host Unknown

I'd say it is NOT a qmail related problem (but then ... I don't know much
about Windows).

        \Maex




Hi! I'm running the Qmail-1.03(big-todo.patch and big-concurrency.path)
+ Ezmlm-0.53 on Linux Debian Kernel 2.2.17

I have a question!
What kernel's parameters is most aproppiate for my kernel?

I put in /etc/sysctl.conf

fs.file-max=16384
fs.inode-max=65536

uname -n 8192 in /etc/init.d/qmaild


The conf-spawn limit to 509! how can I compile the qmail with 1000 in
conf-spawn?

Thanks..







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

Hi,

You forgot these
# redirect postmaster and mailder-daemon mail to root
echo root > /var/qmail/alias/.qmail-postmaster
echo root > /var/qmail/alias/.qmail-mailer-daemon
# after this you have 2 choices you can create a Maildir 
maildirmake /var/qmail/alias
chmod -R 600 /var/qmail/alias/Maildir
chown -R alias:qmail /var/qmail/alias/Maildir
# or you can redirect all mail to root to another user
echo otheruser > /var/qmail/alias/.qmail-root
# where otheruser is the user who needs to receive all the mail to
root

This should solve your problem.

On Monday, April 09, 2001 11:11, Franco Vecchiato
[SMTP:[EMAIL PROTECTED]] wrote:
> 
> Hi,
> I'm trying to install qmail on a PC with a Suse Linux distribution
> (I installed sendmail but I never configured it), and there are
> problems with aliases (postmaster).
> 
> I downloaded the tar.gz packages from
> www.flounder.net/qmail/qmail-howto.html 
> (qmail, qmail patch, daemontools, dot-forward, fast-forward,
> rblsmtpd, ucspi-tcp), unpacked them and applied the patch to qmail;
> then
> I followed steps 1-10 in the INSTALL file (and the related steps in
> INSTALL.ids, INSTALL.ctl and INSTALL.alias):
> - mkdir /var/qmail
> - groupadd nofiles
> - useradd -g nofiles -d /var/qmail/alias alias
> - useradd -g nofiles -d /var/qmail qmaild
> - useradd -g nofiles -d /var/qmail qmaill
> - useradd -g nofiles
> - groupadd qmail
> - useradd -g qmail -d /var/qmail qmailq
> - useradd -g qmail -d /var/qmail qmailr
> - useradd -g qmail -d /var/qmail qmails
> - cd /usr/local/src/qmail-1.03
> - make setup check
> - ./config-fast my.full.host.name
> - cd ~alias
> - touch .qmail-postmaster
> - touch .qmail-mailer-daemon
> - touch .qmail-root
> - chmod 644 ~alias/.qmail*
> - cp /var/qmail/boot/home /var/qmail/rc
> - csh -cf '/var/qmail/rc &'
> 
> finally I made the tests in the TEST.deliver file:
> the tests 1-5 succeeded, but local-postmaster failed; I also failed
> when I tried to send a mail to root.
> The log file (/var/mail/log) reported:
> "Unable_to_open_./Mailbox:_access_denied._(#4.2.1)/"
> 
> Can someone tell me why?
> I've also compiled the other packages before starting the
> configuration of qmail. Could this cause any problems to qmail in
> general?
> 
> Thanks in advance
> 
Franco

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOtHn//4IaGw3x6aJEQJiZgCgnJTJu1dwpLDeU2BdGH9Ag+c92z4AoMSF
YFlS823C+onTagnYwQ3xZ8ri
=/zZE
-----END PGP SIGNATURE-----





On Mon, Apr 09, 2001 at 07:49:02PM +0200, Willy De la Court wrote:
> On Monday, April 09, 2001 11:11, Franco Vecchiato
> [SMTP:[EMAIL PROTECTED]] wrote:
> > 
> > - cd ~alias
> > - touch .qmail-postmaster
> > - touch .qmail-mailer-daemon
> > - touch .qmail-root
> > - chmod 644 ~alias/.qmail*
> > - cp /var/qmail/boot/home /var/qmail/rc
> > - csh -cf '/var/qmail/rc &'
> > 
> > finally I made the tests in the TEST.deliver file:
> > the tests 1-5 succeeded, but local-postmaster failed; I also failed
> > when I tried to send a mail to root.
> > The log file (/var/mail/log) reported:
> > "Unable_to_open_./Mailbox:_access_denied._(#4.2.1)/"
> > 
> > Can someone tell me why?

The user alias needs to have permissions to write to ~alias/Mailbox . Do
# chown alias ~alias

Gerrit.
-- 
[EMAIL PROTECTED]
                                                        innominate AG
                                                 the linux architects
tel: +49.30.308806-0  fax: -77              http://www.innominate.com




Hi! I'm running the Qmail-1.03(big-todo.patch and big-concurrency.path)
+ Ezmlm-0.53 on Linux Debian Kernel 2.2.17

I have a question!
What kernel's parameters is most aproppiate for my kernel?

I put in /etc/sysctl.conf

fs.file-max=16384
fs.inode-max=65536

ulimit -n 8192 in /etc/init.d/qmaild       <-----------Correction


The conf-spawn limit to 509! how can I compile the qmail with 1000 in
conf-spawn?

Thanks..





Henning Brauer <[EMAIL PROTECTED]> wrote:

>On Sat, Apr 07, 2001 at 11:17:04PM +0000, Ahmad Ridha wrote:
>> Since the problem occurs so often, why aren't the -R and -H options
>> made default? Perhpas it should also be included in LWQ. Is there any
>> real disadvantage of using those options? 
>
>They don't cause trouble and are useful in proper configured networks. If
>you are blocking ident then you should know that. If your DNS is not working
>proper you should fix that, not tcpservers options.
>It should be notes in LWQ, anyway... Dave?

It's on my to-do list.

-Dave










Just when you thought a message couldn't get any
less specific... :)

-----Original Message-----
From: Marcus Ouimet [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 3:51 PM
To: [EMAIL PROTECTED]
Subject: -help@









Hi, 

I have a the whole qmail+vpopmail+pop+imap+mysql+qmailadmin setup and it is 
all running great.

One thing I would like to do however is allow users to append to their 
email address:

for example, If my username, [EMAIL PROTECTED] was valid, I would 
like [EMAIL PROTECTED] to also work (or 
[EMAIL PROTECTED]).  Kinda like a catchall for all 
accounts I guess.

Is this possible?

like creating user*@domain instead of user@domain

thanks,
davidu






* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [20010409 23:05]:
> One thing I would like to do however is allow users to append to their 
> email address:
> 
> for example, If my username, [EMAIL PROTECTED] was valid, I would 
> like [EMAIL PROTECTED] to also work (or 
> [EMAIL PROTECTED]).  Kinda like a catchall for all 
> accounts I guess.
> 
> Is this possible?

Sure is. You'll find all the details (be they nifty or gory) by typing 
`man dot-qmail`. In short: if they create the file .qmail-default in
their home dir all addresses of the form [EMAIL PROTECTED] are
valid. If they create a file named .qmail-bar then the address
[EMAIL PROTECTED] is valid.

/Par 

-- 
Par Leijonhufvud                        [EMAIL PROTECTED]
Tuesday, January 19th 2038, 03:14:07 UTC: Are YOU Ready?




On Mon, Apr 09, 2001 at 02:33:45AM -0600, Kashan Sadiq wrote:
> If there are two servers running qmail on both of them. One is
> primary and the second is backup mail server which is for use of Queueing
> only. Now how would the mails on secondary mail server transfer to primary
> mail server and then stores in user accounts automatically.

1. Make sure you have MX records in DNS for both servers.
2. On the backup mail server, put the domain names you will accept
   mail for in the .../qmail/control/rcpthosts file.
3. Make sure those domain names are /not/ in .../qmail/control/locals or
   .../qmail/control/virtualdomains.

That's it. The secondary will accept mail, queue it, and send it to the
primary automatically. It's up to the primary to deliver the mail.

Tim




Hello Tim,

Tuesday, April 10, 2001, 12:16:31 AM, you wrote:

TL> On Mon, Apr 09, 2001 at 02:33:45AM -0600, Kashan Sadiq wrote:
>> If there are two servers running qmail on both of them. One is
>> primary and the second is backup mail server which is for use of Queueing
>> only. Now how would the mails on secondary mail server transfer to primary
>> mail server and then stores in user accounts automatically.

TL> 1. Make sure you have MX records in DNS for both servers.

TL> 2. On the backup mail server, put the domain names you will accept
TL>    mail for in the .../qmail/control/rcpthosts file.
TL> 3. Make sure those domain names are /not/ in .../qmail/control/locals or
TL>    .../qmail/control/virtualdomains.

TL> That's it. The secondary will accept mail, queue it, and send it to the
TL> primary automatically. It's up to the primary to deliver the mail.

TL> Tim


The topic "backup mailserver" is very interesting. The external SMTP
Server delivers automatically to ALL MX Servers of a domain? It would
be interesting to know.


--
Boris






On Tue, Apr 10, 2001 at 03:38:09AM +0200, Boris wrote:
> Tuesday, April 10, 2001, 12:16:31 AM, you wrote:
> TL> On Mon, Apr 09, 2001 at 02:33:45AM -0600, Kashan Sadiq wrote:
> >> If there are two servers running qmail on both of them. One is
> >> primary and the second is backup mail server which is for use of Queueing
> >> only. Now how would the mails on secondary mail server transfer to primary
> >> mail server and then stores in user accounts automatically.
> 
> TL> 2. On the backup mail server, put the domain names you will accept
> TL>    mail for in the .../qmail/control/rcpthosts file.
> 
> The topic "backup mailserver" is very interesting. The external SMTP
> Server delivers automatically to ALL MX Servers of a domain? It would
> be interesting to know.

I'm not entirely sure what you're asking, but I'll try to answer this.
Specifically, I don't know what you mean by "external SMTP Server".

Assume you have two mail servers smtp1.example.com and
smtp2.example.com. Assume further that the DNS contains two MX records
for example.com, with smtp1.example.com assigned a priority (or
distance) of 10 and smtp2.example.com assigned a priority of 20.

A mail transfer agent (MTA) will attempt to deliver mail to the MX with
the smaller priority. If that server is unavailable, for whatever
reason, it will try to deliver to an MX with a larger priority. In my
example, if smtp1 is unavailable, the MTA will attempt to deliver to
smtp2. If it suceeds, it's finished. It will not deliver to more than
one MX.

smtp2, if configured to be a "backup" only, will attempt to deliver to
smtp1 (the higher priority, lower numbered MX). Assuming smtp1 becomes
available again, the mail will be delivered by smtp2 to smtp1. Once it's
delivered, smtp2 is finished. smtp1 is now responsible for getting the
mail to the user.

This is pretty basic Internet mail stuff...

Tim

(btw, no need to CC me. I read the list.)




How feasible is it to have a primary and backup, configured as you describe
below, and be able to easily switch the backup to primary mode?

I suppose there's no point unless the IMAP/POP servers on each machine stay
in sync.

Ajit

----- Original Message -----
From: "Tim Legant" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 09, 2001 3:16 PM
Subject: Re: Hoew to Queue only mail


> On Mon, Apr 09, 2001 at 02:33:45AM -0600, Kashan Sadiq wrote:
> > If there are two servers running qmail on both of them. One is
> > primary and the second is backup mail server which is for use of
Queueing
> > only. Now how would the mails on secondary mail server transfer to
primary
> > mail server and then stores in user accounts automatically.
>
> 1. Make sure you have MX records in DNS for both servers.
> 2. On the backup mail server, put the domain names you will accept
>    mail for in the .../qmail/control/rcpthosts file.
> 3. Make sure those domain names are /not/ in .../qmail/control/locals or
>    .../qmail/control/virtualdomains.
>
> That's it. The secondary will accept mail, queue it, and send it to the
> primary automatically. It's up to the primary to deliver the mail.
>
> Tim
>
>





On Tue, Apr 10, 2001 at 12:24:51AM -0700, Ajit George wrote:
> How feasible is it to have a primary and backup, configured as you describe
> below, and be able to easily switch the backup to primary mode?
> 
> I suppose there's no point unless the IMAP/POP servers on each machine stay
> in sync.

Quite. Your users, be they virtual or local Unix users, have to exist on
both machines. Then add the domain(s) either to .../qmail/control/locals
or .../qmail/control/virtualdomains and HUP qmail-send.

A comment: many people recommend against a backup (secondary) MX. It can
be argued that you don't gain anything by it - mail will be queued at
the sender's server and, once your primary (only) MX is up again,
delivery will proceed apace.

If you're down for too long, mail will bounce. The same is true of your
own secondary, unless you make provisions to deliver it somewhere else
or store it and re-inject it or other such administrative nightmare.

Tim





--- Tim Legant <[EMAIL PROTECTED]> wrote:
-%<--- 
> Quite. Your users, be they virtual or local Unix users, have
> to exist on
> both machines. Then add the domain(s) either to
> .../qmail/control/locals
> or .../qmail/control/virtualdomains and HUP qmail-send.
> 
> A comment: many people recommend against a backup (secondary)
> MX.

I afraid those people are not system administrators...

> It can
> be argued that you don't gain anything by it - mail will be
> queued at
> the sender's server and, once your primary (only) MX is up
> again,
> delivery will proceed apace.

What about if users send mail directly from their MUA's ?
They just couldn't send anything if your only MX is down.
And do not rely on other people's servers - they are
tend to fail...

> If you're down for too long, mail will bounce. The same is
> true of your
> own secondary, unless you make provisions to deliver it
> somewhere else
> or store it and re-inject it or other such administrative
> nightmare.

The secondary is just relay - it should keep mail in queue
until primary (or whatever is your final destination point)
is up again.

The secondary server not only one more server - it also
should be alternative way for mail delivery.

Oleg

> Tim


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




Hello,

I have started qmail with the following option in /var/qmail/rc:

        exec env - PATH="/var/qmail/bin:$PATH" \
        qmail-start '|dot-forward .forward |preline procmail' splogger qmail

Here I am explicitly using procmail as my MDA. My .qmail has one entry which is,
"./Maildir/"

When a mail is delivered, I do not think that procmail is being used. The
procmailrc has the "VERBOSE" flag set to 'yes' and there is no logging being
done for this one particular user.

Is qmail-command an MDA for local users? If so, how can I use qmail-command to
execute a script before delivering the mail to the user's maildir? I don't know
if I am doing this right, but I have created .qmail-special and inserted,

        |preline /scripts/format.pl

Now I have .qmail and .qmail-special. How will or should .qmail-special be
invoked?

Thank you in advance for any help.

-- 

Subba Rao
[EMAIL PROTECTED]
http://members.home.net/subba9/

GPG public key ID 27FC9217




On Mon, Apr 09, 2001 at 07:57:37PM +0000, Subba Rao wrote:
> Hello,
> 
> I have started qmail with the following option in /var/qmail/rc:
> 
>       exec env - PATH="/var/qmail/bin:$PATH" \
>       qmail-start '|dot-forward .forward |preline procmail' splogger qmail
> 
> Here I am explicitly using procmail as my MDA. My .qmail has one entry which is,
> "./Maildir/"

You're wrong. You're NOT using procmail as your MDA. You're using procmail
as the system's MDA. From the moment you created a .qmail, you've overriden
the system default.
The default delivery mode only works when users don't specify their own.

RC

-- 
+-------------------
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis Telecom  -  Engenharia ISP / Rede Técnica 
| Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
| Tel: +351 2 1010 0000 - Fax: +351 2 1010 4459

PGP signature





On Tue, Apr 10, 2001 at 02:15:44AM +0100, Ricardo Cerqueira wrote:
> On Mon, Apr 09, 2001 at 07:57:37PM +0000, Subba Rao wrote:
> > Hello,
> > 
> > I have started qmail with the following option in /var/qmail/rc:
> > 
> >     exec env - PATH="/var/qmail/bin:$PATH" \
> >     qmail-start '|dot-forward .forward |preline procmail' splogger qmail
You also forgot a \n here:               ^^^
Use

qmail-start '|dot-forward .forward
|preline procmail' splogger qmail

Gerrit.

> > 
> > Here I am explicitly using procmail as my MDA. My .qmail has one entry which is,
> > "./Maildir/"
> 
> You're wrong. You're NOT using procmail as your MDA. You're using procmail
> as the system's MDA. From the moment you created a .qmail, you've overriden
> the system default.
> The default delivery mode only works when users don't specify their own.

-- 
[EMAIL PROTECTED]
                                                        innominate AG
                                                 the linux architects
tel: +49.30.308806-0  fax: -77              http://www.innominate.com




Hi,

        Sorry for the stupid question, but I have been searching the mailing list 
archives and there and hundreds of results and none seems to help.

        Perhaps because the keyword has been used too many times.

        What I'd like to do is to remove qmail from inetd. (I have already done so). 

        I commented out the qmail line.

        Now I have installed ucspi-tcp. The question is> WHat is the command line I 
should use?

        I have OpenBSD 2.8.  And where's the best place to put it? (rc.local?)

        If i can read this in some sort of online doc or faq, please point me. But 
I've been unable to find it.

        Thanks in advance,


-- 
--
Martin Marconcini
                        | Unix, MS-DOS, Windows.
                        | Also known as The Good, The Bad
                        | And the Ugly...
--                      




i put my stuff in rc.local

get commands from FAQ on qmail.org site

----- Original Message -----
From: "Martin Marconcini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 09, 2001 9:39 PM
Subject: Removing inetd


> Hi,
>
> Sorry for the stupid question, but I have been searching the mailing list
> archives and there and hundreds of results and none seems to help.
>
> Perhaps because the keyword has been used too many times.
>
> What I'd like to do is to remove qmail from inetd. (I have already done
so).
>
> I commented out the qmail line.
>
> Now I have installed ucspi-tcp. The question is> WHat is the command line
I
> should use?
>
> I have OpenBSD 2.8.  And where's the best place to put it? (rc.local?)
>
> If i can read this in some sort of online doc or faq, please point me. But
> I've been unable to find it.
>
> Thanks in advance,
>
>
> --
> --
> Martin Marconcini
> | Unix, MS-DOS, Windows.
> | Also known as The Good, The Bad
> | And the Ugly...
> --
>





On Mon, Apr 09, 2001 at 10:39:54PM -0300, Martin Marconcini wrote:
>       Now I have installed ucspi-tcp. The question is> WHat is the command line I 
> should use?
> 
>       I have OpenBSD 2.8.  And where's the best place to put it? (rc.local?)
> 
>       If i can read this in some sort of online doc or faq, please point me. But 
> I've been unable to find it.

Read "Life With qmail" at http://www.lifewithqmail.org/ . It describes
using tcpserver in conjunction with Dan Bernstein's daemontools package.

Dan develops on OpenBSD; you'll find it all works fine there.

Tim





   I am beginning to give up expecting to find the answer here, but anyway:

   I've confirmed that the problem occurs only if I try to send a
 message from the hosts in the same domain. (i.e., hosts in 
 domain 'my.domain'.)  Sending a message from other domain to
 [EMAIL PROTECTED] always succeeds.  

   Moreover this problem seems to be independent from the other
 SMTP server in the domain (i.e., smtp1.my.domain), since the
 same problem occurs even if smtp1 is not running.

   Is this a bug?  Or I should utilize other fancy features like
 virtual domain or something?

>>>>> On Wed, 04 Apr 2001 23:28:45 +0900, Koh Sato
   <[EMAIL PROTECTED]> said:

    >> Hello.  I am thinking about to use qmail 1.03, instead of sendmail,
    >> but still have a problem.  It seems so weird that I cannot solve it
    >> by myself.

    >>   Suppose that there are 2 SMTP servers for a domain 'my.domain'.
    >> One is smtp1.my.domain and the other is smtp2.my.domain.  Both
    >> servers are confirmed that they accept the messages from other
    >> domain(e.g., to [EMAIL PROTECTED]).  But when you send a message from
    >> smtp1 to [EMAIL PROTECTED], smtp2 tries to send it to
    >> [EMAIL PROTECTED], then of course it failds.
    >>   What is the cause of this problem?  How can I solve this problem?
    >>  I appreciate any advice.

-
Koh Sato
[EMAIL PROTECTED]





On Tue, Apr 10, 2001 at 11:02:32AM +0900, Kou Sato wrote:
> 
>    I am beginning to give up expecting to find the answer here, but anyway:

As Dave requested before, please provide us the output of qmail-showctl.
Don't hide your domain names.




hi,

Error is the qmail log is as follows
--------------------------------------
CNAME_lookup_failed_temporarily._(#4.4.3)
---------------------------------------

What does this mean ???


Ronnie

----------------------------------------------------------------------------
This email had been checked by Asiatravelmart.com's Virus Scanner.
Please email any questions to [EMAIL PROTECTED]
----------------------------------------------------------------------------




On Tue, Apr 10, 2001 at 11:01:55AM +0800, Thum Chee Weng, Ronnie wrote:
> hi,
> 
> Error is the qmail log is as follows
> --------------------------------------
> CNAME_lookup_failed_temporarily._(#4.4.3)
> ---------------------------------------
> 
> What does this mean ???

It means you haven't read the qmail FAQ.

http://cr.yp.to/qmail/faq/outgoing.html#cname-lookup




whose DNS is at fault ?

Ronnie

-----Original Message-----
From: Alex Pennace [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 11:13 AM
To: Thum Chee Weng, Ronnie
Cc: 'qmail list'
Subject: Re: CNAME lookup failed


On Tue, Apr 10, 2001 at 11:01:55AM +0800, Thum Chee Weng, Ronnie wrote:
> hi,
> 
> Error is the qmail log is as follows
> --------------------------------------
> CNAME_lookup_failed_temporarily._(#4.4.3)
> ---------------------------------------
> 
> What does this mean ???

It means you haven't read the qmail FAQ.

http://cr.yp.to/qmail/faq/outgoing.html#cname-lookup


----------------------------------------------------------------------------
This email had been checked by Asiatravelmart.com's Virus Scanner.
Please email any questions to [EMAIL PROTECTED]
----------------------------------------------------------------------------
Title: RE: CNAME lookup failed

whose DNS is at fault ?

Ronnie

-----Original Message-----
From: Alex Pennace [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 11:13 AM
To: Thum Chee Weng, Ronnie
Cc: 'qmail list'
Subject: Re: CNAME lookup failed


On Tue, Apr 10, 2001 at 11:01:55AM +0800, Thum Chee Weng, Ronnie wrote:
> hi,
>
> Error is the qmail log is as follows
> --------------------------------------
> CNAME_lookup_failed_temporarily._(#4.4.3)
> ---------------------------------------
>
> What does this mean ???

It means you haven't read the qmail FAQ.

http://cr.yp.to/qmail/faq/outgoing.html#cname-lookup





It's for all the domains i sent emails to including hotmail.com, yahoo.com,
jaring.my
and even my own domain, asiatravelmart.com

Ronnie

-----Original Message-----
From: Magnus Bodin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 1:12 PM
To: Thum Chee Weng, Ronnie
Subject: Re: CNAME lookup failed


On Tue, Apr 10, 2001 at 11:15:38AM +0800, Thum Chee Weng, Ronnie wrote:
>
> whose DNS is at fault ?

Unless you don't tell us which domain it is about, we can't tell either.

/magnus

-- 
http://x42.com/

----------------------------------------------------------------------------
This email had been checked by Asiatravelmart.com's Virus Scanner.
Please email any questions to [EMAIL PROTECTED]
----------------------------------------------------------------------------




Thanks. I have it working.

Now i have this (among with all qmail/supervise processes) process runing:

 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c 20 -u 2850 -g 32750 0 
smtp /var/qmail/bin/qmail-smtpd 

According to life-w/qmail this is all correct (I have followed every step)
Local mail works through Maildir (we use Mutt).

Now...

bash-2.04# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.


And look at /var/log/qmail/smtpd/current

@400000003ad137d81a12473c tcpserver: status: 1/20
@400000003ad137d81a40cd64 tcpserver: pid 28480 from 127.0.0.1
@400000003ad137d81b12a424 tcpserver: ok 28480 
localhost.marconcini.com.ar:127.0.0.1:25 :127.0.0.1::15432
@400000003ad137d81b1c77c4 tcpserver: warning: dropping connection, unable to 
run /var/qmail/bin/qmail-smtpd: exec format error
@400000003ad137d81b44b48c tcpserver: end 28480 status 28416
@400000003ad137d81b5323dc tcpserver: status: 0/20

What is the meaning of that exec format error???

I run OpenBSD / Bash. But I don't think that might be a problem.?

Any help would be appreciated.

THanks in advance,

Martin Marconcini.



On Tuesday 10 April 2001 02:22, Tim Legant wrote:
> On Mon, Apr 09, 2001 at 10:39:54PM -0300, Martin Marconcini wrote:
> >     Now I have installed ucspi-tcp. The question is> WHat is the command
> > line I should use?
> >
> >     I have OpenBSD 2.8.  And where's the best place to put it? (rc.local?)
> >
> >     If i can read this in some sort of online doc or faq, please point me.
> > But I've been unable to find it.
>
> Read "Life With qmail" at http://www.lifewithqmail.org/ . It describes
> using tcpserver in conjunction with Dan Bernstein's daemontools package.
>
> Dan develops on OpenBSD; you'll find it all works fine there.
>
> Tim




On Tue, Apr 10, 2001 at 04:10:47AM -0300, Martin Marconcini wrote:
> @400000003ad137d81a12473c tcpserver: status: 1/20
> @400000003ad137d81a40cd64 tcpserver: pid 28480 from 127.0.0.1
> @400000003ad137d81b12a424 tcpserver: ok 28480 
> localhost.marconcini.com.ar:127.0.0.1:25 :127.0.0.1::15432
> @400000003ad137d81b1c77c4 tcpserver: warning: dropping connection, unable to 
> run /var/qmail/bin/qmail-smtpd: exec format error
> @400000003ad137d81b44b48c tcpserver: end 28480 status 28416
> @400000003ad137d81b5323dc tcpserver: status: 0/20
> 
> What is the meaning of that exec format error???

According to the man page (man execve):

  [ENOEXEC]  The new process file has the appropriate access permission,
             but has an invalid magic number in its header.

It looks like your qmail-smtpd executable is hosed. Did you build from
source or install a package? If the latter, try building qmail from
source.

> I run OpenBSD / Bash. But I don't think that might be a problem.?

No.

Tim

(btw, no need to CC me, I read the list)





On Fri, 6 Apr 2001, Charles Cazabon wrote:

> Antje Koschel <[EMAIL PROTECTED]> wrote:
> >
> > Except that some programs here are written in a way that they connect direct
> > to the port 25 of the qmail server and and feed the mail via the smtp
> > commands.  Unfortunatly they only use "username" as sender and not
> > "username@mydomain" .  And they might be rejected by another because they
> > don't have a valid domain name.
>
> Doesn't qmail append envnoathost in this circumstance?

envnoathost was set (it should default to me anyway) but it sets the
recipients domain if it is missing not the senders (return address).

>
> > Is there a possibility to append the domain to addresses missing the
> > domain in any mail sent from local machines (as recognized with the tcprules)?
>
> You could use the fixup/@fixme trick to run the messages through qmail-inject
> or new-inject, which will fix up headers, etc.  See Dan's documentation and
> FAQ for details.
>
> Charles
>

I checked out the fixup/@fixme trick but now mails seems to be sent from
alias@domain.

I put:

virtualdomains
fixme:fixup

tcp.smtp
192.54.41.49:allow,RELAYCLIENT="@fixme"

more ~alias/.qmail-fixup-default
| bouncesaying 'Permission denied ' [ "@$HOST" != "@fi
xme" ]
| qmail-inject -f "$SENDER" -- "$DEFAULT"


How can I force it to keep the sender information? The manual pages
say if qmail-inject is used with the option -f then ALL variables are
cleared.

Thanks,
Antje





Hi list!

I have the same email accounts on my home computer as on my work. I have specified 
that the mails should remain on the server for some days so I could fetch'em at work 
as well when I'm home.
However, I want the mails to be marked as read when they already have been fetched 
from the other place. 

Is this dependent on the client or the server?
How do I configure qmail to do this?

thanks,
/andreas


Reply via email to