qmail Digest 8 Feb 2001 11:00:01 -0000 Issue 1269

Topics (messages 56772 through 56843):

Selective relaying from internal network
        56772 by: John P
        56773 by: Matthew Patterson

Re: Strange messages in log
        56774 by: Noah Sematimba

Alias
        56775 by: Dennis
        56793 by: Alan R.
        56801 by: J�rgen Persson

Re: pop server setting passed/available in checkpoppasswd ?
        56776 by: Peter van Dijk
        56810 by: David Hasbrouck
        56812 by: Peter van Dijk

Roaming users and Courier IMAP
        56777 by: Gavin Cameron
        56783 by: Charles Cazabon
        56816 by: Jason Haar

Re: qmail speed solaris
        56778 by: Peter van Dijk

The problem with serialmail/qmail and dialup lines
        56779 by: Paulo Jan

Re: Sluggish SMTP
        56780 by: Chris Johnson
        56794 by: Timothy J. Z. Olow
        56799 by: Chris Johnson

compiling qmail-1.03 under SCO Open Server 5.05 and the UDK from SCO.
        56781 by: Jocelyn Clement
        56791 by: Uwe Ohse
        56797 by: Mark Delany

Re: QMail not relaying
        56782 by: Charles Cazabon

relaying restrictions
        56784 by: bmcalpine.macconnect.com
        56785 by: Chris Johnson

Reliable fetching of email
        56786 by: John P
        56787 by: John P

Stress test for qmail?
        56788 by: Marcus Korte

multi-thread
        56789 by: Jacques <Frip'> WERNERT
        56790 by: Peter van Dijk
        56796 by: Uwe Ohse
        56800 by: Jacques <Frip'> WERNERT
        56834 by: Bruce Guenter
        56835 by: Jason Haar
        56838 by: Jacques <Frip'> WERNERT

Re: lwq & freebsd
        56792 by: Kris Kelley

Re: thanks for you answer my question!but it is none used.
        56795 by: Uwe Ohse

Re: logging to console and log files
        56798 by: Uwe Ohse

Supervise without multilog.
        56802 by: Peter Brezny
        56805 by: Uwe Ohse

MX records in djb docs
        56803 by: Peter van Dijk
        56804 by: Peter van Dijk

SMTP authentication
        56806 by: Matt Simonsen
        56807 by: Rick Updegrove
        56808 by: Enrique Vadillo
        56809 by: Kevin Bucknum
        56811 by: Marc Knoop
        56837 by: Michail A.Baikov

tcp.smtp file
        56813 by: bmcalpine.macconnect.com
        56814 by: Laurence Brockman
        56819 by: Chris Johnson
        56827 by: Andy Bradford

Re: to supervise or not to supervise
        56815 by: Rahsheen Porter
        56829 by: Antonio Dias

Regenerating qmail
        56817 by: Herbie
        56821 by: Laurence Brockman

high volume server configurations
        56818 by: Sid Wilroy
        56820 by: Peter van Dijk

linux client , Windows 2000 SMTP server
        56822 by: chris.inlandcoatings.com
        56843 by: Henning Brauer

virtual pop e-mails
        56823 by: Alex

Envelope HELO and Received header
        56824 by: Curtis Coleman

pam_smb ?
        56825 by: Dennis

i only want act  like yahoo mail do?have there a safe method to solve this 
problem--qmail-scanner or qtools?
        56826 by: dick

anybody know howto make 3 virtual domain in the one machine,and each virtualdomain not 
use the fullname(mean username is [EMAIL PROTECTED])??
        56828 by: dick

Do I need to restart anything in QMail if I make changes to the control files?
        56830 by: Martin Searancke
        56839 by: Uwe Ohse
        56840 by: Peter Cavender

qmail problem with receiving email
        56831 by: The Afif

unable to acquire log/supervise/lock ?? HELP !!
        56832 by: Dennis

Re: anybody know howto make 3 virtual domain in the one machineSNIP
        56833 by: dick

autoresponder sometimes work...sometimes not
        56836 by: Yee Siew Chin

Re: recordio + awk
        56841 by: Jim Breton

451 qq Crashed
        56842 by: Mark Lo

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 have a Qmail server that runs on a network of Windows PC's, all on
10.0.0.* and masqueraded behind a Linux router box that serves everything on
a single public IP address. This linux router portforwards ports 25 and 110
on the external IP to the internal Qmail box.

I don't currently have DNS working (properly) on the internal network, and
the windows PC's all find each other by NetBIOS broadcasts..

So (the Qmail bit) If I want Qmail to accept incoming SMTP connections from
any of the 'inside' Windows PC's, do I have to add 10.0.0. to /etc/tcp.smtp
(as detailed in LWQ/Chris Johnson's document)? I am not in the office so I
can't currently test it, and I don't want to have to talk a user through
doing it ;-)

I have external relaying working fine from my own 'at home' IP address.

Cheers
John






On Wed, 07 Feb 2001, John P wrote:
>I have a Qmail server that runs on a network of Windows PC's, all on
>10.0.0.* and masqueraded behind a Linux router box that serves everything on
>a single public IP address. This linux router portforwards ports 25 and 110
>on the external IP to the internal Qmail box.
>
>I don't currently have DNS working (properly) on the internal network, and
>the windows PC's all find each other by NetBIOS broadcasts..
>
>So (the Qmail bit) If I want Qmail to accept incoming SMTP connections from
>any of the 'inside' Windows PC's, do I have to add 10.0.0. to /etc/tcp.smtp
>(as detailed in LWQ/Chris Johnson's document)? I am not in the office so I
>can't currently test it, and I don't want to have to talk a user through
>doing it ;-)
>
>I have external relaying working fine from my own 'at home' IP address.
>
>Cheers
>John

you should have 10.0.0. in /etc/tcp.smtp regardless of whether dns works or not. also, 
until you get dns working for the internal computers, you can either:
1. set up the netbios portion of samba on the qmail box.
2. set up a wins server (if you have a spare NT server)
3. add 'mail.whatever.domain    qmail.internal.ip.address' to c:\windows\hosts (plain 
text) either manually, with a batch file or as part of a logon script for the client
machines.

-- 
***********************************
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***********************************




I got this on my first install of qmail please do 
cd /var/qmail/configure
./config
and then resdtart your qmail daemon.

On Thu, 25 Jan 2001, Marcus Korte wrote:

> Dear all,
> 
> I got after startup of qmail (setup regarding to LWQ) many of the following
> messages in 
> /var/log/qmail/current:
> 2001-01-25 13:22:29.687206500 alert: cannot start: unable to read controls
> 
> Does anybody know the root cause of the problem?
> 
> Which files do you need to analyze this problem?
> 
> Regards,
> Marcus
> 
> -- 
> Sent through GMX FreeMail - http://www.gmx.net
> 
> 





Stupid question but I'll ask it anyway...

I have an email account setup as "[EMAIL PROTECTED]"

If I want to alias "[EMAIL PROTECTED]" to "[EMAIL PROTECTED]" do I just
add a .qmail-john to the users ~homedir ?

Dennis





Dennis,

You have to create a file .qmail-john in the "alias" account (usually
/var/qmail/alias/)
with the following line:

&[EMAIL PROTECTED]

This is a very simple question, read some docummentation to learn more.

Alan R.

-----Original Message-----
From: Dennis [mailto:[EMAIL PROTECTED]]
Sent: quarta-feira, 7 de fevereiro de 2001 10:00
To: [EMAIL PROTECTED]
Subject: Alias


Stupid question but I'll ask it anyway...

I have an email account setup as "[EMAIL PROTECTED]"

If I want to alias "[EMAIL PROTECTED]" to "[EMAIL PROTECTED]" do I just
add a .qmail-john to the users ~homedir ?

Dennis






