vpopmail

2001-02-17 Thread Mate Wierdl

Is this the right forum for this?
I installed the vpopmail rpm.

After that I ran, as root,

useradd a.b.c
vadddomain a.b.c

Interestingly, I got this 

+a.b.c-:a.b.c:521:521:/home/vpopmail/domains/a.b.c:-::

users/assign.  But

# id -u a.b.c
511

What gives?  (This is to investigate some ezmlm user's problem which I
suspect has to do with perms on a list set up under vpopmail)?

I installed

# rpm -q vpopmail
vpopmail-4.9.6-1

The rpm perhaps is suspect; it says, for example, that the License is
by D. J. Bernstein.

Mate



Re: Time zones in Qmail.

2001-02-17 Thread cfm

On Sun, Feb 18, 2001 at 04:23:29AM +0100, Peter van Dijk wrote:
> On Sat, Feb 17, 2001 at 04:50:35PM -0800, Sam Trenholme wrote:
> > 
> > > How do I change the timezone information that qmail puts in the
> > > received
> > > header?
> > > Qmail is running on openbsd 2.8.
...
> > [1] Sales people are nortorious for wanting to have a time stamp for
> > the exact time they sent or received an email.  In their time zone.
...

> There's a very good reason these headers are in UTC. If you send a
> mail to the other side of the world, the next Received: line will also
> be UTC. This means you don't have to do timezone calculations to see
> how long a mail really took.

Calculations a provincial, fat, balding, ugly american sysdmin
like me will almost always get wrong because of EST, DST and God's time
are sometimes different sometimes not.  Tell your salespeople that
the net is run geeks like me.  :-)  Don't even get into clock skew
and why ntp died on that machine.


> UTC is good. People requesting otherwise in their Received: header are
> confused.

!meaningful cookie

cfm

-- 

Christopher F. Miller, Publisher [EMAIL PROTECTED]
MaineStreet Communications, Inc 208 Portland Road, Gray, ME  04039
1.207.657.5078   http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux



Re: X-Sender

2001-02-17 Thread Lukasz Felsztukier

Charles Cazabon wrote:
> 
> Lukasz Felsztukier <[EMAIL PROTECTED]> wrote:
> > >
> > I'm getting these headers with every email that qmail is sending:
> > X-Mozilla-Status: 8011
> > X-Mozilla-Status2: 
> > X-UIDL: 982463923.22586.naomi
> >
> > How can these be removed or changed to my own liking ?
> 
> Change your MUA -- qmail isn't adding these headers, it's Mozilla (Netscape).
> 
You mean when I read them ?
These email where posted by a php script from a website...

-- 
Lukasz Felsztukier

 : :   d i g i t a l  O n e  : :  interactive media house
 : :   http://www.digitalone.pl
 : :   Al. Kosciuszki 1, 90-418 Lodz, Poland
 : :   tel./fax  [+48 42] 632.89.74



Re: X-Sender

2001-02-17 Thread Lukasz Felsztukier

Sashka wrote:
> 
> Hello,
> 
> >> Yes, this is correct. As far as I remember, Eudora adds this header.
> >> There is might be few more more programs like this, but I don't know
> >> about them.. yet:-)
> >>
> >> Saturday, February 17, 2001, 7:12:58 PM, you wrote:
> >> OM> On Sun, Feb 18, 2001 at 01:15:39AM +0100, [EMAIL PROTECTED] wrote:
> >> >> Which qmail process write the X-Sender field in the headers? I would like
> >> >> to remove it, or to rewrite it, because it uses the name of my
> >> >> host/domain, which are not real. BTW, how can i rewrite any header of my
> >> >> outgoing mail?
> >>
> >> OM> I don't know any qmail process which do that : it's most probably
> >> OM> your mail program which is doing that. For example in omail-webmail,
> >> OM> I also set a X-Sender, to let recipient see where the mail
> >> OM> is really comming from.
> >>
> LF> I'm getting these headers with every email that qmail is sending:
> LF> X-Mozilla-Status: 8011
> LF> X-Mozilla-Status2: 
> LF> X-UIDL: 982463923.22586.naomi
> 
> LF> How can these be removed or changed to my own liking ?
> Try using different e-mail client.. for example, The Bat
> (http://www.ritlabs.com)

These e-mail are sent by php script from the website.
-- 
Lukasz Felsztukier

 : :   d i g i t a l  O n e  : :  interactive media house
 : :   http://www.digitalone.pl
 : :   Al. Kosciuszki 1, 90-418 Lodz, Poland
 : :   tel./fax  [+48 42] 632.89.74



Re: Time zones in Qmail.

2001-02-17 Thread Peter van Dijk

On Sat, Feb 17, 2001 at 04:50:35PM -0800, Sam Trenholme wrote:
> 
> > How do I change the timezone information that qmail puts in the
> > received
> > header?
> > Qmail is running on openbsd 2.8.
> 
> There is a patch for the Qmail source that addresses this issue over at
> http://www.qmail.org/
> 
> I had someone in sales ask for this patch [1], and I was able to apply
> this patch without any problems.
> 
> - Sam
> 
> [1] Sales people are nortorious for wanting to have a time stamp for
> the exact time they sent or received an email.  In their time zone.

That's why sales people don't admin servers or write software.

There's a very good reason these headers are in UTC. If you send a
mail to the other side of the world, the next Received: line will also
be UTC. This means you don't have to do timezone calculations to see
how long a mail really took.

UTC is good. People requesting otherwise in their Received: header are
confused.

People complaining about Date: headers being in the wrong timezone
should get a new MUA. Making Date: headers user-readable is the MUA's
task. (unless some stupid misconfigured Eudora puts in Date headers in
other *languages*. I've seen that happen. I subsequently got blamed
for 'my qmail servers losing mail'. Turned out other Eudora's, when
receiving these broken Date: headers, considered the mail to be
infinitely old. Guess what these people were sorting on. Scrolling
down solved their problem :)

Greetz, Peter.



Re: X-Sender

2001-02-17 Thread Sashka

Hello,

>> Yes, this is correct. As far as I remember, Eudora adds this header.
>> There is might be few more more programs like this, but I don't know
>> about them.. yet:-)
>> 
>> Saturday, February 17, 2001, 7:12:58 PM, you wrote:
>> OM> On Sun, Feb 18, 2001 at 01:15:39AM +0100, [EMAIL PROTECTED] wrote:
>> >> Which qmail process write the X-Sender field in the headers? I would like
>> >> to remove it, or to rewrite it, because it uses the name of my
>> >> host/domain, which are not real. BTW, how can i rewrite any header of my
>> >> outgoing mail?
>> 
>> OM> I don't know any qmail process which do that : it's most probably
>> OM> your mail program which is doing that. For example in omail-webmail,
>> OM> I also set a X-Sender, to let recipient see where the mail
>> OM> is really comming from.
>> 
LF> I'm getting these headers with every email that qmail is sending:
LF> X-Mozilla-Status: 8011
LF> X-Mozilla-Status2: 
LF> X-UIDL: 982463923.22586.naomi

