disclaimer at end of outgoing msg

2001-06-01 Thread arjen


Hi,

i wanna append a disclaimer on every outgoing msg that contains
@mydomain.com. I looked at qmail-qfilter, but I cannot get the thing to
work. 

I patched a clean qmail src, added the indicated envvar and wrote a 
perl script for outgoing mail to pass through.

Anyone got this thing to work for a disclaimer? Any other possibilities?

Thnx in advance. 


Grtz, 

Arjen.





Re: ORBS, and RFC-ignorant blacklists

2001-06-01 Thread Johan Almqvist

* Alex Pennace [EMAIL PROTECTED] [010601 04:25]:
 http://www.orbs.org/ says Due to circumstances beyond our control,
 the ORBS website is no longer available.

http://www.dorkslayers.com/ seems to be the successor in some ways. But
the first statement

It is our intention to never list IP addresses which have any of the
following characteristics:
- a physical location within the United States of America (USA)
[...]

makes me wonder a bit...

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


Re: ORBS, and RFC-ignorant blacklists

2001-06-01 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-

Alex Pennace wrote:

http://www.orbs.org/ says Due to circumstances beyond our control,
the ORBS website is no longer available.

That seems pretty abrupt.  Anyone know why they vanished?

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBOxdEQ71ZYOtSwT+tAQH2cAgAg1ScHjgE6LLgiSirhqf+P8MvWBUR++Gk
YcHOXAuB9t0wyA1dmfFmL/9Id1Lz54euavDrZsZ22+ikqhd3ov+uPPzTsP5vdE8l
tFwNTHugvIEKzwH0fxsyu/3sujeO/B3oCnfX13e0NaGTq1x8V8SFYw9Qt7GjOVz+
x+AL0cvYEB1+FAPY8TiEMbHG13BV0fcOKn3YTeSlCdDA4bmcsRhx5ChIrHO3nmQB
M9ZCoMYFEfN46fVSE3ygSj0/CdgC52oxh8aeHb969G3OEOOeHeG2GFK71pxg1+Zs
EkaU91OYAj17FpmHZR358LUQ2p5ianaNK4kYYgghPsaUtiLxIOxa9A==
=AdHz
-END PGP SIGNATURE-





Re: ORBS, and RFC-ignorant blacklists

2001-06-01 Thread Johan Almqvist

* David Talkington [EMAIL PROTECTED] [010601 09:29]:
 Alex Pennace wrote:
 http://www.orbs.org/ says Due to circumstances beyond our control,
 the ORBS website is no longer available.
 That seems pretty abrupt.  Anyone know why they vanished?

legalese
Alan Brown, operator of ORBS, was served 2 New Zealand High Court
injunctions ordering the removal of several OBRS listings. The compalies
who filed for these injunctions are Actrix and NZ Telecom.
/legalese

http://groups.google.com/groups?q=news.admin.net-abuse.email


-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


locals question

2001-06-01 Thread MMP Wolfgang Rupp

Hi all,

we have here a central mailhub, mail.mm-packaging.com. This host
treats mail to mm-packaging.com and mail.mm-.. as local. Now I
also listed it as preferred MX for two domains that are www-only,
but since postmaster@ must work, I put these domains into locals,
as well. Now postmaster mails for these domains also get to me.

My question: how do I prevent delivery to all other recipients
for which a .qmail file exists?

example: I want the machine to accept mail to
[EMAIL PROTECTED] and [EMAIL PROTECTED]
but not for [EMAIL PROTECTED] (one www domain)

regards

Wolfgang Rupp
Network Administrator
Mayr-Melnhof Packaging GmbH
Floragasse 7/6
A-1040 Wien
Tel: +43-1-50257-238
Fax: +43-1-50257-260



Re: locals question

2001-06-01 Thread arjen


On Fri, 1 Jun 2001, MMP Wolfgang Rupp wrote:

 Hi all,
 
 we have here a central mailhub, mail.mm-packaging.com. This host
 treats mail to mm-packaging.com and mail.mm-.. as local. Now I
 also listed it as preferred MX for two domains that are www-only,
 but since postmaster@ must work, I put these domains into locals,
 as well. Now postmaster mails for these domains also get to me.
 
 My question: how do I prevent delivery to all other recipients
 for which a .qmail file exists?

If I understand correctly, this should fix it:

put the www-only domains into $QMAILHOMEDIR/control/virtualdomains,
get them out of locals. Map them to one specific user in virtualdomains,
and there you handle it bu using .qmail files. Your local users will never
get mail for these domains.

Of course, give qmail-send a -HUP after finishing...

Grtz,

Arjen.





Re: locals question

2001-06-01 Thread Adam McKenna

On Fri, Jun 01, 2001 at 10:57:38AM +0200, [EMAIL PROTECTED] wrote:
 
 On Fri, 1 Jun 2001, MMP Wolfgang Rupp wrote:
 
  Hi all,
  
  we have here a central mailhub, mail.mm-packaging.com. This host
  treats mail to mm-packaging.com and mail.mm-.. as local. Now I
  also listed it as preferred MX for two domains that are www-only,
  but since postmaster@ must work, I put these domains into locals,
  as well. Now postmaster mails for these domains also get to me.
  
  My question: how do I prevent delivery to all other recipients
  for which a .qmail file exists?
 
 If I understand correctly, this should fix it:
 
 put the www-only domains into $QMAILHOMEDIR/control/virtualdomains,
 get them out of locals. Map them to one specific user in virtualdomains,
 and there you handle it bu using .qmail files. Your local users will never
 get mail for these domains.

Actually, a better solution would be to do the following:

in virtualdomains:
domain1.com:alias-null
domain2.com:alias-null

in ~alias/.qmail-null-default put a single hash (#) mark.

Like arjen said, remove the domains from locals and send qmail-send a HUP.

--Adam



Hy

2001-06-01 Thread marco1



Hy I'me a new user ofQmail and Linux so i 
need some basic information, I'm sorry for my ignorance:-)

1)There is some free Gui or Web interface for 
administeringQmail?
2)I need client software or allI need is 
something like outlookexpress?
3)It is possible to read e-mail directly on the 
server with common web browser?


Re: Hy

2001-06-01 Thread David

Dear marco1,

  1£¬ here http://www.inter7.com/qmailadmin/ is web based interface to create 
users/aliases/forward ...
  you should install vpopmail for qmail first, vpopmail can be located at 
http://www.inter7.com/vpopmail/
  Http://www.inter7.com/vqadmin/ is a web based interface to create virtual 
domains in qmail
  you nedd install vpopmail first too.
  2,  If you wanna get your mail to your local machine via pop3, you will need one 
software like outlook express.
  3,  Here(http://www.inter7.com/sqwebmail/) is a free webmail programe, but it need 
vpopmail too.

  I use qmail+vpopmail+mysql, so all my suggestion with vpopmail.



Sincerely yours,
David Ge [EMAIL PROTECTED]
Room 604, No. 168, Qinzhou Road, Shanghai.
Phone: (021)34140621-12
2001-06-01 18:00:52

On 2001-06-01 11:50:00 you wrote:
Hy I'me a new user of Qmail and Linux so i need some basic information, I'm sorry for 
my ignorance:-)