On Wed, Feb 07, 2001 at 11:00:08PM +1100, Dennis wrote:
> Stupid question but I'll ask it anyway...
> 
> I have an email account setup as "[EMAIL PROTECTED]"
> 
> If I want to alias "[EMAIL PROTECTED]" to "[EMAIL PROTECTED]" do I just
> add a .qmail-john to the users ~homedir ?
> 
> Dennis
> 

  echo [EMAIL PROTECTED] > ~alias/.qmail-john

Jörgen




On Fri, Feb 02, 2001 at 02:44:54AM -0600, David Hasbrouck wrote:
[snip]
> The way we see this being done is to read in the POP3 server name
> during the checkpoppasswd program and look in that directory for the
> corresponding password file.

What do you mean by 'the POP3 server name'?

Greetz, Peter.




Hello Peter,

Wednesday, February 07, 2001, 6:13:40 AM, you wrote:

> On Fri, Feb 02, 2001 at 02:44:54AM -0600, David Hasbrouck wrote:
> [snip]
>> The way we see this being done is to read in the POP3 server name
>> during the checkpoppasswd program and look in that directory for the
>> corresponding password file.

> What do you mean by 'the POP3 server name'?

In the email program, you enter

mail.yourdomain.com   or
yourdomain.com

as the POP3/Incoming Email setting to retrieve emails.  I am trying to
find a way to get that setting in order to break up the password file
better, allowing the same "pop username" (ie:  webmaster) across
multiple domains.

Thanks.

Best regards,
 David                            mailto:[EMAIL PROTECTED]






On Wed, Feb 07, 2001 at 01:46:55PM -0600, David Hasbrouck wrote:
[snip]
> In the email program, you enter
> 
> mail.yourdomain.com   or
> yourdomain.com
> 
> as the POP3/Incoming Email setting to retrieve emails.  I am trying to
> find a way to get that setting in order to break up the password file
> better, allowing the same "pop username" (ie:  webmaster) across
> multiple domains.

You can find out what IP they're connecting to, and what name you have
assigned as a reverse to that IP in your own DNS. Nothing more.

Greetz, Peter.




Hi all,

I currently have my system setup so that roaming users can use smtp after
POP3 to relay through the mail server.

We would also like to allow roaming IMAP server to use the server for
relaying. Does anyone have a small program/script that I can slot into
couriertcpd that will update smtpd's tcpserver access file after a
successful IMAP login?

Thanks in advance,
Gavin





Gavin Cameron <[EMAIL PROTECTED]> wrote:
> 
> I currently have my system setup so that roaming users can use smtp after
> POP3 to relay through the mail server.
> 
> We would also like to allow roaming IMAP server to use the server for
> relaying. Does anyone have a small program/script that I can slot into
> couriertcpd that will update smtpd's tcpserver access file after a
> successful IMAP login?

Bruce Guenter's relay-ctrl can do exactly this, for POP3 and Courier IMAP.

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




On Wed, Feb 07, 2001 at 11:30:25PM +1100, Gavin Cameron wrote:
> Hi all,
> 
> I currently have my system setup so that roaming users can use smtp after
> POP3 to relay through the mail server.
> 
> We would also like to allow roaming IMAP server to use the server for
> relaying. Does anyone have a small program/script that I can slot into
> couriertcpd that will update smtpd's tcpserver access file after a
> successful IMAP login?

Instead of such kludges, why not implement ESMTP AUTH instead? There are
patches available via www.qmail.org that allow this. That way your users can
relay mail independently of the order (i.e. they can even relay Email
without checking via POP/IMAP first).

Naturally, the Courier SMTP server natively supports AUTH (and STARTTLS for
that matter)

AUTH kicks ass ;-)

-- 
Cheers

Jason Haar

Unix/Special Projects, Trimble NZ
Phone: +64 3 9635 377 Fax: +64 3 9635 417




On Fri, Feb 02, 2001 at 08:00:38PM +0100, Michael Maier wrote:
[snip]
> Yes I did. I don't answer to lame Questions because I can figure this
> Point out my own, sorry.

No you can't. You're way too stupid for it.

You don't deserve any help from us.

Greetz, Peter [please do not reply/follow-up]




Hi all:

        First of all, thanks to all those who responded to my question
regarding "System crash". Time to upgrade the Linux kernel, I guess...
        I have now another problem, related this time with serialmail and the
old topic of messages-addressed-to-several-users-sent-separately. I have
recently installed AutoTURN for a customer that was using sendmail in
their local Linux proxy/mail server until now, and whose connection to
us is an ISDN dial-up line. Things are working OK so far... except that
these customer's users need to send often large attachments (1-5 Mb.),
each of them to several people. Given qmail's way of dealing with
multi-recipient mails, this means that my customer's messages are taking
longer to reach me.
        I am aware of the causes behind this design decision taken in qmail,
and I know that this subject has been beaten to death in this list; what
I haven't seen yet, though, is a solution to this particular case I'm
talking about. I've been in this list, on and off, for about two years,
and I have seen the issue discussed several times, but have never seen a
solution for this particular case (customer on a dialup line, sending
large mails to several people). Has anyone come up with a way to deal
with this situation? Or is this one of the cases where other MTAs could
actually have done a better job?



                                                Paulo Jan.
                                                DDnet.




On Wed, Feb 07, 2001 at 12:43:53AM -0500, Timothy J. Z. Olow wrote:
> When trying to connect to the remote box via the telnet command to port 25 it
> connects within seconds but, the banner does not appear for a good 40
> seconds.