LF> How can these be removed or changed to my own liking ?
Try using different e-mail client.. for example, The Bat
(http://www.ritlabs.com)

-- 
 Sashka





Re: X-Sender

2001-02-17 Thread Charles Cazabon

Lukasz Felsztukier <[EMAIL PROTECTED]> wrote:
> > 
> I'm getting these headers with every email that qmail is sending:
> X-Mozilla-Status: 8011
> X-Mozilla-Status2: 
> X-UIDL: 982463923.22586.naomi
> 
> How can these be removed or changed to my own liking ?

Change your MUA -- qmail isn't adding these headers, it's Mozilla (Netscape).

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Per-Domain Concurrency Patch

2001-02-17 Thread Charles Cazabon

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Sat, 17 Feb 2001, Charles Cazabon wrote:
> > 
> > It's a broken idea.  The admin of the remote server should set their
> > concurrency limits to something their system can handle -- if they don't,
> > then that's their problem, not yours.
 
> For example, if I only have 40 outbound connect  slots I might not want
> all of them to bet consumed sending mail to AOL, I might want  dedicate
> some of my resources to delivering mail to other domains.

To play devil's advocate, you could also look at this situation in terms of
"if this server handles enough mail that all remoteconcurrency is sucked up
by one domain, than it's busy enough to justify raising the remote
concurrency limits, and upgrading the hardware if necessary".

I find that even a modest box can easily handle a remote concurrency of
100 or better with qmail.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: X-Sender

2001-02-17 Thread Lukasz Felsztukier

Sashka wrote:
> 
> Hello,
> 
> Yes, this is correct. As far as I remember, Eudora adds this header.
> There is might be few more more programs like this, but I don't know
> about them.. yet:-)
> 
> Saturday, February 17, 2001, 7:12:58 PM, you wrote:
> OM> On Sun, Feb 18, 2001 at 01:15:39AM +0100, [EMAIL PROTECTED] wrote:
> >> Which qmail process write the X-Sender field in the headers? I would like
> >> to remove it, or to rewrite it, because it uses the name of my
> >> host/domain, which are not real. BTW, how can i rewrite any header of my
> >> outgoing mail?
> 
> OM> I don't know any qmail process which do that : it's most probably
> OM> your mail program which is doing that. For example in omail-webmail,
> OM> I also set a X-Sender, to let recipient see where the mail
> OM> is really comming from.
> 
I'm getting these headers with every email that qmail is sending:
X-Mozilla-Status: 8011
X-Mozilla-Status2: 
X-UIDL: 982463923.22586.naomi

How can these be removed or changed to my own liking ?
Cheers,
-- 
Lukasz Felsztukier

 : :   d i g i t a l  O n e  : :  interactive media house
 : :   http://www.digitalone.pl
 : :   Al. Kosciuszki 1, 90-418 Lodz, Poland
 : :   tel./fax  [+48 42] 632.89.74



Re: X-Sender

2001-02-17 Thread Sashka

Hello,

Yes, this is correct. As far as I remember, Eudora adds this header.
There is might be few more more programs like this, but I don't know
about them.. yet:-)

Saturday, February 17, 2001, 7:12:58 PM, you wrote:
OM> On Sun, Feb 18, 2001 at 01:15:39AM +0100, [EMAIL PROTECTED] wrote:
>> Which qmail process write the X-Sender field in the headers? I would like
>> to remove it, or to rewrite it, because it uses the name of my
>> host/domain, which are not real. BTW, how can i rewrite any header of my
>> outgoing mail?

OM> I don't know any qmail process which do that : it's most probably
OM> your mail program which is doing that. For example in omail-webmail,
OM> I also set a X-Sender, to let recipient see where the mail
OM> is really comming from.

OM> Regards,
OM> Olivier



-- 
 Sashka





Re: make mailing list private

2001-02-17 Thread Sashka

Hello,



Saturday, February 17, 2001, 12:25:02 PM, you wrote:
RSS> * Sashka  <[EMAIL PROTECTED]> writes:
>> how can I make mailing list private in ezml?
RSS> By reading the ezmlm(-idx)-FAQ and looking for moderation.
>> also, I need to add Reply-To: [EMAIL PROTECTED]
RSS> Look for headeradd.
>> how to do these things?
RSS> You do not do the latter *AT ALL*:
RSS> http://www.unicom.com/pw/reply-to-harmful.html 
Thanks for this info. I figured out that few minutes after I sent
e-mail to list. Thing is, that this list is private for 4 persons and
there won't be any big attachments. anyway, if they ask me, I can
remove attachments. I think, I will able to do this :)


-- 
 Sashka





Re: Time zones in Qmail.

2001-02-17 Thread Sam Trenholme


> How do I change the timezone information that qmail puts in the
> received
> header?
> Qmail is running on openbsd 2.8.

There is a patch for the Qmail source that addresses this issue over at
http://www.qmail.org/

I had someone in sales ask for this patch [1], and I was able to apply
this patch without any problems.

- Sam

[1] Sales people are nortorious for wanting to have a time stamp for
the exact time they sent or received an email.  In their time zone.





Re: X-Sender

2001-02-17 Thread Olivier M.

On Sun, Feb 18, 2001 at 01:15:39AM +0100, [EMAIL PROTECTED] wrote:
> Which qmail process write the X-Sender field in the headers? I would like
> to remove it, or to rewrite it, because it uses the name of my
> host/domain, which are not real. BTW, how can i rewrite any header of my
> outgoing mail?

I don't know any qmail process which do that : it's most probably
your mail program which is doing that. For example in omail-webmail,
I also set a X-Sender, to let recipient see where the mail
is really comming from.

Regards,
Olivier
-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch

 PGP signature


supervise: fatal:

2001-02-17 Thread ktt

Have installed qmail under
http://howto.globelinks.com/qmail-howto-freebsd.html
but getting 