1)There is some free Gui or Web interface for administering Qmail?
2)I need client software or all I need is something like outlook express?
3)It is possible to read e-mail directly on the server with common web browser?






Summary: locals question

2001-06-01 Thread MMP Wolfgang Rupp

Thank you for the quick response.

After arjen's and Adam's suggestions, I did the following:
- take the www-domains out of locals
- virutaldomains: foo.com:alias-foo
- created $QMAILDIR/alias/.qmail-foo-postmaster

And I did not create a .qmail-foo-default with #, because
I need valid bounces. I can't let the machine ack a message
and then send it to /dev/null.

cheers

Wolfgang Rupp
Network Administrator
Mayr-Melnhof Packaging GmbH
Floragasse 7/6
A-1040 Wien
Tel: +43-1-50257-238
Fax: +43-1-50257-260



Re: Hy

2001-06-01 Thread hari_bhr

better you down load plesk its free for one domain
- Original Message -
From: David [EMAIL PROTECTED]
To: marco1 [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, June 01, 2001 3:30 PM
Subject: Re: Hy


Dear marco1,

  1¡ê? here http://www.inter7.com/qmailadmin/ is web based interface to
create users/aliases/forward ...
  you should install vpopmail for qmail first, vpopmail can be located
at http://www.inter7.com/vpopmail/
  Http://www.inter7.com/vqadmin/ is a web based interface to create
virtual domains in qmail
  you nedd install vpopmail first too.
  2,  If you wanna get your mail to your local machine via pop3, you will
need one software like outlook express.
  3,  Here(http://www.inter7.com/sqwebmail/) is a free webmail programe, but
it need vpopmail too.

  I use qmail+vpopmail+mysql, so all my suggestion with vpopmail.



Sincerely yours,
David Ge [EMAIL PROTECTED]
Room 604, No. 168, Qinzhou Road, Shanghai.
Phone: (021)34140621-12
2001-06-01 18:00:52

On 2001-06-01 11:50:00 you wrote:
Hy I'me a new user of Qmail and Linux so i need some basic information, I'm
sorry for my ignorance:-)

1)There is some free Gui or Web interface for administering Qmail?
2)I need client software or all I need is something like outlook express?
3)It is possible to read e-mail directly on the server with common web
browser?




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




virtual users? aliases? what do I need?

2001-06-01 Thread Nate Pinchot

I apologize if this question has already been answered on this mailing list,
but I definately did not see it in the faq.
I have this situation.
user1 has a system account.
when mail comes for [EMAIL PROTECTED] I would like it to be delivered locally as
it is now.
when mail comes for [EMAIL PROTECTED] I would like it to be forwarded to a user
who doesn't have an account on my system. [EMAIL PROTECTED]
Is this possible and if so how do I go about doing it? Thanks for any help
in advance.


-- Nate




Features

2001-06-01 Thread GARGIULO Eduardo INGDESI

Hi all.

I'm new to the list and new to qmail.
I had allways used sendmail, but I had heared that
qmail is better (more secure and reliable) than sendmail.
Where can I find documentation about advantages of qmail
over sendmail and install/configure docs of qmail?

thanks, and sorry for my english ..

--ejg 



Re: virtual users? aliases? what do I need?

2001-06-01 Thread tom


Hi,

youst place a .qmail-user1 file wherever your
.qmail files are placed in your system
The content may be user1 or /home/user1
For user2 do the same and insert as content
of the .qmail file 
[EMAIL PROTECTED]

This is in the man pages and in the faq and in thea
archive.

Tom

Nate Pinchot schrieb:
 
 I apologize if this question has already been answered on this mailing list,
 but I definately did not see it in the faq.
 I have this situation.
 user1 has a system account.
 when mail comes for [EMAIL PROTECTED] I would like it to be delivered locally as
 it is now.
 when mail comes for [EMAIL PROTECTED] I would like it to be forwarded to a user
 who doesn't have an account on my system. [EMAIL PROTECTED]
 Is this possible and if so how do I go about doing it? Thanks for any help
 in advance.
 
 
 -- Nate



Re: Limiting bandwidth usage

2001-06-01 Thread Dave Sill

Karsten W. Rohrbach [EMAIL PROTECTED] wrote:

qmail indirectly contains instrumentation for that. it is called remote
concurreny.

The key word there is indirectly.

If you need direct control, concurrencyremote won't provide it.

In some applications, lowering concurrencyremote might be good enough.

-Dave



Re: Features

2001-06-01 Thread Dave Sill

GARGIULO Eduardo   INGDESI [EMAIL PROTECTED] wrote:

I'm new to the list and new to qmail.

Welcome.

I had allways used sendmail, but I had heared that
qmail is better (more secure and reliable) than sendmail.
Where can I find documentation about advantages of qmail
over sendmail

http://www.lifewithqmail.org/lwq.html#features
http://www.lifewithqmail.org/lwq.html#comparison

and install/configure docs of qmail?

http://www.lifewithqmail.org/lwq.html#installation

thanks, and sorry for my english ..

http://www.lifewithqmail.org/lwq.html#lwq-translations

There's also a Russian translation at:

  http://reanand.terrashare.com/qmail/lwq.htm

-Dave



Re: Features

2001-06-01 Thread Andrea Cerrito

Try here
http://cr.yp.to

---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372



dot qmail problem urgent

2001-06-01 Thread Lye On Siong Johnny

Hi,

I am using qmail + vpopmail.
Currently, I am facing this problem. I have email account like test, 
test-a, test-b
everything works fine. However, when someone send a mail to test-c, it's 
send to test instead.
Is there anyway i can configure it such that if there isn't any valid 
account or .qmail file, then the
mail should be bounce instead of being delivered.


Please advice

Thanks
Johnny




Re: qmail-popbull used w/ imap

2001-06-01 Thread Russell Nelson

michael writes:
  This question I suppose is directed at Russell since he is the 
  writer of qmail-popbull...
  
  We're trying to get courier-imap running and the desire is to
  also have bulletin ability.  Since qmail-popbull is called as
  part of tcpserver startup for qmail I'm hoping it can be 
  inserted into the startup string for imap.  Can anyone think
  of a reason why it wouldn't be able to be done?  I'd check
  it out now, but am still working on getting checkpassword
  converted for use w/ courier-imap since it appears to need
  a few extra environment variables set.  I'd rather not have 
  to add that functionality into a new piece of code.

Won't work, because Mr. Sam chose not to use checkpassword for
courier-imap.  qmail-popbull requires the use of checkpassword.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | Microsoft rivets everything.
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws.
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX  | You own a screwdriver.



Re: dot qmail problem urgent

2001-06-01 Thread Henning Brauer

On Fri, Jun 01, 2001 at 09:09:59PM +0800, Lye On Siong Johnny wrote:
 Hi,
 
 I am using qmail + vpopmail.
 Currently, I am facing this problem. I have email account like test, 
 test-a, test-b
 everything works fine. However, when someone send a mail to test-c, it's 
 send to test instead.
 Is there anyway i can configure it such that if there isn't any valid 
 account or .qmail file, then the
 mail should be bounce instead of being delivered.

remove the test-default .qmail-file.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: dot qmail problem urgent

2001-06-01 Thread Lye On Siong Johnny