This is almost certainly due to DNS problems or ident lookups timing out. You
should look into the -R, -H, and -l (that's an ell) options to tcpserver. And
check the list archives; this question comes up at least a couple of times a
week.

> I have also tryed to use the -F option, but this does not seem to be making
> the problem go away.

The -F option to what? What is it supposed to do?

Chris




Is there any reason that qmail does this?  I use inet now, I must have been
confused with the -R because I thought you would put that in with the inet
config for qmail.  Is the only solution to switch to tcpserver?  What kind
of conversion from Inet is there?

Tim

-----Original Message-----
From: Chris Johnson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 9:05 AM
To: Timothy J. Z. Olow
Cc: [EMAIL PROTECTED]
Subject: Re: Sluggish SMTP


On Wed, Feb 07, 2001 at 12:43:53AM -0500, Timothy J. Z. Olow wrote:
> When trying to connect to the remote box via the telnet command to port 25
it
> connects within seconds but, the banner does not appear for a good 40
> seconds.

This is almost certainly due to DNS problems or ident lookups timing out.
You
should look into the -R, -H, and -l (that's an ell) options to tcpserver.
And
check the list archives; this question comes up at least a couple of times a
week.

> I have also tryed to use the -F option, but this does not seem to be
making
> the problem go away.

The -F option to what? What is it supposed to do?

Chris





On Wed, Feb 07, 2001 at 11:17:56AM -0500, Timothy J. Z. Olow wrote:
> Is there any reason that qmail does this?

qmail-smtpd doesn't do anything but talk SMTP and queue mail. If there are DNS
lookups going on or ident requests being made, qmail-smtpd has nothing to do
with it; whatever process listens to the network and executes qmail-smtpd for
SMTP connections does the DNS-looking-up and ident-requesting. In your case
this is inetd, and how you keep inetd from doing this I have no idea. You could
also track down the DNS problem that's causing this and fix it.

> I use inet now, I must have been confused with the -R because I thought you
> would put that in with the inet config for qmail.  Is the only solution to
> switch to tcpserver?  What kind of conversion from Inet is there?

tcpserver works better, and will be much better supported by this mailing list.
http://www.lifewithqmail.org covers setting up qmail-smtpd with tcpserver very
nicely. It's also covered in the FAQ:
http://cr.yp.to/qmail/faq/servers.html#tcpserver-smtpd

Chris




 Hi...!

     I have very much difficulties compiling qmail-1.03.

This is it: I ran the "make setup check" and it generates an error
message on the "qmail-local.c" saying that there is no definition
of the "timestruct_t" in the "stat.h"         file.

 I am using the SCO development system.

 Please share with us ALL the information you could possibly have on
hand on  "How to" compile qmail under SCO Open Server 5.05

     Thank you guys.

     Jocelyn B. Clement







On Wed, Feb 07, 2001 at 09:17:10AM -0500, Jocelyn Clement wrote:
 
> This is it: I ran the "make setup check" and it generates an error
> message on the "qmail-local.c" saying that there is no definition
> of the "timestruct_t" in the "stat.h"         file.
> 
>  I am using the SCO development system.
> 
>  Please share with us ALL the information you could possibly have on
> hand on  "How to" compile qmail under SCO Open Server 5.05

well, i'm actually only cursed with one last 5.0.2 system without 
any working development system, but ...
1. please quote the full error message. "timestruct_t" doesn't 
   sound familiar, and i suspect you meant "struct times" or
   something like that, and stat.h is really sys/stat.h, i think.
2. don't try it at all. Judging from past experiences: this will
   not be the last error message you'll see, and if you manage
   to compile it at all you'll never get a stable mail system
   of SCO 5.x anyway.
3. try including time.h or sys/time.h in qmail-local.c, just
   before the inclusion of stat.h. If i remember correctly.
4. move to OpenBSD or Linux.

Regards, Uwe




On Wed, Feb 07, 2001 at 04:08:38PM +0000, Uwe Ohse wrote:
> On Wed, Feb 07, 2001 at 09:17:10AM -0500, Jocelyn Clement wrote:
>  
> > This is it: I ran the "make setup check" and it generates an error
> > message on the "qmail-local.c" saying that there is no definition
> > of the "timestruct_t" in the "stat.h"         file.
> > 
> >  I am using the SCO development system.
> > 
> >  Please share with us ALL the information you could possibly have on
> > hand on  "How to" compile qmail under SCO Open Server 5.05
> 
> well, i'm actually only cursed with one last 5.0.2 system without 
> any working development system, but ...

I'm with Uwe on this front. My experiences with qmail/tcpserver on SCO
(sorry don't know the exact version now) were anything but fun. When
you finally compile it, you'll want to search the archives for SCO - I
vaguely recall posting something on this regarding the need for
tcpserver -o.


Regards.




[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> We have our server set to relay if the message comes from a user with an IP
> address in our list of acceptable IP addresses.  We have the tcp.smtp
> database set up correctly as far as we can see, but yet, when we start up
> qmail, it just queues up mail.  It doesn't reject any mail, it just stores it
> up in the queue, and doesn't deliver it.

Are you actually starting qmail?  It might be that you're only starting
qmail-smtpd, and therefore mail is accepted from the network and deposited
into the queue, but since the main qmail process isn't running, nothing
gets delivered from the queue.

Your main qmail logs will, in any case, show you why mail is or is not being
delivered.

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




Hi

If anyone could point me in the right direction I would appreciate it.  I
would like qmail to relay for a user if he/she comes from an allowable IP
address and/or from an allowable domain.  Right now the server is only
allowing relaying for people within allowable IP ranges and from one
specific domain.  Would I need the whole list of domains we host along with
their users corresponding ip address ranges in the tcp.smtp and
relaymailfrom files?

i would like to set relaying up based almost exclusively on ip address
ranges, with the exception of allowing relaying from one particular domain.

ideas?

thanks

brendan





On Wed, Feb 07, 2001 at 10:22:30AM -0500, [EMAIL PROTECTED] wrote:
> i would like to set relaying up based almost exclusively on ip address
> ranges, with the exception of allowing relaying from one particular domain.

Define "from one particular domain." What exactly does it mean for someone to
be "from" a domain?

Chris




Hi all,

I have a succesfully working Qmail with about 6 user accounts using Maildir
and SMTP/POP3 access. This works fine for 'internal' e-mails.

At the moment all our external mail (*@domain.com) is delivered to our
externally managed web+database server where it is manually grabbed by
clients using POP3. Certain e-mail addresses (eg. [EMAIL PROTECTED]) are
forwarded on to our own personal e-mail accounts. This is because we only
have one POP3 account and our provider is very hesitant to add any more.
Obviously this system isn't ideal, especially as we have to keep getting
external POP3 accounts as we add more users!

I have set up a central Qmail server which is connected via an ADSL
connection on 'office.domain.com' - currently there are no MX records for
it, but I will add them. I was thinking of two ways of getting around this
problem and I would appreciate some advice on which is best.

1 - Forward all user mails to *@office.domain.com and have Qmail deliver
them to each user - but, our ADSL connection is a bit unreliable, and
sometimes the server will be 'off the internet' for an hour or so - could
this be a problem with the lack of a secondary etc.? Or could our webserver
be the secondary?

or 2- Have the Qmail server manually fetch the e-mails via POP3 at set
intervals.

How would I do option 2 with Qmail? Or have I got things completely wrong?

Cheers
John






Hi all,

I have a succesfully working Qmail with about 6 user accounts using Maildir
and SMTP/POP3 access. This works fine for 'internal' e-mails.

At the moment all our external mail (*@domain.com) is delivered to our
externally managed web+database server where it is manually grabbed by
clients using POP3. Certain e-mail addresses (eg. [EMAIL PROTECTED]) are
forwarded on to our own personal e-mail accounts. This is because we only
have one POP3 account and our provider is very hesitant to add any more.
Obviously this system isn't ideal, especially as we have to keep getting
external POP3 accounts as we add more users!

I have set up a central Qmail server which is connected via an ADSL
connection on 'office.domain.com' - currently there are no MX records for
it, but I will add them. I was thinking of two ways of getting around this
problem and I would appreciate some advice on which is best.

1 - Forward all user mails to *@office.domain.com and have Qmail deliver
them to each user - but, our ADSL connection is a bit unreliable, and
sometimes the server will be 'off the internet' for an hour or so - could
this be a problem with the lack of a secondary etc.? Or could our webserver
be the secondary?

or 2- Have the Qmail server manually fetch the e-mails via POP3 at set
intervals.

How would I do option 2 with Qmail? Or have I got things completely wrong?

Cheers
John





Hi,

after setting up a qmail server I would like to stress test it a little bit
to see how many mails the server could handle and to fine tune the
parameters.
At the moment everything is set to default values as on initial setup.

Any ideas/suggestions?
Are there some testing skripts available for such a purpose?

Thx.

Marcus

-- 
Sent through GMX FreeMail - http://www.gmx.net





Hello,

does anyone know if someone is working on a multithreaded release of
qmail-smtpd and or qmail-rspawn?

Regards

Frip'





On Wed, Feb 07, 2001 at 04:47:24PM +0100, Jacques <Frip'> WERNERT wrote:
> Hello,
> 
> does anyone know if someone is working on a multithreaded release of
> qmail-smtpd and or qmail-rspawn?

What do you mean?

Also, could you please start a new thread when stating a new question?
Thank you.

[Removed In-Reply-To to start new thread].

Greetz, Peter.




On Wed, Feb 07, 2001 at 04:47:24PM +0100, Jacques <Frip'> WERNERT wrote:
 
> does anyone know if someone is working on a multithreaded release of
> qmail-smtpd and or qmail-rspawn?

s/release/version/

As far as i know nobody does that right now. It might be fun, though.

Regards, Uwe




Hello

:))

ok, on my Solaris, the qmail distribution is "forking" almost 10 to 20
processes per second.

This cost a lot in system ressources and system calls

So I'm trying to work on a threaded qmail-rspawn to avoid so many forks

Frip'

----- Original Message ----- 
From: "Peter van Dijk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 5:03 PM
Subject: Re: multi-thread


> On Wed, Feb 07, 2001 at 04:47:24PM +0100, Jacques <Frip'> WERNERT wrote:
> > Hello,
> > 
> > does anyone know if someone is working on a multithreaded release of
> > qmail-smtpd and or qmail-rspawn?
> 
> What do you mean?
> 
> Also, could you please start a new thread when stating a new question?
> Thank you.
> 
> [Removed In-Reply-To to start new thread].
> 
> Greetz, Peter.
> 





On Wed, Feb 07, 2001 at 05:45:43PM +0100, Jacques <Frip'> WERNERT wrote:
> ok, on my Solaris, the qmail distribution is "forking" almost 10 to 20
> processes per second.
> 
> This cost a lot in system ressources and system calls

Are you kidding?  What kind of hardware are you using?  On my Celeron
PC, I can fork and exec 200 shared processes per second, and almost 300
staticly-linked processes per second.

> So I'm trying to work on a threaded qmail-rspawn to avoid so many forks

I'd be willing to bet it doesn't buy you enough to make it worth the
effort on most modern UNIX-type OSs.  It's also a rather large task, as
the existing code likely relies heavily on globals.
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature





On Thu, Feb 08, 2001 at 01:07:42AM -0600, Bruce Guenter wrote:
> On Wed, Feb 07, 2001 at 05:45:43PM +0100, Jacques <Frip'> WERNERT wrote:
> > ok, on my Solaris, the qmail distribution is "forking" almost 10 to 20
> > processes per second.
> > 
> > This cost a lot in system ressources and system calls
> 
> Are you kidding?  What kind of hardware are you using?  On my Celeron
> PC, I can fork and exec 200 shared processes per second, and almost 300
> staticly-linked processes per second.

Not all Unices are created equal...

Linux is extremely good at forking (in fact so good that it's threads
implementation is a special-case fork), whereas others are better at threads. 

If you look at where Apache is going (OS-specific optimizations to squeeze
the best out of each platform), it would certainly make sense to do a
threads version for some of the slower Unices...


...or simpler yet - stop using them... :-)


-- 
Cheers

Jason Haar

Unix/Special Projects, Trimble NZ
Phone: +64 3 9635 377 Fax: +64 3 9635 417




Hello

I'm using Solaris 7 E220/420 systems. I didn't say that my system can't
fork. I just said that it wastes a lot with all this forks. I have a high
volume server and I need to send over 1 million mails in few hours. So I'm
trying to find the best way to achieve this.

I've already built a qmail with 15 qmail-queues to have the best rate.

Regards

Frip'

----- Original Message -----
From: "Jason Haar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 8:19 AM
Subject: Re: multi-thread


> On Thu, Feb 08, 2001 at 01:07:42AM -0600, Bruce Guenter wrote:
> > On Wed, Feb 07, 2001 at 05:45:43PM +0100, Jacques <Frip'> WERNERT wrote:
> > > ok, on my Solaris, the qmail distribution is "forking" almost 10 to 20
> > > processes per second.
> > >
> > > This cost a lot in system ressources and system calls
> >
> > Are you kidding?  What kind of hardware are you using?  On my Celeron
> > PC, I can fork and exec 200 shared processes per second, and almost 300
> > staticly-linked processes per second.
>
> Not all Unices are created equal...
>
> Linux is extremely good at forking (in fact so good that it's threads
> implementation is a special-case fork), whereas others are better at
threads.
>
> If you look at where Apache is going (OS-specific optimizations to squeeze
> the best out of each platform), it would certainly make sense to do a
> threads version for some of the slower Unices...
>
>
> ...or simpler yet - stop using them... :-)
>
>
> --
> Cheers
>
> Jason Haar
>
> Unix/Special Projects, Trimble NZ
> Phone: +64 3 9635 377 Fax: +64 3 9635 417
>