supervise: fatal: unable to acquire
log/supervise/lock: temporary failure
supervise: fatal: unable to acquire
qmail-send/supervise/lock: temporary failure
supervise: fatal: unable to acquire
log/supervise/lock: temporary failure
supervise: fatal: unable to acquire
qmail-pop3d/supervise/lock: temporary failure
supervise: fatal: unable to acquire
qmail-smtpd/supervise/lock: temporary failure

on startup.
how to remedy this problem?
thank you.

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Re: pop3 dying

2001-02-17 Thread mick

Seems to have worked so far! I'll keep my fingers crossed.
Thank you greatly for your help.

On Sat, 17 Feb 2001, mick wrote:

> Ok, tried changing this:
> /usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
>   my.domain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> 
> to this:
> /usr/local/bin/tcpserver -c 200 0 pop3 /var/qmail/bin/qmail-popup
>   my.domain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> 
> See what that does.
> 
> 
> On Sat, 17 Feb 2001, Charles Cazabon wrote:
> 
> > mick <[EMAIL PROTECTED]> wrote:
> > > concurency limit is set to 120, does that mean its limited to 120 pop3
> > > sesions?
> > 
> > Yes, if that's the number you are supplying as the -c option to the
> > tcpserver instance launching qmail-pop3d.  Double or quadruple it and see
> > if your problems stop.  You could also enable the logging from tcpserver for
> > that.
> > 
> > Charles
> > -- 
> > ---
> > Charles Cazabon<[EMAIL PROTECTED]>
> > GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> > Any opinions expressed are just that -- my opinions.
> > ---
> > 
> > 
> 
> *
> Mick Dobra
> Systems Administrator
> MTCO Communications
> 1-800-859-6826
> *
> 
> 

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*




Re: make mailing list private

2001-02-17 Thread Robin S. Socha

* Sashka  <[EMAIL PROTECTED]> writes:

> how can I make mailing list private in ezml? 

By reading the ezmlm(-idx)-FAQ and looking for moderation.

> also, I need to add Reply-To: [EMAIL PROTECTED]  

Look for headeradd.

> how to do these things?

You do not do the latter *AT ALL*:
http://www.unicom.com/pw/reply-to-harmful.html 
-- 
Robin S. Socha 



X-Sender

2001-02-17 Thread davidge


Hi,

Which qmail process write the X-Sender field in the headers? I would like
to remove it, or to rewrite it, because it uses the name of my
host/domain, which are not real. BTW, how can i rewrite any header of my
outgoing mail?



David Gómez

"The question of whether computers can think is just like the question of
 whether submarines can swim." -- Edsger W. Dijkstra





Re: Per-Domain Concurrency Patch

2001-02-17 Thread richard

On Sat, 17 Feb 2001, Charles Cazabon wrote:

> Geoffrey Gussis <[EMAIL PROTECTED]> wrote:
> > I saw a mention in the archives about a per-domain concurrency patch 
> > - which would help make sure that a qmail server would not overload a 
> > recipient smtp server when a higher volume of mail was being sent 
> > out.
> 
> It's a broken idea.  The admin of the remote server should set their
> concurrency limits to something their system can handle -- if they don't,
> then that's their problem, not yours.

I agree, but there is a different class of problem that one might want to
solve, which leads to the original problem. 'our' problem is that all of
the concurrency remote outgoing slots are being used to transfer mail to
one domain, whereas it /might/ be desireable for qmail to send sendable[0]
mail to a variety of domains.

For example, if I only have 40 outbound connect  slots I might not want
all of them to bet consumed sending mail to AOL, I might want  dedicate
some of my resources to delivering mail to other domains.

RjL

[0]sendable in the sense that there is a message that is on the 'a
delivery attempt should be made now' queue rather than any knowledge about
the sucess/failure of trying to deliver it




Re: pop3 dying

2001-02-17 Thread mick

Ok, tried changing this:
/usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
  my.domain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

to this:
/usr/local/bin/tcpserver -c 200 0 pop3 /var/qmail/bin/qmail-popup
  my.domain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

See what that does.


On Sat, 17 Feb 2001, Charles Cazabon wrote:

