Re: sendmail virtualusertable

2001-07-31 Thread Adrian Ho

On Tue, Jul 31, 2001 at 02:00:57PM +0800, kengheng wrote:
 install fastforward, then you can do all the virtual email alias in
 /etc/aliases

Or RTFFAQ http://cr.yp.to/qmail/faq.html, or RTFLWQ
http://www.lifewithqmail.org.  Search for virtual domain and you'll
have a solution, recommended by no less a personage than DJB himself,
that doesn't require anything other than stock qmail.

-- 
Adrian HoTinker, Drifter, Fixer, Bum   [EMAIL PROTECTED]
ListArchive: http://marc.theaimsgroup.com/?l=qmail
Useful URLs: http://cr.yp.to/qmail.html http://www.qmail.org
 http://www.lifewithqmail.org/ http://qmail.faqts.com/



qmail and virtual IPs

2001-07-31 Thread Martin Hasenbein


Hi,

I have installed a few virtual ip-adresses yesterday
to have my webservers and my mailserver on different IPs.
Like this:

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.0.3 netmask 0xfff0 broadcast 192.168.0.15
inet 192.168.0.5 netmask 0x broadcast 192.168.0.5
inet 192.168.0.6 netmask 0x broadcast 192.168.0.6
inet 192.168.0.7 netmask 0x broadcast 192.168.0.7
inet 192.168.0.8 netmask 0x broadcast 192.168.0.8
inet 192.168.0.9 netmask 0x broadcast 192.168.0.9
inet 192.168.0.10 netmask 0x broadcast 192.168.0.10
inet 192.168.0.11 netmask 0x broadcast 192.168.0.11
inet 192.168.0.12 netmask 0x broadcast 192.168.0.12
inet 192.168.0.13 netmask 0x broadcast 192.168.0.13

My server has the 192.168.0.3 and the mailserver should run on 192.168.0.5.
But when I'm now sending eMails its acting from the 192.168.0.3, not
from the virtual ip-address. How can I change that?

Thanks

/martin
---


   Martin Hasenbein  Phone (Fax): (+49) 89 1216376-1 (3)
 \|/   Weiglstr.9mailto:[EMAIL PROTECTED]
 @ @   D-80636 München   http://martin.hasenbein.com
-oOO-(_)-OOo

On the 8th day, god created Unix ;-)



Re: Single UID mailboxes - mail getting lost

2001-07-31 Thread Henning Brauer

On Mon, Jul 30, 2001 at 09:56:46PM -0400, Chris Johnson wrote:
 On Mon, Jul 30, 2001 at 10:55:10PM +0200, Henning Brauer wrote:
  Singe UID setups, usually called Virtual User Setups, are requiring a
  virtual user manager.
 
 That's not true. I've been using a roll-my-own single UID setup for ages, with
 no vpopmail or vmailmgr or anything but a custom checkpassword. It works
 beautifully and I don't have to worry about the security of non-DJB code
 (except for the cdb-enabled checkpassword, which I wrote myself).

Well, the bunch of .qmail-anything files and your custom checkpassword are
your virtual user manager than ;-))

 For someone with a small set of domains and a user base that doesn't change
 that often, I'd recommend a single-UID setup. It'll be more secure, and it'll
 give him a better understanding of how all the pieces of qmail work.

I agree regarding the understanding, I don't agree regarding the security. A
setup containing of tons of .qmail-anything files and custom checkpassword;
where the checkpassword input file and the .qmail-files must be in sync is a 
bit complicated and a hell to manage, no? It may work for a few users, but with
more users... it just gets to complicated. And complicated setups aren't
secure usually, simply because the complexity causes the admin to make faults.
On the other hand, vmailmgr and vpopmail aren't network daemons, which
lowers their security risk a lot. vpopmail seems to be a bit bloated to me
(this may be totally wrong, I never used it, it's just my impression from some
mails regarding vpopmail on this list), but vmailmgr seems to be fine (I'm
mostly trusting Charles selection here ;-) ). qmail-ldap's way of handling
virtual users is really straightforward and I don't have any security
considerations there.


-- 
* 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: Use rblsmtpd to tag messages rather than blackholing?

2001-07-31 Thread Henning Brauer

On Mon, Jul 30, 2001 at 04:30:58PM -0400, Chris Shenton wrote:
 Is there a way to use rblsmtpd, or some other tool, to mark a message
 as potential spam, along with a message like the one it logs like:

http://www.lamer.de/maex/creative/software/qmail/103-rblid/

-- 
* 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: qmail and virtual IPs

2001-07-31 Thread Adrian Ho

On Tue, Jul 31, 2001 at 09:03:42AM +0200, Martin Hasenbein wrote:
 My server has the 192.168.0.3 and the mailserver should run on 192.168.0.5.
 But when I'm now sending eMails its acting from the 192.168.0.3, not
 from the virtual ip-address. How can I change that?

You'll need to patch qmail-remote for this.  Go to http://www.qmail.org/
and search for either fixed IP address or bind the local address.  I
personally prefer the latter, as the mechanism used (bindroutes) is more
flexible, but the former is easier to configure if you only ever have a
single IP address to bind to.

-- 
Adrian HoTinker, Drifter, Fixer, Bum   [EMAIL PROTECTED]
ListArchive: http://marc.theaimsgroup.com/?l=qmail
Useful URLs: http://cr.yp.to/qmail.html http://www.qmail.org
 http://www.lifewithqmail.org/ http://qmail.faqts.com/



SSH with Qmail

2001-07-31 Thread Dave Lewis

Does anyone have documentation on how to setup Qmail to work with SSH ???
I'm currently using Qmail+vpopmail


Any help would be appreciated..


Dave Lewis



Re: qmail and virtual IPs

2001-07-31 Thread Henning Brauer

On Tue, Jul 31, 2001 at 09:03:42AM +0200, Martin Hasenbein wrote:
 My server has the 192.168.0.3 and the mailserver should run on 192.168.0.5.
 But when I'm now sending eMails its acting from the 192.168.0.3, not
 from the virtual ip-address. How can I change that?

You cannot. qmail-remote doesn't use a specified IP address for sending
mails, that's up to the system. If memory serves me right your colleague
maex has a patch for qmail-1.01 to use a specified IP; if not there may be a
link on qmail.org. Otherwise it should be easy changeable in qmail-remote.c

Greetings

Henning

-- 
* 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)



qmail won't start

2001-07-31 Thread Marenbach, Peter


Hi,

I just build and set up qmail for the first time (according to the
installation description in Life with qmail) on a Solaris 5.8 box.

I tried to start qmail by invoking 
   qmail-start ./Mailbox splogger qmail
and nothing at all did happen. No stderr/stdout no syslog, no processes
running.

Any ideas?

Thanks,
Peter



Re: SSH with Qmail

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 04:02:31AM -0400, Dave Lewis wrote:
 Does anyone have documentation on how to setup Qmail to work with SSH ???
 I'm currently using Qmail+vpopmail

What do you mean by work with? In what way would you like qmail and SSH to
interact?

