Re: qmail routing

1999-12-22 Thread petervd

On Wed, Dec 22, 1999 at 02:04:41AM -0500, Leonid Massarsky wrote:
 Hi,
 
 How do I get a host running qmail-smtpd to route (forward) all incoming
 mail to another smtp host?

Clear out control/locals and control/virtualdomains.
Put all domains you want to relay for in control/rcpthosts.
Put ':anothersmtphost' in control/smtproutes.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



Re: problem qmail / checkpassword

1999-12-22 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 21 Dec 99, at 20:36, bert hubert wrote:
 You probably have shadow passwords. These cannot be read by any user but
 root. This means that checkpassword needs to be 'set user id root', suid
 root for short. Try this:
 
 chown root:root /bin/checkpassword
 chmod +s /bin/checkpassword

Huh? Since checkpassword runs as root anyway (that's who 
spawns it), it doesn't needs suid root. Plus, noone else should be 
running checkpassword (unless you are inviting everyone to a 
dictionary attack against passwords). In other words, DON'T EVER 
DO THAT!

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

iQA/AwUBOGCajVMwP8g7qbw/EQK+QwCeORD2HfIXMKb15jpPiRwaUWuFz2cAoKNu
eitdAeSF8Lum22w374d68yLy
=Q6bR
-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]



Re: Converting PMMail files to Maildir or mbox format

1999-12-22 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 22 Dec 99, at 5:46, Frederik Lindberg wrote:
 They are just the message, but in dos/CRLF format. There are several ways
 to convert them. The easiest if to ftp from the OS/2 box to the unix box
 into the ~Maildir/new/ folder using "ascii" mode.

Huh? FTP the easiest? On my PC, the easiest was
tr -d "\r" input output
Putting it into a for... cycle is left to the reader as an excercise.

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

iQA/AwUBOGCcMVMwP8g7qbw/EQKeYQCgwUh/oiPitVRP0UUUaphTpWU823gAoJoO
NzHsqteQtvqtqViQDQCTlyTk
=5s7z
-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]



Re: ldap and qmail

1999-12-22 Thread Andre Oppermann

Russell Nelson wrote:
 
 Kristina writes:
   So far the only documentation I have found on the qmail-ldap patch is
   at http://www.nrg4u.com/qmail/QLDAPINSTALL.
 
 Yeah, they're assuming that you want everything they want: ldap user
 lookups, clustering, and gratuitious anti-spam patches.

Yes, because it's what we use our environment. We currently don't make
money with it and you simply get what we have. 

On the other side, it's pretty much what an ISP needs.

   Are there any other documents around?
 
 No, but it's really not too hard to hack something up.  Exactly what
 you need depends on exactly what your ldap is exporting.

Yes, once you get used to qmail hacking it becomes very easy... ;-)

-- 
Andre



qmail Digest 22 Dec 1999 11:00:01 -0000 Issue 857

1999-12-22 Thread qmail-digest-help


qmail Digest 22 Dec 1999 11:00:01 - Issue 857

Topics (messages 34656 through 34717):

Re: Compiling qmail on Solaris
34656 by: Greg Owen

Re: anybody using smtp-auth with qmail ?  (NOT smtp after pop)
34657 by: smoerk.gmx.de

Re: Two questions: Return-Path rewriting and AUTH packets
34658 by: Sam
34668 by: thomas.erskine-dated-13f024134cc321ea.crc.ca

Re: strange..
34659 by: Dave Sill

Re: tcpserver logging
34660 by: Dave Sill
34672 by: Keith Warno
34676 by: Dave Sill
34679 by: Keith Warno
34680 by: Faried Nawaz
34681 by: Marek Narkiewicz
34682 by: Dave Sill

Re: multilog not logging.. problem fixed
34661 by: Dave Sill

Re: Problems running qmail
34662 by: Dave Sill

Converting PMMail files to Maildir or mbox format
34663 by: Subba Rao
34666 by: Charles Cazabon
34695 by: Sam
34703 by: Frederik Lindberg
34716 by: Petr Novotny

Re: Qmail is killing my mySQL server!
34664 by: Michael Cunningham
34670 by: Jon P. deOng
34674 by: Markus Stumpf