> mick <[EMAIL PROTECTED]> wrote:
> > concurency limit is set to 120, does that mean its limited to 120 pop3
> > sesions?
> 
> Yes, if that's the number you are supplying as the -c option to the
> tcpserver instance launching qmail-pop3d.  Double or quadruple it and see
> if your problems stop.  You could also enable the logging from tcpserver for
> that.
> 
> Charles
> -- 
> ---
> Charles Cazabon<[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> ---
> 
> 

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*




Re: Per-Domain Concurrency Patch

2001-02-17 Thread Charles Cazabon

Geoffrey Gussis <[EMAIL PROTECTED]> wrote:
> I saw a mention in the archives about a per-domain concurrency patch 
> - which would help make sure that a qmail server would not overload a 
> recipient smtp server when a higher volume of mail was being sent 
> out.

It's a broken idea.  The admin of the remote server should set their
concurrency limits to something their system can handle -- if they don't,
then that's their problem, not yours.

> Is the patch available or are there other ways to achieve this 
> result?

The best way is if you notice that a large number of concurrent SMTP
sessions to a given server knocks it over, send the postmaster there a polite
mail telling them their configuration is broken.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: pop3 dying

2001-02-17 Thread Charles Cazabon

mick <[EMAIL PROTECTED]> wrote:
> concurency limit is set to 120, does that mean its limited to 120 pop3
> sesions?

Yes, if that's the number you are supplying as the -c option to the
tcpserver instance launching qmail-pop3d.  Double or quadruple it and see
if your problems stop.  You could also enable the logging from tcpserver for
that.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: pop3 dying

2001-02-17 Thread mick

Should I add: 
  | /var/qmail/bin/splogger pop3 3 &

On Sat, 17 Feb 2001, Peter van Dijk wrote:

> On Sat, Feb 17, 2001 at 04:02:58PM +, mick wrote:
> > grep for pop3 on mail.log and daemon.log for pop3 (digital unix) returns
> > nothing.
> > this is how it is called:
> > 
> > /usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
> >   my.domain.com /
> > bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> 
> This startup doesn't specify any logging.
> 
> Greetz, Peter.
> 
> 

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*




Re: pop3 dying

2001-02-17 Thread Peter van Dijk

On Sat, Feb 17, 2001 at 04:02:58PM +, mick wrote:
> grep for pop3 on mail.log and daemon.log for pop3 (digital unix) returns
> nothing.
> this is how it is called:
> 
> /usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
>   my.domain.com /
> bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

This startup doesn't specify any logging.

Greetz, Peter.



Re: pop3 dying

2001-02-17 Thread mick

concurency limit is set to 120, does that mean its limited to 120 pop3
sesions?

On Sat, 17 Feb 2001, Peter van Dijk wrote:

> On Sat, Feb 17, 2001 at 10:40:20PM +0100, Peter van Dijk wrote:
> > On Sat, Feb 17, 2001 at 03:41:45PM +, mick wrote:
> > > Can't see anything obvious 
> > > This is a busy server so the logs a flying pretty fast, connetions just
> > > time out and I can't see any obvious failure messages in the logs.
> > > Any suggestions for what I should grep for?
> > 
> > Well, I suppose there's no log of any pop3 activity after it dies.
> > What are the last few lines logged about pop3?
> 
> Hmm, is your pop3 perhaps reaching the concurrency limit set in
> tcpserver? Or, if running from inetd (which is a bad idea), is the
> ratelimiting holding it back?
> 
> Greetz, Peter.
> 
> 

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*




Re: pop3 dying

2001-02-17 Thread mick

grep for pop3 on mail.log and daemon.log for pop3 (digital unix) returns
nothing.
this is how it is called:

/usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
  my.domain.com /
bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

On Sat, 17 Feb 2001, Peter van Dijk wrote:

> On Sat, Feb 17, 2001 at 03:41:45PM +, mick wrote:
> > Can't see anything obvious 
> > This is a busy server so the logs a flying pretty fast, connetions just
> > time out and I can't see any obvious failure messages in the logs.
> > Any suggestions for what I should grep for?
> 
> Well, I suppose there's no log of any pop3 activity after it dies.
> What are the last few lines logged about pop3?
> 
> Greetz, Peter.
> 
> 

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*




Re: pop3 dying

2001-02-17 Thread Peter van Dijk

On Sat, Feb 17, 2001 at 10:40:20PM +0100, Peter van Dijk wrote:
> On Sat, Feb 17, 2001 at 03:41:45PM +, mick wrote:
> > Can't see anything obvious 
> > This is a busy server so the logs a flying pretty fast, connetions just
> > time out and I can't see any obvious failure messages in the logs.
> > Any suggestions for what I should grep for?
> 
> Well, I suppose there's no log of any pop3 activity after it dies.
> What are the last few lines logged about pop3?

Hmm, is your pop3 perhaps reaching the concurrency limit set in
tcpserver? Or, if running from inetd (which is a bad idea), is the
ratelimiting holding it back?

Greetz, Peter.



Re: pop3 dying

2001-02-17 Thread Peter van Dijk

On Sat, Feb 17, 2001 at 03:41:45PM +, mick wrote:
> Can't see anything obvious 
> This is a busy server so the logs a flying pretty fast, connetions just
> time out and I can't see any obvious failure messages in the logs.
> Any suggestions for what I should grep for?

Well, I suppose there's no log of any pop3 activity after it dies.
What are the last few lines logged about pop3?

Greetz, Peter.



Re: pop3 dying

2001-02-17 Thread mick

Can't see anything obvious 
This is a busy server so the logs a flying pretty fast, connetions just
time out and I can't see any obvious failure messages in the logs.
Any suggestions for what I should grep for?


On Sat, 17 Feb 2001, Peter van Dijk wrote:

> On Sat, Feb 17, 2001 at 03:28:38PM +, mick wrote:
> > I've got a qmail system in which pop3 dies after about 30 minutes of use.
> > The system load average in low, can't see any obvious run away process,
> > the rest of the system works fine (sshd, smtp, http, ftp). killing all
> > qmail process's and restarting gets it to work for about another 30
> > minutes
> > Any suggestions as to where to start looking?
> 
> What do the logs say?
> 
> Greetz, Peter.
> 
> 

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*




Re: pop3 dying

2001-02-17 Thread Peter van Dijk

On Sat, Feb 17, 2001 at 03:28:38PM +, mick wrote:
> I've got a qmail system in which pop3 dies after about 30 minutes of use.
> The system load average in low, can't see any obvious run away process,
> the rest of the system works fine (sshd, smtp, http, ftp). killing all
> qmail process's and restarting gets it to work for about another 30
> minutes
> Any suggestions as to where to start looking?

What do the logs say?

Greetz, Peter.



pop3 dying

2001-02-17 Thread mick

I've got a qmail system in which pop3 dies after about 30 minutes of use.
The system load average in low, can't see any obvious run away process,
the rest of the system works fine (sshd, smtp, http, ftp). killing all
qmail process's and restarting gets it to work for about another 30
minutes
Any suggestions as to where to start looking?

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*




Re: bug in qmail-pop3d

2001-02-17 Thread Peter van Dijk

On Wed, Feb 14, 2001 at 10:58:22AM +0100, Peter van Dijk wrote:
[snip]
> Note how stat shows a smaller total size but the same message count.
> This is a bug. According to RFC1939 (pop3) STAT should not count
> deleted messages 'in either total'.
> 
> The fix is trivial, I will fix up a patch tonight if noone else does
> it before then :)

Ok, been busy. Attached is a patch for this bug. The patch was
trivial indeed.

Greetz, Peter.