Chris

 PGP signature


Re: Single UID mailboxes - mail getting lost

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 09:55:44AM +0200, Henning Brauer wrote:
 I agree regarding the understanding, I don't agree regarding the security. A
 setup containing of tons of .qmail-anything files and custom checkpassword;
 where the checkpassword input file and the .qmail-files must be in sync is a 
 bit complicated and a hell to manage, no?

You don't need tons of .qmail-* files. In fact, you don't need any at all. You
need some entries in users/assign and in users/poppasswd, and that's it. When I
create a new user, I make an entry in assign, another in poppasswd, and I
create a Maildir. It's very simple and clean.

Chris

 PGP signature


RE: Problems with qmail-remote hanging

2001-07-31 Thread Richard Underwood

 This problem's been reported before. If your OS says that an fd is
 readable via select(), then the read() should not block.
 
 As you observe though, the read is blocking so your OS is probably not
 telling the truth when it returns from the select().
 
 The archives have plenty of discussion on this and the simplest
 solution is to put a large-value alarm() handler in qmail-remote. No
 one as yet seems to be able to narrow down which OSes do this and
 under what circumstances.

Mark,

Thanks for the reply. I only seem to experience the problem with
large mail-outs. One possibility is that because of the way qmail works,
there's a significant chance that we will be making a large number of
simultaneous connections to some servers.

It's possible that this is causing a connection to be blackholed
somewhere ... that doesn't explain why select/read are failing to agree,
though. Perhaps select thinks the connection is closed, but read doesn't.

Setting an alarm is a nasty hack in my opinion, but I have to admit
that it's something I considered. A slightly neater solution might be to use
the SO_KEEPALIVE socket option - if it works (and there isn't a good reason
not to use it) that is.

What would be better is finding out why this happens, of course.

Thanks,

Richard

P.S. If anyone is keeping track, Linux 2.2.19, concurrencyremote set to 200



SMTP+SSL

2001-07-31 Thread Per-fredrik Pollnow (EPK)

Hi,

Ok, I have been trying to install qmail-smtp with SSL, but no success. In the 
beginning I tried stunnel, but I gave up. Now I'm trying tls.patch, I have reinstalled 
qmail with tls.patch, but I can't get it o work. Can someone please help me.




Using exim as local transport agent

2001-07-31 Thread Bernardo Clavijo

Hello you all out there.
I've got some troubles installing qmail. My Debian has previous configured
Exim as MTA, and I've got some things working on it that I don't want to
move to qmail, so I want to install qmail to handle the external incoming
SMTP conections and then send the messages to Exim, wich will do the local
delivery.
I've already installed qmail, but it takes all the delivery work and it
doesn work for me right now.
¿Could someone help me or tell me where to look for info?
Thanks in Advance

BJ
Bernardo Clavijo




Re: SMTP+SSL

2001-07-31 Thread Andrea Cerrito

 Hi,
 
 Ok, I have been trying to install qmail-smtp with SSL, but no 
 success. In the beginning I tried stunnel, but I gave up. Now I'm 
 trying tls.patch, I have reinstalled qmail with tls.patch, but I 
 can't get it o work. Can someone please help me.

Cool.
How can we help if you don't describe your problem?
A lot of people (like me) here are running qmail+stunnel.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372



Supervise lock error?

2001-07-31 Thread mappe


Hi!!!

I've been running my Qmail server for 7 months now, without any problems what so ever!!

But yesterday it stopped sending any outgouing mail. Incoming still works fine

I tried a restart which did not help at all. 

When qmail starts i get the following error message:

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

What has happened???


_s_p_r_a_y_
Här börjar Internet!
Skaffa gratis e-mail och gratis Internet på http://www.spray.se

Ring upp till 70% billigare med Spray Smart http://www.spray.se/smart/allman




RE: SMTP+SSL

2001-07-31 Thread NDSoftware

Hi,

Do you use deamontools ?
Because I have a server who don't use daemontools and the SSL is not
good on it !

-Original Message-
From: Andrea Cerrito [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 31, 2001 3:01 PM
To: Per-fredrik Pollnow (EPK); Qmail Mailing list (E-mail)
Subject: Re: SMTP+SSL


 Hi,
 
 Ok, I have been trying to install qmail-smtp with SSL, but no 
 success. In the beginning I tried stunnel, but I gave up. Now I'm 
 trying tls.patch, I have reinstalled qmail with tls.patch, but I 
 can't get it o work. Can someone please help me.

Cool.
How can we help if you don't describe your problem?
A lot of people (like me) here are running qmail+stunnel.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372




RE: SMTP+SSL

2001-07-31 Thread Per-fredrik Pollnow (EPK)

Hi,

Sorry about the bad describe of my problems. I have tried so many things, cant post 
all things to the mailing list, :=), so I need some help.

But how to you do when you are using stunnel + smtpd ?

(Yes I use deamontools)


This is some of the tings I have tried:
--
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD \
 -u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/sbin/stunnel -p 
/etc/pem/smtp.pem -N smtp -l/var/qmail/bin/qmail-smtpd 21 -- qmail-smtpd


--
AND
--
#!/bin/sh
exec /usr/local/sbin/stunnel -p /etc/pem/smtp.pem -d 465 -r 25 21

--

etc...

Using OpenBSD2.9/Qmail-1.03

-Original Message-
From: Andrea Cerrito [mailto:[EMAIL PROTECTED]]
Sent: den 31 juli 2001 15:01
To: Per-fredrik Pollnow (EPK); Qmail Mailing list (E-mail)
Subject: Re: SMTP+SSL


 Hi,
 
 Ok, I have been trying to install qmail-smtp with SSL, but no 
 success. In the beginning I tried stunnel, but I gave up. Now I'm 
 trying tls.patch, I have reinstalled qmail with tls.patch, but I 
 can't get it o work. Can someone please help me.

Cool.
How can we help if you don't describe your problem?
A lot of people (like me) here are running qmail+stunnel.
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372



slow delivering the outgoing messages

2001-07-31 Thread Dani

Hi, i have a linux box running qmail + mysql with smtpauth, and the smtp
is too slow delivering the outgoing messages. I would like to know if
there is any thing i could do to solve this problem, if there are
any parameters to be configured in any of the files so the delivery goes
faster.

thanx





qmail mail quota

2001-07-31 Thread Jonathan X Peers

Hi there

1. can I set mail quota per user or is it accress the bord (the same for 
all mailbox)

2. how do I set this up ? is there a how to ?



-- 
Thank You
Jonathan X Peers

--
Tel: 011 463-1937 Fax: 011 706-1084 Cell: 083 653-5911
Email: [EMAIL PROTECTED]
URL: www.nobarrier.co.za
--
The question of whether computers can think is just like the question of
whether submarines can swim.
-- Edsger W. Dijkstra
--





qmail quota

2001-07-31 Thread Jonathan X Peers

Hi there

1. can I set mail quota per user or is it accress the bord (the same for 
all mailbox)
2. how do I set this up ? is there a how to ?

-- 
Thank You
Jonathan X Peers