Disclaimer: I don't use FreeBSD.

t_oo wrote:
> i've tryed to installed qmail 1.03 according "Life with qmail"
> http://www.lifewithqmail.org/lwq.html instructions on FreeBSD4.0, but
script
> /var/qmail/supervise/qmail-smtpd/run reporting errors:
>
> bash-2.03# /var/qmail/supervise/qmail-smtpd/run
> softlimit: usage: softlimit [-a allbytes] [-c corebytes] [-d databytes]
> [-f filebytes] [-l lockbytes]
> [-m membytes] [-o openfiles] [-p processes] [-r residentbytes] [-s
stackbytes]
> [-t cpusecs] child
>
> script /var/qmail/supervise/qmail-send/run reoprts:
>
> bash-2.03# /var/qmail/supervise/qmail-send/run
> env: illegal option -- P
> usage: env [-] [-i] [name=value ...] [command]
>
> scripts:
>
> ------------------------------
> /var/qmail/supervise/qmail-smtpd/run script
> ------------------------------
>
> #!/bin/sh
>
> QMAILDUID=`id -u qmaild`
>
> NOFILESGID=`id -g qmaild`
>
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
>
> exec /usr/local/bin/softlimit -m 2000000 \
>
>     /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
>
>         -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1

Do you really have an extra line break between each line of this script?  If
so, there's your problem.  Remove the extra line breaks, or at least just
the ones after "exec", and you should be alright.

> ------------------------------------
> /var/qmail/supervise/qmail-send/run script
> -----------------------------------
> #!/bin/sh
>
> exec /var/qmail/rc

This merely calls another script, /var/qmail/rc.  You'll have to check the
contents of that script to find where the error is.  Incidentally, it looks
like you have an extra line-break here too, though in this case it's not
hurting anything.

---Kris Kelley





On Wed, Feb 07, 2001 at 10:51:48AM +0800, dick wrote:

> i add these codes in the end of qmail-smtpd.c.but it won't work.
> can't you tell me how can i do it!
> (by the way, i don't know how to patch the qmail-queue.c or qmail-smtpd.c.only add 
>these code into blast?)

Yes, at the end of the blast function.
Note: if you don't know how to do that then please look for an
experienced C programmer. You'll most possibly want to change the
text, and doing that correctly isn't a task for a C beginner.

You'll want to add this to qmail-smtpd.c if you want to attach
a text to all messages coming in through SMTP. If you want to
do that to really all messages, even messages generated on your
system, then i'd change qmail-queue.c (somewhere in the middle
of the main function). In that case you'll possibly end up needing
some more changes to make sure that the text is added only once
(a single mail might pass through qmail-remote many times).

In any case i think that you possibly should talk to a lawyer. You
should do that in case you corrupt some message i send to someone
on or behind your system, that someone tells me about it and i'm
in bad mood.
What do you want to achieve?

Regards, Uwe




On Wed, Feb 07, 2001 at 07:16:59AM +0000, Tim Hassan wrote:
 
> I actually liked that very much (if server is physically restricted) but 
> there is one draw back; nothing will be logged to log/current.
> Therefore, I wandered if there is a way to have supervise log to both 
> console and to qmail-send/log and/or qmail-smtpd/log. 

change /var/qmail/supervise/qmail-send/log/run to include
        exit 2>/dev/console
and change to multilog invocation in the same script from
        multilog \
        options \
        /whereever/qmail-send/log
to
        multilog \
        options \
        /whereever/qmail-send/log \
        +* \
        e

in other work: make use of the "e" option of the multilog process.
See http://cr.yp.to/daemontools/multilog.html for more information.

I'd actually hate that.

Regards, Uwe




I'd like to run supervise, but i would prefer the logging still take place
in /var/log/maillog.

I've read over the examples on lifewithqmail.org and
http://matt.simerson.net/computing/qmail.toaster.shtml, but each use
multilog.

If anyone has a startup script, for qmail they would like to share (or just
advice) that would be great.