Hi, thanks for your reply.

But i need to have the .qmail-test cause it's use to forward it to another 
email

Any suggestion??
Thanks

At 03:27 PM 6/1/2001 +0200, Henning Brauer wrote:
On Fri, Jun 01, 2001 at 09:09:59PM +0800, Lye On Siong Johnny wrote:
  Hi,
 
  I am using qmail + vpopmail.
  Currently, I am facing this problem. I have email account like test,
  test-a, test-b
  everything works fine. However, when someone send a mail to test-c, it's
  send to test instead.
  Is there anyway i can configure it such that if there isn't any valid
  account or .qmail file, then the
  mail should be bounce instead of being delivered.

remove the test-default .qmail-file.

--
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)




Re: Features

2001-06-01 Thread tom

www.qmail.org

GARGIULO Eduardo INGDESI schrieb:
 
 Hi all.
 
 I'm new to the list and new to qmail.
 I had allways used sendmail, but I had heared that
 qmail is better (more secure and reliable) than sendmail.
 Where can I find documentation about advantages of qmail
 over sendmail and install/configure docs of qmail?
 
 thanks, and sorry for my english ..
 
 --ejg



Re: Limiting bandwidth usage

2001-06-01 Thread Karsten W. Rohrbach

Russell Nelson([EMAIL PROTECTED])@2001.05.31 23:41:05 +:
 Karsten W. Rohrbach writes:
   qmail indirectly contains instrumentation for that. it is called remote
   concurreny.
 
 Alas, no.  What it actually does is limit the number of connections,
 in the hope that the machine will not use a lot of bandwidth.  But
 then, really, all you're doing is relying on the machine and
 connection to run slowly enough that it doesn't start just as many
 sessions per unit of time.
sorry for not being precise enough. i should have written indirectly a
little different ;-) sure this won't limit effective bandwidth but as we
all know most long haul connects are stuffed and - yes yes yes
principles of operations - it _will_ reduce bw consumption a bit.

DISCLAIMER:
i want to point out that this is definately not a known-good solution,
but - heck - it works most of the time *grin*
this is done by trained professionals - kids, don't try this at home.

/k

-- 
 Motto of the Electrical Engineer:
 Working computer hardware is a lot like an erect penis: it
 stays up as long as you don't fuck with it.
KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie
http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.net/
karstenrohrbach.de -- alphangenn.net -- alphascene.org -- [EMAIL PROTECTED]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46

 PGP signature


Re: recipient limit for qmail-inject?

2001-06-01 Thread Charles Cazabon

Roger Walker [EMAIL PROTECTED] wrote:
 On 1 Jun 2001, Mark Delany wrote:
 
  There is no practical limit. Perhaps one qmail-inject per 50,000
  recipients? I certainly would go a *lot* higher than your current
  40-100.
 
   Hmm. That makes for a *VERY* long line *8-() I guess I should
 have the script build the recipient list like so for simplicity:
 
 BCC:  [EMAIL PROTECTED],
   [EMAIL PROTECTED],
   [EMAIL PROTECTED]

For even more simplicity, skip the special casing.  Put each recipient in it's
own bcc: header:

bcc: [EMAIL PROTECTED]
bcc: [EMAIL PROTECTED]
...

They get stripped out of the message anyway by qmail-inject, which then
records the addresses in a separate file for use by qmail-queue.

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



Re: the same username and different of domain qustion?

2001-06-01 Thread Charles Cazabon

george [EMAIL PROTECTED] wrote:
 I want to use virtual domain function in qmail1+mysql.I don't know how to
 setup when have two users the same username and different domain. and how
 flow qmail data ?
 
 Example:[EMAIL PROTECTED] and [EMAIL PROTECTED]

Your question isn't clear.  Your example isn't even same username and
different domain as you ask above.  Please explain more clearly what problems
you are having, and what you are trying to achieve.

 how to insert record in user table ,alias table ,rcpthost table and virtual
 table ?

qmail+mysql?  I would guess you would use your favourite SQL interface, like
the monitor included with MySQL.  You do know SQL, right?  If not, why are you
trying to use qmail+MySQL?

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



Re: disclaimer at end of outgoing msg

2001-06-01 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 i wanna append a disclaimer on every outgoing msg that contains
 @mydomain.com. I looked at qmail-qfilter, but I cannot get the thing to
 work. 

More details necessary.  What part didn't work?  How did you try?  What error
messages did you see?  Did you try asking on the author's bgware mailing
list?  What responses did you see?  How did you troubleshoot?  What ended up
in the qmail logs?

 Anyone got this thing to work for a disclaimer?

Lots of people.

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



Outlook Express and qmail

2001-06-01 Thread Greg Harper


We have been having trouble getting qmail to communicate with certain
Outlook Express customers.  This is probably a problem with Outlook,
but I thought maybe some of you might have had experience with this.  The
problem occurs when customers try to send mail out through are qmail
server.  If the message is a small message (less than about 5 lines), the
mail goes through fine.  However, if the message is any larger, the  mail
times out.  I have had users keep Outlook logs of the SMTP traffic, and
they show that the last thing being sent is by the following by the server
354 go ahead.  If anyone out there has had any similar problem, or could
give us some ideas of things we might want to check, it would be greatly
appreciated, because it is driving all of us here crazy tring to figure it
out.

Sincerely,
Greg Harper





Re: dot qmail problem urgent

2001-06-01 Thread Henning Brauer

On Fri, Jun 01, 2001 at 09:48:41PM +0800, Lye On Siong Johnny wrote:
 Hi, thanks for your reply.
 
 But i need to have the .qmail-test cause it's use to forward it to another 
 email

remove .qmail-test-default. Or create .qmail-test-c with |bouncesaying
[params] in it.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Quick tcpserver question

2001-06-01 Thread Gordon-Nildram



Hi

If you edit the tcp.smtp file then reload the 
tcp.smtp.cdb file using tcprules do you need to restart qmail for these changes 
to take effect?


Re: dot qmail problem urgent

2001-06-01 Thread Ahmad Ridha

From: Lye On Siong Johnny [EMAIL PROTECTED]

 Hi, thanks for your reply.

 But i need to have the .qmail-test cause it's use to forward it to another
 email


Delete you .qmail-test-default not .qmail-test. By having
.qmail-test-default you're accepting every mails sent to test-whatever
(test-c, test-d, etc).

Regards,

Ahmad Ridha


 smime.p7s


Netscape Messenger Configuration

2001-06-01 Thread Lye On Siong Johnny

Hi,

Can anyone tell me how do I configure netscape to talk to my qmail/vpopmail 
server?
I can retrieve mail. But I cannot get it to authenticate to send out mail...


many Thanks.

Johnny




Re: Quick tcpserver question

2001-06-01 Thread Peter van Dijk

On Fri, Jun 01, 2001 at 03:49:30PM +0100, Gordon-Nildram wrote:
 Hi
 
 If you edit the tcp.smtp file then reload the tcp.smtp.cdb file using tcprules do 
you need to restart qmail for these changes to take effect?

No.

Greetz, Peter.



Re: Quick tcpserver question

2001-06-01 Thread Kurth Bemis

As far as i know i don't think that you do.  I've been known to be wrong
tho..

