qmail Digest 16 Jun 2000 10:00:00 -0000 Issue 1034

Topics (messages 43130 through 43202):

Re: big-* patches and FD_SET()
        43130 by: clemensF
        43132 by: Petr Novotny

Re: Help on qmail-qstat
        43131 by: clemensF
        43142 by: Dave Kelly

qmail and pop3
        43133 by: Andreas Keiser
        43143 by: Dave Kelly
        43163 by: clemensF

rcpthosts
        43134 by: Vince
        43136 by: Vince Vielhaber
        43171 by: Irwan Hadi
        43172 by: Bolivar Diaz Galarza

Re: Mass virtual hosting with qmail
        43135 by: Nick Kew

8bit characters ... URGENT
        43137 by: mwangu
        43138 by: mwangu
        43145 by: Paul Schinder
        43148 by: mwangu
        43152 by: Paul Schinder
        43153 by: mwangu
        43155 by: mwangu
        43157 by: Steve Tylock
        43159 by: Paul Schinder
        43161 by: mwangu
        43162 by: mwangu
        43166 by: mwangu

VRFY patches
        43139 by: Robert Varga
        43140 by: Robert Varga
        43141 by: Petr Novotny
        43144 by: Robert Varga
        43146 by: Petr Novotny
        43154 by: Robert Varga

OpenMail?
        43147 by: Derek Harkness
        43160 by: Yiorgos Adamopoulos
        43164 by: Toens Bueker

PINE +Qmail
        43149 by: Javier Vino R.
        43158 by: Robert Varga
        43165 by: Ben Beuchler
        43169 by: Steve Wolfe
        43175 by: dd
        43177 by: Adam McKenna
        43178 by: Scott D. Yelich
        43181 by: Charles Cazabon

Re: spam dissguised as bounce
        43150 by: Markus Stumpf

MX and POP3 on 2 machines
        43151 by: Michael T. Babcock

Re: ELM with Maildirs?
        43156 by: melo.ip.pt

qmqpc/+env docs
        43167 by: mwangu
        43192 by: Peter Samuel
        43201 by: mwangu

Help (off topic?) with selective relaying from behind a WebRamp box
        43168 by: Rob Havens

vpopmail + qmail
        43170 by: Paul Farber
        43176 by: clemensF

Password problems:
        43173 by: Z
        43180 by: Chris Johnson
        43186 by: Z
        43190 by: Chris Johnson

Erroneous bounce behavior under duress
        43174 by: Brian Murray

Re: PINE +Qmail (fwd)
        43179 by: Scott D. Yelich

Forwarding to Groupwise
        43182 by: Jorge Rocha
        43184 by: Chris Johnson

[PATCH] Transparent maildir compression.
        43183 by: Jedi/Sector One

filters for sqwebmail?
        43185 by: John Stile

vacation
        43187 by: Einar Bordewich
        43191 by: Peter Samuel

Large Mail Cluster Questions
        43188 by: DGranath.aol.com
        43189 by: Alex

tcprules
        43193 by: Vince
        43194 by: Koji Hamamoto

Re: Maildir prob
        43195 by: Eric Cox

mailbox dir
        43196 by: Vince
        43197 by: Kristina
        43198 by: List
        43199 by: Vince
        43200 by: List
        43202 by: Kristina

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]


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


> Toens Bueker:

> more than 509 available for a busy server.

what's that jazz with magic 509?  what does this number mean?

clemens




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

On 15 Jun 00, at 12:07, clemensF wrote:

> what's that jazz with magic 509?  what does this number mean?

The largest number N such that 2*N+5<1024. (1024 being system 
limit on select() call and 2*N+5 being the maximum number of 
handles qmail at concurrency N uses.)

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOUidh1MwP8g7qbw/EQJebQCfV0Mjw1EykcNzxY7+ou1ZTYNEYikAni2M
te2GrFuEQI8DhPTlxZpvHrnL
=BIbi
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




> System Administrator:

> but i have seen that when i check this queue with qmail-read i see mails
> in the queue which are 4-5 days old. can you help clear the queue, so that
> i have 0 messages in the queue.

svc -a <qmail-send> | skill -ALRM qmail-send

qmail-send needs an alrm-signal to wake up.  other than that there's
touching mails to rejuvenate them.

clemens




If you have messages in the queue that are 4-5 days old, chances are
probably good that they are messages that can't be delivered for one reason
or another.  After a week, they should clear themselves out by bouncing to
postmaster with a message stating why the were undeliverable.

You can change how long stuff remains in the queue by putting the number of
seconds you want in /var/qmail/control/queuelifetime.  The default is
604800, which is one week.

-D


----- Original Message -----
From: "System Administrator" <[EMAIL PROTECTED]>
To: "Eric Cox" <[EMAIL PROTECTED]>
Cc: "Qmail" <[EMAIL PROTECTED]>
Sent: Thursday, June 15, 2000 4:22 AM
Subject: Re: Help on qmail-qstat


Hi

eric thanks for your reply

but i have seen that when i check this queue with qmail-read i see mails
in the queue which are 4-5 days old. can you help clear the queue, so that
i have 0 messages in the queue.

On Thu, 15 Jun 2000, Eric Cox wrote:

> It means there are 760 messages currently in the queue, all
> of which have been preprocessed and are awaiting delivery.
>
> Eric
>
>
Parag Mehta            <[EMAIL PROTECTED]>
System Administrator.
Puretech Internet Pvt. Ltd.        http://puretech.co.in/
77 Atlanta. Nariman Point.
Mumbai - 400021. India.            Tel: +91-22-2833158
============================================================
Support is now available thru our Web Based Support System.
http://support.puretech.co.in
============================================================









Hi 

I am running qmail on OpenBsd 2.7.

I want to get email from my pop3-account. 
Do I need to install any other packages or can I do everything with
OpenBsd and qmail?

Thanks a lot.

Best regards
Andreas

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1




You will need checkpassword.  I'm assuming you're already using
tcpserver...you can run pop3 with inetd, but I prefer using tcpserver for
it.  Check out Dave Sill's Life With qmail for more information.  It's very
very helpful.  http://web.infoave.net/~dsill/lwq.html

-D


----- Original Message -----
From: "Andreas Keiser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 15, 2000 5:37 AM
Subject: qmail and pop3


Hi

I am running qmail on OpenBsd 2.7.

I want to get email from my pop3-account.
Do I need to install any other packages or can I do everything with
OpenBsd and qmail?

Thanks a lot.

Best regards
Andreas

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1






> Andreas Keiser:

> I want to get email from my pop3-account. 
> Do I need to install any other packages or can I do everything with
> OpenBsd and qmail?

for accessing a pop server a pop client (like fetchmail) is a good starting
point.

clemens





why is that i cant send mail if the domain is not listed in the rcpthosts.
how can i sendmail outside w/o specifying all the active domain. is it
possible to remove the rcpthosts file?





On Thu, 15 Jun 2000, Vince wrote:

> 
> why is that i cant send mail if the domain is not listed in the rcpthosts.
> how can i sendmail outside w/o specifying all the active domain. is it
> possible to remove the rcpthosts file?

Do NOT remove rcpthosts.  Bad things will happen.

Take a quick look at this:

ftp://koobera.math.uic.edu/www/qmail/faq/servers.html#authorized-relay

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







At 07:07 PM 6/15/00 +0800, Vince wrote:

>why is that i cant send mail if the domain is not listed in the rcpthosts.
>how can i sendmail outside w/o specifying all the active domain. is it
>possible to remove the rcpthosts file?

then your smtp will be open relay ;)
see http://www.palomine.net/qmail/relaying.html





See http://www.palomine.net/qmail/relaying.html and
http://www.palomine.net/qmail/selectiverelay.html.

It worked for me....

Bolivar,



----- Original Message -----
From: Irwan Hadi <[EMAIL PROTECTED]>
To: Vince <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, June 15, 2000 2:05 PM
Subject: Re: rcpthosts


> At 07:07 PM 6/15/00 +0800, Vince wrote:
>
> >why is that i cant send mail if the domain is not listed in the
rcpthosts.
> >how can i sendmail outside w/o specifying all the active domain. is it
> >possible to remove the rcpthosts file?
>
> then your smtp will be open relay ;)
> see http://www.palomine.net/qmail/relaying.html
>
>