--- /usr/local/src/qmail-1.03/qmail-pop3d.c Mon Jun 15 12:53:16 1998
+++ qmail-pop3d.c   Sat Feb 17 22:20:08 2001
@@ -149,12 +149,18 @@
 void pop3_stat()
 {
   int i;
+  int realnumm;
   unsigned long total;
  
+  realnumm = 0;
   total = 0;
-  for (i = 0;i < numm;++i) if (!m[i].flagdeleted) total += m[i].size;
+  for (i = 0;i < numm;++i)
+if (!m[i].flagdeleted) {
+  total += m[i].size;
+  ++realnumm;
+}
   puts("+OK ");
-  put(strnum,fmt_uint(strnum,numm));
+  put(strnum,fmt_uint(strnum,realnumm));
   puts(" ");
   put(strnum,fmt_ulong(strnum,total));
   puts("\r\n");



ATRN (RFC2645) and qmail

2001-02-17 Thread David Krix



Hi,
 
i've read (on this list) about some patch beeing 
available for qmail to implement this feature. Has anybody got an idea just 
where i could get it (if it's available)?
 
 
cu,
 
David


Re: ./vadddomain

2001-02-17 Thread Peter van Dijk

On Sat, Feb 17, 2001 at 12:51:35PM -0800, ktt wrote:
> I've tryed to create virtual domains on freebsd 4.0
> machine:
> 
> # ./vadddomain foo.org
> 
> but vpopmail didn't created any files in
> /home/vpopmail/domains
> and didn't showed any errors.
> what it could be?

This is not the vpopmail mailing list.

I also don't have an answer, sorry.

Greetz, Peter.



./vadddomain

2001-02-17 Thread ktt

I've tryed to create virtual domains on freebsd 4.0
machine:

# ./vadddomain foo.org

but vpopmail didn't created any files in
/home/vpopmail/domains
and didn't showed any errors.
what it could be?

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Per-Domain Concurrency Patch

2001-02-17 Thread Geoffrey Gussis

I saw a mention in the archives about a per-domain concurrency patch 
- which would help make sure that a qmail server would not overload a 
recipient smtp server when a higher volume of mail was being sent 
out.  Is the patch available or are there other ways to achieve this 
result? I know you can set the concurrency remote lower - but was 
wondering how you can keep that number higher while still making sure 
that certain recipient domains were not overwhelmed.

Thanks in advance for any help,

Geoffrey



Re: OT: How to un-break sendmail, well one part of it? :-)

2001-02-17 Thread Peter van Dijk

On Fri, Feb 16, 2001 at 02:37:17PM -0500, Hubbard, David wrote:
> In RedHat's infinite wisdom, they distributed a version of
> linuxconf with version 6.2 that writes sendmail.cf files
> in such a way that they will illegally reject mail with
> an empty Return-Path.  Would anyone happen to know what
> needs to be fixed in sendmail.cf to make it stop doing
> that?  I have been getting a lot of double bounces since
> my qmail server sends the bounce without the Return-Path.

Every sane server sends bounces with an empty return-path. Even a
normal sendmail installation does.

Darn. I knew RedHat was clueless, but this...

Greetz, Peter.



Re: Time zones in Qmail.

2001-02-17 Thread Harald Hanche-Olsen

+ Cameron Lowe <[EMAIL PROTECTED]>:

| How do I change the timezone information that qmail puts in the
| received header?

You don't, at least not without patching qmail.

| I would like qmail to put in the timezone GMT+11 or
| Australia/Victoria.

Maybe you would like it, but you shouldn't.  8-)

No, I'm serious.  So much email crosses time zones, it's easier to
follow the progress of a messages if all Received: time stamps are the
same time zone.

Most end users won't bother with Received: headers anyway.  As long as
the Date: header is in the local time zone of the sender, they're
happy.

- Harald



software search

2001-02-17 Thread sberg

Does qmail have any tools or add-ons that allow for web mail without
creating a bunch of user accounts on the mail server itself?  I've got
MySQL running so I'm hoping that I can find something to allow webmail
from qmail and MySQL without creating a shell account for each webmail
user. I've done some hunting around but it seems like all the tools need
to have an actual account on the system for each webmail user.

I'm real new to MySQL but I do have it running and can probably figure out
what I need to do to it if I can find such a tool.

My goal is to have the webmail and alongside it a database for a locator
type purpose.  i.e. People can create a webmail account and store
information about themselves for other users to come and view later on.
Each user would need to have the ability to come back later on and update
their information.  And the system would need to keep each users
information safe from being changed by other users.

I'm not even sure if this stuff is possible but I was hoping that someone
on the list might be able to point me in the direction of some software
packages to get me a running start.




RE: tcpserver use of -B

2001-02-17 Thread Andrew Richards

Hi Timothy,

Looks like no-one answered this... orphan message. Here
goes,

Hmm, I don't get this problem. Perhaps you're putting the -B
option too late (the arguments are - from the man page)
   tcpserver [ opts] host port prog

Just to test this I tried
   tcpserver -B 'pwd is ' ip_address 999 pwd
then telnetted to port 999 on the ip_address which gave the
expected result (you may also need -R, -H and -l options to
avoid certain lookups, or the associated delays where these
will fail).

cheers,

Andrew.

--
From:   Timothy Lorenc[SMTP:[EMAIL PROTECTED]]
Sent:   15 February 2001 08:22
To: qmail
Subject:Q: tcpserver use of -B


Hello,

I have read through the qmail list and check all the documentation
that I could find... but I still do not know how to use the -B option
of tcpserver. I have tried -B/ which just prints
the /http://www.load.com

***DISCLAIMER***

If this communication concerns the negotiation of a contract or agreement,
the Uniform Electronic Transaction Act does not apply to this communication:
contract and/or agreement formation in this matter shall only occur with
manually-affixed signatures on original documents.







Re: Timestamp in logs

2001-02-17 Thread Kyle

You can redirect the logfile to tai64nlocal (installed with daemontools)
like 'tai64nlocal < /var/log/qmail/current'.  That will print it to stdout.
I'm not sure how to go about actually converting it as it logs, if that's
possible.

--
Kyle Knack
Server Engineer - SkyNetWEB/Affinity Internet
System Administrator - Only-Linux.Com
[EMAIL PROTECTED]
http://www.skynetweb.com

- Original Message -
From: John P <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 17, 2001 9:36 AM
Subject: Timestamp in logs


> Just wondering, is there an easy way of finding out the time of an event
in
> the /var/log/qmail/current file?
>
> That's all!
>
> Thanks
> John
>
>




Re: Timestamp in logs

2001-02-17 Thread Charles Cazabon

John P <[EMAIL PROTECTED]> wrote:
> Just wondering, is there an easy way of finding out the time of an event in
> the /var/log/qmail/current file?

The first field is the timestamp (providing you used a 't' argument to 
multilog).  To convert it to readable local time, pipe the log through
tai64nlocal.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: outgoing message(with multi recipient address) was sent multi-times

2001-02-17 Thread Charles Cazabon

Qiao Aijun <[EMAIL PROTECTED]> wrote:
> I have routed outgoing message to my ISP's SMTP server. I hope our email with
> multi recipient address are forwarded to my ISP's SMTP once. How can I do
> that?

qmail itself doesn't do this; you can use Dan's serialmail to do it, perhaps.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: qmail-inject refuses to work if it's parent process is qmail-local?

2001-02-17 Thread Charles Cazabon

David Cunningham <[EMAIL PROTECTED]> wrote:
> Thank you Charles.  I'll be sure to look at that.  The goal here is not so
> much to get a functional autoresponder as it is to satisfy my curiosity
> about the behavior of qmail in terms of script processing.

Ah, well that's a totally different story then.  The man pages for
dot-qmail and qmail-command will be of particular interest.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Timestamp in logs

2001-02-17 Thread John P

Just wondering, is there an easy way of finding out the time of an event in
the /var/log/qmail/current file?

That's all!

Thanks
John




RE: switching a large sedmail installation to qmail right now ..

2001-02-17 Thread Jankok, Lucio

hi,

it is not a MX problem.
and indeed my question is slightly OT.
but the answer is "control/smtproutes"
  qmail-control.0

regards,

Lucio Jankok



-Original Message-
From: Stefaan A Eeckels [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 17, 2001 1:10 PM
To: Jankok, Lucio
Cc: [EMAIL PROTECTED]
Subject: RE: switching a large sedmail installation to qmail right now
..



On 17-Feb-2001 Jankok, Lucio wrote:
>  the sendmail installation we want to replace has a mailertable of +/- 24 entries
>  which tells the mta where to relay mails for a specific domain.
>  the syntax goes like this;
>  domain.org  mta1.otherdomain.org
>  sub.domain.org  mta2.differentdomain.org

control/smtproutes

quoting from qmail-control.0:

   smtproutes
Artificial SMTP routes.   Each  route  has  the  form
domain:relay,  without  any  extra spaces.  If domain
matches host, qmail-remote will connect to relay,  as
if  host  had  relay  as  its only MX.  (It will also
avoid doing any CNAME lookups on  recip.)   host  may
include  a  colon and a port number to use instead of
the normal SMTP port, 25:

   inside.af.mil:firewall.af.mil:26

relay may be empty; this tells qmail-remote  to  look
up MX records as usual.  smtproutes may include wild­
cards:

   .af.mil:
   :heaven.af.mil

Here any address ending with .af.mil (but not  af.mil
itself)  is  routed  by  its  MX  records;  any other
address is artificially routed to heaven.af.mil.

The qmail system does not protect you if  you  create
an  artificial  mail loop between machines.  However,
you are always safe using smtproutes if  you  do  not
accept mail from the network.

Take care,

Stefaan
-- 
How's it supposed to get the respect of management if you've got just
one guy working on the project?  It's much more impressive to have a
battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)



RE: switching a large sedmail installation to qmail right now ..

2001-02-17 Thread Jankok, Lucio

Thanks ! :)