--





smtp problem

2001-07-31 Thread J4cks

i have a problem again
my problem is someone from different domain can use my smtp server.
i have see tha FAQ and set tcp.smtp but it doesn't work
setting on my tcp.smtp
192.168.1.:allow,RELAYCLIENT=
192.168.2.:allow,RELAYCLIENT=
192.168.3.:allow,RELAYCLIENT=
192.168.4.:allow,RELAYCLIENT=
:allow

if i set tcp.smtp like this
192.168.1.:allow,RELAYCLIENT=
192.168.2.:allow,RELAYCLIENT=
192.168.3.:allow,RELAYCLIENT=
192.168.4.:allow,RELAYCLIENT=
:deny

it work (user diferent domain can not use smtp) but my qmail deny connection
from other server that send to my domain (we can not receive mail from other
domain)

please help me..
J4cks



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




relay Denied

2001-07-31 Thread Daniel Abad

Hi!

I made the tcp.smtp file correct, everything looks fine, but I'm still
receiving relay denied.

What else should I do?

Tks,

Daniel.

-Mensagem original-
De: J4cks [mailto:[EMAIL PROTECTED]]
Enviada em: Terça-feira, 31 de Julho de 2001 12:00
Para: [EMAIL PROTECTED]
Assunto: smtp problem


i have a problem again
my problem is someone from different domain can use my smtp server.
i have see tha FAQ and set tcp.smtp but it doesn't work
setting on my tcp.smtp
192.168.1.:allow,RELAYCLIENT=
192.168.2.:allow,RELAYCLIENT=
192.168.3.:allow,RELAYCLIENT=
192.168.4.:allow,RELAYCLIENT=
:allow

if i set tcp.smtp like this
192.168.1.:allow,RELAYCLIENT=
192.168.2.:allow,RELAYCLIENT=
192.168.3.:allow,RELAYCLIENT=
192.168.4.:allow,RELAYCLIENT=
:deny

it work (user diferent domain can not use smtp) but my qmail deny connection
from other server that send to my domain (we can not receive mail from other
domain)

please help me..
J4cks



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



R: SMTP+SSL

2001-07-31 Thread Andrea Cerrito

 -Messaggio originale-
 Da: Per-fredrik Pollnow (EPK)
 [mailto:[EMAIL PROTECTED]]
 Inviato: martedì 31 luglio 2001 15.49
 A: 'Andrea Cerrito'
 Cc: Qmail Mailing list (E-mail)
 Oggetto: RE: SMTP+SSL


 Hi,

 Sorry about the bad describe of my problems. I have tried so many
 things, cant post all things to the mailing list, :=), so I need
 some help.

 But how to you do when you are using stunnel + smtpd ?

 (Yes I use deamontools)


 This is some of the tings I have tried:
 --
 #!/bin/sh
 QMAILDUID=`id -u qmaild`
 NOFILESGID=`id -g qmaild`
 MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
 exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c
 $MAXSMTPD \
  -u $QMAILDUID -g $NOFILESGID 0 smtp
 /usr/local/sbin/stunnel -p /etc/pem/smtp.pem -N smtp
 -l/var/qmail/bin/qmail-smtpd 21 -- qmail-smtpd

-l /var/qmail/bin/qmail-smtpd -- qmail-smtpd

see the diffs!

1) detach -l and the command
2) do not use 21 before the end of command!

There are a lot of scripts these days about stunnel.
Try a search on some archive. :)
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372





Re: slow delivering the outgoing messages

2001-07-31 Thread Charles Cazabon

Dani [EMAIL PROTECTED] wrote:
 Hi, i have a linux box running qmail + mysql with smtpauth, and the smtp
 is too slow delivering the outgoing messages. I would like to know if
 there is any thing i could do to solve this problem, if there are
 any parameters to be configured in any of the files so the delivery goes
 faster.

Yes, there probably are.  But you haven't told us anything.  Start by
posting the unedited output of qmail-showctl.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: qmail quota

2001-07-31 Thread Charles Cazabon

First of all, you posted this twice, after a seven minute wait.  If
you're that impatient, hire a qmail consultant.

Jonathan X Peers [EMAIL PROTECTED] wrote:
 
 1. can I set mail quota per user or is it accress the bord (the same for 
 all mailbox)

For local users, use your OS's filesystem quota mechanism.  See your
regular OS support channels for help with that.  For virtual domains,
your virtual domain manager (if using one) may have this feature.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: smtp problem

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 09:59:35PM +0700, J4cks wrote:
 i have a problem again
 my problem is someone from different domain can use my smtp server.
 i have see tha FAQ and set tcp.smtp but it doesn't work
 setting on my tcp.smtp
 192.168.1.:allow,RELAYCLIENT=
 192.168.2.:allow,RELAYCLIENT=
 192.168.3.:allow,RELAYCLIENT=
 192.168.4.:allow,RELAYCLIENT=
 :allow

Do you have a rcpthosts file? What's in it? What's the IP address of your
server?

Chris



Re: qmail quota

2001-07-31 Thread mike hagerty



 Jonathan X Peers [EMAIL PROTECTED] wrote:
 
  1. can I set mail quota per user or is it accress the bord (the same for
  all mailbox)
 
 For local users, use your OS's filesystem quota mechanism.  See your
 regular OS support channels for help with that.  For virtual domains,
 your virtual domain manager (if using one) may have this feature.
 
Qmail with LDAP also has integrated support for this but you have to put
all your users
into an LDAP database. WWW site for this is at http://www.nrg4u.com/

Qmail works very well for me with this setup accept for the fact that
there is no way 
to automatically notify users that they are over quota. It just rejects
email for the user
that is over the quota.



-- 
Mike H.



Re: smtp problem

2001-07-31 Thread J4cks

yes it contain all of our domain
ip 192.168.1.90

now user from whatevercan use my smtp

