qmail Digest 10 May 1999 10:00:01 -0000 Issue 636

Topics (messages 25377 through 25394):

[problem] looking for advices/pointers (qmail on ppp server)
        25377 by: Qmail ML <[EMAIL PROTECTED]>
        25378 by: Qmail ML <[EMAIL PROTECTED]>

EZMLM
        25379 by: "Julian L.C. Brown" <[EMAIL PROTECTED]>

IMAP Information
        25380 by: Jeff Lush <[EMAIL PROTECTED]>
        25387 by: "Greg Owen" <[EMAIL PROTECTED]>

Problems with execution child proceess from .qmail* files
        25381 by: Pavel Korovin <[EMAIL PROTECTED]>
        25385 by: "Peter Samuel" <[EMAIL PROTECTED]>
        25386 by: Pavel Korovin <[EMAIL PROTECTED]>

EZMLM question...
        25382 by: "Peter Samuel" <[EMAIL PROTECTED]>

What does it means?
        25383 by: "Peter Samuel" <[EMAIL PROTECTED]>

creat a  new Maildir format folder
        25384 by: BoLiang <[EMAIL PROTECTED]>

secondary MX
        25388 by: Russ Allbery <[EMAIL PROTECTED]>

strange problems with qmail-local
        25389 by: Pavel Korovin <[EMAIL PROTECTED]>

Help! qmail-rspawn is getiing bigger and bigger?
        25390 by: Silver CHEN <[EMAIL PROTECTED]>

qmail throughput?
        25391 by: John Conover <[EMAIL PROTECTED]>

Setting up Qmail for the first time
        25392 by: "Charles Zealey" <[EMAIL PROTECTED]>
        25393 by: Anand Buddhdev <[EMAIL PROTECTED]>

Host unknown
        25394 by: "x" <[EMAIL PROTECTED]>

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


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


Hello world,

Actually, I'm using qmail on a few classic internet servers
(direct connected to the net, access via pop), and I'm _Very_
happy of it.

Now, I have to do something more complex, and I'm looking for
some advices oder places to RTFM : if you have an idea, please
mail me! 

Situation : there are 4 servers. The first one [Main Server] ist 
directely connected to the internet, and the other connect themselves
every hour to the mainserver via ppp using modems.

When the mails are on the [Client Servers], the access is done using pop3
protocol. Important : the email adresses are differents between the
client servers. For example : if there is a [EMAIL PROTECTED] in client1,
there won't be and onther [EMAIL PROTECTED] on the other clients.

                          
                          [INTERNET]
                               |
                          [Main Server] 
                          *@foobar.com
                               |
                       [PPP MODEM DIALIN]

                          
                [MODEM1]
                   |
          [Client Server1]
           [EMAIL PROTECTED]
           [EMAIL PROTECTED]
           [EMAIL PROTECTED]
                  |
     [local area network, pop access]

                          
                [MODEM2]
                   |
          [Client Server2]
            [EMAIL PROTECTED]
            [EMAIL PROTECTED]
            [EMAIL PROTECTED]
                  |
     [local area network, pop3 access]

[...]


Possible solutions :
[1] On the main server, I create one separate account for every @foobar.com user,
and the clients retrive the mails for each account separately using
for example fetchmail -> would work, but not so "nice"

[2] On the main server, I create 3 accounts (one for each [Client Server]).
The clients then retrive their mails, and then localy dispatch the
mails on the local accounts. -> that's the solution I'd like
to use, but don't really know how and where to start / what tool to use. 

[3] any other good idea ?


Thanks a lot for any hint,
Olivier




Ok, I've just read some docs this afternoon : seems that the
keyword will be "serialmail". 

To be continued... :)
Olivier




Hello group,

I've been struggling with this blasted EZMLM..  I want to use it on a virtual domain.  I am using a custom QMAIL install that is single user and verifies popusers off of IP Address password files in the var/qmail/domains directory.  Each domain has its own directory ie /var/qmail/domains/domain-com  and in domain-com are the users of that particular domain.  If I add someone in there using ezmlm-make, what entries do I have to add to the assign or alias directory seeing as the system will not recognize the account otherwise.  I appreciate any help you can give.

Julian L.C. Brown