-Original Message-
From: Stefaan A Eeckels [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 17, 2001 1:10 PM
To: Jankok, Lucio
Cc: [EMAIL PROTECTED]
Subject: RE: switching a large sedmail installation to qmail right now
..



On 17-Feb-2001 Jankok, Lucio wrote:
>  the sendmail installation we want to replace has a mailertable of +/- 24 entries
>  which tells the mta where to relay mails for a specific domain.
>  the syntax goes like this;
>  domain.org  mta1.otherdomain.org
>  sub.domain.org  mta2.differentdomain.org

control/smtproutes

quoting from qmail-control.0:

   smtproutes
Artificial SMTP routes.   Each  route  has  the  form
domain:relay,  without  any  extra spaces.  If domain
matches host, qmail-remote will connect to relay,  as
if  host  had  relay  as  its only MX.  (It will also
avoid doing any CNAME lookups on  recip.)   host  may
include  a  colon and a port number to use instead of
the normal SMTP port, 25:

   inside.af.mil:firewall.af.mil:26

relay may be empty; this tells qmail-remote  to  look
up MX records as usual.  smtproutes may include wild­
cards:

   .af.mil:
   :heaven.af.mil

Here any address ending with .af.mil (but not  af.mil
itself)  is  routed  by  its  MX  records;  any other
address is artificially routed to heaven.af.mil.

The qmail system does not protect you if  you  create
an  artificial  mail loop between machines.  However,
you are always safe using smtproutes if  you  do  not
accept mail from the network.

Take care,

Stefaan
-- 
How's it supposed to get the respect of management if you've got just
one guy working on the project?  It's much more impressive to have a
battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)



RE: switching a large sedmail installation to qmail right now ..

2001-02-17 Thread Stefaan A Eeckels


On 17-Feb-2001 Jankok, Lucio wrote:
>  the sendmail installation we want to replace has a mailertable of +/- 24 entries
>  which tells the mta where to relay mails for a specific domain.
>  the syntax goes like this;
>  domain.org  mta1.otherdomain.org
>  sub.domain.org  mta2.differentdomain.org

control/smtproutes

quoting from qmail-control.0:

   smtproutes
Artificial SMTP routes.   Each  route  has  the  form
domain:relay,  without  any  extra spaces.  If domain
matches host, qmail-remote will connect to relay,  as
if  host  had  relay  as  its only MX.  (It will also
avoid doing any CNAME lookups on  recip.)   host  may
include  a  colon and a port number to use instead of
the normal SMTP port, 25:

   inside.af.mil:firewall.af.mil:26

relay may be empty; this tells qmail-remote  to  look
up MX records as usual.  smtproutes may include wild­
cards:

   .af.mil:
   :heaven.af.mil

Here any address ending with .af.mil (but not  af.mil
itself)  is  routed  by  its  MX  records;  any other
address is artificially routed to heaven.af.mil.

The qmail system does not protect you if  you  create
an  artificial  mail loop between machines.  However,
you are always safe using smtproutes if  you  do  not
accept mail from the network.

Take care,

Stefaan
-- 
How's it supposed to get the respect of management if you've got just
one guy working on the project?  It's much more impressive to have a
battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)



Re: vacation of qmail

2001-02-17 Thread Pawel Garbowski

Hello,

* Beaver-Jirawat Chetbundit <[EMAIL PROTECTED]> [010216 11:58] wrote:
> 
> Could you please show me how to setup vacation for qmail that use
> vmailmgr or vpopmail?

If qmail is running from procmail:

# (D.White recipe)

:0:
* ^To:.*igor
{
   :0 c :
   | /usr/ucb/vacation igor

   :0:
   Personal
}
:0:
vacationFile

p.

-- 
pawel garbowski
[EMAIL PROTECTED]
 





switching a large sedmail installation to qmail right now .. need help !

2001-02-17 Thread Jankok, Lucio

We are right  now in the process of migrating a large sendmail installation.
I ran into a problem.
the sendmail installation we want to replace has a mailertable of +/- 24 entries
which tells the mta where to relay mails for a specific domain.
the syntax goes like this;
domain.org  mta1.otherdomain.org
sub.domain.org  mta2.differentdomain.org
etc