- Original Message - 
From: Chris Johnson [EMAIL PROTECTED]
To: J4cks [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 31, 2001 10:31 PM
Subject: Re: smtp problem


 On Tue, Jul 31, 2001 at 09:59:35PM +0700, J4cks wrote:
  i have a problem again
  my problem is someone from different domain can use my smtp server.
  i have see tha FAQ and set tcp.smtp but it doesn't work
  setting on my tcp.smtp
  192.168.1.:allow,RELAYCLIENT=
  192.168.2.:allow,RELAYCLIENT=
  192.168.3.:allow,RELAYCLIENT=
  192.168.4.:allow,RELAYCLIENT=
  :allow
 
 Do you have a rcpthosts file? What's in it? What's the IP address of your
 server?
 
 Chris


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




Re: smtp problem

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 10:37:48PM +0700, J4cks wrote:
 yes it contain all of our domain
 ip 192.168.1.90
 
 now user from whatevercan use my smtp

Can you show us an instance of this, an example of someone not in the range of
allowed IP addresses being able to relay mail through your server?

How *exactly* are you starting qmail-smtpd? Did you use tcprules to build your
tcp.smtp.cdb file? You've obviously done something wrong, but if you don't tell
us exactly what you've done there's no way for anyone to figure out what it is.

Chris

 PGP signature


RE: relay Denied

2001-07-31 Thread Scott Zielsdorf

I'm having the same problem and am getting ready to reinstall Qmail to make
sure it conforms to LWQ but I can't help
but wonder if qmail is not seeing the IP coming at it. All my workstations,
the only ones I want to have relay capability,
sit on a Windows network with DHCP and NAT.

When I look at the dialogue with the server the HELO looks like this: (HELO)
(scottz)(unknown). Shouldn't the dialogue look like this instead: (HELO)
(scottz)(192.168.10.145)

If the dialogue is telling me I'm unknown then it can't invoke the rules in
tcp.smtp, uh, right?

So...is this a Windoze problem or a qmail problem?

Anyone know or have I just botched the install at some point?

Thanks,

Scott

 -Original Message-
 From: Daniel Abad [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 31, 2001 10:01 AM
 To: [EMAIL PROTECTED]
 Subject: relay Denied


 Hi!

 I made the tcp.smtp file correct, everything looks fine, but I'm still
 receiving relay denied.

 What else should I do?





Re: vchkpw password authentication problem

2001-07-31 Thread Keary Suska

What do your log files say? Are your POP clients configured correctly? The
most common problem is forgetting the user%virtualdomain.com syntax for the
POP user name.

 127.:allow,RELAYCLIENT=
 192.168.:allow,RELAYCLIENT=
 
 It seemed to work find (although am I an open-relay now???)

Not necessarily. This is an over-simplification, but in essence qmail will
only accept mail for domains listed in rcpthosts (whose destination address
is not in locals), or from IP's with a cleared RELAYCLIENT. You would have
to add:
:allow,RELAYCLIENT=
to have an open relay. Qmail is closed by default, unlike sendmail.

Keary Suska
Esoteritech, Inc.
Leveraging Open Source for a better Internet

From: board master [EMAIL PROTECTED]
Date: Tue, 31 Jul 2001 02:57:32
To: [EMAIL PROTECTED]
Subject: vchkpw password authentication problem


Hi,
 
   I just recently installed vpopmail-4.9.10+qmail-1.03.  I set up my local
information manually, and used vpopmail's webadmin to create a virutal
domain and pop users; however, when I try to pop mail from the virtual
users, I cannot -- i.e. the password is not accepted (for whatever reason).
Anyone have any ideas?  My home directory for vpopmail is: /var/vpopmail
with the password file in: /var/vpopmail/domains/myvirtualwebsite.com
 
Thanks.
 
P.S. As a side note, I noticed that if I used:
 
127.:allow,RELAYCLIENT=
192.168.:allow,RELAYCLIENT=
:deny
 
In my tcp.smtp file, I couldn't get mail from the outside in (I thought this
file was only supposed to affect mail from the inside out!).  However, when
I changed it to:
 
127.:allow,RELAYCLIENT=
192.168.:allow,RELAYCLIENT=
 
It seemed to work find (although am I an open-relay now???)
 
Thanks again.



Get your FREE download of MSN Explorer at http://explorer.msn.com
http://go.msn.com/bql/hmtag_itl_EN.asp






Re: Sublist (Was: Virus-infected listmembers)

2001-07-31 Thread Russell Nelson

Dave 'Duke of URL' Weiner writes:
   On Thu, Jul 26, 2001 at 09:54:53PM -0400, Steve Reed wrote:
I think it would be very considerate of the list members if
whoever runs this mailing list would PLEASE wake up and ban the
living daylights out of Wilson and his barrage of viruses.
  
   What for? Wilson isn't the problem. The problem is that we're not in
   92 anymore. What I'd like to see is a sublist that drops anything that
   isn't ASCII only and also everything that is sent with Windos MUAs.
   For the fun of it, I just killed everything that said Outlook
   (Express), Eudora, Pegasus and Webmail for the last month. Trust me,
   the list suddenly became good.
  
  So Robin, despite the fact that I just finished building a qmail cluster
  using 3 Sun 220R's load balanced behind a pair of F5 Networks Big/IP's,
  qmail 1.03, vpopmail, courier-imap, sqwebmail, mysql and apache handling
  1,000,000 users across 5,400 domains, I should be banned from your sublist
  because I choose to use Outlook Express???

Yup.  Is as does.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude windows.h
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



Re: Sublist (Was: Virus-infected listmembers)

2001-07-31 Thread Russell Nelson

Smithj writes:
  Use GIMP :)

Yup.  Anybody who uses an email client that they didn't write
themselves (in assembly language) is just a poseur.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude windows.h
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 



Qmail relaying by bouncing to reply-to

2001-07-31 Thread Erik Lindahl


Hi,

We've had qmail working splendid for a while, but
just got a new problem when the free RBL services were
discontinued and there are less sites we refuse based on ip:

Apparently, spammers send mails to nonexistent users and
rely on qmail bouncing this to the reply-to adress. By setting
the reply-to to a suitable adress you get relaying, albeit
wrapped in a qmail bounce-message.

Now, it is of course possible that we configured everything
wrong, so we'll be happy to stand corrected :-)

However, as far as I get it, qmail-smtpd never checks for
users (like e.g. sendmail that bounces on smtpd-level).

I guess we're not the first ones to be hit by this, and
it should be specific to qmail, so what should we do?

Sincerely,

Erik
-
Erik Lindahl, PhD[EMAIL PROTECTED]
Dept. Biophysical Chemistry, Groningen University, THE NETHERLANDS
Phone: +31 50 3634335Fax: +31 50 3634800
(You can also reach me as [EMAIL PROTECTED] and [EMAIL PROTECTED])
Hi! I'm a mutated .sig virus! Put me in ~/.signature to multiply me!




Re: Sublist (Was: Virus-infected listmembers)

2001-07-31 Thread Lukas Beeler

At 12:39 31.07.2001 -0400, Russell Nelson wrote:
Smithj writes:
   Use GIMP :)

Yup.  Anybody who uses an email client that they didn't write
themselves (in assembly language) is just a poseur.


of course.. wait a moment please, i have to catch some violet flying pigs 
:)

i use a windows MUA because i have to, because i don't have the money, to 
buy a third computer [beside my devel server]. Or would you tell your 
mother, that she now should use mutt as her email client ?
i don't thin so..

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok |
521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude windows.h
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |
-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] 
---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: qmail security or email virus?

2001-07-31 Thread s. ryu


 The security problem is in your setup, not in qmail (just to be clear).
 It's not the result of an email virus.
  
I thought so.

 Sounds like you've made your system an open relay, or one of the users
 which is trusted to relay through your system has abused your trust.
 
Where do I set this up? I am running the qmail-1.3 using RedHat 7.x which 
is running linux 2.2.16-22

 Show us the output of qmail-showctl (unedited), any tcpcontrol files
 (/etc/tcp.smtp, etc) which you are using, the script you use to start
 qmail-smtpd (through tcpserver), and a snippet of the qmail-send log
 showing the spam message being injected into your system.
 