~kurth

Kurth Bemis
Senior Network Admin/Owner: USAExpress.net
Owner: Ozone Computer

http://kurth.hardcrypto.com
PGP Key Avail.
-
Uh!.Uh!.Uh!.I'm done with thisOut the window

On Fri, 1 Jun 2001, Gordon-Nildram wrote:

 Hi

 If you edit the tcp.smtp file then reload the tcp.smtp.cdb file using tcprules do 
you need to restart qmail for these changes to take effect?





Re: Quick tcpserver question

2001-06-01 Thread Andrea Cerrito

No.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 744 5441330
Fax. +39 744 5441372 



Re: Quick tcpserver question

2001-06-01 Thread Russell Nelson

Gordon-Nildram writes:
  If you edit the tcp.smtp file then reload the tcp.smtp.cdb file
  using tcprules do you need to restart qmail for these changes to
  take effect?

No.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | Microsoft rivets everything.
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws.
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX  | You own a screwdriver.



Re: Quick tcpserver question - Thanks

2001-06-01 Thread Gordon-Nildram

Thanks for that, I didn't think you did

- Original Message -
From: Peter van Dijk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 01, 2001 4:09 PM
Subject: Re: Quick tcpserver question


 On Fri, Jun 01, 2001 at 03:49:30PM +0100, Gordon-Nildram wrote:
  Hi
 
  If you edit the tcp.smtp file then reload the tcp.smtp.cdb file using
tcprules do you need to restart qmail for these changes to take effect?

 No.

 Greetz, Peter.





Re: dot qmail problem urgent

2001-06-01 Thread Lye On Siong Johnny


On Fri, Jun 01, 2001 at 09:48:41PM +0800, Lye On Siong Johnny wrote:
  Hi, thanks for your reply.
 
  But i need to have the .qmail-test cause it's use to forward it to another
  email

remove .qmail-test-default. Or create .qmail-test-c with |bouncesaying
[params] in it.

I have remove the .qmail-test-default file.
Now the mail is still send to test when i send a mail to test-c, it doesn't 
get bounce.

The option of creating a .qmail-test-c is not viable as I will never know 
what other people is going to send to me,
they could be sending to test-go, test-k etc.

Currently, my .qmail file are as follow

.qmail-test
[EMAIL PROTECTED]

.qmail-test-a
[EMAIL PROTECTED]

.qmail-default
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

Please help me again. Help really appreciated.


Johnny




Question about supervise and tcpserver behaviour

2001-06-01 Thread Renato


Hi,

My server has strange behaviour and I don't know if this is by design or if 
there is something wrong. 

It has around 60.000 pop accounts, load average is around 12-13, but 
response time is around 2 seconds. I run Linux, lastest Redhat kernel 
2.2.19-6.2.1 and Bruce's rpm + daemontools + supervise-scripts-3.3. 

I'm monitoring the behaviour of tcpserver for the pop service ( simple 'ps -
aux | grep tcpserver | grep pop' and I get, obviously, just one is 
running ). Sometimes, supervise tries to restart tcpserver and I see 2 
tcpservers. Then the second dies ( port is already bind ). During this 
time, pop fails. Looking at the log for the pop service, I can tell that 
there is no specific moment that it happens. Tcpserver didn't run out of 
connections ( I have up to 150 concurrent ), sometimes it did with 20 
connections, sometimes with 90 concurrents. 

Is this an expected behauvior ? Is there a way to tune up supervise ? ( 
time-out, any other parameters ? )

Thanks in advance
Renato - Brazil




Re: Netscape Messenger Configuration

2001-06-01 Thread Charles Cazabon

Lye On Siong Johnny [EMAIL PROTECTED] wrote:
 
 Can anyone tell me how do I configure netscape to talk to my qmail/vpopmail 
 server?

Just plug in the appropriate IP address or hostname, username, and password
for the POP3 server, and the right IP address or hostname for the SMTP server.

 I can retrieve mail. But I cannot get it to authenticate to send out mail...

Normal SMTP has no authentication methods, and stock qmail-smtpd does not
support any.  What you're probably running into is not being able to relay
through the qmail box.  You need to set up selective relaying -- it's
documented just about everywhere and fully answered hundreds of times in the
mailing list archives, so don't ask how to set it up on the list.

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



Re: smtp on a specific IP

2001-06-01 Thread Ross Davis - Data Anywhere


 here is my smtpd run from the supervise directory
  /var/qmail/bin/qmail-smtpd 21
 env - PATH=/var/qmail/bin:/usr/local/bin \
 tcpserver -v -p -u vpopmail -g vchkpw 0 smtp /var/qmail/bin/qmail-smtpd
21
^
this is the address to bind to.
http://cr.yp.to/ucspi-tcp/tcpserver.html

cheers
/k

I must be missing something then.  I see that I can tell it what IP to send
out on for all domains, but how do I tell mail.domain1.com to use IP
xxx.xxx.xxx.xxx and mail.domain2.com to use yyy.yyy.yyy.yyy

That is the part I don't understand.




Oops,I guess Sendmail wasn't secure after all...