I don't know how to implement this in qmail.

your help is much appreciated.

regards.

Luc



qmail Digest 17 Feb 2001 11:00:01 -0000 Issue 1278

2001-02-17 Thread qmail-digest-help


qmail Digest 17 Feb 2001 11:00:01 - Issue 1278

Topics (messages 57385 through 57454):

scripting problems with qmail-inject and qmail-local
57385 by: David Cunningham
57386 by: James Raftery

Re: multiple names - one pop3d server
57387 by: Mike Lichtenwalner

Carbon Copy question
57388 by: Nilo Menezes
57389 by: Frank Tegtmeyer

where is qmail-hier.c?
57390 by: Dario Dal Ben

QMTP
57391 by: Federico Edelman Anaya
57392 by: Johan Almqvist
57395 by: Frank Tegtmeyer
57397 by: Peter van Dijk
57409 by: Federico Edelman Anaya
57411 by: Frank Tegtmeyer
57414 by: Federico Edelman Anaya
57415 by: Frank Tegtmeyer
57418 by: Federico Edelman Anaya
57420 by: Frank Tegtmeyer
57421 by: Johan Almqvist

Re: CNAME Look up failed.
57393 by: Charles Cazabon

Re: Qmail on RH 6.2
57394 by: Charles Cazabon

Maximum Number of POP3 connects
57396 by: qmailu
57430 by: Dave Sill

vpopmail
57398 by: Ari Arantes Filho

I need to block IP Address
57399 by: Antonio Ferri Charbone
57402 by: Pawel Garbowski
57403 by: Charles Cazabon
57404 by: Frank Tegtmeyer
57407 by: Uwe Ohse

Newsletter mailings with qmail+ezmlm
57400 by: Marcus Korte
57406 by: Charles Cazabon

qmail and DNS
57401 by: Marcus Korte
57429 by: Dave Sill

Re: Quota Notification
57405 by: Pawel Garbowski

query
57408 by: Rohit Gupta
57410 by: Pawel Garbowski

Re: SSL
57412 by: Pawel Garbowski
57432 by: Dave Sill

unsubscribe
57413 by: Casey Allen Shobe

Mail2db or maildir2html
57416 by: Barry Smoke
57428 by: Jeremy Anttila

virtualdomains and MX...
57417 by: rocael.usa.net
57422 by: Frank Tegtmeyer

Re: I can't find qmail's log file.
57419 by: Qiao Aijun
57423 by: Frank Tegtmeyer

paranoid checking and simultaneous connections
57424 by: Jeff_Newton
57426 by: Peter van Dijk

Stuck with maildirsmtp
57425 by: Mario Thaten

Re: How to un-break sendmail, well one part of it? :-)
57427 by: Hubbard, David

Re: can't send mail quickly, please help me!!
57431 by: Dave Sill

Re: how to send out more emails
57433 by: Dave Sill

Re: Newbie Help With MS Exchange Using qmail as Gateway
57434 by: Dave Sill

Mail hub for relay and outgoing only - no local
57435 by: Dion_Vansevenant.psdi.com
57440 by: Sid Wilroy

qmail-inject refuses to work if it's parent process is qmail-local?
57436 by: David Cunningham
57442 by: Charles Cazabon
57444 by: David Cunningham

Domain Gateway/Relay Was: Newbie Help
57437 by: schoon.amgt.com
57452 by: Mario Thaten

queue is not going down...
57438 by: Sid Wilroy

LWQ Init Script/qmail-pop3d
57439 by: Kyle
57441 by: ari.doctordata.com.br
57443 by: Kyle
57454 by: ari.doctordata.com.br

Re: Logging customization?
57445 by: Simple

outgoing message(with multi recipient address)  was sent multi-times
57446 by: Qiao Aijun
57451 by: Andy Bradford

make mailing list private
57447 by: Sashka

Time zones in Qmail.
57448 by: Cameron Lowe

Re: redirecting Mail ??
57449 by: Andy Bradford

ipchains and nslookup for qmail
57450 by: Mark Lo

Re: qmail-ldap and courier-imap & authentication ?
57453 by: Prashant Desai

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]


--



I'm trying to write a script that will watch for incoming mail and send out
a response when one arrives.  I've tried to spawn the script from .qmail but
it appears that qmail-inject refuses to accept input from my script when the
script is ran by qmail-local.  Any suggestions for how to write a script to
get around this problem?





On Fri, Feb 16, 2001 at 03:49:24AM -0800, David Cunningham wrote:
> I'm trying to write a script that will watch for incoming mail and send out
> a response when one arrives.  I've tried to spawn the script from .qmail but
> it appears that qmail-inject refuses to accept input from my script when the
> script is ran by qmail-local.

Please define "refuses". Doesn't execute? Gives an error? Siliently
discards mail?

> Any suggestions for how to write a script to
> get around this problem?

Use one of the auto-responders on http://www.qmail.org/top.html?

james
-- 
James Raftery (JBR54)
  "It's somewhere in the Red Hat district"  --  A network engineer's
   freudian slip when talking about Amsterdam's nightlife at RIPE 38.




 Reply to:   Re: 

Re: LWQ Init Script/qmail-pop3d

2001-02-17 Thread ari

Thanks Kris Kelly! (Re: qpop3 keeps alive!)

- Original Message -
From: "Kyle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 9:15 PM
Subject: Re: LWQ Init Script/qmail-pop3d