On Wed, 14 Jun 2000, clemensF wrote:

> > Nick Kew:
> 
> > deal with it).  I don't want to have to add anything to rcpthosts
> > (or morercpthosts), locals or virtualdomains for every domain.
> 
> you don't?  but then people might try to use your setup to base spamming
> on.

That had occurred to me.  However, I'm only planning to match rcpthosts
that conform to a specific pattern ( valet.* ), which considerably reduces
the potential usefulness to a spammer (or am I missing something)?  If
there is a problem I can incorporate an automatic DNS-based check.

-- 
Nick Kew





Dear all,

I need to be able to recieve 8bit MIME characters
through my qmail server. It currently turns them all
into a hash (or pound - #) sign. I need to resolve
this as I am in the UK and we use ASCII (163) for our
currency denomination (Pound Sterling).

For those with perl on their machines:

perl -e "print chr(163), \"\n\""

This is URGENT!

Thank you,

Mike

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com




To add to the info,

I am being forced to work with a legacy accounting
system with a mail client which is incapable of adding
MIME headers to emails as appropriate. When qmail
recieves the e-mail it strips out the � (Sterling
sign) and replaces with (? or #). 

We currenlty send the messages to a sendmail host
first and then accept relay them to qmail. Due to
budget cuts, I have to give up the sendmail host, and
would like to receive mail directly to qmail ... is
this possible?

Thank you

--- mwangu <[EMAIL PROTECTED]> wrote:
> Dear all,
> 
> I need to be able to recieve 8bit MIME characters
> through my qmail server. It currently turns them all
> into a hash (or pound - #) sign. I need to resolve
> this as I am in the UK and we use ASCII (163) for
> our
> currency denomination (Pound Sterling).
> 
> For those with perl on their machines:
> 
> perl -e "print chr(163), \"\n\""
> 
> This is URGENT!
> 
> Thank you,
> 
> Mike
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos -- now, 100 FREE prints!
> http://photos.yahoo.com


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com




At 5:03 AM -0700 6/15/00, mwangu wrote:
>To add to the info,
>
>I am being forced to work with a legacy accounting
>system with a mail client which is incapable of adding
>MIME headers to emails as appropriate. When qmail
>recieves the e-mail it strips out the � (Sterling
>sign) and replaces with (? or #).

No, it doesn't.  qmail doesn't touch the content of email, and is 8-bit clean.

>
>We currenlty send the messages to a sendmail host
>first and then accept relay them to qmail. Due to
>budget cuts, I have to give up the sendmail host, and
>would like to receive mail directly to qmail ... is
>this possible?

sendmail may be doing it.  Or it might be one of the clients on either end.

>
>Thank you
>
>--- mwangu <[EMAIL PROTECTED]> wrote:
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Photos -- now, 100 FREE prints!
>http://photos.yahoo.com

--
--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]




I must be doing something wrong then.

1) When I send the same message directly to qmail. I
get no Sterling signs.

2) When I send exactly the same message to a sendmail
relay, which then sends to the qmail address in 1), I
get Sterling signs.

If my statment below was incorrect, then please
explain to me how this is.

Thank you.


--- Paul Schinder <[EMAIL PROTECTED]>
wrote:
> At 5:03 AM -0700 6/15/00, mwangu wrote:
> >To add to the info,
> >
> >I am being forced to work with a legacy accounting
> >system with a mail client which is incapable of
> adding
> >MIME headers to emails as appropriate. When qmail
> >recieves the e-mail it strips out the � (Sterling
> >sign) and replaces with (? or #).
> 
> No, it doesn't.  qmail doesn't touch the content of
> email, and is 8-bit clean.
> 
> >
> >We currenlty send the messages to a sendmail host
> >first and then accept relay them to qmail. Due to
> >budget cuts, I have to give up the sendmail host,
> and
> >would like to receive mail directly to qmail ... is
> >this possible?
> 
> sendmail may be doing it.  Or it might be one of the
> clients on either end.
> 
> >
> >Thank you
> >
> >--- mwangu <[EMAIL PROTECTED]> wrote:
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! Photos -- now, 100 FREE prints!
> >http://photos.yahoo.com
> 
> --
> --
> Paul J. Schinder
> NASA Goddard Space Flight Center
> Code 693
> [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com




At 5:38 AM -0700 6/15/00, mwangu wrote:
>I must be doing something wrong then.

No, you're expecting the wrong thing.  Here's what I think is
happening,  although it's been years since I allowed sendmail on any
machine that I control. As I recall, sendmail thinks it's just fine
to muck around with the contents of email.  (My first order of
business after booting a new OS is to remove sendmail immediately.)

>
>1) When I send the same message directly to qmail. I
>get no Sterling signs.

qmail leaves the data untouched, and the software you're using to
view it doesn't know how to display the 8-bit character for pound
sign.  (Use a Mac, for example, and you might run into the difference
between ISO and MacRoman, although your � below displayed properly on
my iBook.)

>
>2) When I send exactly the same message to a sendmail
>relay, which then sends to the qmail address in 1), I
>get Sterling signs.

sendmail "helpfully" changes the data, and the MIME encoding that
sendmail replaces the pound sign with is correctly interpreted by the
software you're using.

Use the proper tool to examine the data before making accusations.
(It's amazing how many people are so quick to accuse qmail of doing
things that it's not doing.)  Use od(1) to examine the data before
and after you send it through the MTA.  I think you'll find that
qmail leaves it alone, while sendmail changes it.  qmail does *not*
change the content of email.

>
>If my statment below was incorrect, then please
>explain to me how this is.
>
>Thank you.
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Photos -- now, 100 FREE prints!
>http://photos.yahoo.com

--
--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]




Steve, thank you for your reply:

The accounting system's Java applet which communicates
to both sendmail and qmail (depending on which address
you send to) is the same and generates the account
data from from a database. This data is then sent by
e-mail using this applet client to talk to the mail
server.

My reference to sendming to qmail directly was that
the test 1) was to e-mail address user@qmailhost,
whereas in 2) it was to user@sendmailrelay,
sendmailrelay would then pass this email on to
user@qmailhost.

As mentioned before, sendmail appears to handle the
input from the mail client, but qmail does not.

If anyone could give me some pointers as to what I
should check in my qmail configuration, to eliminate
qmail as a suspect, I would appreciate it.

Thank you.


--- Steve Tylock <[EMAIL PROTECTED]> wrote:
> Don't know if it helps or not - I have the �
> (Sterling sign) in the
> email that you sent, and have 2 qmail relays in
> front of me.
> [If the � sign is not valid above, let me know - I
> have a netscape
> client talking to a qmail server...]
> 
> So - it seems to me that qmail is not corrupting the
> sign as
> a transport.
> 
> That would leave the initial dumping of the input
> text into
> the message body as the corrupter.
> 
> When you say "send the message directly to qmail"
> what do
> you mean (as opposed to sending it to sendmail)?  I
> would
> hazard an educated guess that the mechanism is
> different,
> and the problem is introduced there.
> 
> not a qmail expert, but I like to turn over rocks;-)
> steve
> [EMAIL PROTECTED]
> 
> mwangu wrote:
> > 
> > I must be doing something wrong then.
> > 
> > 1) When I send the same message directly to qmail.
> I
> > get no Sterling signs.
> > 
> > 2) When I send exactly the same message to a
> sendmail
> > relay, which then sends to the qmail address in
> 1), I
> > get Sterling signs.
> > 
> > If my statment below was incorrect, then please
> > explain to me how this is.
> > 
> > Thank you.
> > 
> > --- Paul Schinder <[EMAIL PROTECTED]>
> > wrote:
> > > At 5:03 AM -0700 6/15/00, mwangu wrote:
> > > >To add to the info,
> > > >
> > > >I am being forced to work with a legacy
> accounting
> > > >system with a mail client which is incapable of
> adding
> > > >MIME headers to emails as appropriate. When
> qmail
> > > >recieves the e-mail it strips out the �
> (Sterling
> > > >sign) and replaces with (? or #).
> > >
> > > No, it doesn't.  qmail doesn't touch the content
> of
> > > email, and is 8-bit clean.
> > >
> > > >
> > > >We currenlty send the messages to a sendmail
> host
> > > >first and then accept relay them to qmail. Due
> to
> > > >budget cuts, I have to give up the sendmail
> host, and
> > > >would like to receive mail directly to qmail
> ... is
> > > >this possible?
> > >
> > > sendmail may be doing it.  Or it might be one of
> the
> > > clients on either end.
> > >
> > > >
> > > >Thank you
> > > >
> > > >--- mwangu <[EMAIL PROTECTED]> wrote:
> > >
> >__________________________________________________
> > > >Do You Yahoo!?
> > > >Yahoo! Photos -- now, 100 FREE prints!
> > > >http://photos.yahoo.com
> > >
> > > Paul J. Schinder
> > > NASA Goddard Space Flight Center
> > > Code 693
> > > [EMAIL PROTECTED]
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Photos -- now, 100 FREE prints!
> > http://photos.yahoo.com


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com




Paul,

Thank you for your response.

Please do not take offence at my conclusion that qmail
is partly to blame. While my familiarity with MTAs
stops at sendmail, I am only just getting to grips
with the workings of qmail (I have been looking at
this issue for the last 4 days, and yes, I have
trawled through a mass of documentation.

I can appreciate what you're saying. Now, is there any
way for me to get qmail to emulate this particular
feature of sendmailfor the next 2 months while I work
on ripping out this insidioud accounting application?
    I realise that what I have just asked borders on
heresy, but I am desparate to get this resolved as I
do have more pressing jobs to get on with which will
allow me to get rid of sendmail completely as it has
proved to be an insecure MTA time and time again.
qmail as I understand it could close this hole, but
before I do that I need to implement our new
accounting system, and before I do that I have to run
the old one without the sendmail relay host which has
now been poached, .... and so on, I'm sure you get the
picture.

Thank you.


--- Paul Schinder <[EMAIL PROTECTED]>
wrote:
> At 5:38 AM -0700 6/15/00, mwangu wrote:
> >I must be doing something wrong then.
> 
> No, you're expecting the wrong thing.  Here's what I
> think is
> happening,  although it's been years since I allowed
> sendmail on any
> machine that I control. As I recall, sendmail thinks
> it's just fine
> to muck around with the contents of email.  (My
> first order of
> business after booting a new OS is to remove
> sendmail immediately.)
> 
> >
> >1) When I send the same message directly to qmail.
> I
> >get no Sterling signs.
> 
> qmail leaves the data untouched, and the software
> you're using to
> view it doesn't know how to display the 8-bit
> character for pound
> sign.  (Use a Mac, for example, and you might run
> into the difference
> between ISO and MacRoman, although your � below
> displayed properly on
> my iBook.)
> 
> >
> >2) When I send exactly the same message to a
> sendmail
> >relay, which then sends to the qmail address in 1),
> I
> >get Sterling signs.
> 
> sendmail "helpfully" changes the data, and the MIME
> encoding that
> sendmail replaces the pound sign with is correctly
> interpreted by the
> software you're using.
> 
> Use the proper tool to examine the data before
> making accusations.
> (It's amazing how many people are so quick to accuse
> qmail of doing
> things that it's not doing.)  Use od(1) to examine
> the data before
> and after you send it through the MTA.  I think
> you'll find that
> qmail leaves it alone, while sendmail changes it. 
> qmail does *not*
> change the content of email.
> 
> >
> >If my statment below was incorrect, then please
> >explain to me how this is.
> >
> >Thank you.
> >
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! Photos -- now, 100 FREE prints!
> >http://photos.yahoo.com
> 
> --
> --
> Paul J. Schinder
> NASA Goddard Space Flight Center
> Code 693
> [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com




If we know that qmail doesn't change the input string:
 - either sendmail does change it,
 - or the Java applet sends different text to each MTA...

I don't know that sendmail is going to muck with the
contents of the email - we are talking data, not header
or address right?-)

But - as Paul Schinder mentioned - you will have to find
out what is being sent to know for sure.

With an 'intelligent' front end like JAVA, the JAVA
portion may be checking for the return codes of various
SMTP commands - perhaps it sends a sendmail-specific
command, and expects a sendmail-specific response...
When qmail doesn't respond in the same way, the JAVA
says it can't handle the �, and so doesn't send it...

I'll wave my hand at testing this - trace the connection
and see what traffic passes between each of the 2 and
compare...

If this is the case, you can either fix the JAVA, have 
a whack at corrupting the qmail source,  or find a P166 to
load Linux on and still use sendmail...

steve
[EMAIL PROTECTED]

mwangu wrote:
> 
> Steve, thank you for your reply:
> 
> The accounting system's Java applet which communicates
> to both sendmail and qmail (depending on which address
> you send to) is the same and generates the account
> data from from a database. This data is then sent by
> e-mail using this applet client to talk to the mail
> server.
> 
> My reference to sendming to qmail directly was that
> the test 1) was to e-mail address user@qmailhost,
> whereas in 2) it was to user@sendmailrelay,
> sendmailrelay would then pass this email on to
> user@qmailhost.
> 
> As mentioned before, sendmail appears to handle the
> input from the mail client, but qmail does not.
> 
> If anyone could give me some pointers as to what I
> should check in my qmail configuration, to eliminate
> qmail as a suspect, I would appreciate it.
> 
> Thank you.
> 
> --- Steve Tylock <[EMAIL PROTECTED]> wrote:
> > Don't know if it helps or not - I have the �
> > (Sterling sign) in the email that you sent, and
> > have 2 qmail relays in front of me.
> > [If the � sign is not valid above, let me know - I
> > have a netscape client talking to a qmail server...]
> >
> > So - it seems to me that qmail is not corrupting the
> > sign as a transport.
> >
> > That would leave the initial dumping of the input
> > text into the message body as the corrupter.
> >
> > When you say "send the message directly to qmail"
> > what do you mean (as opposed to sending it to
> > sendmail)?  I would hazard an educated guess that
> > the mechanism is different,
> > and the problem is introduced there.
> >
> > not a qmail expert, but I like to turn over rocks;-)
> > steve
> > [EMAIL PROTECTED]




At 6:24 AM -0700 6/15/00, mwangu wrote:
>Paul,
>
>Thank you for your response.
>
>Please do not take offence at my conclusion that qmail
>is partly to blame. While my familiarity with MTAs
>stops at sendmail, I am only just getting to grips
>with the workings of qmail (I have been looking at
>this issue for the last 4 days, and yes, I have
>trawled through a mass of documentation.
>
>I can appreciate what you're saying. Now, is there any
>way for me to get qmail to emulate this particular
>feature of sendmailfor the next 2 months while I work
>on ripping out this insidioud accounting application?

You need to find a filter to change octal 200-377 into the equivalent 
MIME quoted printable encoding.  There's a perl module at CPAN, 
MIME::Decoder::QuotedPrint, part of the MIME-tools package, that 
looks like it will do the job.  I think the actual conversion, 
though, can be done in a single line of perl, or maybe tr(1) is 
enough.

Where to put it is the question only you can decide.  If it's only a 
single person or a small number of people that need to see the mail 
"correctly", then putting the filter in .qmail should work.  If all 
mail needs to be converted, then you can use the default delivery 
instruction to do it, but I've never done anything like that myself. 
Look at http://www.qmail.org/ and the list archives to get some ideas.

The alternative is to simply install sendmail on the new machine.  I 
can't believe there's a machine that runs qmail that won't run 
sendmail.  But using a filter is going to be much easier, and much 
safer.

>     I realise that what I have just asked borders on
>heresy, but I am desparate to get this resolved as I
>do have more pressing jobs to get on with which will
>allow me to get rid of sendmail completely as it has
>proved to be an insecure MTA time and time again.
>qmail as I understand it could close this hole, but
>before I do that I need to implement our new
>accounting system, and before I do that I have to run
>the old one without the sendmail relay host which has
>now been poached, .... and so on, I'm sure you get the
>picture.
>
>Thank you.
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Photos -- now, 100 FREE prints!
>http://photos.yahoo.com

-- 
--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]





--- Steve Tylock <[EMAIL PROTECTED]> wrote:
> If we know that qmail doesn't change the input
> string:
>  - either sendmail does change it,
>  - or the Java applet sends different text to each
> MTA...
> 
> I don't know that sendmail is going to muck with the
> contents of the email - we are talking data, not
> header
> or address right?-)
> 
> But - as Paul Schinder mentioned - you will have to
> find
> out what is being sent to know for sure.
> 
> With an 'intelligent' front end like JAVA, the JAVA
> portion may be checking for the return codes of
> various
> SMTP commands - perhaps it sends a sendmail-specific
> command, and expects a sendmail-specific response...
> When qmail doesn't respond in the same way, the JAVA
> says it can't handle the �, and so doesn't send
> it...
> 
> I'll wave my hand at testing this - trace the
> connection
> and see what traffic passes between each of the 2
> and
> compare...
> 
> If this is the case, you can either fix the JAVA,
> have 
> a whack at corrupting the qmail source,  or find a
> P166 to
> load Linux on and still use sendmail...
> 
> steve
> [EMAIL PROTECTED]
> 
> mwangu wrote:
> > 
> > Steve, thank you for your reply:
> > 
> > The accounting system's Java applet which
> communicates
> > to both sendmail and qmail (depending on which
> address
> > you send to) is the same and generates the account
> > data from from a database. This data is then sent
> by
> > e-mail using this applet client to talk to the
> mail
> > server.
> > 
> > My reference to sendming to qmail directly was
> that
> > the test 1) was to e-mail address user@qmailhost,
> > whereas in 2) it was to user@sendmailrelay,
> > sendmailrelay would then pass this email on to
> > user@qmailhost.
> > 
> > As mentioned before, sendmail appears to handle
> the
> > input from the mail client, but qmail does not.
> > 
> > If anyone could give me some pointers as to what I
> > should check in my qmail configuration, to
> eliminate
> > qmail as a suspect, I would appreciate it.
> > 
> > Thank you.
> > 
> > --- Steve Tylock <[EMAIL PROTECTED]> wrote:
> > > Don't know if it helps or not - I have the �
> > > (Sterling sign) in the email that you sent, and
> > > have 2 qmail relays in front of me.
> > > [If the � sign is not valid above, let me know -
> I
> > > have a netscape client talking to a qmail
> server...]
> > >
> > > So - it seems to me that qmail is not corrupting
> the
> > > sign as a transport.
> > >
> > > That would leave the initial dumping of the
> input
> > > text into the message body as the corrupter.
> > >
> > > When you say "send the message directly to
> qmail"
> > > what do you mean (as opposed to sending it to
> > > sendmail)?  I would hazard an educated guess
> that
> > > the mechanism is different,
> > > and the problem is introduced there.
> > >
> > > not a qmail expert, but I like to turn over
> rocks;-)
> > > steve
> > > [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com





--- Steve Tylock <[EMAIL PROTECTED]> wrote:
> If we know that qmail doesn't change the input
> string:
>  - either sendmail does change it,
>  - or the Java applet sends different text to each
> MTA...
> 
> I don't know that sendmail is going to muck with the
> contents of the email - we are talking data, not
> header
> or address right?-)
> 
> But - as Paul Schinder mentioned - you will have to
> find
> out what is being sent to know for sure.
> 
> With an 'intelligent' front end like JAVA, the JAVA
> portion may be checking for the return codes of
> various
> SMTP commands - perhaps it sends a sendmail-specific
> command, and expects a sendmail-specific response...
> When qmail doesn't respond in the same way, the JAVA
> says it can't handle the �, and so doesn't send
> it...
> 
> I'll wave my hand at testing this - trace the
> connection
> and see what traffic passes between each of the 2
> and
> compare...
> 
> If this is the case, you can either fix the JAVA,
> have 
> a whack at corrupting the qmail source,  or find a
> P166 to
> load Linux on and still use sendmail...
> 
> steve
> [EMAIL PROTECTED]
> 
> mwangu wrote:
> > 
> > Steve, thank you for your reply:
> > 
> > The accounting system's Java applet which
> communicates
> > to both sendmail and qmail (depending on which
> address
> > you send to) is the same and generates the account
> > data from from a database. This data is then sent
> by
> > e-mail using this applet client to talk to the
> mail
> > server.
> > 
> > My reference to sendming to qmail directly was
> that
> > the test 1) was to e-mail address user@qmailhost,
> > whereas in 2) it was to user@sendmailrelay,
> > sendmailrelay would then pass this email on to
> > user@qmailhost.
> > 
> > As mentioned before, sendmail appears to handle
> the
> > input from the mail client, but qmail does not.
> > 
> > If anyone could give me some pointers as to what I
> > should check in my qmail configuration, to
> eliminate
> > qmail as a suspect, I would appreciate it.
> > 
> > Thank you.
> > 
> > --- Steve Tylock <[EMAIL PROTECTED]> wrote:
> > > Don't know if it helps or not - I have the �
> > > (Sterling sign) in the email that you sent, and
> > > have 2 qmail relays in front of me.
> > > [If the � sign is not valid above, let me know -
> I
> > > have a netscape client talking to a qmail
> server...]
> > >
> > > So - it seems to me that qmail is not corrupting
> the
> > > sign as a transport.
> > >
> > > That would leave the initial dumping of the
> input
> > > text into the message body as the corrupter.
> > >
> > > When you say "send the message directly to
> qmail"
> > > what do you mean (as opposed to sending it to
> > > sendmail)?  I would hazard an educated guess
> that
> > > the mechanism is different,
> > > and the problem is introduced there.
> > >
> > > not a qmail expert, but I like to turn over
> rocks;-)
> > > steve
> > > [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com




Thank you ALL VERY much for your assistance, I will
try that and let you know how I get on.

--- Paul Schinder <[EMAIL PROTECTED]>
wrote:
> At 6:24 AM -0700 6/15/00, mwangu wrote:
> >Paul,
> >
> >Thank you for your response.
> >
> >Please do not take offence at my conclusion that
> qmail
> >is partly to blame. While my familiarity with MTAs
> >stops at sendmail, I am only just getting to grips
> >with the workings of qmail (I have been looking at
> >this issue for the last 4 days, and yes, I have
> >trawled through a mass of documentation.
> >
> >I can appreciate what you're saying. Now, is there
> any
> >way for me to get qmail to emulate this particular
> >feature of sendmailfor the next 2 months while I
> work
> >on ripping out this insidioud accounting
> application?
> 
> You need to find a filter to change octal 200-377
> into the equivalent 
> MIME quoted printable encoding.  There's a perl
> module at CPAN, 
> MIME::Decoder::QuotedPrint, part of the MIME-tools
> package, that 
> looks like it will do the job.  I think the actual
> conversion, 
> though, can be done in a single line of perl, or
> maybe tr(1) is 
> enough.
> 
> Where to put it is the question only you can decide.
>  If it's only a 
> single person or a small number of people that need
> to see the mail 
> "correctly", then putting the filter in .qmail
> should work.  If all 
> mail needs to be converted, then you can use the
> default delivery 
> instruction to do it, but I've never done anything
> like that myself. 
> Look at http://www.qmail.org/ and the list archives
> to get some ideas.
> 
> The alternative is to simply install sendmail on the
> new machine.  I 
> can't believe there's a machine that runs qmail that
> won't run 
> sendmail.  But using a filter is going to be much
> easier, and much 
> safer.
> 
> >     I realise that what I have just asked borders
> on
> >heresy, but I am desparate to get this resolved as
> I
> >do have more pressing jobs to get on with which
> will
> >allow me to get rid of sendmail completely as it
> has
> >proved to be an insecure MTA time and time again.
> >qmail as I understand it could close this hole, but
> >before I do that I need to implement our new
> >accounting system, and before I do that I have to
> run
> >the old one without the sendmail relay host which
> has
> >now been poached, .... and so on, I'm sure you get
> the
> >picture.
> >
> >Thank you.
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! Photos -- now, 100 FREE prints!
> >http://photos.yahoo.com
> 
> -- 
> --
> Paul J. Schinder
> NASA Goddard Space Flight Center
> Code 693
> [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com





Hello,

I am searching a patch for a minimal support for VRFY.

I need qmail to answer with a status code of 250 for VRFY
command when it is querying postmaster@<domain_in_locals/virtualdomains>
since the domain registration policy in our country states that the
domains to be registered must pass a verification script and the script
checks for the existence of the postmaster user on all MX-es.

Is there some patch which can provide this functionality?

Regards,

Robert Varga






Or even a 250 for postmaster@* would be ok.

Regards,

Robert Varga

On Thu, 15 Jun 2000, Robert Varga wrote:

> 
> Hello,
> 
> I am searching a patch for a minimal support for VRFY.
> 
> I need qmail to answer with a status code of 250 for VRFY
> command when it is querying postmaster@<domain_in_locals/virtualdomains>
> since the domain registration policy in our country states that the
> domains to be registered must pass a verification script and the script
> checks for the existence of the postmaster user on all MX-es.
> 
> Is there some patch which can provide this functionality?
> 
> Regards,
> 
> Robert Varga
> 
> 





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

On 15 Jun 00, at 14:12, Robert Varga wrote:

> I need qmail to answer with a status code of 250 for VRFY
> command when it is querying
> postmaster@<domain_in_locals/virtualdomains>

What's wrong with 252? It's also a positive query. Please test it 
yourself:
telnet localhost 25
...
VRFY postmaster
252 send some mail, i'll try my best
QUIT

> since the domain
> registration policy in our country states that the domains to be
> registered must pass a verification script and the script checks for
> the existence of the postmaster user on all MX-es.

How do they test existence? 252 is "user exists" (or "maybe"), 
according to RFC.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOUi721MwP8g7qbw/EQIDFQCgtX2l4yoWaYOmpMyZmC9aFbr6e8EAn030
S3maAzeLPsp4HHmjzvzZKg5r
=/sO9
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]






On Thu, 15 Jun 2000, Petr Novotny wrote:

> 
> What's wrong with 252? It's also a positive query. Please test it 
> yourself:
> telnet localhost 25
> ...
> VRFY postmaster
> 252 send some mail, i'll try my best
> QUIT

The problem is that the zone check gave back an error to me and I don't
maintain the zone check, therefore I cannot make them register the zone
this way.

> 
> > since the domain
> > registration policy in our country states that the domains to be
> > registered must pass a verification script and the script checks for
> > the existence of the postmaster user on all MX-es.
> 
> How do they test existence? 252 is "user exists" (or "maybe"), 
> according to RFC.
> 

I don't know how they test, the only thing I know is that qmail is setup
to receive the mails for the domain, the test is with VRFY, and the test 
gives back an error. Sendmail returned 250
<postmaster@machine's_real_name> for the query and it worked that way, so
the only thing I think to be checked is the status code. 

And correct me if I am mistaken, but the only thing which should be
checked is the status code anyway.

Regards,

Robert Varga





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

On 15 Jun 00, at 14:27, Robert Varga wrote:

> 
> > What's wrong with 252? It's also a positive query. Please test it
> > yourself: telnet localhost 25 ... VRFY postmaster 252 send some
> > mail, i'll try my best QUIT
> 
> The problem is that the zone check gave back an error to me and I
> don't maintain the zone check, therefore I cannot make them register
> the zone this way.

In that case, their test is broken. End of story. "252" means yes.

> > How do they test existence? 252 is "user exists" (or "maybe"),
> > according to RFC.
> > 
> 
> I don't know how they test, the only thing I know is that qmail is
> setup to receive the mails for the domain, the test is with VRFY, and
> the test gives back an error. Sendmail returned 250
> <postmaster@machine's_real_name> for the query and it worked that way,
> so the only thing I think to be checked is the status code. 

Any code starting with "2" means OK. RFC821.

> And correct me if I am mistaken, but the only thing which should be
> checked is the status code anyway.

If you really need that, just change that 252 to 250. But, honestly, I 
think you're solving a problem which does not exist.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA+AwUBOUi+5lMwP8g7qbw/EQKFYgCWN04DbtMC/GWrOVgIT0aZ9iu6ygCfcdAm
RYe2DhZHfUChlsw5q/ASU2M=
=c97F
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]






Ok, problem solved. They are not using VRFY, only the error messages were
suggesting that they are using. And they have been doubly confusing since
the error message was:

Vrfy failed on all MXes.

The problem was that I put only an A record for the zone and no MX
records. The mailcheck went on correctly, since the zone name had
an MTA on it, however there were no MXes and the check failed. Naturally
they did not state in the zone expectations that MX record should be
present, only that mail should be deliverable to postmaster@zone.

Regards,

Robert Varga

On Thu, 15 Jun 2000, Robert Varga wrote:

> 
> 
> On Thu, 15 Jun 2000, Petr Novotny wrote:
> 
> > 
> > What's wrong with 252? It's also a positive query. Please test it 
> > yourself:
> > telnet localhost 25
> > ...
> > VRFY postmaster
> > 252 send some mail, i'll try my best
> > QUIT
> 
> The problem is that the zone check gave back an error to me and I don't
> maintain the zone check, therefore I cannot make them register the zone
> this way.
> 
> > 
> > > since the domain
> > > registration policy in our country states that the domains to be
> > > registered must pass a verification script and the script checks for
> > > the existence of the postmaster user on all MX-es.
> > 
> > How do they test existence? 252 is "user exists" (or "maybe"), 
> > according to RFC.
> > 
> 
> I don't know how they test, the only thing I know is that qmail is setup
> to receive the mails for the domain, the test is with VRFY, and the test 
> gives back an error. Sendmail returned 250
> <postmaster@machine's_real_name> for the query and it worked that way, so
> the only thing I think to be checked is the status code. 
> 
> And correct me if I am mistaken, but the only thing which should be
> checked is the status code anyway.
> 
> Regards,
> 
> Robert Varga
> 
> 





Is it possible to use qmail as the MTA for openmail?  Openmail is an
exchange server clone that uses sendmail as it MTA.

Thanks,
Derek







On Thu, Jun 15, 2000 at 08:36:53AM -0400, Derek Harkness wrote:
> Is it possible to use qmail as the MTA for openmail?  Openmail is an
> exchange server clone that uses sendmail as it MTA.

I think HP's OpenMail is largely based on older versions of sendmail, which
makes it difficult.
-- 
${talks}




Yiorgos Adamopoulos <[EMAIL PROTECTED]> wrote:

> > Is it possible to use qmail as the MTA for openmail?  Openmail is an
> > exchange server clone that uses sendmail as it MTA.
> 
> I think HP's OpenMail is largely based on older versions of sendmail, which
> makes it difficult.

I think, I used OpenMail with postfix - so maybe even
qmail is possible ...

By
T�ns
-- 
Linux. The dot in /.




HI !
I had install qmail with Maildirs, and I need setup the pine in my server
Anyone how to setup ?
 
JVino





Look at www.qmail.org for some patches.

Look at the qmail FAQ for settings in pine.conf (sendmail-path should be
set, and inbox-path may need to be set).

Regards,

Robert Varga

On Thu, 15 Jun 2000, Javier Vino R. wrote:

> HI !
> I had install qmail with Maildirs, and I need setup the pine in my server
> Anyone how to setup ?
> 
> JVino
> 
> 





On Thu, Jun 15, 2000 at 07:46:26AM -0500, Javier Vino R. wrote:

> I had install qmail with Maildirs, and I need setup the pine in my server
> Anyone how to setup ?

Go back to the qmail site and search for 'pine'.

Ben

-- 
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
                -- Neal Stephenson




> I had install qmail with Maildirs, and I need setup the pine in my server
> Anyone how to setup ?

 You can patch Pine to read Maildirs, or (as I did), you can install a
patched IMAP server that will read Maildirs, and point Pine to the IMAP
server.

steve








> > I had install qmail with Maildirs, and I need setup the pine in my server
> > Anyone how to setup ?


hmm, there are some pathces around but i don't trust them much (the latest
one's for the version 4.20 as far as i know and my version of pine is
4.21. it's a minor difference but it MAY affect the way pine's working, i
don't know), so i use the pinq wrapper that comes with qmail. i aliased
pine to pinq and everything works fine for 2 years :}


love and peace,
dd





Don't use pine.  Use mutt.

--Adam

On Thu, Jun 15, 2000 at 03:51:14PM +0200, Robert Varga wrote:
> 
> Look at www.qmail.org for some patches.
> 
> Look at the qmail FAQ for settings in pine.conf (sendmail-path should be
> set, and inbox-path may need to be set).
> 
> Regards,
> 
> Robert Varga
> 
> On Thu, 15 Jun 2000, Javier Vino R. wrote:
> 
> > HI !
> > I had install qmail with Maildirs, and I need setup the pine in my server
> > Anyone how to setup ?
> > 
> > JVino
> > 
> > 
> 




On Thu, 15 Jun 2000, Adam McKenna wrote:
> Don't use pine.  Use mutt.

why?

Does mutt support PGP and compressed mailboxes/folders?

Scott






Scott D. Yelich <[EMAIL PROTECTED]> wrote:
> On Thu, 15 Jun 2000, Adam McKenna wrote:
> > Don't use pine.  Use mutt.
> 
> why?
> 
> Does mutt support PGP and compressed mailboxes/folders?

Yes.  And more.

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 Tue, Jun 13, 2000 at 05:10:01PM -0700, Michael Boyiazis wrote:
> /usr/local/bin/tcpserver -c 550 -x /etc/security/tcprules/inbound.cdb \
> -u qmaild -g nofiles 0 smtp /var/qmail/bin/qmail-smtpd &
  ********************

At least this is wrong!
You have to put "uid" and "gid" there not "username and "groupname".
tcpserver does:
    case 'u': scan_ulong(optarg,&uid); break;
    case 'g': scan_ulong(optarg,&gid); break;

You may also want to start tcpserver with the "-v" flag and add a
    2>&1 | /var/qmail/bin/splogger smtpd
in front of the ampersand '&' in the above line.
This will result in logging lines like

Jun 15 14:46:17 NNNNNN smtpd: 961073177.826729 tcpserver: pid 43703 from XXX.221.183.47
Jun 15 14:46:17 NNNNNN smtpd: 961073177.832567 tcpserver: ok 43703 
XXXXXX.space.net:195.30.XXX.XXX:25 www.gmx.net:XXX.221.183.47::49075
Jun 15 14:46:17 NNNNNN smtpd: 961073177.881973 tcpserver: end 43703
status 0

and assist you in troubleshooting. If there is a deny entry you will see
a "deny" instead of the "ok".

        \Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Stress is when you wake
Research & Development    | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | realize you haven't
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  | fallen asleep yet.




I'm wondering what facilities exist for distributing some of the Qmail
work across two machines in the following way:

'mx.ourdomain' accepts connections from the outside world and handles
receiving mail for all hosted virtual domains.
'mstore.ourdomain' receives all the messages from 'mx' that are for the
virtual domains and stores them for POP3 or IMAP retrieval.
'mx.ourdomain' is also the SMTP box for sending messages out to the
Internet.
--
Michael T. Babcock





On Wed, Jun 14, 2000 at 09:50:53AM -0500, Enrique Vadillo wrote:
> Is there some modified ELM somewhere that works with Maildirs? or maybe just
> patches?

Yes, it's called mutt :)

Seriouslly, I was a elm user and changed over to mutt in no time. And it
gives you maildir support.


-- 
Fazer Clix custa Nix
Pedro Melo - <[EMAIL PROTECTED]>
Direc��o de Engenharia Clix <http://clix.pt/>
Ed. Atrium Saldanha - P�a. Dq. Saldanha, 1 - 7� / 1050-094 Lisboa
tel:  +351 21 3166740/00  - Fax: +351 21 3166701




Could anyone please point me to some good
documentation on how to use these to put messages in
the queue. I already have qmqpd running using
tcpserver and it appears to work.

If it can be done using perl that would be great.

Thank you.

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com




On Thu, 15 Jun 2000, mwangu wrote:

> Could anyone please point me to some good
> documentation on how to use these to put messages in
> the queue. I already have qmqpd running using
> tcpserver and it appears to work.
> 
> If it can be done using perl that would be great.

Perl is not needed.

On the client machines (ie those machines that will be sending mail
via QMQP to the server running qmqpd) do this: (DO NOT DO THIS ON THE
SERVER RUNNING qmail-qmqpd!)

    1) find the IP address of the server running qmqpd. It MUST be the IP
       address. Let's assume it is 1.2.3.4

            cd /var/qmail/control
            cp /dev/null ./locals
            echo 1.2.3.4 > ./qmqpservers
    
    2) replace qmail-queue with the QMQP client program, qmail-qmqpc

            cd /var/qmail/bin
            mv qmail-queue qmail-queue.orig
            ln qmail-qmqpc qmail-queue

    3) wait for any mail queued on the client box to be delivered:

            qmail-qstat
            messages in queue: 0
            messages in queue but not yet preprocessed: 0

       then stop qmail-send

Now, all mail that passes through this client will be sent to the
server whose IP address is 1.2.3.4 via QMQP. 

Repeat for all your other null clients.

You might also want to set up a second box running qmail-qmqpd to
queue mail just in case your first qmqpd servier is unavailable:

    On the new server running qmail-qmqpd

    1)
            cd /var/qmail/control
            cp /dev/null ./locals
            echo ":mailhost.your.domain" > ./smtproutes

    On the null clients

    1)
            cd /var/qmail/control
            cp /dev/null ./locals
            echo 1.2.3.5 >> ./qmqpservers

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

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





Peter,

Thank you for your response. This will come in handy. 
The reason I was hoping there was a Perl way to do
this, i.e. qmqpc messages into the qmail queue is for
testing purposes for another app I am working on.

Mike.

--- Peter Samuel <[EMAIL PROTECTED]>
wrote:
> On Thu, 15 Jun 2000, mwangu wrote:
> 
> > Could anyone please point me to some good
> > documentation on how to use these to put messages
> in
> > the queue. I already have qmqpd running using
> > tcpserver and it appears to work.
> > 
> > If it can be done using perl that would be great.
> 
> Perl is not needed.
> 
> On the client machines (ie those machines that will
> be sending mail
> via QMQP to the server running qmqpd) do this: (DO
> NOT DO THIS ON THE
> SERVER RUNNING qmail-qmqpd!)
> 
>     1) find the IP address of the server running
> qmqpd. It MUST be the IP
>        address. Let's assume it is 1.2.3.4
> 
>           cd /var/qmail/control
>           cp /dev/null ./locals
>           echo 1.2.3.4 > ./qmqpservers
>     
>     2) replace qmail-queue with the QMQP client
> program, qmail-qmqpc
> 
>           cd /var/qmail/bin
>           mv qmail-queue qmail-queue.orig
>           ln qmail-qmqpc qmail-queue
> 
>     3) wait for any mail queued on the client box to
> be delivered:
> 
>           qmail-qstat
>           messages in queue: 0
>           messages in queue but not yet preprocessed: 0
> 
>        then stop qmail-send
> 
> Now, all mail that passes through this client will
> be sent to the
> server whose IP address is 1.2.3.4 via QMQP. 
> 
> Repeat for all your other null clients.
> 
> You might also want to set up a second box running
> qmail-qmqpd to
> queue mail just in case your first qmqpd servier is
> unavailable:
> 
>     On the new server running qmail-qmqpd
> 
>     1)
>           cd /var/qmail/control
>           cp /dev/null ./locals
>           echo ":mailhost.your.domain" > ./smtproutes
> 
>     On the null clients
> 
>     1)
>           cd /var/qmail/control
>           cp /dev/null ./locals
>           echo 1.2.3.5 >> ./qmqpservers
> 
> Regards
> Peter
> ----------
> Peter Samuel                               
> [EMAIL PROTECTED]
> Technical Consultant                        or at
> present:
> eServ. Pty Ltd                             
> [EMAIL PROTECTED]
> Phone: +61 2 9206 3410                      Fax: +61
> 2 9281 1301
> 
> "If you kill all your unhappy customers, you'll only
> have happy ones left"
> 


__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/




Selective relaying on my Qmail server works from many different evironments 
except this one. Recently acquired a small company who uses webramp M3 
router/hub with two modems to connect to Mindspring. They can read POP3 from my 
machine but can't send mail through it. I really would like them to use our 
SMTP server.

Selective relaying works for other sites using regular PPP connections and 
using a router behind a cable modem (using NAT for internal addresses on the 
client PC's).

Anyone familiar with this problem using Webramp hardware? 

TIA, Rob Havens




anyone have any docs on setting up vpopmail to deliver to local user dirs?
Or are there any text based (pine-like) MUA's that can grab the mail via
POP3?

Or how about any docs on vpopmail????

Thanks!

Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545





> Paul Farber:

> anyone have any docs on setting up vpopmail to deliver to local user dirs?
> Or are there any text based (pine-like) MUA's that can grab the mail via
> POP3?

mutt.  how about a fetchmail | procmail pipeline?

clemens




I keep getting an incorrect password when i try to pop my mail and i know
it's the right password because:

[root@mycrib /src/checkpassword-0.81]# /var/qmail/bin/qmail-popup host
/bin/checkpassword pwd 
+OK <16210.961096546@host> 
user myass 
+OK pass
ishuge!
/home/myass
[root@mycrib /src/checkpassword-0.81]#

the script I'm runing is:  
tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup mail.mycrib.com \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Mailbox 2>&1 | \
/var/qmail/bin/splogger pop3d &

And I want it sent to ~/Mailbox...

any ideas where i'm going wrong?





On Thu, Jun 15, 2000 at 02:27:40PM -0500, Z wrote:
> I keep getting an incorrect password when i try to pop my mail and i know
> it's the right password because:
> 
> [root@mycrib /src/checkpassword-0.81]# /var/qmail/bin/qmail-popup host
> /bin/checkpassword pwd 
> +OK <16210.961096546@host> 
> user myass 
> +OK pass
> ishuge!
> /home/myass
> [root@mycrib /src/checkpassword-0.81]#
> 
> the script I'm runing is:  
> tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup mail.mycrib.com \
> /bin/checkpassword /var/qmail/bin/qmail-pop3d Mailbox 2>&1 | \
> /var/qmail/bin/splogger pop3d &
> 
> And I want it sent to ~/Mailbox...

qmail-pop3d works only with maildir delivery. It's certainly possible to have a
maildir called "Mailbox," but the name suggests that maybe you're using mailbox
delivery instead of maildir.

Can you show us the exact error message you receive when you try to pop your
mail? Can you run a manual pop session and post the results here?

Chris




>From what I've heard many MUA's don't handle the maildir
very easily.  
the exact error message i'm getting is:

-ERR this user has no $HOME/Maildir

and i can't even have the pop server find it even if i create Maildir.

i think i'm going to switch over to qpopper or ipop3d to fix the problem 
unless someone has another suggestion.  

thanks for the help!

ZZ

On Thu, 15 Jun 2000, Chris Johnson wrote:

> On Thu, Jun 15, 2000 at 02:27:40PM -0500, Z wrote:
> > I keep getting an incorrect password when i try to pop my mail and i know
> > it's the right password because:
> > 
> > [root@mycrib /src/checkpassword-0.81]# /var/qmail/bin/qmail-popup host
> > /bin/checkpassword pwd 
> > +OK <16210.961096546@host> 
> > user myass 
> > +OK pass
> > ishuge!
> > /home/myass
> > [root@mycrib /src/checkpassword-0.81]#
> > 
> > the script I'm runing is:  
> > tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup mail.mycrib.com \
> > /bin/checkpassword /var/qmail/bin/qmail-pop3d Mailbox 2>&1 | \
> > /var/qmail/bin/splogger pop3d &
> > 
> > And I want it sent to ~/Mailbox...
> 
> qmail-pop3d works only with maildir delivery. It's certainly possible to have a
> maildir called "Mailbox," but the name suggests that maybe you're using mailbox
> delivery instead of maildir.
> 
> Can you show us the exact error message you receive when you try to pop your
> mail? Can you run a manual pop session and post the results here?
> 
> Chris
> 





On Thu, Jun 15, 2000 at 04:50:37PM -0500, Z wrote:
> From what I've heard many MUA's don't handle the maildir
> very easily.  

MUAs like mutt, and I believe recent versions of Pine (and if not there are
patches to make Pine understand maildirs), handle maildirs just fine. Clients
that use POP to retrieve mail don't know or care what kind of storage you're
using.

> the exact error message i'm getting is:
> 
> -ERR this user has no $HOME/Maildir
> 
> and i can't even have the pop server find it even if i create Maildir.

You'd have to create a maildir called "Mailbox," given the tcpserver invocation
from your previous message.

> i think i'm going to switch over to qpopper or ipop3d to fix the problem 
> unless someone has another suggestion.  

If you don't use maildir delivery, you'll have to use another POP3 server,
since qmail-pop3d handles only maildirs.

Chris




This question is related to one asked by Erik Nielsen on Jan 14, 1998,
according to the distribution list archives.

In two separate incidents, we observed erroneous addressing on bounced
messages. I'm not looking for further analysis of the problem, but
rather a confirmatory "sighting in the field" from any of you that
have observed this behavior. If so, how did you rectify the problem?

Briefly, the original sender _is not_ written as the addressee on the
bounced message header. Rather, a valid, but _different_ addressee is
written.

The "duress" scenario occurs when:

* Downstream mail server is unavailable
* Deferred mail messages consume all available space on mail store
  volume
* Additional mail messages arrive and are bounced back to originating
  server
 (NOTE: In one case, a 300 MB attachment filled the volume in
  mid-delivery)

We are building a test environment to better characterize this behavior
and will post our results. Anything you can offer as insight would be
helpful. I'm sorry that I can't show you specific messages due to the
sensitive nature of this problem. The behavior, however, is consistent
with my description above.

Thank you,

Brian Murray
[EMAIL PROTECTED]










<[EMAIL PROTECTED]>:
207.99.50.35 does not like recipient.
Remote host said: 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
Giving up on 207.99.50.35.


Amusing.

Scott

---------- Forwarded message ----------
Date: Thu, 15 Jun 2000 14:12:07 -0600 (MDT)
From: Scott D. Yelich <[EMAIL PROTECTED]>
To: Adam McKenna <[EMAIL PROTECTED]>
Cc: Robert Varga <[EMAIL PROTECTED]>, Javier Vino R. <[EMAIL PROTECTED]>,
     [EMAIL PROTECTED]
Subject: Re: PINE +Qmail

On Thu, 15 Jun 2000, Adam McKenna wrote:
> Don't use pine.  Use mutt.

why?

Does mutt support PGP and compressed mailboxes/folders?

Scott







        Hi List,

        I have a Novell Groupwise who get message for @sp.example.com and it can't 
get message for @example.com, so i set MX of example.com to 
linux.example.com running qmail to redirect messages from @example.com to 
@sp.example.com.
        How can i configure qmail to redirect message to @xx.example.com changing 
the  RCPT TO from [EMAIL PROTECTED] to [EMAIL PROTECTED]


        Tkz,
        Jorge Rocha
--
Node 1 Internet
http://www.node1.com.br
Tel.: (11) 5092-6020
Fax.: (11) 5092-6033





On Thu, Jun 15, 2000 at 06:08:13PM +0100, Jorge Rocha wrote:
>       I have a Novell Groupwise who get message for @sp.example.com and it can't 
> get message for @example.com, so i set MX of example.com to 
> linux.example.com running qmail to redirect messages from @example.com to 
> @sp.example.com.
>       How can i configure qmail to redirect message to @xx.example.com changing 
> the  RCPT TO from [EMAIL PROTECTED] to [EMAIL PROTECTED]

# echo example.com >> /var/qmail/control/rcpthosts
# echo example.com:alias-example >> /var/qmail/control/virtualdomains
# echo '| forward "$DEFAULT"@xx.example.com' > ~alias/.qmail-example-default

Make sure example.com is not in /var/qmail/control/locals, and send qmail-send
a SIGHUP.

Chris




  Here is an experimental patch against Qmail 1.03.
  Messages will be saved in Maildir spools as gzip files, and the POP3
server uncompresses them on-the-fly.
  It may save a lot of hard disk space (especially on ReiserFS
partitions with tails) and does not change anything to the POP3 nor SMTP
protocols.

  Best regards,
-- 
         Frank DENIS aka Jedi/Sector One aka DJ Chrysalis <[EMAIL PROTECTED]>
                -> Software : http://www.jedi.claranet.fr <-
      If Bill Gates had a dime for every time a Windows box crashed...
                  ...oh, wait a minute -- he already does.

qmail-compression.patch.gz





Does anyone have filters for sqwebmail?





I have some problems making vacation fetched from
ftp://ftp.uniq.com.au/pub/tools/qmail/qmail-vacation-1.3.tar.gz

The same problem occurs on two different machines, Intel/Suse Linux 6.3 with
perl, v5.6.0 built for i686-linux-multi and Sparc/Solaris 7 with perl,
version 5.005_03 built for sun4-solaris

Here is the error message:
-----
perl -c vacation.pl
Type of arg 1 to close must be HANDLE (not <HANDLE>) at vacation.pl line
477, near "<MSG>;"
vacation.pl had compilation errors.
make: *** [vacation] Error 255
-----

This is "out of the tarball", and when close<MSG>; on line 477 is changed to
close MSG; it seems to work. This should be changed in the dist, if what
I've done is correct. If not, please correct me.

tnx
--
--------------------------------------------
IDG New Media     Einar Bordewich
Technical Manager  Phone: +47 2336 1420
E-Mail:           [EMAIL PROTECTED]
--------------------------------------------






On Fri, 16 Jun 2000, Einar Bordewich wrote:

> I have some problems making vacation fetched from
> ftp://ftp.uniq.com.au/pub/tools/qmail/qmail-vacation-1.3.tar.gz
> 
> The same problem occurs on two different machines, Intel/Suse Linux 6.3 with
> perl, v5.6.0 built for i686-linux-multi and Sparc/Solaris 7 with perl,
> version 5.005_03 built for sun4-solaris
> 
> Here is the error message:
> -----
> perl -c vacation.pl
> Type of arg 1 to close must be HANDLE (not <HANDLE>) at vacation.pl line
> 477, near "<MSG>;"
> vacation.pl had compilation errors.
> make: *** [vacation] Error 255
> -----
> 
> This is "out of the tarball", and when close<MSG>; on line 477 is changed to
> close MSG; it seems to work. This should be changed in the dist, if what
> I've done is correct. If not, please correct me.

That is the correct fix. The new qmail-vacation has been delayed. I've
been swamped with work and I'm moving to Canada in a couple of months.
I do plan on releasing it but I don't know when.

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

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





I'm setting up a large mail cluster and I'm trying to
hook up with other people who have done this. I need
advice on how to cluster boxes for about 250K external
msg/day. I'm using 750MHz AMD boxes I need an idea 
how many I need - including a backup capability.
I've only done single server units before and I need
to find out if there are different firewall configurations that I should examine...





AMD? Why?

How big is the cluster (users)?



On Thu, 15 Jun 2000 [EMAIL PROTECTED] wrote:

> I'm setting up a large mail cluster and I'm trying to
> hook up with other people who have done this. I need
> advice on how to cluster boxes for about 250K external
> msg/day. I'm using 750MHz AMD boxes I need an idea 
> how many I need - including a backup capability.
> I've only done single server units before and I need
> to find out if there are different firewall configurations that I should examine...
> 






when i run the command :
tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp after editing my tcp.smtp 
i get an error command not found even i install succesfully the ucspi-tcp
what is my problem here?





Hello.

The directory where you installed ucspi-tcp in is $PATH?
If you are not sure try it again with full path names.
tcprules is installed in /usr/local/bin with default settings.

/usr/local/bin/tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp

Koji

----- Original Message ----- 
From: "Vince" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 16, 2000 12:57 PM
Subject: tcprules


> 
> when i run the command :
> tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp after editing my tcp.smtp 
> i get an error command not found even i install succesfully the ucspi-tcp
> what is my problem here?
> 
> 





Ben Beuchler wrote:
> 
> On Wed, Jun 14, 2000 at 04:24:47PM -0700, Eric Cox wrote:
> 
> > > your ~/.qmail file must contain ``./Mailbox'' (relative to the user's
> > > home directory, or the full path, e.g. ``/home/username/Mailbox''.
> >
> > I think it's
> >
> > ./Mailbox/
> >
> > (i.e. with the trailing slash)
> 
> I believe if you include a trailing slash it delivers as if it were a
> Maildir.

I assumed the original poster wanted Maildir due to the subject line.

Eric






i configured qmail succesfully but my problem is whenever i sent an email
to one of the users where my qmail was install i cant find the mail. in
sendmail i know it was var/spool/mail where can i check that in qmail?






What does your /var/qmail/control/defaultdelivery file say?

The most probable location is /home/username/Mailbox  or
/home/username/Maildir/cur, new, tmp

At 15:30 00/06/16 +0800, you wrote:
> 
> 
> i configured qmail succesfully but my problem is whenever i sent an email
> to one of the users where my qmail was install i cant find the mail. in
> sendmail i know it was var/spool/mail where can i check that in qmail?
>   





You may try a 'ps -ef|grep qmail` and see if the appropriate qmail programs are 
running. Looking also at your log files may help in case there are errors. It is also 
important to note how you configured your qmail to deliver messages.

This is what Vince said:

> 
> 
> i configured qmail succesfully but my problem is whenever i sent an email
> to one of the users where my qmail was install i cant find the mail. in
> sendmail i know it was var/spool/mail where can i check that in qmail?
> 





i have this message in my log file when i send a mail 

Jun 16 17:15:51 procmail qmail: 961146951.320518 delivery 25: deferral:
Uh-oh:_home_directory_is_writable._(#4.7.0)/
Jun 16 17:15:51 procmail qmail: 961146951.323302 status: local 0/10 remote
0/20



At 04:17 PM 6/16/00 +0800, you wrote:
>You may try a 'ps -ef|grep qmail` and see if the appropriate qmail
programs are running. Looking also at your log files may help in case there
are errors. It is also important to note how you configured your qmail to
deliver messages.
>
>This is what Vince said:
>
>> 
>> 
>> i configured qmail succesfully but my problem is whenever i sent an email
>> to one of the users where my qmail was install i cant find the mail. in
>> sendmail i know it was var/spool/mail where can i check that in qmail?
>> 
>
>





Remove the write permissions for group and others from the directory. Qmail is pretty 
strict on permissions.


This is what Vince said:

> 
> i have this message in my log file when i send a mail 
> 
> Jun 16 17:15:51 procmail qmail: 961146951.320518 delivery 25: deferral:
> Uh-oh:_home_directory_is_writable._(#4.7.0)/
> Jun 16 17:15:51 procmail qmail: 961146951.323302 status: local 0/10 remote
> 0/20
> 
> 
> 
> At 04:17 PM 6/16/00 +0800, you wrote:
> >You may try a 'ps -ef|grep qmail` and see if the appropriate qmail
> programs are running. Looking also at your log files may help in case there
> are errors. It is also important to note how you configured your qmail to
> deliver messages.
> >
> >This is what Vince said:
> >
> >> 
> >> 
> >> i configured qmail succesfully but my problem is whenever i sent an email
> >> to one of the users where my qmail was install i cant find the mail. in
> >> sendmail i know it was var/spool/mail where can i check that in qmail?
> >> 
> >
> >
> 





Make sure you have this:

% groupadd -g 110 qmgr ( A group id above 100)
% useradd -u 120 -g 110 mailuser (A group id above 100)

% chgrp qmgr /home
% chmod 775 /home

Goodluck,
Kristina



At 17:09 00/06/16 +0800, you wrote:
> Remove the write permissions for group and others from the directory. Qmail
is pretty strict on permissions.
> 
> 
> This is what Vince said:
> 
> > 
> > i have this message in my log file when i send a mail 
> > 
> > Jun 16 17:15:51 procmail qmail: 961146951.320518 delivery 25: deferral:
> > Uh-oh:_home_directory_is_writable._(#4.7.0)/
> > Jun 16 17:15:51 procmail qmail: 961146951.323302 status: local 0/10 remote
> > 0/20
> > 
> > 
> > 
> > At 04:17 PM 6/16/00 +0800, you wrote:
> > >You may try a 'ps -ef|grep qmail` and see if the appropriate qmail
> > programs are running. Looking also at your log files may help in case th
ere
> > are errors. It is also important to note how you configured your qmail to
> > deliver messages.
> > >
> > >This is what Vince said:
> > >
> > >> 
> > >> 
> > >> i configured qmail succesfully but my problem is whenever i sent an
email
> > >> to one of the users where my qmail was install i cant find the mail. in
> > >> sendmail i know it was var/spool/mail where can i check that in qmail?
> > >> 
> > >
> > >
> > 
>   



Reply via email to