Segmentation fault in qmail log
34665 by: David C. Maple
34667 by: Dave Sill
34669 by: David C. Maple
34671 by: Dave Sill

Qmail site down..
34673 by: Philip Gabbert
34675 by: Dave Sill
34677 by: Martin A. Brown
34678 by: Martin A. Brown
34693 by: Russell Nelson

Thnx.. One other thing - Grabbing ENV Values?
34683 by: Philip Gabbert
34691 by: Magnus Bodin

trouble opening remote
34684 by: Ronny Haryanto
34686 by: bert hubert

Re: Tidbit..
34685 by: Russell Nelson

problem qmail / checkpassword
34687 by: Michael Neubert
34688 by: bert hubert
34689 by: bert hubert
34690 by: petervd.vuurwerk.nl
34715 by: Petr Novotny

Re: sending mail
34692 by: Dave Sill

qmail scanner
34694 by: farber.admin.f-tech.net
34699 by: Chris L. Mason

Forwarding
34696 by: Carsten Witt
34698 by: Martin A. Brown
34700 by: Todd A. Jacobs

real date stamp in log prob
34697 by: Cameron Arnott

Permissions problem
34701 by: Todd A. Jacobs
34702 by: Russell Nelson
34706 by: Todd A. Jacobs
34708 by: Ang Sei Heng
34711 by: Russell Nelson

qmail routing
34704 by: Leonid Massarsky
34714 by: petervd.vuurwerk.nl

3 quickies!
34705 by: Marc-Adrian Napoli
34707 by: Todd A. Jacobs

ldap and qmail
34709 by: Kristina
34710 by: Russell Nelson
34712 by: Kristina
34717 by: Andre Oppermann

Re: Save 50-80% on International Calls and Win $500 in Free phone calls!
34713 by: abc

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]


--



 Dec 17 16:10:17 host1 qmail: 945414617.771422 alert: unable
 to opendir mess/0, sleeping...

 The permissions of /var/qmail/queue/mess  are :drwxr-x---

All right - I've just poked through the code to look at what causes
that error, and I'm stumped ;. 