The output of qmail-showctl is as follows:

me: My name is igoods.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is cnc.net.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts: (Default.) SMTP clients may send messages to any recipient.

morercpthosts: (Default.) No rcpthosts; morercpthosts is irrelevant.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 igoods.com.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.

bkup: I have no idea what this file does.

--- end of the output 


as for the tcp control files are concerned, i don't find the file starting
tcp* in the /etc directory. i have to convert /etc/inetd.conf file for the
current linux os - RedHat 7.x. the smtp control file is under xinetd.d directory.
and they are as follows:

the content of /etc/xinetd.d/pop-3 
# Converted by inetdconvert
service pop-3
{
socket_type = stream
protocol= tcp
wait= no
user= root
server  = /var/qmail/bin/qmail-popup
server_args = redolive.com /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir 
disable = no
}

the content of  /etc/xinetd.d/smtp
# Converted by inetdconvert
service smtp
{
socket_type = stream
protocol= tcp
wait= no
user= qmaild
server  = /var/qmail/bin/qmail-smtpd
disable = no
}

   how can i clean up the queue directories since there are more
   messages waiting to send out? should i just remove the files from
   todo directory?
 
 If qmail is stopped, you could do this.  It won't help with messages
 that are already preprocessed.
 
That is fine. do i just remove the files under the todo to stop the further 
deliveries.
   we have reported the issue to [EMAIL PROTECTED], since our mail server was
   hacked.
 
 What do you mean by this?  Someone obtained an illegitimate shell
 account on your mailserver?  If so, they can send as much mail as they
 like; no MTA will protect you against that.
 
I do not think anybody got our shell account. but, somebody used our mail server
to send out bogus bulk emails to more than 1000 people. 
i had to send the email to them, since someone accused us sending out
spam emails.

Thanks for your help.
 -- 
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 ---


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Re: Supervise lock error?

2001-07-31 Thread Greg White

On Tue, Jul 31, 2001 at 03:22:42PM +, [EMAIL PROTECTED] wrote:
 
 Hi!!!
 
 I've been running my Qmail server for 7 months now, without any problems what so 
ever!!
 

Glad to hear it.
 But yesterday it stopped sending any outgouing mail. Incoming still works fine
 
 I tried a restart which did not help at all. 
 
 When qmail starts i get the following error message:
 
 supervise: fatal: unable to acquire
 qmail-send/supervise/lock: temporary failure
 supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: 
 temporary failure
 
 What has happened???

Looks to me like you're trying to 'supervise' qmail-smtpd twice, or a
previous supervise process did not exit cleanly, and left lockfiles
hanging around. Try:

svc -d /service/qmail-send
rm /service/qmail-send/supervise/*
svc -u /service/qmail-send

Then try to find out what's starting the supervise process twice --
possibly you have a SYSV-type script that starts svscan, and then tries
to start all the supervised processes again...

-- 
Greg White



Re: qmail security or email virus?

2001-07-31 Thread Henning Brauer

On Tue, Jul 31, 2001 at 10:30:45AM -0700, s. ryu wrote:
 rcpthosts: (Default.) SMTP clients may send messages to any recipient.

You really want to read some documentation. You are an open relay. Start
with http://www.lifewithqmail.org/.

Dan, if you ever will release qmail 1.04: please change the above line to:

rcpthosts: (Default.) YOU ARE AN OPEN RELAY!



-- 
* 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: qmail security or email virus?

2001-07-31 Thread Jeff Palmer

Or make relaying DENIED by default?

Jeff Palmer
[EMAIL PROTECTED]



 Dan, if you ever will release qmail 1.04: please change the above line to:

 rcpthosts: (Default.) YOU ARE AN OPEN RELAY!




Re: qmail security or email virus?

2001-07-31 Thread Jeff Palmer


 rcpthosts: (Default.) SMTP clients may send messages to any recipient.



If you read some of the documentation,  you'll probably find you are
missing a /var/qmail/control/rcpthosts file  (change the path, flavor to
taste)

This file tells qmail what domains it acts as relay for.

At the minimum,  you'll want to create an empty rcpthosts file.



Regards,

Jeff Palmer
[EMAIL PROTECTED]





Re: qmail security or email virus?

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 02:04:24PM -0400, Jeff Palmer wrote:
 Or make relaying DENIED by default?

It is denied by default, if you follow the installation instructions. You have
to delete the rcpthosts file intentionally to make your server an open relay.

Chris

 PGP signature


Re: Qmail relaying by bouncing to reply-to

2001-07-31 Thread Chris Johnson

On Tue, Jul 31, 2001 at 06:39:45PM +0200, Erik Lindahl wrote:
 We've had qmail working splendid for a while, but
 just got a new problem when the free RBL services were
 discontinued and there are less sites we refuse based on ip:
 
 Apparently, spammers send mails to nonexistent users and
 rely on qmail bouncing this to the reply-to adress. By setting
 the reply-to to a suitable adress you get relaying, albeit
 wrapped in a qmail bounce-message.

qmail will not bounce anything to a reply-to address; it bounces to the
envelope sender.

It's not likely that spammers are doing what you say. It's more likely that
they think that the address to which they think they're sending spam is valid,
but it isn't. I don't know where they get a hold of these bogus addresses.
There's a whole slew of spam-only addresses I get mail for; these addresses
have never been valid.

It really makes no sense to relay mail this way, since a spammer would have to
send one message for each spam recipient. If he does this, he might as well
just send the mail directly to his victims.

Chris

 PGP signature


Re: Problems with qmail-remote hanging

2001-07-31 Thread MarkD

   Setting an alarm is a nasty hack in my opinion, but I have to admit
 that it's something I considered.

Well, the qmail-remote connection is well and truly wedged once it's
in this state and if the select() timed out as it's meant to,
qmail-remote would exit with a delivery failure indication, so it's
not that bad a hack. It's also very easy to code - just a single
alarm() call at teh top of main().

 A slightly neater solution might be to use
 the SO_KEEPALIVE socket option - if it works (and there isn't a good reason
 not to use it) that is.

It'll be interesting to hear if this works.

   What would be better is finding out why this happens, of course.

Indeed. Does Linux offer tools/syscalls that would tell you why the
select worked, but the read failed?

 P.S. If anyone is keeping track, Linux 2.2.19, concurrencyremote set to 200

I hesitate to say this, but Linux kernels seem to predominate in this
regard, but that just may be that qmail is running on more Linux out
there than other Unixen.


Regards.



Re: qmail security or email virus?

2001-07-31 Thread s. ryu

Thanks for replying.
I just installed the tcpserver. since our server does not use
the inetd.conf file anymore instead it is using xinetd.d files.
i converted the inetd.conf file ( with the
tcpserver -v -u 502 -g 500 0 smtp /var/qmail/bin/qmail-smtpd \
 21 | /var/qmail/bin/splogger smtpd 3 
) 
 for the tcpserver, but i don't think it converted the file correctly. 
the converted file for tcpserver is as follows:

 Converted by inetdconvert
service tcpserver
{
socket_type = -v
protocol= -u
wait= yes
user= -g
server  = 500
server_args = 0 smtp /var/qmail/bin/qmail-smtpd \
disable = no
}

the above does not seem right.

shouldn't it be:
service tcpserver
{
socket_type = stream
protocol= tcp
wait= no
user= qmaild
server  = tcpserver
server_args = -v -u 502 -g 500 0 smtp /var/qmail/bin/qmail-smtpd \
   21 | /var/qmail/bin/splogger smtpd 3 
disable = no
}
i am not sure, if i have the server info correct.

--- Jeff Palmer [EMAIL PROTECTED] wrote:
 
  rcpthosts: (Default.) SMTP clients may send messages to any recipient.
 
 
 

 If you read some of the documentation,  you'll probably find you are
 missing a /var/qmail/control/rcpthosts file  (change the path, flavor to
 taste)
 
 This file tells qmail what domains it acts as relay for.
 
 At the minimum,  you'll want to create an empty rcpthosts file.
 
 
as far as this file is concerned, when i use this, i could not send emails to any
domain that were not included in this file. if this file was used to allow the
users from that domains to send email, it is ok. i just tried the empty file,
it is the same. yes! the rcpthost file came with the default installation, i
deleted because i could not add new host name whenever i need to send an email
to new domain host. rcpthost file does not seem to solve any security issue, since it
will still allow someone to send emails to those in that domain. is this because
i did not configure the qmail correctly? i think, i am not sure what the
rcpthosts is for. is the file(rcpthosts) used to allows only the users from 
the domains listed in
rcpthosts to send out email or qmail users are allowed to send out email to
only those listed in the rcpthosts file? my qmail works like the latter case.

 
 Regards,
 
 Jeff Palmer
 [EMAIL PROTECTED]
 
 
thanks!

sue ryu

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Re: qmail security or email virus?

2001-07-31 Thread Charles Cazabon

s. ryu [EMAIL PROTECTED] wrote:

 rcpthosts: (Default.) SMTP clients may send messages to any recipient.

You're an open relay.  Shut down qmail-smtpd and re-read all the
documentation.  Then fix the problem before starting qmail-smtpd again.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Qmail stopped working

2001-07-31 Thread Stephen Bosch

Henning Brauer wrote:

 So once more the qmail no. 1 FAQ. Read section G10 in life with qmail or
 just lurk on the list for more than 2 minutes.
 
 So the last few days these arrogant assholes like Charles and myself didn't
 answer to much on this list, and we've seen what happened. The blind trying
 to help the blind, endless threads with wrong advices, endless threads about
 the #1 FAQ without real facts and lots of nonsense. It's enough, isn't it?

Nobody said you shouldn't be posting to the list, Henning -- just be
polite about it.

-Stephen-



Re: qmail security or email virus?

2001-07-31 Thread Stephen Bosch

Henning Brauer wrote:
 
 On Tue, Jul 31, 2001 at 10:30:45AM -0700, s. ryu wrote:
  rcpthosts: (Default.) SMTP clients may send messages to any recipient.
 
 You really want to read some documentation. You are an open relay. Start
 with http://www.lifewithqmail.org/.

qmail doesn't relay by default.

Henning, sei nicht so deutsch =)

-Stephen-



Re: qmail security or email virus?

2001-07-31 Thread Henning Brauer

On Tue, Jul 31, 2001 at 01:37:29PM -0600, Stephen Bosch wrote:
 Henning Brauer wrote:
  On Tue, Jul 31, 2001 at 10:30:45AM -0700, s. ryu wrote:
   rcpthosts: (Default.) SMTP clients may send messages to any recipient.
  You really want to read some documentation. You are an open relay. Start
  with http://www.lifewithqmail.org/.
 qmail doesn't relay by default.

Never said that.
The original poster has no idea about the file rcpthosts as he said himself.
That proves his need to read docs.

 Henning, sei nicht so deutsch =)

Denke nicht dass ich das bin.

-- 
* 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)



TLS implementation.

2001-07-31 Thread McHugh, Sean

We almost have qmail with TLS.patch working on Solaris 8 (x86).  Server
allows starttls
command and patch installed fine.  We are a little stuck at the point where
we specify 
what host we want qmail-remote to invoke TLS for and what hosts we want
qmail-smtpd to force to
use TLS in sending to us.  The patch documentation is not clear on how this
is done.  Can anyone
give me clue ?  Is there a HOW-TO:Qmail/TLS for dummies like us ?

sean



Re: TLS implementation.

2001-07-31 Thread MarkD

TLS negotiated after the connection is established (basically they
send STARTTLS and take note of the response code). You should not need
to configure anything. What makes you think you need to do this?


Regards.


On Tue, Jul 31, 2001 at 04:24:53PM -0400, McHugh, Sean allegedly wrote:
 We almost have qmail with TLS.patch working on Solaris 8 (x86).  Server
 allows starttls
 command and patch installed fine.  We are a little stuck at the point where
 we specify 
 what host we want qmail-remote to invoke TLS for and what hosts we want
 qmail-smtpd to force to
 use TLS in sending to us.  The patch documentation is not clear on how this
 is done.  Can anyone
 give me clue ?  Is there a HOW-TO:Qmail/TLS for dummies like us ?
 
 sean



Re: qmail security or email virus?

2001-07-31 Thread s. ryu

--- Henning Brauer [EMAIL PROTECTED] wrote:
 On Tue, Jul 31, 2001 at 01:37:29PM -0600, Stephen Bosch wrote:
  Henning Brauer wrote:
   On Tue, Jul 31, 2001 at 10:30:45AM -0700, s. ryu wrote:
rcpthosts: (Default.) SMTP clients may send messages to any recipient.
   You really want to read some documentation. You are an open relay. Start
   with http://www.lifewithqmail.org/.
  qmail doesn't relay by default.
 
 Never said that.
 The original poster has no idea about the file rcpthosts as he said himself.
 That proves his need to read docs.
 
That is not true. i would not say i had no idea. i had some idea. 
yes! i was confused about the intend of that file. by the way, i am NOT HE! 

i had my reasons why i had to delete the file as described on the previous
message, if you read it. i think, you should read the message posted more
carefully before responding.

i feel that this message board group is a bit hostile. ok. we need to read
the documentation to install it correctly. i installed the system more than
one year ago and recently reinstalled due to the os upgrade couple of months ago.
 since the system
was working ok without any problem till now. i asked for
help. 

i am greatful for people trying to help me. i know most of problems people
have can be solved by reading through the documents. if it is not, then 
we don't have good documentation. 

  Henning, sei nicht so deutsch =)
 
 Denke nicht dass ich das bin.
 
 -- 
 * 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)


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



RE: TLS implementation.

2001-07-31 Thread McHugh, Sean

oh.  that sounds like a good approach.  the tls implementation for exchange
seems
to imply that sending to hosts is done on a host by host basis - but i could
be interpreting
that incorrectly as well.  in light of your response i have some follow up
questions:

1.)my assumption is that the smtp client will use it's own certificate, is
this correct ?
   if it is, what are the /var/qmail/tlshosts/clientcert.pem files for ?
2.)i am signing the cert myself with openssl.  do i need to run a CA for
these to work ?

thanks.

sean

-Original Message-
From: MarkD [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 4:38 PM
To: '[EMAIL PROTECTED]'
Subject: Re: TLS implementation.


TLS negotiated after the connection is established (basically they
send STARTTLS and take note of the response code). You should not need
to configure anything. What makes you think you need to do this?


Regards.


On Tue, Jul 31, 2001 at 04:24:53PM -0400, McHugh, Sean allegedly wrote:
 We almost have qmail with TLS.patch working on Solaris 8 (x86).  Server
 allows starttls
 command and patch installed fine.  We are a little stuck at the point
where
 we specify 
 what host we want qmail-remote to invoke TLS for and what hosts we want
 qmail-smtpd to force to
 use TLS in sending to us.  The patch documentation is not clear on how
this
 is done.  Can anyone
 give me clue ?  Is there a HOW-TO:Qmail/TLS for dummies like us ?
 
 sean



qmail-smtpd process

2001-07-31 Thread Francisco André Barbosa Neto

Hi my name is Andre, I'm using qmail for a long time in the
same machine, when I start using qmail, sometimes it seems to stop work, so
I run qmail-stop an qmail-start again and it delivery many messages that are
in it's message spool, nowadays, my qmail starts a qmail-smtpd process,
complete the action, but it didn't finish the process, and after 1 hour it
finish that process. I have a busy server, about 3 thousand messages by day,
and it happens not all the time, but in a random mode.

Somebody has an idea of what are happening??

Following are my actual system
Pentium III 500 128Mb RAM
Slackware 7.1
qmail 1.03
amavis 0.21

I'm using only a DNS server more in this machine!!!

Thank you all!!

--
Connect On Internet Provider
http://www.connecton.com.br
Fone: 55-11-4655-2232
Francisco André Barbosa Neto
[EMAIL PROTECTED]
--





Re: qmail-smtpd process

2001-07-31 Thread Lukas Beeler

i don't have an idea, whats exactly the problem, but i can give you an advice..
follow life with qmail. tcpserver  daemontools solve many problems that 
inetd or standalone tcpserver can cause.
you can get lwq at http://www.lifewithqmail.org, written by Dave Sill, and 
really worth reading

At 18:22 31.07.2001 -0300, Francisco André Barbosa Neto wrote:
 Hi my name is Andre, I'm using qmail for a long time in the
same machine, when I start using qmail, sometimes it seems to stop work, so
I run qmail-stop an qmail-start again and it delivery many messages that are
in it's message spool, nowadays, my qmail starts a qmail-smtpd process,
complete the action, but it didn't finish the process, and after 1 hour it
finish that process. I have a busy server, about 3 thousand messages by day,
and it happens not all the time, but in a random mode.

 Somebody has an idea of what are happening??

Following are my actual system
Pentium III 500 128Mb RAM
Slackware 7.1
qmail 1.03
amavis 0.21

I'm using only a DNS server more in this machine!!!

 Thank you all!!

--
Connect On Internet Provider
http://www.connecton.com.br
Fone: 55-11-4655-2232
Francisco André Barbosa Neto
[EMAIL PROTECTED]
--

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: qmail security or email virus?

2001-07-31 Thread Ahmad Ridha

s. ryu writes: 

 That is not true. i would not say i had no idea. i had some idea. 
 yes! i was confused about the intend of that file. by the way, i am NOT HE! 
 i had my reasons why i had to delete the file as described on the previous
 message, if you read it. i think, you should read the message posted more
 carefully before responding. 
 

Sorry to say this but you previous post did show that you didn't have the 
right idea about what rcpthosts are for. You only need to add domains that 
your machine serves to rcpthosts. 

 i feel that this message board group is a bit hostile. ok. we need to read
 the documentation to install it correctly.  
 

Please read Life With qmail (LWQ) http://www.lifewithqmail.org. It really 
helps even for newbies like myself. This list may look a bit 'scary' but 
there's a lot of help here as long we have given enough effort to 'help 
ourselves' and provided sufficeient information on the problem. Searching 
the archives before posting is also highly expected. 

Now onto you problem. Here I use examples from our server. 

1. Add your domain(s) to rcpthosts
2. Create /etc/tcp.smtp containing the host(s) that you want to allow 
relaying through the server, e.g: 

127.:allow,RELAYCLIENT=
192.168.3.:allow,RELAYCLIENT= 

3. 'Compile the file' 

tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
chmod 644 /etc/tcp.smtp.cdb 

4. Add -x option to tcpserver in your run script (use of inetd or xinetd is 
unfamiliar in this list since tcpserver is preferred) 

exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -R -H -l student -v -p -x /etc/tcp.smtp.cdb \
 -c 20 -u 502 -g 501 0 smtp /var/qmail/bin/qmail-smtpd 21 

The above steps are well explained in the mentionend LWQ. 

Hope it helps. 

Regards, 

Ahmad Ridha 



Re: qmail security or email virus?

2001-07-31 Thread Henning Brauer

On Tue, Jul 31, 2001 at 01:39:15PM -0700, s. ryu wrote:
 i had my reasons why i had to delete the file as described on the previous
 message, if you read it. i think, you should read the message posted more
 carefully before responding.

You should simply read the f*** docs before polluting the internet with just
one more misconfigured open relay.


-- 
* 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)



qmail-pop3 server strange problem

2001-07-31 Thread Martin Bangieff

Hi all
I'm trying to make my first configuration on qmail but have a strange
problem with onstalling the pop3 server.
Following the instructions I installed the checkpassword and all the tests
passed successfully:

#/var/qmail/bin/qmail-popup host.com /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir
+OK [EMAIL PROTECTED]
user someone
+OK
pass somepass
+OK

but when I put the following row:

pop3stream  tcp nowait  root/var/qmail/bin/qmail-popup \
qmail-popup borsabg /bin/password /var/qmail/bin/qmail-pop3d \
Maildir

in the /etc/inetd.conf + killall -HUP inetd something goes wrong:
root@server:~/pirat# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK 854.996704950@qmail-popup
user someuser
+OK
pass somepass
-ERR authorization failed
Connection closed by foreign host.

someone can tell me what's wrong here?
thanx in advance
Bangieff




Re: qmail-pop3 server strange problem

2001-07-31 Thread Peter van Dijk

On Sun, Jul 29, 2001 at 01:44:31AM -0700, Martin Bangieff wrote:
[snip]
 pop3stream  tcp nowait  root/var/qmail/bin/qmail-popup \
 qmail-popup borsabg /bin/password /var/qmail/bin/qmail-pop3d \
 Maildir

/bin/password should be /bin/checkpassword, I guess :)

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: SSH with Qmail

2001-07-31 Thread Brett Randall

 Chris == Chris Johnson [EMAIL PROTECTED] writes:

 On Tue, Jul 31, 2001 at 04:02:31AM -0400, Dave Lewis wrote:

 Does anyone have documentation on how to setup Qmail to work with SSH ???
 I'm currently using Qmail+vpopmail

 What do you mean by work with? In what way would you like qmail and SSH to
 interact?

I want qmail to SSH into the remote mail server, chdir to the mail
spool folder of the user I am trying to send e-mail to with root
privs, and write the e-mail message directly into their inbox.
-- 
Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live.

- Martin Golding



Re: SSH with Qmail

2001-07-31 Thread Peter van Dijk

On Wed, Aug 01, 2001 at 09:51:39AM +1000, Brett Randall wrote:
  Chris == Chris Johnson [EMAIL PROTECTED] writes:
 
  On Tue, Jul 31, 2001 at 04:02:31AM -0400, Dave Lewis wrote:
 
  Does anyone have documentation on how to setup Qmail to work with SSH ???
  I'm currently using Qmail+vpopmail
 
  What do you mean by work with? In what way would you like qmail and SSH to
  interact?
 
 I want qmail to SSH into the remote mail server, chdir to the mail
 spool folder of the user I am trying to send e-mail to with root
 privs, and write the e-mail message directly into their inbox.

So set up ssh keys without passphrases to allow your system to do so,
make a script that does all that and call it from a .qmail file.

The purpose is completely beyond me, however.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Message without Subject and From!!!

2001-07-31 Thread Daniel Abad

Hi all!

When a send a message to my virtual user, I check it from telnet and it's
without subject and from!! What should I do?? 

ash-2.03$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.cidadeinternet.com.br.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass teste
+OK
list
+OK
1 285
.
retr 1
+OK
Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 4487 invoked by uid 0); 1 Aug 2001 00:03:51 -
Received: from localhost.0.0.127.in-addr.arpa (HELO www) (127.0.0.1)
  by localhost.0.0.127.in-addr.arpa with SMTP; 1 Aug 2001 00:03:51 -
teste



Something could be done wrong at Intallation??

Tks.
Daniel.

-Mensagem original-
De: Peter van Dijk [mailto:[EMAIL PROTECTED]]
Enviada em: Terça-feira, 31 de Julho de 2001 21:03
Para: [EMAIL PROTECTED]
Assunto: Re: SSH with Qmail


On Wed, Aug 01, 2001 at 09:51:39AM +1000, Brett Randall wrote:
  Chris == Chris Johnson [EMAIL PROTECTED] writes:
 
  On Tue, Jul 31, 2001 at 04:02:31AM -0400, Dave Lewis wrote:
 
  Does anyone have documentation on how to setup Qmail to work with SSH
???
  I'm currently using Qmail+vpopmail
 
  What do you mean by work with? In what way would you like qmail and
SSH to
  interact?
 
 I want qmail to SSH into the remote mail server, chdir to the mail
 spool folder of the user I am trying to send e-mail to with root
 privs, and write the e-mail message directly into their inbox.

So set up ssh keys without passphrases to allow your system to do so,
make a script that does all that and call it from a .qmail file.

The purpose is completely beyond me, however.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



deferral:Temporary_error_in_qmail-qmqpc_(as_mail_forwarder)_(LDAP-ERR_#239)

2001-07-31 Thread Vu Xuan Ngoc

I am using qmail-ldap with qmail-ldap-20010301.patch
I creat a ldap entry:

dn: uid=media,ou=qmailusers,dc=vn
objectClass: person
objectClass: qmailuser
...
accountStatus: active
homeDirectory: /home/export/media
deliveryMode: ./maildir/
mailhost: newsletters.vnn.vn
mail: [EMAIL PROTECTED]
...

my config files
+)host :technical.vnn.vn:
control/locals  technical.vnn.vn
  newsletters.vnn.vn
control/rcpthosts  technical.vnn.vn
  newsletters.vnn.vn
control/me   technical.vnn.vn
control/ldapcluster1
control/qmqpserversnewsletters.vnn.vn

+)host:newsletters.vnn.vn
control/me  newsletters.vnn.vn
control/locals  technical.vnn.vn
  newsletters.vnn.vn
control/rcpthosts  technical.vnn.vn
  newsletters.vnn.vn

when I receive message [EMAIL PROTECTED],
I get an error:
deferral:
Temporary_error_in_qmail-qmqpc_(as_mail_forwarder)_(LDAP-ERR_#239)




Stripping binaries?

2001-07-31 Thread Jay Vaughan

I'd like to set up my qmail-based mailhosts to strip attachments 
automatically, save them to a dir, and put a this attachment saved 
to /some/path message at the bottom... instead of distributing 
binaries to all and sundry.

Anyone doing this with qmail yet, and/or got any hints?

-- 


~jv
--
[EMAIL PROTECTED]   :  [EMAIL PROTECTED]
--
  ... threads rolling ...
--
http://homepage.mac.com/seclorum/FileSharing.html



Re: qmail-smtpd process

2001-07-31 Thread andrew

At 18:22 31.07.2001 -0300, Francisco André Barbosa Neto wrote:
 Hi my name is Andre, I'm using qmail for a long time in the
same machine, when I start using qmail, sometimes it seems to stop work, so
I run qmail-stop an qmail-start again and it delivery many messages that are
in it's message spool, nowadays, my qmail starts a qmail-smtpd process,
complete the action, but it didn't finish the process, and after 1 hour it
finish that process. I have a busy server, about 3 thousand messages by day,
and it happens not all the time, but in a random mode.

 Somebody has an idea of what are happening??

Andre,

Hmm, interesting...

I'd be taking a closer look at items such as,

  - Whether there's any problem with your 'Trigger'; see
that /var/qmail/queue/lock/trigger, which should be
owned by user qmails, group qmail, with permissions
prw--w--w-  (NB the p at the start for a named pipe).

  - Try and get some angle on the behaviour of *your*
system, and the mails coming into it. Checkout the
qmail-qstat command, to see the number of messages
in the queue (and whether they're preprocessed). Think
about whether you expect most mails to be delivered
locally or to be relayed to machines elsewhere; then
take a look at your log files to see if that's indeed
what's happening. If you're relaying a lot, you may
need to increase your concurrencyremote.

  - Once you've done the above, you might like to post
your findings to the list. In particular, the list
members will want to know What do the logs say.
If you solve the problem, tell us that too...

On the (lack of) information you've given us so far, the
above can only be broad guesses of where to look.

cheers,

Andrew.




Re: Stripping binaries?

2001-07-31 Thread Brett Randall

 Jay == Jay Vaughan [EMAIL PROTECTED] writes:

 I'd like to set up my qmail-based mailhosts to strip attachments
 automatically, save them to a dir, and put a this attachment saved
 to /some/path message at the bottom... instead of distributing
 binaries to all and sundry.

 Anyone doing this with qmail yet, and/or got any hints?

qmail-scanner c/- www.qmail.org
-- 
ADA, n.: Something you need only know the name of to be an Expert in
Computing. Useful in sentences like, We had better develop an ADA
awareness.

- The Devil's Dictionary to Computer Studies