Hello all,

I am looking for some information on IMAP implementations for qmail. I
have spent some time at imap.org and looking at IMAP4rev1 from the
University of Washington; however, I can find little information on how
this software will interact with qmail, or if it is recommended at all.
The links at qmail.org are limited in information.

As well, I would like to know if one can setup both pop3d and an IMAP
implementation on the same server.

Thanks for the help,

Jeff Lush




>I am looking for some information on IMAP implementations for qmail. I
>have spent some time at imap.org and looking at IMAP4rev1 from the
>University of Washington; however, I can find little information on how
>this software will interact with qmail, or if it is recommended at all.
>The links at qmail.org are limited in information.
>
>As well, I would like to know if one can setup both pop3d and an IMAP
>implementation on the same server.

    One of my servers is running qmail + Cyrus IMAP server.  Cyrus supports
both IMAP and POP access, and although it is a new and unloaded server,
qmail and cyrus seem to be working well together.

    Note that unlike UW, Cyrus is a sealed system; the only access to your
mail is through Cyrus POP or IMAP.  This costs in backwards compatibility,
but has performance and reliability gains.

--
        gowen -- Greg Owen -- [EMAIL PROTECTED] -- [EMAIL PROTECTED]

        Please note my new [EMAIL PROTECTED] address which will
        become my default address in March, and which works now.





Hi!
I feel big troubles with execution programs from .qmail* files.
Any stuff after '|' I put in .qmail* files seems to be missed by qmail-local.
I use qmail on OpenBSD-current, i686. 
Here is my SYSDEPS:
--- cat SYSDEPS ---
VERSION
systype
hasshsgr.h
hasnpbg1.h
select.h
hasflock.h
hassalen.h
fork.h
hassgact.h
direntry.h
hassgprm.h
haswaitp.h
hasmkffo.h
uint32.h
dns.lib
socket.lib
syslog.lib
--- EOF ---

Here is my .qmail:
--- cat .qmail ---
./Maildir/
|qbiff
--- EOF ---

Here is my qmail rc script:
--- cat maildir ---
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail &
--- EOF --

Everything works well, except '|bla-bla' in .qmail* files.
I have qmail on older OpenBSD-2.3-based system, and it works excellent.

Can anybody help me with this?

Thanks for your time and sorry for my russian english :)

---
Pavel Korovin
 SMTP: [EMAIL PROTECTED]
 PSTN: +7 (095) 721-26-00




On Mon, 10 May 1999, Pavel Korovin wrote:

> Hi!
> I feel big troubles with execution programs from .qmail* files.
> Any stuff after '|' I put in .qmail* files seems to be missed by qmail-local.

It could be either a permission problem or a path problem. Either way,
qmail will log something in your system logs.

If it is a permission problem, then the permissions on the .qmail file
should be 644. If the .qmail file has execute permission AND you are
attempting anything other than a forward to another address, then the
actions will fail. From the dot-qmail manpage:

    If .qmail has the execute bit set, it must not  contain  any
    program lines, mbox lines, or maildir lines.  If qmail-local sees
    any such lines, it will stop and indicate  a  temporary failure.

So if your .qmail file has execute permissions, it can only contain
email addresses.

If this isn't your problem, it might be a PATH problem. If the name of
the executable is NOT fully qualified:

    | blah

then blah MUST be visible in the PATH that was used to start
qmail-start. The PATH of the user recieving the mail is NOT consulted,
ever. Try

    | /the/directory/in/which/blah/lives/blah

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

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





On a, May 10, 1999 at 11:44:17AM +1000, Peter Samuel wrote:
>On Mon, 10 May 1999, Pavel Korovin wrote:
>
>> Hi!
>> I feel big troubles with execution programs from .qmail* files.
>> Any stuff after '|' I put in .qmail* files seems to be missed by qmail-local.
>
>It could be either a permission problem or a path problem. Either way,
>qmail will log something in your system logs.

Yes. I forgot to say that there is nothing special in syslog, all
looks like that works well.

>If it is a permission problem, then the permissions on the .qmail file
>should be 644. If the .qmail file has execute permission AND you are
>attempting anything other than a forward to another address, then the
>actions will fail. From the dot-qmail manpage:
--- skipped ---

It looks like qmail-local parses .qmail file, because
if i chmod +x ~/.qmail it barfs in syslog standard err message (Uh-oh...)
I tried to dig in the code, what i find there:

--- qmail-local.c ---
 switch(child = fork())
  {
   case -1:
     temp_fork();
   case 0:
     args[0] = "/bin/sh"; args[1] = "-c"; args[2] = prog; args[3] = 0;
     sig_pipedefault();
     execv(*args,args);
     strerr_die3x(111,"Unable to run /bin/sh: ",error_str(errno),". (#4.3.0)");
  }
--- qmail-local.c ---

Looks like all works here. If qmail-local can't find /bin/sh it writes
error message to syslog. So, the problem somewhere in code?
I'm not C programmer, so i can't catch the problem here. 

So i hopefully write here. Today i must install new OpenBSD box with
Qmail on it. It seems that it will be bad day for me... 

---
Pavel Korovin
 SMTP: [EMAIL PROTECTED]
 PSTN: +7 (095) 721-26-00




On Fri, 7 May 1999, Tom Hukins wrote:

> On Thu, May 06, 1999 at 09:44:37PM -0500, Geordon VanTassle wrote:
> > 
> > I don't recall seeing it in the FAQ or docs  for EZMLM, but is there a way to
> > set it to a "digest" mode for the mailing list?
> 
> How hard did you look? Digest mode is mentioned many times in
> ezmlm's documentation. Try:
> 
> % apropos digest | grep ezmlm
> % man ezmlm | grep digest
> 
> Tom

Tom, I'd guess you have installed ezmlm-idx. This beast (from Fred
Lindberg) is an extension to ezmlm which supports (among other things)
digests, moderated lists etc. Its man pages have references to
digest.

The vanilla ezmlm from Dan Bernstein does NOT support digests.

See http://www.qmail.org for more details on ezmlm-idx.

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

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





On Sat, 8 May 1999, Silver CHEN wrote:

> Dear Sir:
> 
>   I'm looking at my quee files, I found the 'remote' directory interesting.
> 
>   It looks like this:
> 
>  
> [EMAIL PROTECTED]^@[EMAIL PROTECTED]^@[EMAIL PROTECTED]
>  
> is.nctu.edu.tw^@[EMAIL PROTECTED]^@[EMAIL PROTECTED]^@Dis83001@
>  
> cis.nctu.edu.tw^@[EMAIL PROTECTED]^@[EMAIL PROTECTED]^@Dgis87504@c
>   ...
> 
>   I think the format is "[D|T][EMAIL PROTECTED]{null}", but I don't know
>   what the D/T means, and if there are other symbols except for D/T.
> 
>   If I want to obtain the number of deferred 'recipients' - not the
>   number of 'messages', should I dig into these files and count
>   how many 'T's appearred?

Use qmail-qread. It examines the
/var/qmail/queue/{local,remote}/nnnn/mmmmm files and reports on which
messages have been sent and which are pending. The T char means that
the following address has a message waiting TO be sent, The D char
means that the message to the following recipients has been DONE.

qmail-qread prints a useful report outlining where messages are going
and how many recipients have received thier copy of each message.

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

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






 I want to creat a new Maildir format folder 
  through the Netscape Messenger, how to config the qmail-imap server?
 

  BTW I'm using "qmail-imap-4.5.beta-2.i386.rpm" package
from ftp://ftp.engr.uark.edu/pub/qmail/qmail-imap/

----
BoLiang  [EMAIL PROTECTED]




Russell Nelson <[EMAIL PROTECTED]> writes:

> I didn't see your explanation of the problem that you expect to solve
> with a secondary MX record, though.

I use "just queue my mail" secondary MX hosts for all of the mail servers
under my direct control simply because it means that when the primary
server goes down for whatever reason, all of the mail ends up in a local
queue under my control rather than in tons of remote queues that I have no
control over.

That way, I have full control over the queue timeout, the timeouts on
individual messages, and in extreme cases I can play games with smtproutes
and virtual domains and redirect and rewrite all of that mail to go to
some other host.  I've had to do this before, and was *very* grateful I'd
thought to set up a secondary MX.

-- 
Russ Allbery ([EMAIL PROTECTED])         <URL:http://www.eyrie.org/~eagle/>




I can't understand, where is the problem.
System is OpenBSD-current. Qmail version is 1.3.
Any command in .qmail* files doesn't execute.
What i learn from code (I'm not C programmer - don't laugh please :) 

This is that part of code where execution of program from .qmail* happens:

 switch(child = fork())
  {
   case -1:
     temp_fork();
   case 0:
     args[0] = "/bin/sh"; args[1] = "-c"; args[2] = prog; args[3] = 0;
     sig_pipedefault();
     execv(*args, args);
     strerr_die3x(111,"Unable to run /bin/sh: ",error_str(errno),". (#4.3.0)");
  }

Looks like forking and execv() happens (if I 'mv /bin/sh /bin/sh~' qmail-local
writes error message to syslog). /bin/sh works.
My .qmail file:
------ .qmail -------
./Maildir/
|/var/qmail/bin/qbiff
--- end of .qmail ---

Output of '/var/qmail/bin/qmail-local -n pvk /home/users/pvk/ '' '' '' \
                mail.tsinet.ru [EMAIL PROTECTED] postmaster':

maildir ./Maildir/
program /var/qmail/bin/qbiff
did 1+0+1 

If i put something like this to ~/.qmail:
|lkjsdlkfjsdlkfhsdlkfhsldkfhsdlkfhsdlkfhsldkfhsdlkfh
it writes error to syslog:
May 10 08:39:56 gw-nat1 qmail: 926311196.381569 delivery 4: deferral: 
/bin/sh:_lkjsdlkfjsdlkfhsdlkfhsldkfhsdlkfhsdlkfhsldkfhsdlkfh:_not_found/

So where is the problem? All qmail programs work correctly, but qmail-local.
Any suggestions? 

---
Pavel Korovin
 SMTP: [EMAIL PROTECTED]
 PSTN: +7 (095) 721-26-00




Dear Sir:

  I've posted this message days ago, now it becomes:

  2244 qmailr     2   0 62924K 62600K select   8:43  0.00%  0.00% qmail-rspawn
                        ^^^^^^^^^^^^^^!!!

  I just want to know what makes it so, could anybody give me 
  some lights?

  Yes, there are a lot messages deferred, about 20000+ at this moment.

  Thanks!

-- 
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
|    Shan-Ta CHEN                    E-Mail : [EMAIL PROTECTED]   |
|    Silver CHEN                     Tel(O) : +886-2-2773-9858-288   |
|    �����F                          Tel(H) : +886-2-2914-1402       |
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+




There was some discussion on the throughput per day of qmail on a
FreeBSD Pentium. Is it on a web page?

        Thanks,

        John

-- 

John Conover, 631 Lamont Ct., Campbell, CA., 95008, USA.
VOX 408.370.2688, FAX 408.379.9602, whois '!JC154'
[EMAIL PROTECTED], http://www2.inow.com/~conover/john.html





Everybody tells me how easy it is to set up but frankly I'm struggling.  I
think I've followed all the instructions (several times) but when I come to
run Qmail-start it just disappears without trace.  Please, how can I find
out where it has gone and why?



Charles






On Mon, May 10, 1999 at 08:33:18AM +0100, Charles Zealey wrote:

> Everybody tells me how easy it is to set up but frankly I'm struggling.  I
> think I've followed all the instructions (several times) but when I come to
> run Qmail-start it just disappears without trace.  Please, how can I find
> out where it has gone and why?

It hasn't "gone" anywhere. It's simply running in the background.

If you're using linux/*bsd, try:

ps ax | grep qmail

If you're using Solaris/HP-UX or related OS, try:

ps -ef | grep qmail

-- 
System Administrator
See complete headers for address, homepage and phone numbers





ok, i installed some Memphis package,
tried sending to my IP and i got back:
... Host unknown (Name server: xx.yy.zz.nn: host not found)

?

i found http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html
.. sed 's/:.*//' < virtualdomains | cat - locals | sort > rcpthosts
i have put my IPs in both - virtualdomains & locals, removed dual entries
from
rcpthosts and went through rest of the document,
tried telneting to port 25 and got 'cannot read controls'





Reply via email to