At a wild guess, make sure that /var/qmail/bin/qmail-queue and
/var/qmail/queue/mess/* are owned by the same user and group (qmaild:qmail,
I think) and that qmail-queue is setuid.

Anybody else have more light than I do?

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





Hello Olivier,

I found your message in my qmail mailing list archive. Is the smtpd
patch now working for you? I installed it, but it works only with the
standard checkpassword. It doesn't work with checkvpw.

To Bruce: checkvpw also does not work with smtp-auth perl scripts from
Mrs. Brisby. So checkvpw have to be different from checkpassword.

Smoerk

On Fri, 12 Nov 1999 09:38:39 +0100, Olivier M. wrote:

Netscape  Outlook allow to setup a login/passwd pair for
smtp outgoing mails : I saw a kind of patch on http://www.nimh.org, but
I can't understand how it work : it doesn't call any "checkpasswd" program.

Is anybody using this (or other smtp-auth) patch ? If possible with vmailmgrd.






On Tue, 21 Dec 1999, Jim Breton wrote:

 On Tue, 21 Dec 1999, Sam wrote:
 
  The "return path" is specified solely by MUA, so this is entirely a Pegasus
  Mail configuration issue.  It is possible that other mail servers take it
  upon themselves to rewrite the return address, but they should not really
  do that, and it's none of their jobs.
 
 Whoa, are you sure about that?  I don't think this is correct.  Seems to
 me that the smtp daemon writes the header.  Maybe there are some cases
 where the client supplies one... but I don't think you can flat out say
 it's not the MTA.
 
 Here's a 

test please ignore

1999-12-22 Thread Jankok, L. (dsc-pm)




smtprouting-question

1999-12-22 Thread Geir Høgberg

Hi,

my query is as follows:
I have one qmail-server and one Exchange-server on my network.
On my Exchange-server i have a virus-scanning service.

All my clients have configures their client-programs to use my qmail-server
as SMTP.
What i want to do is to route some of the clients (or if thats not possible,
then all of them) to the exchange-server when they're sending outgoing mail
(SMTP).
I don't want to reconfigure the clients, so is there a way to use SMTPROUTES
or something else to handle this?
I still want mail from the outside to be delivered to my qmail-server,
because all the clients have their mailboxes there.
So is there a way to do this? or is more information needed here?

Qmail-version is: 1.03

thanks for any help given! :-)

===
Geir O. Høgberg
IT-consultant
ElTele Østfold AS
**
This footnote confirms that this email message and it's attachments 
has been swept by MIMEsweeper 4.0 for the presence of computer viruses.

This has been done by ElTele Østfold AS. 

Coustomer service e-mail: [EMAIL PROTECTED]
Corporate WEB site:   www.eltele.no
**



qmail - multilog - tai64n - tai64nlocal

1999-12-22 Thread Cameron Arnott

have i done this right as it seems to be working.. but i think i've read
somewhere not to use pipes in here

[root@top qmail-smtpd]# cat run
#!/bin/sh
QMAILDUID='id -u qmaild'
NOFILESGID='id -g qmaild'
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -p -x/etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd \

21 |/usr/local/bin/tai64n | /usr/local/bin/tai64nlocal
[root@top qmail-smtpd]#

[root@top log]# cat run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog
/var/log/qmail/qmail.smtpd
[root@top log]#



Re: smtprouting-question

1999-12-22 Thread Thorkild Stray

[Geir Høgberg [EMAIL PROTECTED]:]

 All my clients have configures their client-programs to use my
 qmail-server as SMTP. What i want to do is to route some of the
 clients (or if thats not possible, then all of them) to the
 exchange-server when they're sending outgoing mail (SMTP). I don't
 want to reconfigure the clients, so is there a way to use SMTPROUTES
 or something else to handle this? 

The box is a Linux-box, right? What you could do was redirect it
without involving Qmail. Simply check where they are coming from, and
use ipchains/portfw (or something like that) to forward it to the port
on the exchange server. Not an ideal solution, but it should be
doable.

 I still want mail from the outside to be delivered to my
 qmail-server, because all the clients have their mailboxes there. So
 is there a way to do this? or is more information needed here?

An alternative way of doing it is to something like what I outlined in
(1), but make it run on all mail coming from those you relay from
(this can probably be done if you run qmail-smtpd under tcpserver, and
supply various enviromentvariables). You might also need to modify
qmail-smtpd some.

-- 
Thorkild Stray - LinPro AS [EMAIL PROTECTED]



qmail multilog tai64n tai64nlocal.. still now working

1999-12-22 Thread Cameron Arnott

arg...

it looks like the "|" are stuffing up my svc -dx..
supervise is loosing its grip on the scripts.. it wont shut them down

please refer to my previous 2 messages for the scripts




virtual domains

1999-12-22 Thread Jankok, L. (dsc-pm)

Hi,

I have a question about virtual domains

the current setup is:
1) control/virtualdomains contains "example.org:john-example.org"
2) in john's directory there is a ".qmail-john-example-org-vuser001"
file which contains "./domains/example-org/vuser001/maildir/"

if I have vuser001 to vuser999 (999 virtual users) I would need 999
".qmail-ext-vuserxxx" files... I think that this setup wouldn't scale well.
is there a better way to set this up ?.. I need this setup for the courier
imap server.

cheers,

Lucio Jankok








Re: virtual domains

1999-12-22 Thread bert hubert

On Wed, Dec 22, 1999 at 03:07:09PM +0100, Jankok, L. (dsc-pm) wrote:

 if I have vuser001 to vuser999 (999 virtual users) I would need 999
 ".qmail-ext-vuserxxx" files... I think that this setup wouldn't scale well.
 is there a better way to set this up ?.. I need this setup for the courier
 imap server.

You can also do program delivery in .qmail-john-example-org-default (for
example fastforward).

You can also skip the creation of a real user and put the delivery
instruction in ~alias.

Regards,

bert hubert.

-- 
+---+  |  http://www.rent-a-nerd.nl
| nerd for hire |  |  
+---+  | - U N I X -
|  |  Inspice et cautus eris - D11T'95



Re: qmail multilog tai64n tai64nlocal.. still now working

1999-12-22 Thread Dave Sill

Cameron Arnott [EMAIL PROTECTED] wrote:

it looks like the "|" are stuffing up my svc -dx..
supervise is loosing its grip on the scripts.. it wont shut them down

Pipes are no-no's in supervise run files.

-Dave



Qmail is relaying external mail (Spam).

1999-12-22 Thread Mark H. Mabry


I'm running Qmail 1.03 on a Debian Linux PC connected to a cable-modem 
(roadrunner).  The other day, a roadrunner security test found that my 
mailserver allows some third-party relays.  It sent me the failing example 
which I'll include below.  It also pointed me to a website to help me in 
fixing this problem.  The website is  http://mail-abuse.org/tsi/ar-fix.html, 
which says that I should not be having this problem since I use qmail.

Here is the failing example.  I've tried it myself and seen it accept the 
message.  In the example I've replaced my explicit IP address with 
200.200.200.200.

  MAIL FROM:openrelaytest@[200.200.200.200]
  250 ok
  RCPT TO:[EMAIL PROTECTED]@[200.200.200.200]
  250 ok
  DATA
  354 go ahead


My rcpthosts file has only my machine name in it and localhost.

I don't know how qmail is supposed to handle this case.  Obviously, I don't 
want to be forwarding spam all over the internet.  How can I fix this?









Store + forward email

1999-12-22 Thread Stuart Harris



I am looking to switch our mail systems over from sendmail 
to Qmail early next year (Feb hopefully!)
but I obviously want to remove ALL trace of sendmail when 
I do this, for all but one of our servers this
will be a simple task. however, there is one that I need 
help with..
We provide a solution where we store the mail for a 
customer on our servers for download when the customer comes online, the mail is 
then sent to them via a command issued by our RADIUS server.. my questions are 
as follows..

1, can you selectively process mail for a specific domain? 

2, is there any way to increase the maximum queue time, 
obviously because this mail is stored indefinitely for the customer then we do 
NOT want it to bounce. 
3, can you suggest any queue analysys applications other 
than qmail-qstat?


Re: Store + forward email

1999-12-22 Thread Thomas Neumann

"Stuart Harris" [EMAIL PROTECTED] writes:

 1, can you selectively process mail for a specific domain?

Deliver it all to one Maildir and use serialmail

 2, is there any way to increase the maximum queue time, obviously
 because this mail is stored indefinitely for the customer then we do
 NOT want it to bounce.

This is not an issue 'cause the mail does not stay in the queue.

 3, can you suggest any queue analysys applications other than qmail-qstat?

No, sorry.

-t



Re: Store + forward email

1999-12-22 Thread Timothy L. Mayo

Take a look at AUTOTURN and/or turnmail.  AUTOTURN is a method of using
the serialmail package to provide an improved ETRN service to a static IP.
turnmail (link on www.qmail.org) provides a similar arrangement for a
dynamic IP system.

We use AUTOTURN for several of our customers and are very pleased with it.

On Wed, 22 Dec 1999, Stuart Harris wrote:

 I am looking to switch our mail systems over from sendmail to Qmail early next year 
(Feb hopefully!)
 but I obviously want to remove ALL trace of sendmail when I do this, for all but one 
of our servers this
 will be a simple task. however, there is one that I need help with..
 We provide a solution where we store the mail for a customer on our servers for 
download when the customer comes online, the mail is then sent to them via a command 
issued by our RADIUS server.. my questions are as follows..
 
 1, can you selectively process mail for a specific domain? 
 2, is there any way to increase the maximum queue time, obviously because this mail 
is stored indefinitely for the customer then we do NOT want it to bounce. 
 3, can you suggest any queue analysys applications other than qmail-qstat?
 

-
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.  http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810- Phone
(412) 810-8886 Fax



Re: Qmail is relaying external mail (Spam).

1999-12-22 Thread Mark H. Mabry


 On Wed, 22 Dec 1999, "Charles" == Charles Cazabon said:

  Charles This isn't a failure.  Roadrunner isn't doing their homework --
  Charles not all MTAs mean "Yes, I'll deliver this mail" when they say "354
  Charles go ahead".  Qmail would have properly bounced this message _after_
  Charles accepting it into the queue if your system is configured as you say
  Charles -- and therefore, you aren't an open relay.

Okay, this is what happened.  Qmail accepted the mail and then bounced the 
message.  I'll be sure and point this out to Roadrunner.

Thanks,
Mark


-- 
Mark Mabry  Tel: (978)964-2264
Avici Systems Inc.  Fax: (978)964-2100
101 Billerica Avenue,   Email: [EMAIL PROTECTED]   
North Billerica, MA 01862-1256  Web: http://www.avici.com/




RE: Qmail is relaying external mail (Spam).

1999-12-22 Thread Dustin Miller

Further, I've contacted Mark Herrick at RoadRunner security to tell him that
his test is faulty, and have made several suggestions on how to fix it.
First suggestion would be: To assume qmail users are not allowing relay. :)

Drop him a line at ([EMAIL PROTECTED]) and tell him that you're running qmail,
and that you're not an open relay.  Their test is faulty.

I got scared by that one a few weeks back, and the list set me straight.
RoadRunner's security staff would rather not write an actual check script
that waits for the mail to come back.  Oh well.

Although that does bring up an interesting security question.  A spammer
could, potentially, launch a denial of service attack against a qmail server
by sending spams, couldn't they?  If qmail takes the time to queue them,
that's a Bad Thing(tm), in my opinion.  Would it be violating any kind of
RFC if we re-coded qmail to reject those relay messages the moment someone
who doesn't have ALLOWRELAY set for their mask attemps to send a message to
a non-local user?  Just a thought.

Dustin

-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 22, 1999 9:11 AM
To: Mark H. Mabry
Cc: [EMAIL PROTECTED]
Subject: Re: Qmail is relaying external mail (Spam).


Mark H. Mabry [EMAIL PROTECTED] wrote:

 I'm running Qmail 1.03 on a Debian Linux PC connected to a cable-modem
 (roadrunner).  The other day, a roadrunner security test found that my
 mailserver allows some third-party relays.  It sent me the failing example
 which I'll include below.  It also pointed me to a website to help me in
 fixing this problem.  The website is
http://mail-abuse.org/tsi/ar-fix.html,
 which says that I should not be having this problem since I use qmail.

 Here is the failing example.  I've tried it myself and seen it accept the
 message.  In the example I've replaced my explicit IP address with
 200.200.200.200.

   MAIL FROM:openrelaytest@[200.200.200.200]
   250 ok
   RCPT TO:[EMAIL PROTECTED]@[200.200.200.200]
   250 ok
   DATA
   354 go ahead

This isn't a failure.  Roadrunner isn't doing their homework -- not all
MTAs mean "Yes, I'll deliver this mail" when they say "354 go ahead".
Qmail would have properly bounced this message _after_ accepting it into
the queue if your system is configured as you say -- and therefore, you
aren't an open relay.

Charles
--

Charles Cazabon [EMAIL PROTECTED]
Any opinions expressed are just that -- my opinions.




RE: Qmail is relaying external mail (Spam).

1999-12-22 Thread Strange

On Wed, 22 Dec 1999, Dustin Miller wrote:
 Although that does bring up an interesting security question.  A spammer
 could, potentially, launch a denial of service attack against a qmail server
 by sending spams, couldn't they? 

They can do that anyhow by sending to mailer-daemon, root, or another
system account.

 If qmail takes the time to queue them,
 that's a Bad Thing(tm), in my opinion.  Would it be violating any kind of
 RFC if we re-coded qmail to reject those relay messages the moment someone
 who doesn't have ALLOWRELAY set for their mask attemps to send a message to
 a non-local user?  Just a thought.

The problem is that the double @ addressing (user@target@[qmailhostip]) IS
a local address as far as qmail is concerned.  So it's not, as far as
qmail is concerned, a relay attempt, but a regular delivery attempt to a
client it handles.  Then when it tries to deliver it locally, and it turns
out there is no user@target on the local machine, it bounces the letter.

Qmail does immediately reject relay attempts to domains it is not
configured to handle.

  -M

Michael Brian Scher (MS683/MS3213)  Anthropologist, Attorney, Policy Analyst
Mainlining Internet Connectivity for Fun and Profit
   [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
 Give me a compiler and a box to run it, and I can move the mail.



if its not onr thing its another.. missing files now

1999-12-22 Thread Cameron Arnott

[root@top qmail-1.03]# make install check
make: `install' is up to date.
./instcheck
instcheck: warning: /var/qmail/queue/lock/tcpto does not exist
instcheck: warning: /var/qmail/queue/lock/sendmutex does not exist
instcheck: warning: /var/qmail/queue/lock/trigger does not exist
instcheck: warning: .../bin/qmail-inject has wrong group
[root@top qmail-1.03]#

they were there now their gone .. how do i remake them

and how come qmail-inject is the wrong group.. now.. sheeshh what group
should it be again






Re: problem qmail / checkpassword

1999-12-22 Thread Michael Neubert

Petr Novotny wrote:
 
 
 On 21 Dec 99, at 20:27, Michael Neubert wrote:
  pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup
  michael.neubert.de /bin/checkpassword /var/qmail/bin/qmail-pop3d
  /home/$USER/.mailspool/
 
 Will not work. At the moment inetd is reading the file, it has no
 idea what $USER means. It simply would not work this way.
 
 Change the "/home/$USER/.mailspool/" to simple ".mailspool" and
 tell me what happened.
 
That's it!

After changing that line the pop3-server is working fine.
Thank you ( and all the others ) very much!

Michael




would this work or am i barking up the wrong tree

1999-12-22 Thread Cameron Arnott

i have..

[root@top log]# cat run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog
/var/log/qmail/qmail.send
[root@top log]#

I need the current log to have readable timestamps

what i need to do is run tia64n then tai64n64local then multilog.. in
that order

what would happen if i were to try to put say

file mylog

/usr/local/bin/setuidgid qmaill /usr/local/bin/tai64n |
/usr/local/bin/tai64nlocal | /usr/bin/local/multilog
/var/log/qmail/qmail.send

then in /var/qmail/supervise/qmail-send/log/run

exec mylog

would that work

any other ideas





Re: Qmail is relaying external mail (Spam).

1999-12-22 Thread John Conover

Keith Warno writes:
 
 - Original Message -
 From: "Strange" [EMAIL PROTECTED]
 
 
  On Wed, 22 Dec 1999, Dustin Miller wrote:
   Although that does bring up an interesting security question.  A spammer
   could, potentially, launch a denial of service attack against a qmail server
   by sending spams, couldn't they?
 
  They can do that anyhow by sending to mailer-daemon, root, or another
  system account.
 
 Well they could do that sending to ANYONE pretty much, eh?
 
 Mail delivery for system accounts should be eliminated via the
 qmail-users(5) mechanism.  Ideally it would be nice for there to be a
 control file -- perhaps ``badrcptto'' -- to reject mail for such users at
 the door.
 
 Heh.. maybe there's already something like that and I haven't seen it.  ;-)


Hi Keith; tcpserver, from the author of qmail, works quite nicely-it will
throttle DoS, and has a very speedy database that can contain blacklisted
IPs.

John

-- 

John Conover[EMAIL PROTECTED]   http://www.inow.com/
631 Lamont Ct.  Tel. 408.370.2688  http://www.inow.com/ntropix/
Campbell, CA 95008  Fax. 408.379.9602  http://www.inow.com/nformatix/



why is qmail-pop3d keep on using the same message no.

1999-12-22 Thread Cameron Arnott


can someone please help me


@4000386126860696746c starting delivery 18: msg 2088999 to local
[EMAIL PROTECTED]
@4000386126860697c45c status: local 1/10 remote 0/20
@40003861268607a91cec delivery 18: success: did_1+0+0/
@40003861268607aa3dfc status: local 0/10 remote 0/20
@40003861268607ab285c end msg 2088999
@400038612a3b0a0c8c44 new msg 2088999
@400038612a3b0a0d8e14 info msg 2088999: bytes 2175 from
[EMAIL PROTECTED] qp 11792 uid 0
@400038612a3b0a3fe8b4 starting delivery 19: msg 2088999 to local
[EMAIL PROTECTED]
@400038612a3b0a4138a4 status: local 1/10 remote 0/20
@400038612a3b0b491b54 delivery 19: success: did_1+0+0/
@400038612a3b0b4a3c64 status: local 0/10 remote 0/20
@400038612a3b0b4b26c4 end msg 2088999
@400038612a822574302c new msg 2088999
@400038612a82257823e4 info msg 2088999: bytes 1974 from
[EMAIL PROTECTED] qp 11797 uid 0
@400038612a8225a17dd4 starting delivery 20: msg 2088999 to local
[EMAIL PROTECTED]
@400038612a8225a2cdc4 status: local 1/10 remote 0/20
@400038612a8226b2f98c delivery 20: success: did_1+0+0/
@400038612a8226b41a9c status: local 0/10 remote 0/20
@400038612a8226b504fc end msg 2088999
@400038612c012871a14c new msg 2088999
@400038612c012872a31c info msg 2088999: bytes 1711 from
[EMAIL PROTECTED] qp 11807 uid 0
@400038612c0128a334b4 starting delivery 21: msg 2088999 to local
[EMAIL PROTECTED]
@400038612c0128a484a4 status: local 1/10 remote 0/20
@400038612c0129a98cdc delivery 21: success: did_1+0+0/
@400038612c012904 status: local 0/10 remote 0/20
@400038612c0129ab9464 end msg 2088999
@400038612deb2ef88f1c new msg 2088999
@400038612deb2efc82d4 info msg 2088999: bytes 1828 from  qp 11819
uid 0
@400038612deb2f27f7d4 starting delivery 22: msg 2088999 to local
[EMAIL PROTECTED]
@400038612deb2f2947c4 status: local 1/10 remote 0/20
@400038612deb302ddeb4 delivery 22: success: did_1+0+0/
@400038612deb302effc4 status: local 0/10 remote 0/20
@400038612deb302fea24 end msg 2088999






Re: why is qmail-pop3d keep on using the same message no.

1999-12-22 Thread bert hubert

On Thu, Dec 23, 1999 at 06:15:42AM +1000, Cameron Arnott wrote:
 
 can someone please help me

Do you see problems? I believe the msg number is actually the inode number.
If you are typically processing only one message at a time, you may be using
and reusing the same inode number time and time again.

Regards,

bert hubert.

-- 
+---+  |  http://www.rent-a-nerd.nl
| nerd for hire |  |  
+---+  | - U N I X -
|  |  Inspice et cautus eris - D11T'95



Re: why is qmail-pop3d keep on using the same message no.

1999-12-22 Thread Cameron Arnott

i think there might be as.. qmailpop3d isn't loging anything when i pick up my
mail (ues a pop3d /Maildir/ mailbox)

it usedto but its stoped


bert hubert wrote:

 On Thu, Dec 23, 1999 at 06:15:42AM +1000, Cameron Arnott wrote:
 
  can someone please help me

 Do you see problems? I believe the msg number is actually the inode number.
 If you are typically processing only one message at a time, you may be using
 and reusing the same inode number time and time again.

 Regards,

 bert hubert.

 --
 +---+  |  http://www.rent-a-nerd.nl
 | nerd for hire |  |
 +---+  | - U N I X -
 |  |  Inspice et cautus eris - D11T'95



Re: Sendmail vs Qmail?

1999-12-22 Thread Claus Färber

Sam [EMAIL PROTECTED] schrieb/wrote:
 You want to hand-hold all the PHBs who can barely put together a
 Powerpoint presentation, and tell them how to install a unix filter?

Why don't you tell them to get a proper mail user agent? Throwing away  
email is not really the MTA's task.

-- 
Claus Andre Faerber http://www.faerber.muc.de
PGP: ID=1024/527CADCD FP=12 20 49 F3 E1 04 9E 9E  25 56 69 A5 C6 A0 C9 DC



Problem with Amavis

1999-12-22 Thread Carsten Witt

Hi anybody,

I've installed amavis with  mcafee.

1 - get amavis from http://www.amavis.org
2 - get McAfee from
http://www.nai.com/asp_set/buy_try/try/products_evals.asp
3 - read
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/10/msg01093.html
I'm not good at this, but I had to use "patch -l" to patch
scanmails.in...

I've made myself a cron-job which get updates of dat-files to the
virusscanner from
ftp://ftp.mcafee.com/pub/datfiles/english.

On a Linux debian System and something failed

LOG in the syslog-file shows :


Dec 23 03:22:07 advp23 qmail: 945915727.541195 delivery 23: success:
bin/qmail-local:_line_781:__3817_Segmentation_fault__${uvscan}_--secure_
-rv_--summary_${tmpdir}/unpacked/_${tmpdir}/logfile_21_/

what is wrong

Thanks for help

CU
 Carsten







Qmail/IMP question

1999-12-22 Thread Yuri Litvin

Hey guys :-)

I've got a question for ya. I'm not sure if it's more qmail or imp
question :-) I have RH 6.0 (2.2.13 kernel, 1.3.6 Apache, 3.0.12 PHP,
Horde 1.0.10, IMP 2.0.11) installed with qmail as a mail server. It
works great.

I can use all the functions of IMP just fine except when after I've
composed a message and click on "Send Message" it just sits there and
never returns, and in error log i get "qmail-inject: fatal: read error".

I can send mail messages as a regular user (root and another one), but
when i do su -m another_user from root and then try to send a mail
message from prompt it gives me the same error.

What's funny is that before, my PHP was compiled with safe-mode on
(modified src.rpm) and i could send e-mails, but could not make/view
attachments. Then i've compiled PHP with no safe mode and now I can
view, make attachments, save files, but can't send e-mails

After reinstalling mail server and hours of other crap, that's what i
found
out:
If i reboot the server, then IMP is functioning all right, i can
receive/send e-mails, attachments, etc == my dream, but if i'll restart
Apache without restarting the server, the above error pops up again.
Does anyone know what can be a problem?

What da hell is going on? have u ever seen anything like it?

Why can't i send an e-mail when i do su -m nobody and try to send mail?

Any Any tips, ideas, suggestions are greatly appreciated!!!

Thanx in advance guys :-)



Re: Converting PMMail files to Maildir or mbox format

1999-12-22 Thread Keith Warno

- Original Message -
From: "Frederik Lindberg" [EMAIL PROTECTED]


 On Wed, Dec 22, 1999 at 08:38:31AM -, Petr Novotny wrote:

  On 22 Dec 99, at 5:46, Frederik Lindberg wrote:
   They are just the message, but in dos/CRLF format. There are several
ways
   to convert them. The easiest if to ftp from the OS/2 box to the unix
box
   into the ~Maildir/new/ folder using "ascii" mode.
 
  Huh? FTP the easiest? On my PC, the easiest was
  tr -d "\r" input output
  Putting it into a for... cycle is left to the reader as an excercise.

 Exactly this is why ftp is easiest. The files need to be moved anyway,
 and it's not trivial to set up the for loop right the first time,
 especially for someone who might be used to GUI and ne to unix. Anyone can
ftp,
 and almost anyone can type "ascii" before doing it. YMMV.

 Fred Lindberg, Inf. Dis., WashU, St. Louis, MO, USA


Heh.. well.. there's also cute things like recode etc etc.  Although I would
have to agree: chances are better that people have FTPed something
somewhere.

But how good are the chances that they (newbies) know the difference between
ascii and binary?  ;-)



Password

1999-12-22 Thread Emmanuel Nee

I'm new to qmail. Is it possible to setup users without having to add
into the /etc/passwd file.

Emmanuel



Re: 3 quickies!

1999-12-22 Thread Marc-Adrian Napoli

Hi all,

  1. anyone have any suggestions as to what to use for anti-spam
  measures? there seems to be a number of options.

 http://cr.yp.to/rblsmtpd.html

As far as I can see, this only blocks certain mail servers - I could do this
at my border routers and save myself from installing any software. (Blocking
from certain IP's on port 25).

What i'm after is a solution that falls into place at the
qmail-send/qmail-local stage that will quickly check the headers of the
message to be delivered locally first for any particular strings. (Silly
email addresses or anything with the word "buy now" or "sell now" etc)

Is there something that can do this?

Appreciating all the help.

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750