2001-06-01 Thread Dave Sill

  From: Gregory Neil Shapiro [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: sendmail 8.11.4 and 8.12.0.Beta10 available
  
  Sendmail, Inc., and the Sendmail Consortium announce the availability
  of sendmail 8.11.4 and 8.12.0.Beta10.
  
  8.11.4 revamps signal handling within the MTA in order to reduce the
  likelihood of a race condition that can lead to heap corruption as
  described in Michal Zalewski's advisory.  The problems discussed in the
  advisory are not currently known to be exploitable but we recommend
  upgrading to 8.11.4 in case a method is found to exploit the signal
  handling race condition.  8.11.4 also fixes other bugs found since the
  release of 8.11.3.
  
  8.12.0.Beta10 includes the changes in signal handling from 8.11.4.
  Moreover, there is a significant change compared to earlier beta
  versions: by default sendmail is installed as a set-group-id binary;
  a set-user-id root binary will be only installed if the proper
  target is selected (see sendmail/SECURITY).  Beta10 fixes also a
  few bugs, especially possible core dumps during queue runs and in a
  milter application (using smfi_chgheader), possible rejection of
  messages due to an uninitialized variable, and omitting queue runs
  if queue groups are used and the total number of queue runners is
  restricted to less than the sum of the individual queue runners.

Also from bugtraq:

  From: [EMAIL PROTECTED] (Michal Zalewski)
  Subject: Unsafe Signal Handling in Sendmail
  
  RAZOR advisory: Unsafe Signal Handling in Sendmail
  
 Issue Date: May 28, 2001
 Contact: Michal Zalewski [EMAIL PROTECTED]
  
  Topic:
  
 Sendmail signal handlers used for dealing with specific signals are
 vulnerable to numerous race conditions.
  
  Affected Systems:
  
 Any systems running sendmail (tested on sendmail 8.11.0, 8.12.0-Beta5)
  
  Details:
  
 Sendmail signal handlers used for dealing with specific signals
 (SIGINT, SIGTERM, etc) are vulnerable to numerous race conditions,
 including handler re-entry, interrupting non-reentrant libc functions
 and entering them again from the handler (see References for more
 details on this family of vulnerabilities). This set of
 vulnerabilities exist because of unsafe library function calls from
 signal handlers (malloc, free, syslog, operations on global buffers,
 etc).
  
  ...
  
  References:
  
 For more information on signal delivery race conditions, please
 refer to RAZOR whitepaper at:
  
   http://razor.bindview.com/publish/papers/signals.txt

Anyone want to takes bets on whether qmail has unsafe signal handlers?

-Dave



Re: qmail-popbull used w/ imap

2001-06-01 Thread Scott Gifford

Russell Nelson [EMAIL PROTECTED] writes:

 michael writes:
   This question I suppose is directed at Russell since he is the 
   writer of qmail-popbull...
   
   We're trying to get courier-imap running and the desire is to
   also have bulletin ability.  Since qmail-popbull is called as
   part of tcpserver startup for qmail I'm hoping it can be 
   inserted into the startup string for imap.  Can anyone think
   of a reason why it wouldn't be able to be done?  I'd check
   it out now, but am still working on getting checkpassword
   converted for use w/ courier-imap since it appears to need
   a few extra environment variables set.  I'd rather not have 
   to add that functionality into a new piece of code.
 
 Won't work, because Mr. Sam chose not to use checkpassword for
 courier-imap.  qmail-popbull requires the use of checkpassword.

Here's the configuration I use to make courier-imap use checkpassword
and qmail-popbull:

http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/04/msg01189.html

Good luck,

ScottG.



Re: Question about supervise and tcpserver behaviour

2001-06-01 Thread Charles Cazabon

Renato [EMAIL PROTECTED] wrote:
 
 I'm monitoring the behaviour of tcpserver for the pop service ( simple 'ps -
 aux | grep tcpserver | grep pop' and I get, obviously, just one is 
 running ). Sometimes, supervise tries to restart tcpserver and I see 2 
 tcpservers. Then the second dies ( port is already bind ). During this 
 time, pop fails. Looking at the log for the pop service, I can tell that 
 there is no specific moment that it happens. Tcpserver didn't run out of 
 connections ( I have up to 150 concurrent ), sometimes it did with 20 
 connections, sometimes with 90 concurrents. 
 
 Is this an expected behauvior ?

No.  tcpserver shouldn't randomly die.

 Is there a way to tune up supervise ? ( time-out, any other parameters ? )

Perhaps you're running it with memory or other process limits, or its hitting
a system-wide limit?  Without specific information about how you've configured
svscan, tcpserver, etc, log entries, and perhaps strace of the process dying,
we can't help you.

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



RE: qmail-popbull used w/ imap

2001-06-01 Thread michael

Scott, you rock!  I was just feeling good about myself because
I figured out what imaplogin was passing along and was munging
checkpassword to account for the slightly different file
descriptor 3.  Then would have been the fun of figuring out
what imapd needed.  It never hurts to really look close at code,
though.  Thanks so much for the follow up and to Russell I'll 
thank again for the popbull code.  8^)

-- 
Michael Boyiazis
[EMAIL PROTECTED]
Mail Architect, NetZero, Inc.

 -Original Message-
 From: Scott Gifford [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 01, 2001 9:26 AM
 To: michael
 Cc: Russell Nelson; [EMAIL PROTECTED]
 Subject: Re: qmail-popbull used w/ imap
 
 
 Russell Nelson [EMAIL PROTECTED] writes:
 
  michael writes:
This question I suppose is directed at Russell since he is the 
writer of qmail-popbull...

We're trying to get courier-imap running and the desire is to
also have bulletin ability.  Since qmail-popbull is called as
part of tcpserver startup for qmail I'm hoping it can be 
inserted into the startup string for imap.  Can anyone think
of a reason why it wouldn't be able to be done?  I'd check
it out now, but am still working on getting checkpassword
converted for use w/ courier-imap since it appears to need
a few extra environment variables set.  I'd rather not have 
to add that functionality into a new piece of code.
  
  Won't work, because Mr. Sam chose not to use checkpassword for
  courier-imap.  qmail-popbull requires the use of checkpassword.
 
 Here's the configuration I use to make courier-imap use checkpassword
 and qmail-popbull:
 
http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/04/msg01189.html

Good luck,

ScottG.





Re: Question about supervise and tcpserver behaviour

2001-06-01 Thread Renato


Hi Charles,

Thanks for your answer.

 Renato [EMAIL PROTECTED] wrote:
  
  I'm monitoring the behaviour of tcpserver for the pop service ( 
simple 'ps -
  aux | grep tcpserver | grep pop' and I get, obviously, just one is 
  running ). Sometimes, supervise tries to restart tcpserver and I see 2 
  tcpservers. Then the second dies ( port is already bind ). During this 
  time, pop fails. Looking at the log for the pop service, I can tell 
that 
  there is no specific moment that it happens. Tcpserver didn't run out 
of 
  connections ( I have up to 150 concurrent ), sometimes it did with 20 
  connections, sometimes with 90 concurrents. 
  
  Is this an expected behauvior ?
 
 No.  tcpserver shouldn't randomly die.
 
  Is there a way to tune up supervise ? ( time-out, any other 
parameters ? )
 
 Perhaps you're running it with memory or other process limits, or its 
hitting
 a system-wide limit?  Without specific information about how you've 
configured
 svscan, tcpserver, etc, log entries, and perhaps strace of the process 
dying,
 we can't help you.
 
 Charles

First of all, how can I configure svscan ? I just run svscan-
start /var/service and that's all ( I think ). In terms of pop3, here is 
how I start tcpserver in pop.

exec tcpserver -u $uid -g $gid -c $concurrency -v -R -H -t 90 \
-lmyserver \
 -x /etc/tcpcontrol/pop-3.cdb 0 pop-3 \
 qmail-popup $hostname \
 checkvpw \
 qmail-pop3d Maildir/

In terms of logs, I don't have any message ( like system is not able to 
fork... ) just tcpserver common status/concurrency messages.

In terms of kernel I have, by the moment we speak:
proc/sys/fs/inode-max - 131072
/proc/sys/fs/inode-nr - 65540 14180
/proc/sys/fs/file-max - 16384
/proc/sys/fs/file-nr - 2180297 16384

/proc/sys/net/ipv4/tcp_syncookies - 1
/proc/sys/net/ipv4/ip_local_port_range - 1024 61000
/proc/sys/net/ipv4/tcp_fin_timeout - 30
/proc/sys/net/ipv4/tcp_keepalive_time - 1800
/proc/sys/net/ipv4/tcp_window_scaling - 0
/proc/sys/net/ipv4/tcp_sack - 0
/proc/sys/net/ipv4/tcp_timestamps - 0

Number of processes: 360 ( My machine is a Pentium III 800 Mhz, SCSI - 
14Gb, 80% full ).

I think there might be a queue of incoming connections that my system is 
not able to handle. Is it a kernel issue ? 

Thanks again
Renato - Brazil.



Re: smtp on a specific IP

2001-06-01 Thread Greg White