For example, could i just leave my /var/qmail/rc file as is and omit the
portions regarding multilog in the qmail startup scripts give in the
examples above?

Here's my qmail/rc

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir splogger qmail&

Thanks for your help.

Peter Brezny
SysAdmin Services Inc.





On Wed, Feb 07, 2001 at 11:57:34AM -0500, Peter Brezny wrote:
 
> I'd like to run supervise, but i would prefer the logging still take place
> in /var/log/maillog.

you are mistaken.

 
> For example, could i just leave my /var/qmail/rc file as is and omit the
> portions regarding multilog in the qmail startup scripts give in the
> examples above?

then chmod -t the supervised directory and reboot.

> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start ./Maildir splogger qmail&

or put this in your supervised-service/log/run file:
        #! /bin/sh
        /var/qmail/bin/splogger qmail

Regards, Uwe 




Why do the MX records in the example at
http://cr.yp.to/djbdns/tinydns-data.html have no preferences?

Greetz, Peter.




On Wed, Feb 07, 2001 at 06:59:48PM +0100, Peter van Dijk wrote:
> Why do the MX records in the example at
> http://cr.yp.to/djbdns/tinydns-data.html have no preferences?

Hrm. Wrong list.

Greetz, Peter.




Is it possible/adviseable to run a Qmail server to authenticate all relay
SMTP traffic so that we can leave the relay open but not allow spammers
access? I have Qmail running with Courier IMAP server, my problem is that we
have some users with laptops who travel and use different ISPs out of the
office and would not be able to get email through out SMTP server. To ask
them to change settings may be too much. I have thought of setting up 2
Outlook profiles for them with different outgoing mail servers, but I am
hoping there is a way to allow their traffic through via a username and
password combo.

Thanks
Matt





Matt Simonsen wrote:

> Is it possible/adviseable to run a Qmail server to authenticate all relay
> SMTP traffic so that we can leave the relay open but not allow spammers
> access? I have Qmail running with Courier IMAP server, my problem is that
we
> have some users with laptops who travel and use different ISPs out of the
> office and would not be able to get email through out SMTP server. To ask
> them to change settings may be too much. I have thought of setting up 2
> Outlook profiles for them with different outgoing mail servers, but I am
> hoping there is a way to allow their traffic through via a username and
> password combo.
>
> Thanks
> Matt

I reccomend the POP before SMTP authentication
http://inter7.com/vpopmail/

If you are making vpopmail for roaming users to be able to relay
through your smtp server after the authenticate with pop do:

    $ su
    # ./configure --enable-roaming-users=y
    # make
    # make install-strip

I hope that helps

Rick Up






I got exactly the same problem, the only thing i could do for now is
to give them a webmail frontend but most people are very used to sending
mail using their favorite mail programs.

anyone here know any way this can be done? i use qmail on solaris,
i'm open to any ideas.

iPass has no information on this even though it's very related to their
business.

Enrique-

|o| ---- Matt Simonsen escribió ----
|o| Is it possible/adviseable to run a Qmail server to authenticate all relay
|o| SMTP traffic so that we can leave the relay open but not allow spammers
|o| access? I have Qmail running with Courier IMAP server, my problem is that we
|o| have some users with laptops who travel and use different ISPs out of the
|o| office and would not be able to get email through out SMTP server. To ask
|o| them to change settings may be too much. I have thought of setting up 2
|o| Outlook profiles for them with different outgoing mail servers, but I am
|o| hoping there is a way to allow their traffic through via a username and
|o| password combo.
|o| 
|o| Thanks
|o| Matt




Have you checked the www.qmail.org page?  Several methods listed
there - pop before smtp has already been mentioned, and I use smtp
auth at my site without any problems.

-----Original Message-----
From: Enrique Vadillo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 1:40 PM
To: Matt Simonsen
Cc: [EMAIL PROTECTED]
Subject: Re: SMTP authentication


I got exactly the same problem, the only thing i could do for now is
to give them a webmail frontend but most people are very used to
sending
mail using their favorite mail programs.

anyone here know any way this can be done? i use qmail on solaris,
i'm open to any ideas.

iPass has no information on this even though it's very related to
their
business.

Enrique-

|o| ---- Matt Simonsen escribió ----
|o| Is it possible/adviseable to run a Qmail server to authenticate
all relay
|o| SMTP traffic so that we can leave the relay open but not allow
spammers
|o| access? I have Qmail running with Courier IMAP server, my problem
is that we
|o| have some users with laptops who travel and use different ISPs out
of the
|o| office and would not be able to get email through out SMTP server.
To ask
|o| them to change settings may be too much. I have thought of setting
up 2
|o| Outlook profiles for them with different outgoing mail servers,
but I am
|o| hoping there is a way to allow their traffic through via a
username and
|o| password combo.
|o|
|o| Thanks
|o| Matt






On Wed, Feb 07, 2001 at 11:36:03AM -0800, Rick Updegrove wrote:
> 
> I reccomend the POP before SMTP authentication
> http://inter7.com/vpopmail/

I too use the above.  It works well and most MUA's have to option to 'check mail 
before sending' which is what you'd want.

Too bad it doesn't work with IMAP. :(

-- 
./mk




Qmail support SMTP Authorization (RFC2554) ?


----- Original Message -----
From: "Enrique Vadillo" <[EMAIL PROTECTED]>
To: "Matt Simonsen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 07, 2001 10:40 PM
Subject: Re: SMTP authentication


> I got exactly the same problem, the only thing i could do for now is
> to give them a webmail frontend but most people are very used to sending
> mail using their favorite mail programs.
>
> anyone here know any way this can be done? i use qmail on solaris,
> i'm open to any ideas.
>
> iPass has no information on this even though it's very related to their
> business.
>
> Enrique-
>
> |o| ---- Matt Simonsen escribió ----
> |o| Is it possible/adviseable to run a Qmail server to authenticate all
relay
> |o| SMTP traffic so that we can leave the relay open but not allow
spammers
> |o| access? I have Qmail running with Courier IMAP server, my problem is
that we
> |o| have some users with laptops who travel and use different ISPs out of
the
> |o| office and would not be able to get email through out SMTP server. To
ask
> |o| them to change settings may be too much. I have thought of setting up
2
> |o| Outlook profiles for them with different outgoing mail servers, but I
am
> |o| hoping there is a way to allow their traffic through via a username
and
> |o| password combo.
> |o|
> |o| Thanks
> |o| Matt





What is the proper format for the tcp.smtp file in regards to multiple class
c networks.  For example

209.168.128-143.:allow,RELAYCLIENT=""

Is this correct for all the networks between 209.168.128.* and 209.168.143.*
or do we need to have individual entries as follows:

216.168.128.:allow,RELAYCLIENT=""
216.168.129.:allow,RELAYCLIENT=""
etc.
etc.

Brendan





>From what I've been told, individual entries.

Laurence

--
Laurence Brockman
Unix Administrator
Videon Cablesystems Alberta Inc
10450-178 St.
Edmonton, AB
T5S 1S2
[EMAIL PROTECTED]
(780) 486-6527


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 1:11 PM
To: [EMAIL PROTECTED]
Subject: tcp.smtp file


What is the proper format for the tcp.smtp file in regards to multiple class
c networks.  For example

209.168.128-143.:allow,RELAYCLIENT=""

Is this correct for all the networks between 209.168.128.* and 209.168.143.*
or do we need to have individual entries as follows:

216.168.128.:allow,RELAYCLIENT=""
216.168.129.:allow,RELAYCLIENT=""
etc.
etc.

Brendan

application/ms-tnef





On Wed, Feb 07, 2001 at 03:11:28PM -0500, [EMAIL PROTECTED] wrote:
> What is the proper format for the tcp.smtp file in regards to multiple class
> c networks.  For example
> 
> 209.168.128-143.:allow,RELAYCLIENT=""
> 
> Is this correct for all the networks between 209.168.128.* and 209.168.143.*

Yes, this is correct. See http://cr.yp.to/ucspi-tcp/tcprules.html

It would be helpful if, when you want to post a message that's unrelated to any
existing thread, you didn't reply to an unrelated message in an existing thread
and then just change the subject. It causes your message to be attached to a
thread it has nothing to do with, and increases the chances of its not being
seen.

Chris




Thus said "[EMAIL PROTECTED]" on Wed, 07 Feb 2001 15:11:28 EST:

> What is the proper format for the tcp.smtp file in regards to multiple class
> c networks.  For example
> 
> 209.168.128-143.:allow,RELAYCLIENT=""

This seems to be consistent with 
http://cr.yp.to/ucspi-tcp/tcprules.html in the ``Address ranges'' 
section:

    tcprules treats 1.2.3.37-53:ins as an abbreviation for the
    rules 1.2.3.37:ins, 1.2.3.38:ins, and so on up through
    1.2.3.53:ins. Similarly, 10.2-3.:ins is an abbreviation
    for 10.2.:ins and 10.3.:ins.

So, it looks like you can do entire CIDR blocks by specifying a range.  
There is no need for individual entries.

Andy
-- 
[-----------[system uptime]--------------------------------------------]
  6:47pm  up 97 days, 21:07,  5 users,  load average: 1.10, 1.16, 1.11






Greg White wrote:
> 
> On Tue, Feb 06, 2001 at 05:16:36PM -0500, Peter Brezny wrote:
> > our new qmail install is started simply by
> >
> > exec env - PATH="/var/qmail/bin:$PATH" \
> > qmail-start ./Maildir splogger qmail&
> >
> > however I've noticed a lot of people using daemontools and supervise.
> >
> > What are the primary advantages of using supervise?
> 
> My personal thoughts:
> 
> 1. multilog. multilog uses a lot less overhead than syslog, and does
> not listen on the network, and so is not vulnerable to remote DoS or
> exploit. It's self-rotating (configurable), and uses a super-accurate
> timestamp (although the timestamp is not _that_ relevant to me
> personally).
> 
> 2. Unification with other djb-ware, especially djbdns. Personally, I'd
> just love it if sshd could log to STDOUT, and that way most of my hosts
> would use supervise for _all_ the important processes. ;)

I'm pretty positive the latest ver of OpenSSH does this. There was
something
on the list recently about it. I think I'm using a patch provided during
that thread though. (OpenSSH_2.3.0p1)

/service/sshd/run:
#!/bin/sh
exec 2>&1
exec env - tcpserver -H -R -v -p -l0 -c10 0 ssh \
        /usr/local/sbin/sshd -f /usr/local/etc/sshd_config -i 

> 3. Simple process control. Downing all supervised processes is as simple
> as 'svc -d /service/*/log ; svc -d /service/*'. Gotta like that.
> 

I thought you could just do:
svc -d /service/* /service/*/log

I think the actual processes should go down first so you don't lose any
log
info. 

You can also restart everything in the same way with the -t flag. I use
that a lot.

I currently have about 13 things running out of /service via svscan.
It's a great 
util. I even have portsentry and courier-imap running using it.

---Rahsheen






On Wed, 7 Feb 2001, Rahsheen Porter wrote:
> I'm pretty positive the latest ver of OpenSSH does this. There was
> something
> on the list recently about it. I think I'm using a patch provided during
> that thread though. (OpenSSH_2.3.0p1)

This off-topic here but you can get a patch here:
http://storm.sst.com.br/openssh-2.3.0p1-daemontools.diff

I made that patch using routines already in the code. All that it do is
insert a new toggle (-t) that enables inetd mode (daemon doesn't fork to
background) and enables stderr logging. The CVS version of sshd.c
implements a -D switch meaning "don't fork to background" but it lacks
support to stderr logging. I'm using it like this:

root@storm:~> cd /service/sshd
root@storm:/service/sshd> cat run
#!/bin/sh
exec 2>&1
exec softlimit -d300000 tcpserver -vDRHl0 -x tcp.cdb 0 ssh /usr/sbin/sshd
-t
root@storm:/service/sshd> cd log
root@storm:/service/sshd/log> cat run
#!/bin/sh
exec setuidgid log multilog t ./main
root@storm:/service/sshd/log>

Here is a sample of main/current:

@400000003a7ef9772ed9a124 tcpserver: status: 1/40
@400000003a7ef9772edb896c tcpserver: pid 31274 from 200.223.199.3
@400000003a7ef9772f59aa7c tcpserver: ok 31274 0:200.223.199.5:22 :200.223.199.3::1011
@400000003a7ef97730f633dc sshd: Generating 768 bit RSA key.
@400000003a7ef97734e340d4 sshd: RSA key generation complete.
@400000003a7ef97b1571c8c4 sshd: Accepted password for ROOT from 200.223.199.3 port 
1011 ssh2
@400000003a7ef9b511cc638c tcpserver: end 31274 status 65280
@400000003a7ef9b511cc8a9c tcpserver: status: 0/40

The patch is ugly because I'm not a C expert but it works.

Antonio Dias





Hi all,
        I'm stuck with a problem. I'm trying to run qmail on multiple
machines, with the maildirs and the binaries on one NFS server. 

Basically all that's local under /var/qmail is control, queue and
supervise all the rest is common to all machines.

My problem is re-creating the queue something seems to go wrong. I took a
virgin queue directory and copied it to the NFS server so I could
replicate it at a later point. The named pipe 'trigger' in the 'lock'
directory I removed and recreate on each local machine and chowm it back
to qmails. 

This all seems to run the system looks ok, only messages aren't delivered
until qmail is stopped and restarted, any further messages after that are
held until you stop and restart again.

I have a feeling it may be to do with the lock directory, but I can't be
sure. Anyone done this succesfully?

Herbie 







We run the configs and the binaries on a filer, delivering to a different
mount point. The way that we did it (Because we didn't start off in this
configuration) was to build qmail, mount the source directory on each box,
do a make setup check and then to mount the binaries and configs in the
appropriate place (So the queue structure was created by doing the make
setup check).

HIH,
Laurence

--
Laurence Brockman
Unix Administrator
Videon Cablesystems Alberta Inc
10450-178 St.
Edmonton, AB
T5S 1S2
[EMAIL PROTECTED]
(780) 486-6527


-----Original Message-----
From: Herbie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 2:28 PM
To: [EMAIL PROTECTED]
Subject: Regenerating qmail


Hi all,
        I'm stuck with a problem. I'm trying to run qmail on multiple
machines, with the maildirs and the binaries on one NFS server. 

Basically all that's local under /var/qmail is control, queue and
supervise all the rest is common to all machines.

My problem is re-creating the queue something seems to go wrong. I took a
virgin queue directory and copied it to the NFS server so I could
replicate it at a later point. The named pipe 'trigger' in the 'lock'
directory I removed and recreate on each local machine and chowm it back
to qmails. 

This all seems to run the system looks ok, only messages aren't delivered
until qmail is stopped and restarted, any further messages after that are
held until you stop and restart again.

I have a feeling it may be to do with the lock directory, but I can't be
sure. Anyone done this succesfully?

Herbie 


application/ms-tnef





Can someone point me to a doc of how to optimize qmail for relaying
only?
I don't need  local delivery - nada... We are trying to get 25 mailings
per second..

What I have done thus far is:
200 in conf-split
255 in conf-spawn
255 in concurrencyremote

I also applied these patches:
qmail-1.03]# patch -p1 </usr/local/src/big-todo.103.patch

qmail-1.03]# patch -p1 </usr/local/src/big-concurrency.patch
I got this error:
1 out of 5 hunks FAILED -- saving rejects to file spawn.c.rej