> Man, you just made my day ;)  It worked perfect, thanks a lot!
>
> Kyle
>
> --
> Kyle Knack
> Server Engineer - SkyNetWEB/Affinity Internet
> System Administrator - Only-Linux.Com
> [EMAIL PROTECTED]
> http://www.skynetweb.com
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: Kyle <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Friday, February 16, 2001 8:51 PM
> Subject: Re: LWQ Init Script/qmail-pop3d
>
>
> > I saw this too, put "exec" before tcpserver
> >
> >
> > - Original Message -
> > From: "Kyle" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, February 16, 2001 9:38 PM
> > Subject: LWQ Init Script/qmail-pop3d
> >
> >
> > > List,
> > >  I recently decided to move my qmail-pop3d process out of inetd on
> my
> > > RedHat 6.2 machine and under the control of daemontools like the rest
of
> > my
> > > qmail processes.  I installed semi-following LWQ, and making other
> changes
> > > as I went.  Daemontools and ucspi-tcp were installed from RPMs (if
that
> > > matters).  I stopped qmail, created a directory under /var/qmail/ for
> > > qmail-pop3d, and put in the necessary scripts (details at end of
> message).
> > > I am using the LWQ SysVinit scripts, and added appropriate lines for
> > > qmail-pop3d under the pause, cont, and restart sections.  Since the
> > > start/stop section just uses /var/qmail/supervise/* and
> > > /var/qmail/supervise/*/log , it didn't look like I'd need to add
> > qmail-pop3d
> > > there.  The problem is such:  All features of the scripts work fine
> except
> > > for start/stop.  If I issue 'qmail stop', it kills off everything
except
> > > qmail-pop3d.  What's worse is a few seconds later it restarts
> > > qmail-send/qmail-smtpd, so it's more or less a restart now.  I'm sure
I
> > > missed something, but I have no clue what.  Any ideas as to how to
make
> > > qmail-pop3d behave in this script like qmail-send and qmail-smptd do ?
> > TIA
> > >
> > > Kyle
> > >
> > > /var/qmail/supervise:
> > > drwxr-xr-x5 root root 4096 Feb 16 19:09 .
> > > drwxr-xr-x   11 root qmail4096 Feb 16 19:10 ..
> > > drwxr-xr-t4 root root 4096 Feb 16 19:21 qmail-pop3d
> > > drwxr-xr-t4 root root 4096 Nov 10 15:28 qmail-send
> > > drwxr-xr-t4 root root 4096 Feb 16 19:17 qmail-smtpd
> > >
> > > /var/qmail/supervise/qmail-pop3d:
> > > drwxr-xr-t4 root root 4096 Feb 16 19:21 .
> > > drwxr-xr-x5 root root 4096 Feb 16 19:09 ..
> > > drwxr-xr-x3 root root 4096 Feb 16 19:20 log
> > > -rwxr-xr-x1 root root  164 Feb 16 19:21 run
> > > drwx--2 root root 4096 Feb 16 19:34 supervise
> > >
> > > /var/qmail/supervise/qmail-pop3d/run:
> > > #!/bin/sh
> > >
> > > /usr/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
> > > mail.only-linux.com \
> > > /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir 2>&1
> > >
> > > (LWQ startup line, minus splogger (did I cut out too much?) and with
> > > checkpoppasswd insted of checkpasswd)
> > >
> > > Parts of /etc/rc.d/init.d/qmail:
> > >   start)
> > > echo -n "Starting qmail: svscan"
> > > cd /var/qmail/supervise
> > > env - PATH="$PATH" svscan &
> > > echo $! > /var/run/svscan.pid
> > > echo "."
> > > ;;
> > >   stop)
> > > echo -n "Stopping qmail: svscan"
> > > kill `cat /var/run/svscan.pid`
> > > echo -n " qmail"
> > > svc -dx /var/qmail/supervise/*
> > > echo -n " logging"
> > > svc -dx /var/qmail/supervise/*/log
> > > echo "."
> > > ;;
> > >   pause)
> > > echo "Pausing qmail-send"
> > > svc -p /var/qmail/supervise/qmail-send
> > > echo "Pausing qmail-smtpd"
> > > svc -p /var/qmail/supervise/qmail-smtpd
> > > echo "Pausing qmail-pop3d"
> > > svc -p /var/qmail/supervise/qmail-pop3d
> > > ;;
> > >   cont)
> > > echo "Continuing qmail-send"
> > > svc -c /var/qmail/supervise/qmail-send
> > > echo "Continuing qmail-smtpd"
> > > svc -c /var/qmail/supervise/qmail-smtpd
> > > echo "Continuing qmail-pop3d"
> > > svc -c /var/qmail/supervise/qmail-pop3d
> > > ;;
> > >   restart)
> > > echo "Restarting qmail:"
> > > echo "* Stopping qmail-smtpd."
> > > svc -d /var/qmail/supervise/qmail-smtpd
> > > echo "* Sending qmail-send SIGTERM and restarting."
> > > svc -t /var/qmail/supervise/qmail-send
> > > echo "* Restarting qmail-smtpd."
> > > svc -u /var/qmail/supervise/qmail-smtpd
> > > echo "* Restarting qmail-pop3d."
> > > svc -u /var/qmail/supervise/qmail-pop3d
> > > ;;
> > >
> > >
> > > --
> > > Kyle Knack
> > > Server Engineer - SkyNetWEB/Affinity Internet
> > > [EMAIL PROTECTED]

Re: qmail-ldap and courier-imap & authentication ?

2001-02-17 Thread Prashant Desai



dennis wrote:

> Hi all..
>
> Can anyone suggest an authentication scheme for courier-imap when using
> qmail-ldap ?

  obviously you will use ldap for authentication because password should
be
same for pop-3 and imap , isnt it ?

>
>
> How should I compile authentication into ciourier if qmail-ldap is going to
> handle authentication via ldap ?
>

  you just have to install openldap SDK on the same mechine on which you
are
planning to install courier-imap , and run ./configure
  make ,
make
install
it will get compiled with ldap authentication support , if not , then
you may
have to edit some paths in makefile of courier-imap




>
> Dennis



Re: Domain Gateway/Relay Was: Newbie Help

2001-02-17 Thread Mario Thaten

* On 02/16/01 23:49 [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:

> internet  qmail
> | |
> | |
> ---
>   |
>   |
>firewall
>   |
>   |   192.168.x.x
> --
>   |
>   Exchange Server
> 
> 
>   What I would like to do is have the qmail server out on the internet
> hold all email for my domain for the Exchange server to pick up. I don't
> think the qmail server can forward directly to the Exchange server
> through the server because its IP address is private and nonroutable. I
> prefer - for security reasons - to have the Exchange server initiate
> opening a connection to the qmail server. Maybe I'm way off base on
> this, comments are most welcome. What I don't know how to do is config
> qmail to hold all the email for my domain users and let the Exchange
> server make a mail run to pick it all up. Configuring Exchange is easy
> enough - it's already working with my ISP... Any help is greatly
> appreciated!!

If you have access to the firewall, you might consider ip routing
resp. packet redirection, else ip tunneling from the qmail server
through the firewall might be possible. These ideas are for the
Qmail server to directly forward the mails for your domain to the
Exchange server which is, from my point of view, preferable.

Greetz, Mario

-- 
 .~.Mario Thaten ([EMAIL PROTECTED])
 /V\
/( )\   "There are just 2 rules in life:
 ^ ^ Always be yourself, but never mind to change."