On Fri, Jun 01, 2001 at 08:48:42AM -0700, Ross Davis - Data Anywhere wrote:
 
  here is my smtpd run from the supervise directory
   /var/qmail/bin/qmail-smtpd 21
  env - PATH=/var/qmail/bin:/usr/local/bin \
  tcpserver -v -p -u vpopmail -g vchkpw 0 smtp /var/qmail/bin/qmail-smtpd
 21
 attribution Re-added by GW: Karsten W. Rohrbach wrote:
 ^
 this is the address to bind to.
 http://cr.yp.to/ucspi-tcp/tcpserver.html
 
 cheers
 /k
 
 I must be missing something then.  I see that I can tell it what IP to send
 out on for all domains, but how do I tell mail.domain1.com to use IP
 xxx.xxx.xxx.xxx and mail.domain2.com to use yyy.yyy.yyy.yyy
 
 That is the part I don't understand.
 

You misunderstand the tcpserver options. Karsten has supplied the
correct answer above. When an address is supplied in place of the '0'
option to tcpserver, that is the address that the child process binds
to. You have no control whatsoever as to which IP is used to send
outbound mail*. Simply run two qmail-smtpd's, one each bound to the two
IPs in question. I think that to get what you seem to want, you may have
to run a second copy of qmail -- if you simply run two different
qmail-smtpds, both will use the same control files. Depends on why you
want separate instances of qmail-smtpd.

Examples:

Where mail1.example.com is IP 192.168.0.1 and mail2.example.com is
172.16.0.1, with appropriate MX records:

run file for mail1.example.com:

#!/bin/sh 
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`/bin/cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 /usr/local/bin/tcpserver \
-vPHR -c $MAXSMTPD -x /var/qmail/cdb/smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 192.168.0.1 smtp /var/qmail/bin/qmail-smtpd 
21


run file for mail2.example.com:

#!/bin/sh 
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`/bin/cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 /usr/local/bin/tcpserver \
-vPHR -c $MAXSMTPD -x /var/qmail/cdb/smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 172.16.0.1 smtp /var/qmail/bin/qmail-smtpd 
21

Note that your run file differs from mine, I simply mangled my own
rather than hand-type one...

If this is simply for traffic analysis purposes, this should do the
trick...

* Your operating system's routing table, or NAT method, or whatever, may
provide you with a way to control which IP address is used to send
outbound mail. IIRC, there are patches that force qmail to always send
using a specified IP address. Stock qmail, in and of itself, provides no
way to control the IP address used to send mail on, AFAIK.

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



Re: qmail-popbull used w/ imap

2001-06-01 Thread Antonio S. Martins Jr.

I had bulletins on my site, I simply create a shell script that hardlink
the bulletin into the ~/Maildir/new of all users! 


On Fri, 1 Jun 2001, Russell Nelson wrote:

 Date: Fri,  1 Jun 2001 09:16:10 -0400 (EDT)
 From: Russell Nelson [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: qmail-popbull used w/ imap
 
 michael writes:
   This question I suppose is directed at Russell since he is the 
   writer of qmail-popbull...
   
   We're trying to get courier-imap running and the desire is to
   also have bulletin ability.  Since qmail-popbull is called as
   part of tcpserver startup for qmail I'm hoping it can be 
   inserted into the startup string for imap.  Can anyone think
   of a reason why it wouldn't be able to be done?  I'd check
   it out now, but am still working on getting checkpassword
   converted for use w/ courier-imap since it appears to need
   a few extra environment variables set.  I'd rather not have 
   to add that functionality into a new piece of code.
 
 Won't work, because Mr. Sam chose not to use checkpassword for
 courier-imap.  qmail-popbull requires the use of checkpassword.
 
 -- 
 -russ nelson [EMAIL PROTECTED]  http://russnelson.com
 Crynwr sells support for free software  | PGPok | Microsoft rivets everything.
 521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws.
 Potsdam, NY 13676-3213  | +1 315 268 9201 FAX  | You own a screwdriver.
 

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - System Analist |  Only The Shadow Knows   |
| WorldNet Internet Maringa - PR - Brasil |   what evil lurks in the  |
| E-Mail: [EMAIL PROTECTED]  |   Heart of Men!  |
| [EMAIL PROTECTED]   | !!! Linux User: 52392 !!! |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   This e-mail message is 100% Microsoft free!

 /\
 \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
  X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \







Re: smtp on a specific IP

2001-06-01 Thread Kourosh Ghassemieh

At 12:36 PM 5/31/2001 -0700, you wrote:
My server is running vpopmail.  I also have Multiple IP address' aliased off
of one network card.

I can do traffic analysis through my router by IP address and this works
fine for incoming mail.  The problem that I have is the outgoing mail all is
going out through one IP.  I need to be able to charge my customers for
traffic.

Is there any way to make different domains send out on their own IP address?

here is my smtpd run from the supervise directory
  /var/qmail/bin/qmail-smtpd 21
env - PATH=/var/qmail/bin:/usr/local/bin \
tcpserver -v -p -u vpopmail -g vchkpw 0 smtp /var/qmail/bin/qmail-smtpd 21


It may be easier to log all smtp activity and simply parse the logs to
determine the number of mails sent out.  I believe there are patches
out there to allow more detailed logging, possibly also logging the mail
size.  I've followed this thread for a bit and if I understand correctly stock
qmail doesn't have the ability to send mail out through a particular IP and
making it do so is not trivial.

Regards.


-

Kourosh Ghassemieh
MindWare Information Systems  Technologies
9255 Sunset Blvd, Penthouse
West Hollywood CA 90069
(310) 729-1784
[EMAIL PROTECTED]

Networking Solutions for Your Business





Re: Question about supervise and tcpserver behaviour

2001-06-01 Thread Charles Cazabon

Renato [EMAIL PROTECTED] wrote:
 
  
  No.  tcpserver shouldn't randomly die.
  
   Is there a way to tune up supervise ? (time-out, any other parameters ?)
  
  Perhaps you're running it with memory or other process limits, or its
  hitting a system-wide limit?  Without specific information about how
  you've configured svscan, tcpserver, etc, log entries, and perhaps strace
  of the process dying, we can't help you.
[...] 
 In terms of pop3, here is how I start tcpserver in pop.
[...]
 In terms of logs, I don't have any message ( like system is not able to
 fork... ) just tcpserver common status/concurrency messages.
[...] 
 I think there might be a queue of incoming connections that my system is not
 able to handle. Is it a kernel issue ? 

Very unlikely.  It could be a hardware, issue, though.  It's not really a
qmail/ucspi-tcp issue at this point.  You're going to have to strace
tcpserver, capturing to a log.  Wait for it to die (as it apparently does for
you).  Then look at the end of the log and see what caused it to die.  I would
have expected tcpserver to output an error message of some sort if it failed
to allocate memory or sockets or whatever, but since I've never had tcpserver
die, I haven't looked into it.

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



Re: Oops,I guess Sendmail wasn't secure after all...

2001-06-01 Thread Aaron L. Meehan

Quoting Dave Sill ([EMAIL PROTECTED]):
 Anyone want to takes bets on whether qmail has unsafe signal handlers?

I've been looking for a sucker.. OK I'll bet a six pack is
doesn't. (or, if Bud, I'd demand a case)

Aaron



MailDir stopped working

2001-06-01 Thread Robert Schmid

For some reason I can no longer get my mail (pop or IMAP) using 
~user/Mailbox.  In order to access my mail again I had to add a symbolic 
link to users mailbox in /var/mail.