begin:vcard 
n:Wilroy;Sid
tel;pager:[EMAIL PROTECTED]
tel;fax:408-732-8100
tel;work:408-732-8800 x232
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Sid Wilroy
end:vcard




On Wed, Feb 07, 2001 at 01:41:17PM -0600, Sid Wilroy wrote:
> Can someone point me to a doc of how to optimize qmail for relaying
> only?
> I don't need  local delivery - nada... We are trying to get 25 mailings
> per second..
> 
> What I have done thus far is:
> 200 in conf-split

conf-split should be prime. I don't think you know what conf-split
means. Higher is not always better.

> I also applied these patches:
> qmail-1.03]# patch -p1 </usr/local/src/big-todo.103.patch
> 
> qmail-1.03]# patch -p1 </usr/local/src/big-concurrency.patch
> I got this error:
> 1 out of 5 hunks FAILED -- saving rejects to file spawn.c.rej

Try -p0, perhaps.

Greetz, Peter.





I don't do enough e-mail work to know if this is a dumb question
or not.  Please indulge me.

I am doing some work for a small company which will remain nameless
for this discussion.

We have a RedHat Linux box which we are currently using as an
e-mail server.  Local PC boxes use POP and SMTP to see their
mail on the linux box.  The linux box connects to the world
via UUCP for outgoing mail and also via fetchmail for some incoming
pop mail. 

We would like to replace UUCP with SMTP.  Our ISP uses Windows 2000
as their mail server and apparantly that requires SMTP AUTH to
send things out.  This is a new wrinkle for me.  Questions:

Can I use just one SMTP AUTH 'account' to send out all outgoing mail?
What add-ons do I need to get qmail to work with SMTP AUTH?  (Note:
I am currently using sendmail, and I am exploring changing to qmail,
this may be a good issue to drive the change.)

Any other hints, suggestions, advice gratefully accepted.

[EMAIL PROTECTED]






On Wed, Feb 07, 2001 at 05:17:07PM -0500, [EMAIL PROTECTED] wrote:
> We would like to replace UUCP with SMTP.  Our ISP uses Windows 2000
> as their mail server and apparantly that requires SMTP AUTH to
> send things out.  This is a new wrinkle for me.  Questions:

Why not send all mails directly to the traget mailservers instead of
relaying through your ISP?

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




Hi,

 Does anyone can tell me, how can I make virtual POP e-mails? I didn't find
any information about this. I have server, running Slackware 7.1 Linux and
qmail 1.03 as smtp server.  My friend asked me to host his website on my
server, so I made him name based hosting in Apache, but now he wants also to
have e-mail @hisdomain.com. I added his domain name to
/var/qmail/control/rcptdomains, and his e-mail is now
[EMAIL PROTECTED] But it's not enough for him: he want to
[EMAIL PROTECTED] , etc.. I don't want to create so many accounts on my
system.. (he need up to 40 or 50 e-mail addresses)..

thanks.


Aleks





Hi,

I saw a bounce message today (edited to protect the innocent):
 <user@domain>:
 172.31.255.254 failed after I sent the message.
 Remote host said: 554 Filtered out by Filter 0 because "Received" =
 "from unknown (HELO ?192.168.0.1?) (192.168.0.1)"

The client, for whome I was to relay, provided HELO approximately as:
 HELO [192.168.0.1]

Which was indeed filtered to be "HELO ?192.168.0.1?" by qmail into the
Received header.

I was not able to find the document listing what contraints (if any) are
placed on the string following a "with" such as HELO in the Received
header line, however the RFC822 definition of <atom> does allow for '['
and ']'.

I wish to find a tactful argument, rather than simply pointing out the
lunacy of the destination's UCE filtering techniques.

Curtis Coleman       NOTE: The most fundamental particles in this message
[EMAIL PROTECTED]     are held together by a 'gluing' force about which
                     little is currently known and whose adhesive power
CC263                can therefore not be permanently guaranteed.






Hi all...

Anyone use pam_smb for authenticating users ?

Question, is it possible to setup a users account automatically, as per
qmail_ldap, when using pam_smb ? How can I interact with pam_smb to make it
setup the user if he/she authenticates via our NT server ?

Dennis






i think there is no necessary to go to a lawer!


----- Original Message ----- 
From: Uwe Ohse <[EMAIL PROTECTED]>
To: dick <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 12:22 AM
Subject: Re: thanks for you answer my question!but it is none used.


> On Wed, Feb 07, 2001 at 10:51:48AM +0800, dick wrote:
> 
> > i add these codes in the end of qmail-smtpd.c.but it won't work.
> > can't you tell me how can i do it!
> > (by the way, i don't know how to patch the qmail-queue.c or qmail-smtpd.c.only add 
>these code into blast?)
> 
> Yes, at the end of the blast function.
> Note: if you don't know how to do that then please look for an
> experienced C programmer. You'll most possibly want to change the
> text, and doing that correctly isn't a task for a C beginner.
> 
> You'll want to add this to qmail-smtpd.c if you want to attach
> a text to all messages coming in through SMTP. If you want to
> do that to really all messages, even messages generated on your
> system, then i'd change qmail-queue.c (somewhere in the middle
> of the main function). In that case you'll possibly end up needing
> some more changes to make sure that the text is added only once
> (a single mail might pass through qmail-remote many times).
> 
> In any case i think that you possibly should talk to a lawyer. You
> should do that in case you corrupt some message i send to someone
> on or behind your system, that someone tells me about it and i'm
> in bad mood.
> What do you want to achieve?
> 
> Regards, Uwe
> 






any suggestion is welcome.










On Thu, Feb 08, 2001 at 04:42:29PM +1300, Martin Searancke wrote:

[nothing but the subject]

See the fine qmail-send manual page:

CONTROL FILES
        WARNING:  qmail-send  reads its control files only when it
        starts.  If you change the control files,  you  must  stop
        and restart qmail-send.  Exception: If qmail-send receives
        a HUP signal, it will reread locals and virtualdomains.

Regards, Uwe





Depending on your distro, etc:

/etc/rc.d/init.d/qmail restart

On Thu, 8 Feb 2001, Uwe Ohse wrote:

> On Thu, Feb 08, 2001 at 04:42:29PM +1300, Martin Searancke wrote:
> 
> [nothing but the subject]
> 
> See the fine qmail-send manual page:
> 
> CONTROL FILES
>       WARNING:  qmail-send  reads its control files only when it
>       starts.  If you change the control files,  you  must  stop
>       and restart qmail-send.  Exception: If qmail-send receives
>       a HUP signal, it will reread locals and virtualdomains.
> 
> Regards, Uwe
> 





Hello miliser,

Hi, i've problem with qmail problem on pop3 110,
I was compiling qmail-1.03-16.i386.rpm and checkpassword-0.90.tar.gz
on Redhat 6.0
after finishing install I try to send email via telnet localhost 25,
and its wask work very good, but after I check email via telnet I had
0 (zero) email

here is my istall step

$ rpm -ivh qmail-1.03-16.i386.rpm
$ tar -xzvf checkpassword-0.90.tar.gz
$ cd checkpassword-0.90
$ make
$ make setup check
$ cd /etc/skel
$ /var/qmail/bin/maildirmake Maildir

 now I try to split /usr/sbin/sendmail to /var/qmail/bin/sendmail

$ mv /usr/sbin/sendmail /usr/sbin/sendmail.bak
$ chmod 0 /usr/sbin/sendmail.bak
Make symbolic lynx

$ ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

now try to fill mydomain at /var/qmail/control
$ pico local   I fill with  ---  > rambutan.linux.com
$ pico locals   I fill with  ---  > rambutan.linux.com
$ pico me   I fill with  ---  > rambutan.linux.com
$ pico defaulthost   I fill with  ---  > rambutan.linux.com
$ pico defaultdomain   I fill with  ---  > rambutan.linux.com
$ pico rcpthost   I fill with  ---  > rambutan.linux.com

now i try to start-qmailat /var/qmail/rc
$pico /var/qmail/rc
qmail-start ./Maildir/ splogger qmail


and I change /etc/inet.conf
#pop3 section (all one line and still using tcp not tcpserver)
pop3  stream   tcp    nowait   root  /var/qmail/bin/qmail-popup
qmail-popup mail.rambutan.com        /bin/checkpassword /var/qmail/bin/qmail-pop3d 
Maildir

#smtp section (all one line and still using tcp not tcpserver)
smtp    stream  tcp     nowait  qmaild  /usr/sbin/tcpd /var/qmail/bin/tcp-env 
/var/qmail/bin/qmail-smtpd

now restart inet.conf
$ /etc/rc.d/init.d/inet restart

now I try to telnet localhost 25
(its goodvery good), and try to see at maillog

$ tail -f /var/log/maillog
its good works

and try to telnet localhost 110
the message I was send I didin't receiv,its means I have no email even
one mail
and I try to using eudoramail but I get failed to receive my email

any one can help me? pls, what wrong with my installation


Tks & regards,
The Afif
mailto:[EMAIL PROTECTED]

Sesuatu yg nggak pernah berakhir di hadapan kita 
adalah PERJALANAN WAKTU






Hi all...

My apologies for the repeated posting to the list regarding this problem.

I did receive one reply but the suggestion was looked at and wasn't the
problem.

Is anyone aware why supervise would be giving me these errors ??

-------------------------------------------------------------------------
supervise: fatal: unable to acquire log/supervise/lock: temporary failure
supervise: fatal: unable to acquire qmail-smptd/supervise/lock: temporary
failure
-------------------------------------------------------------------------

HELP !!

RH6.2
Using the current qmail/daemontools/ucspi-tcp packages.

HELP !!

Dennis





thanks your answer,but i mean the username is dick not [EMAIL PROTECTED]
maybe there no such solution?
maybe all the virtualmail user must use the fullmailname.


----- Original Message ----- 
From: Greg White <[EMAIL PROTECTED]>
To: dick <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 1:58 PM
Subject: Re: anybody know howto make 3 virtual domain in the one machineSNIP


> On Thu, Feb 08, 2001 at 11:15:05AM +0800, dick wrote:
> > any suggestion is welcome.
> 
> Suggestion -- putting your question in the subject line, unless your
> question is ten words or less, is a very bad idea at all times, and is
> not really a good idea at any time.
> 
> Suggestion -- Read all the documentation available at:
> 
> http://www.inter7.com/qmail/index.html
> 
> for vpopmail -- I am positive your question is answered there.
> 
> I replied off list intentionally, as it's generally considered to be
> incredibly bad form to post with a subject line as long as yours, and
> considered that you deserved a private warning before the on-list
> flame-fest begins.
> 
> -- 
> Greg White
> Those who make peaceful revolution impossible will make violent
> revolution inevitable.
>                 -- John F. Kennedy
> 




hi all,

i have qmail 1.03, qmailadmin 0.37, autoresponder
1.0.0 and vpopmail 4.9.2 installed on redhat 6.1

i use qmailadmin to create an autoresponder...and i
try to email to the autoresponder from different mail
system such as mail.yahoo.com, www.netaddress.com, and
etc...i found out that the autoresponder wont reply,
why? but, when i mail locally...it will reply, hmm...

btw, the qmail server is using smtproute through
another mail server for virus scanning...

rgds,
yee

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




Hi, below is a message I sent to the qmail list last year.  I was never
able to resolve it so I just dropped it after a while.  However I
decided to pick it back up tonight and try to figure out what is wrong.
Fwiw, I am no longer using splogger, but am piping the recordio/smtpd
output through awk and then through multilog.

Anyway after hours of experimentation I have discovered a few things.
Consider the following command line:

/usr/local/bin/softlimit -m 4000000 /usr/local/bin/tcpserver -x
/usr/local/etc/tcp.smtp.cdb -R -u 71 -g 1013 0 25
/usr/local/bin/recordio /var/qmail/bin/qmail-smtpd 2>&1 | awk '{print}' 

1) if I use "awk" (which is really just a link to "mawk") on my Debian
box, I get no output whatsoever;

2) using "awk" (nawk) on my OpenBSD 2.8 box I get the same results as #3
below;

3) if I use "gawk" then the output appears normal (i.e., as I would
expect it) but if I pipe it to multilog, splogger, or whatever, nothing
shows up in the respective logs.


Now, that is all very confusing.  So, I started to take bits out of the
command line to see if I could figure out what was screwing up the
output.  It turns out that if I remove tcpserver from the command and
interact with qmail-smtpd directly (i.e., NOT thru the network) then
everything is happy with respect to output and logging:

/usr/local/bin/softlimit -m 4000000 /usr/local/bin/recordio
/var/qmail/bin/qmail-smtpd 2>&1 | awk '{print}'

With that command line, I can log through multilog and splogger
successfully, and, I can customize my awk statement to filter the output
(after swapping stdout and stderr descriptors around... recordio puts
its output on stderr).

Anyway, I am not 100% certain of why this doesn't work when I do the
same thing over the network via tcpserver.  Does it have anything to do
with tcpserver throwing away stderr perhaps?  I looked in the docs and
don't see any hints as to what it does with stderr (I suppose it's
implied that it just goes to the terminal it was started from?).

How can I make this whole thing work with tcpserver, and allow me to
filter the output with awk?  (Fwiw, I tried using grep and sed in awk's
place and the same thing happened... I don't understand why "cat" works,
I think there is something fundamental I am not comprehending here.)

Thanks much for any help!

P.S. If anyone understands why gawk produces output but mawk does not,
I'd be happy to learn about this too.  ;-)


On Wed, Jul 26, 2000 at 01:11:54AM +0000, Jim Breton wrote:
> No, this is not a re-hash of the old debate.  I've seen the archives.
> :)
> 
> But, according to DJB's (and others') suggestions I'm trying to hook awk
> up to the recordio + qmail-smtpd output and log it to syslog (via
> splogger).
> 
> This seems to me like it should be easy.  However, as soon as I add the
> additional pipe to awk, I no longer get _anything_ logged to syslog.
> 
> 
> Before:
> 
> /usr/local/bin/softlimit -m 4000000 /usr/local/bin/tcpserver -x
> /usr/local/etc/tcp.smtp.cdb -t 15 -u 71 -g 1013 0 25
> /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
> 
> 
> After:
> 
> /usr/local/bin/softlimit -m 4000000 /usr/local/bin/tcpserver -x
> /usr/local/etc/tcp.smtp.cdb -t 15 -u 71 -g 1013 127.0.0.1 25 recordio
> /var/qmail/bin/qmail-smtpd 2>&1 | /usr/bin/gawk '{if ($2 != "<") print}'
> | /var/qmail/bin/splogger smtpd 3 &
> 
> 
> Is there something wrong with the pipes I've set up?  If I take out the
> "awk..." part and replace it with "cat" then everything works as
> expected (iow, I get _all_ the smtp output).
> 
> What is the problem with swapping in awk like this?

-- 
Can this be adequately explained by stupidity?
    -- Dan Bernstein




Hi,

    I got an "451 qq Crashed " #4.3.0 error message when sending a
messages with the size over 5MB.  I am using qmail + vmailmgr +
omail-admin pre10.  I have configured the soft-quota and hard-quota
limit to 20480KB (20MB) and the messages size to 10240KB (10MB).  But,
when I try to send out a messages with attachement which over 5MB.  I
got the error messges stating that "451 qq crashed".   Please help me
and explain how to overcome this problem !!

Thank you so much for your help


Mark



Reply via email to