I thought this was a result of a bug in Eudora - but since it's happening 
to other users too, I have to look at the server.




Re: MailDir stopped working

2001-06-01 Thread Charles Cazabon

Robert Schmid [EMAIL PROTECTED] wrote:
 For some reason I can no longer get my mail (pop or IMAP) using 
 ~user/Mailbox.  In order to access my mail again I had to add a symbolic 
 link to users mailbox in /var/mail.

The server configuration changed, then.

 I thought this was a result of a bug in Eudora - but since it's happening 
 to other users too, I have to look at the server.

Yes, you have to look at the server.

Did you have an actual question to ask the list?

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



Re: MailDir stopped working

2001-06-01 Thread Robert Schmid

This is what I'm using to start qmail -

exec env - PATH=/usr/local/qmail/bin:$PATH \
qmail-start ./Mailbox splogger qmail

This has not changed since it was installed and the MailDir worked until 
recently.



At 6/1/2001 02:21 PM -0600, you wrote:
Robert Schmid [EMAIL PROTECTED] wrote:
  For some reason I can no longer get my mail (pop or IMAP) using
  ~user/Mailbox.  In order to access my mail again I had to add a symbolic
  link to users mailbox in /var/mail.

The server configuration changed, then.

  I thought this was a result of a bug in Eudora - but since it's happening
  to other users too, I have to look at the server.

Yes, you have to look at the server.

Did you have an actual question to ask the list?

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




qmail-qfilter logging?

2001-06-01 Thread Jon Rust

I've just installed a small filter using Bruce Guenter's qmail-qfilter
package. I have a print statement or 2 when i reject a message:

   # from header filter(s) (sexyfun easy to spot here)
   } elsif (/^From:/) {
  if (/haha\@sexyfun/io) {
 print mail refused, suspected Hybris (aka, Snow White) virus:;
 print  http://vil.nai.com/vil/virusSummary.asp?virus_k=98873\n;;
 exit(31);
  }
   }

However, the line above doesn't show in the qmail logs anywhere, nor
does it get echoed to the sending server. Did I miss something? Any way
to log it short of using syslog calls?

Thanks,
jon



Re: MailDir stopped working

2001-06-01 Thread Charles Cazabon

Robert Schmid [EMAIL PROTECTED] wrote:
   For some reason I can no longer get my mail (pop or IMAP) using
   ~user/Mailbox.  In order to access my mail again I had to add a symbolic
   link to users mailbox in /var/mail.
 
 The server configuration changed, then.
 
   I thought this was a result of a bug in Eudora - but since it's
   happening to other users too, I have to look at the server.
 
 Yes, you have to look at the server.
 
 Did you have an actual question to ask the list?

 This is what I'm using to start qmail -
 
 exec env - PATH=/usr/local/qmail/bin:$PATH \
 qmail-start ./Mailbox splogger qmail

You still haven't asked a question.  I'm assuming you want to know why you
need symlinks from /var/spool/$USER to $USER/Mailbox.

This is controlled by the script you use to start qmail-smtpd, not qmail
proper.  Post that script, and we'll show you what you've done wrong.

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



headers in failure notice

2001-06-01 Thread John Hogan

this is a post-search-the-archive question:

i want control over the headers available in the body of the qmail-send 
bounce notices

is this at all configurable?

- hogan




RE: MailDir stopped working

2001-06-01 Thread Tim Hunter

Actually my guess is that mail is still being delivered properly, but the
popper configuration has changed.

-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 5:21 PM
To: [EMAIL PROTECTED]
Subject: Re: MailDir stopped working


Robert Schmid [EMAIL PROTECTED] wrote:
   For some reason I can no longer get my mail (pop or IMAP) using
   ~user/Mailbox.  In order to access my mail again I had to add a
symbolic
   link to users mailbox in /var/mail.
 
 The server configuration changed, then.
 
   I thought this was a result of a bug in Eudora - but since it's
   happening to other users too, I have to look at the server.
 
 Yes, you have to look at the server.
 
 Did you have an actual question to ask the list?

 This is what I'm using to start qmail -

 exec env - PATH=/usr/local/qmail/bin:$PATH \
 qmail-start ./Mailbox splogger qmail

You still haven't asked a question.  I'm assuming you want to know why you
need symlinks from /var/spool/$USER to $USER/Mailbox.

This is controlled by the script you use to start qmail-smtpd, not qmail
proper.  Post that script, and we'll show you what you've done wrong.

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




Re: headers in failure notice

2001-06-01 Thread Charles Cazabon

John Hogan [EMAIL PROTECTED] wrote:
 
 i want control over the headers available in the body of the qmail-send 
 bounce notices
 
 is this at all configurable?

I assume you mean you want to restrict which headers from the original message
qmail includes in the bounce message if delivery fails permanently?

I've never seen anyone else ask for this type of control, and have a difficult
time imagining why it would be necessary (or even desirable).  Probably no one
else has written such a patch or add-on; you'd need to do it yourself.  Note
that this would then require parsing the original message headers -- a job
tricky to do without introducing bugs.

Why do you want to control this?

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



Re: headers in failure notice

2001-06-01 Thread Russell Nelson

John Hogan writes:
  this is a post-search-the-archive question:
  
  i want control over the headers available in the body of the qmail-send 
  bounce notices
  
  is this at all configurable?

No.  What problem are you trying to solve?

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | Microsoft rivets everything.
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws.
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX  | You own a screwdriver.



Re: headers in failure notice

2001-06-01 Thread John Hogan

snip
I've never seen anyone else ask for this type of control, and have a difficult
time imagining why it would be necessary (or even desirable).  Probably no one
else has written such a patch or add-on; you'd need to do it yourself.  Note
that this would then require parsing the original message headers -- a job
tricky to do without introducing bugs.

ick

Why do you want to control this?

we get quite a number of them daily (sometimes 300-400/day) - some 
customers' sites have email addresses on web pages, robots harvest them 
(you know the ending)

i'd like to at least get rid of the Content-Type, Content-Transfer, 
X-MSMail-Priority, etc... just keep the basics in case i need to flog someone

- hogan


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




Re: Netscape Messenger Configuration

2001-06-01 Thread Nick (Keith) Fish

Lye On Siong Johnny wrote:
 
 Hi,
 
 Can anyone tell me how do I configure netscape to talk to my qmail/vpopmail
 server?
 I can retrieve mail. But I cannot get it to authenticate to send out mail...
 
 many Thanks.
 
 Johnny

There is also a patch for qmail that will make it require authentication
from Netscape/Outlook clients available on one of the qmail mirrors.  Just
search for Netscape (Hint: It's in the Yet More Qmail Addons
section.)  Also note that this will be in addition to the rules set for
tcpserver.

-- 
Keith
Network Engineer
Triton Technologies, Inc.



host masquerading / qmail-remote problems

2001-06-01 Thread Phil Schwartz

I've scanned through the archives and FAQ and I
*think* I have qmail set up properly, however
masquerading isn't working for me.  I have my FQDN in
control/me, and then just the domain name in
control/defaulthost and control/defaultdomain.  After
reading the man page for qmail-remote (where I believe
my problem lies) I also added just the domain name to
the control/helohost file.  Mail sent remotely arrives
from phil@FQDN which is not what I want.

I believe my problem lies w/ qmail-remote because mail
delivered locally does not experience this problem. 
Mail delivered locally appears to be from
phil@domainname, as intended. 

I've looked at queue/mess/10/* (some random files) and
the From: address in those messages shows
phil@domainname, however, when the message is
delivered remotely it arrives From: phil@FQDN

I can reproduce this behavior by invoking qmail-remote
on the command line:

qmail-remote yahoo.com phil@domainname
[EMAIL PROTECTED]

The message is delivered From phil@FQDN. 
Interestingly enough, if I tell it to use a random
domain name (not in any of my control files) as the
sender thing work fine:

qmail-remote yahoo.com [EMAIL PROTECTED] [EMAIL PROTECTED]

The message arrives as From: [EMAIL PROTECTED].

Since the only configuration file that has anything to
do w/ qmail-remote (based on the Big Picture image) is
helohost, I'm clueless as to why qmail-remote keeps
transforming phil@domainname to phil@FQDN when it
appears as though I have things configured to prevent
this.

Can somebody please clue me in.  This has been driving
me nuts for quite awhile.  I have the Qmail book, read
the FAQ, scanned the archives, etc... and no luck.

For what it's worth, I'm running qmail via tcpserver
and using the supervise program (but since the problem
can be reproduced from the command line, bypassing
these programs, I don't believe they are a factor).

Thanks for any pointers,

Phil





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



RE: MailDir stopped working

2001-06-01 Thread Robert Schmid

Yes, mail is still being delivered properly, to the 
~user/Mailbox.  However, I had to add symlinks to get it recognized.

The rc script I use is the default -- from /usr/local/qmail/rc:

#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH=/usr/local/qmail/bin:$PATH \
qmail-start ./Mailbox splogger qmail

So, why am I no longer able to access Mailboxes without symlinks?


At 6/1/2001 05:37 PM -0400, you wrote:
Actually my guess is that mail is still being delivered properly, but the
popper configuration has changed.

-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 5:21 PM
To: [EMAIL PROTECTED]
Subject: Re: MailDir stopped working


Robert Schmid [EMAIL PROTECTED] wrote:
For some reason I can no longer get my mail (pop or IMAP) using
~user/Mailbox.  In order to access my mail again I had to add a
symbolic
link to users mailbox in /var/mail.
  
  The server configuration changed, then.
  
I thought this was a result of a bug in Eudora - but since it's
happening to other users too, I have to look at the server.
  
  Yes, you have to look at the server.
  
  Did you have an actual question to ask the list?

  This is what I'm using to start qmail -
 
  exec env - PATH=/usr/local/qmail/bin:$PATH \
  qmail-start ./Mailbox splogger qmail

You still haven't asked a question.  I'm assuming you want to know why you
need symlinks from /var/spool/$USER to $USER/Mailbox.

This is controlled by the script you use to start qmail-smtpd, not qmail
proper.  Post that script, and we'll show you what you've done wrong.

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




Re: Oops,I guess Sendmail wasn't secure after all...

2001-06-01 Thread Boris

Hello Dave,

DS Anyone want to takes bets on whether qmail has unsafe signal handlers?

DS -Dave

I really can´t hear the qmail is the most secure bla bla anymore,
really.

I like sendmail, its slow - yes, but it is powerful and this silly
bugs are fixed fast. Its just some C-Code, everyone knows this.

At the moment I am evaluating qmail, and there
are some things I am missing from sendmail.

When I was using sendmail on my FreeBSD Server, it has never been
hacked, very strange ugh?



--
Boris





Re: Oops,I guess Sendmail wasn't secure after all...

2001-06-01 Thread Mark Delany

On Sat, Jun 02, 2001 at 05:01:57AM +0200, Boris allegedly wrote:

 bugs are fixed fast. Its just some C-Code, everyone knows this.

This is a troll, right?

I have a lock on my front door that I know can be opened with a
paperclip, but heck, those nice people who make the locks will supply
me with a new lock soon, so what's the problem?

 When I was using sendmail on my FreeBSD Server, it has never been
 hacked, very strange ugh?

This is a troll, right?

I left my front door unlocked last night and no one walked in and
stole anything, ergo, front door locks are a complete waste of time.

Ok. It is a troll, no one could be silly enough to say those things
and believe them.


Regards.




Re: Oops,I guess Sendmail wasn't secure after all...

2001-06-01 Thread Russell Nelson

Boris writes:
  I really can´t hear the qmail is the most secure bla bla anymore,
  really.

Why?  It's true.

  At the moment I am evaluating qmail, and there
  are some things I am missing from sendmail.

Like what?

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | Microsoft rivets everything.
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws.
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX  | You own a screwdriver.



two question about qmail

2001-06-01 Thread David

Hi everyone.

I'm using Qmail + VPOPMail.

now i have two question,
1, How to setup qmail with ESMTP, each time a client wanna use smtp server,
 smtp server ask him pop3 userpass to check if right. and only allow mail
 from is that user's mail can be sent.
2, Can I count how many mails one day the qmail processed? (received  send)
  Did this need another tools and where can I find them?

Thanks.


Sincerely yours,
David Ge [EMAIL PROTECTED]
Room 604, No. 168, Qinzhou Road, Shanghai.
Phone: +862134140621-12 
2001-06-02 13:23:27




Re: Oops,I guess Sendmail wasn't secure after all...

2001-06-01 Thread List Monkey

 I like sendmail, its slow - yes, but it is powerful and this silly
 bugs are fixed fast. Its just some C-Code, everyone knows this.

Yeah, it is only a few hundred thousand lines of code, and you should have
looked through it for bugs or exploits before you compiled it, right?  It
is just some C code, so you checked it out and fixed these bugs even
before they were posted on bugtraq, right?  I am glad that someone else is
intimately familiar with the various bugs/incompatibilities with the
various standard C libraries, OS differences regarding race conditions,
etc.

Please post a URL to your reviewed  commented sendmail source.

If you bought (OK, got for free) a car, and it exploded, leaving you
burned, then you waited a week to get a new car mailed to you, then you
drove it a month, it exploded again.repeat for 15+ years.would you
not think of maybe trying a different free car? 

Is anyone offering a bounty on trolls?

--ListMonkey

=

  All your SMTP are belong to us.




Re: /var partition, queue size, and sendmail

2001-06-01 Thread Todd A. Jacobs

On Wed, 30 May 2001, Joshua Nichols wrote:

 Are there performance concerns here?

The main performance issue that springs to my mind is that you might not
be able to optimize the partition for qmail (i.e. sync, noatime) if you're
running it on a non-dedicated partition.

You can try resizing ext2 partitions with the GNU Parted utility (see the
GNU software archives), but you'll probably be happier adding another
drive as a dedicated qmail partition.

Another tip would be to increase the number of inodes on your dedicated
/var/qmail partition (defined when you format the filesystem), and the
number of available filehandles on your system (defined in
/proc/sys/fs/file-max). You didn't say whether you were running out of
space, inodes, or filehandles, but if you're going to tackle the problem
in a comprehensive way, these items should be considered as well.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD