dnscheck; Not logging Invalid SENDER

2001-08-08 Thread Lou Hevly

Greetings:

I have dnschecking enabled:

nodnscheck: (Default.) Any MAIL FROM is checked for existing Domains.

My problem is that some senders continue trying and my logs fill with 
hundreds of Invalid SENDER lines for the each rejected message.  Is 
there any way to prevent qmail logging these?

Thanks.

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




Re: dnscheck; Not logging Invalid SENDER

2001-08-08 Thread Lou Hevly

At 12:11 08/08/01, Peter van Dijk wrote:
On Wed, Aug 08, 2001 at 11:17:42AM +0200, Lou Hevly wrote:
  Greetings:
 
  I have dnschecking enabled:
 
  nodnscheck: (Default.) Any MAIL FROM is checked for existing 
 Domains.
 
  My problem is that some senders continue trying and my logs fill 
 with
  hundreds of Invalid SENDER lines for the each rejected message.  Is 

  there any way to prevent qmail logging these?

qmail has no dnschecking functionality. You are probably using some
kind of patch. Until you tell us much more, we can't help you.

Sorry, I wasn't thinking :(.
I've installed SPAMCONTROL patch (1.4.2):
http://www.fehcom.de/qmail/spam.html

The docs say:
The SPAMCONTROL patch enables logging for rejected E-Mails by means
of QMAIL-SMTPD.

But I would like to disable this logging for the reason stated above.



-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




Re: autoresponder install....cjk

2001-07-18 Thread Lou Hevly

At 10:17 17/07/01, Adrian Ho wrote:
On Tue, Jul 17, 2001 at 11:15:38AM +0300, Constantine Koulis wrote:
  I download the autoresponder program from untroubled.org of Bruce 
 Guenter
  but i dont know how to INSTALL it.

Unpack tarball, make all install.

Just a note to mention that when I tried to compile
qmail-autoresponder on an OpenBSD 2.8 box I got a Can't find
getopt.h error.  I then copied getopt.h from a Linux box into
my /usr/include directory and all went well.


-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




spamcontrol patch

2001-07-18 Thread Lou Hevly

Greetings:

My problem is that I have installed the spamcontrol patch but badrcptto
is not stopping incoming mails as I expected.  Here are the details:

I am on OpenBSD 2.8. I have downloaded the spamcontrol patch and
successfully patched ./qmail-1.03 with only the following error 
message:

- excerpt spamcontrol.log -
Hmm...  Looks like a normal diff to me...
The text leading up to this was:
--
|--- qmail-smtpd.c.orig  1998-06-15
|+++ qmail-smtpd.c   2000-11-26
--
Patching file qmail-smtpd.c using Plan A...
Hunk #1 succeeded at 26.
Hunk #2 succeeded at 32.
Hunk #3 failed at 61.
Hunk #4 succeeded at 111.
Hunk #5 succeeded at 130.
Hunk #6 succeeded at 170.
Hunk #7 succeeded at 181.
Hunk #8 succeeded at 198.
Hunk #9 succeeded at 208.
Hunk #10 succeeded at 247 (offset 9 lines).
Hunk #11 succeeded at 359 (offset 9 lines).
Hunk #12 succeeded at 397 (offset 9 lines).
Hunk #13 succeeded at 399 (offset 9 lines).
Hunk #14 succeeded at 408 (offset 9 lines).
Hunk #15 succeeded at 507 (offset 9 lines).
Hunk #16 succeeded at 510 (offset 9 lines).
Hunk #17 succeeded at 517 (offset 11 lines).
Hunk #18 succeeded at 525 (offset 9 lines).
patch:  misordered hunks! output would be garbled
-- qmail-smtpd.8 copied to qmail-smtpd.8.142
-

However, I went ahead and stopped qmail, did `make setup check` and
restarted qmail with the following rc script:

---
/usr/local/bin/tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb -u 
1006 -g 1002 0 smtp /var/qmail/bin/qmail\
-smtpd 21 | /var/qmail/bin/splogger smtpd 
/usr/local/bin/tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup 
visca-server.com /home/vpopmail/bin/vchkpw /\
var/qmail/bin/qmail-pop3d Maildir 


Doing ./qmail-showctl shows the following for badrcptto:

-
badrcptto:
[EMAIL PROTECTED] not accepted in RCPT TO.
---

But when I send a message to [EMAIL PROTECTED] it is accepted:

---
Jul 18 12:50:23 visca-server qmail: 995460623.194943 new msg 264383
Jul 18 12:50:23 visca-server qmail: 995460623.195484 info msg 264383: 
bytes 652 from [EMAIL PROTECTED] qp 27804\
  uid 1006
Jul 18 12:50:23 visca-server qmail: 995460623.230268 starting delivery 
2: msg 264383 to local visca.com-bad@v\
isca.com
Jul 18 12:50:23 visca-server qmail: 995460623.230988 status: local 1/10 
remote 0/20
Jul 18 12:50:23 visca-server qmail: 995460623.265772 delivery 2: 
success: POP_user_does_not_exist,_but_will_d\
eliver_to_./junk/did_0+0+1/
Jul 18 12:50:23 visca-server qmail: 995460623.290211 status: local 0/10 
remote 0/20
Jul 18 12:50:23 visca-server qmail: 995460623.290696 end msg 264383


Is this because I'm using vpopmail?  ./badmailfrom works as expected.

Thank you.

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




SOLVED Re: spamcontrol patch

2001-07-18 Thread Lou Hevly

At 14:57 18/07/01, Lou Hevly wrote:
Greetings:

My problem is that I have installed the spamcontrol patch but 
badrcptto
is not stopping incoming mails as I expected.  Here are the details:

Answering my own question, it may be that because I originally 
installed
qmail from an OpenBSD package, then did `make setup check` on the
downloaded 1.03 version, that there was a conflict.  So I deleted my
/var/qmail/bin directory, recompiled qmail, did the spamcontrol patch, 
then recompiled qmail, and now all seems well.

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




Re: dot-qmail problem

2001-07-03 Thread Lou Hevly

At 12:00 03/07/01, [EMAIL PROTECTED] wrote:
Hello,

I am using the .qmail-file to forward messages to another 
email-address.
But I want to keep the mails in original Maildir also.

Which original Maildir?  You have to specify a username.


My .qmail-file:

[EMAIL PROTECTED]
./Maildir/

Assuming your .qmail-file is in ~/vpopmail/domains/mydomain.com, this 
should be (assuming you want user postmaster to receive the message):

[EMAIL PROTECTED]
./postmaster/Maildir/

BTW, you might want to subscribe to the vpopmail list; try:
[EMAIL PROTECTED]

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




tai64nlocal problem

2001-06-15 Thread Lou Hevly

I would like to begin using multilog instead of splogger. I've
installed daemontools and run the tests for tai64nlocal successfully:

[root:/usr/local/src/daemontools-0.70]$ date | ./tai64n | ./tai64nlocal
2001-06-15 16:11:06.389339500 Fri Jun 15 16:11:06 GMT 2001

The docs say that tai64nlocal reads lines from stdin.  But for me
it just hangs until I hit Ctrl+C:

[root:/usr/local/src/daemontools-0.70]$ ./tai64nlocal 
@400037c219bf2ef02e94
^C
[root:/usr/local/src/daemontools-0.70]$

I'm on OpenBSD 2.8.  Thanks.
-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




Re: tai64nlocal problem

2001-06-15 Thread Lou Hevly

At 17:46 15/06/01, Greg White wrote:
On Fri, Jun 15, 2001 at 06:29:10PM +0200, Lou Hevly wrote:

  The docs say that tai64nlocal reads lines from stdin.  But for me
  it just hangs until I hit Ctrl+C:
 
  [root:/usr/local/src/daemontools-0.70]$ ./tai64nlocal
  @400037c219bf2ef02e94
  ^C
  [root:/usr/local/src/daemontools-0.70]$
 

tai64nlocal _does_ read from STDIN.
 From my machine here:
gregw@frodo:~$ tai64nlocal
@40003b225d8422c3027c
2001-06-09 10:31:38.583205500

Thanks for your input.

My problem was that I didn't hit return after typing 'tai64nlocal'.  I
typed:

tai64nlocal @40003b225d8422c3027c RET
whereas I should have typed:
tai64nlocal RET @40003b225d8422c3027c RET
  ^^^

This seems weird to me, since all the other daemontools don't need to
be 'initialized' by hitting a return before giving them input.

When walking through a log file I'd like to do something like:

while (DATA) {
 my $human_readable = qx!/usr/local/bin/tai64nlocal $_!
}

Any suggestions as to how this could be done?

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




Re: url of sqwebmail too long!!!!

2001-06-09 Thread Lou Hevly

At 14:24 08/06/01, Alex Le Fevre wrote:
I hope I understand what your asking.

Actually, I think what he's trying to do is the same thing I've been 
trying to do -- make mail.domain.com equivalent to 
www.domain.com/cgi-bin/sqwebmail. In that case, an alias wouldn't 
work, because that would require www.domain.com/alias/, not 
mail.domain.com. Of course, it's probably a question more for an 
Apache list, but if you or someone else knows how to do that, it would 
make both of us quite happy. :-)
Alex Le Fevre

I'm not sure if this will help or not, but here's what I do:

I've installed both qmailadmin and sqwebmail in /www/webmail/cgi-bin

In /etc/tinydns/data/root, for each of my subhosted domains, I add a
line like the following:

+webmail.justalafusta.com:216.216.32.170

In /usr/local/apache/conf/httpd.conf:

virtualhost 216.216.32.170
DocumentRoot /www/justalaf
ScriptAlias /cgi-bin/ /www/justalaf/cgi-bin/
ServerAdmin [EMAIL PROTECTED]
ServerName justalafusta.com
ServerAlias www.justalafusta.com
User justalaf
Group justalaf
RLimitCPU 30 30
RLimitMEM 2500 2500
RLimitNPROC 10 10
TransferLog /home/justalaf/logs/access.log
/virtualhost

virtualhost 216.216.32.170
DocumentRoot /www/webmail
ScriptAlias /cgi-bin/ /www/webmail/cgi-bin/
ServerAdmin [EMAIL PROTECTED]
ServerName webmail.justalafusta.com
SetEnv SQWEBMAIL_TEMPLATEDIR /usr/local/share/sqwebmail/justalaf
SetEnv QMAILADMIN_TEMPLATEDIR /usr/local/share/qmailadmin/justalaf
RLimitCPU 30 30
RLimitMEM 2500 2500
RLimitNPROC 20 20
TransferLog /home/justalaf/logs/access.log
/virtualhost

Then I have links to both sqwebmail and qmailadmin on the page at
/www/webmail/index.html

p
a href=/cgi-bin/qmailadminQmail Admin/abr
a href=/cgi-bin/sqwebmailSqwebmail/a
/p


HTH

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




Many local messages being generated ??

2000-11-24 Thread Lou Hevly

I'm running qmail v. 1.03 and vpopmail 4.96 on Linux RedHat 6.2. All domains are 
virtually subhosted. Everything is working fine. My init script is:

csh -cf '/var/qmail/rc '

/usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.cdb -u 506 -g 505 0 smtp 
/var/qmail/bin/qmail-smtpd 
/usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup mail.inloc.com 
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 


The problem is I'm getting hundreds of local messages in my qmail maillog, repeated 
about 500-600 times a day. They are mostly like the following:

Nov 23 14:14:53 inloc qmail: 975006893.795559 starting delivery 5791: msg 50247 to 
local [EMAIL PROTECTED]
Nov 23 14:14:53 inloc qmail: 975006893.795692 status: local 1/10 remote 0/20
Nov 23 14:14:53 inloc qmail: 975006893.813645 delivery 5791: deferral: 
POP_user_does_not_exist,[EMAIL PROTECTED]/Can't_create_tempfile_(#4.3.8)/
Nov 23 14:14:53 inloc qmail: 975006893.813782 status: local 0/10 remote 0/20

The /home/vpopmail/inloc.com/.qmail-default file points to [EMAIL PROTECTED] and works 
correctly.

This also happens, though less often, for other virtual domains.

There is nothing in the crontab or cron log concerning this. 

Any ideas would be most welcome.

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com



Can send, but not retrieve mail

2000-07-03 Thread Lou Hevly

Greetings:

I have installed qmail and vpopmail on a dedicated server. The hostname is 
inloc.inloc.com and there are 5 IP's on this machine. I've registered a domain name 
(ducaniveaux.com) to one of them, using a host-provided program called 'spectro', and 
I want to do virtual subhosting under it.

I receive mail as expected in the Maildir, 
/home/vpopmail/domains/ducaniveaux.com/postmaster/Maildir/new, but I can't retrieve 
it; I get a:
Connection reset by remote side (10054) message.

Is it perhaps because I don't have the DNS MX records set up correctly? There is no 
'named.hosts' file on my machine. Because this is a dedicated server, perhaps they are 
handling this elsewhere.
 
Moreover, when I installed qmail, I got the following message:
---
Checking local IP addresses:
127.0.0.1: Adding localhost to control/locals...
216.71.84.136: Adding inloc.inloc.com to control/locals...
64.33.89.34: PTR lookup failed. I assume this address has no DNS name.
64.33.89.35: PTR lookup failed. I assume this address has no DNS name.
64.33.89.36: PTR lookup failed. I assume this address has no DNS name.
64.33.89.71: PTR lookup failed. I assume this address has no DNS name.
64.33.89.72: PTR lookup failed. I assume this address has no DNS name.
---

64.33.89.36 is the IP assigned to ducaniveaux.com. I used vadddomain and vadduser to 
add the ducaniveaux.com domain and [EMAIL PROTECTED] user. vpopmail added 
'ducaniveaux.com:ducaniveaux.com' to /var/qmail/control/virtualdomains (it is not in 
/locals).

My control/defaultdelivery is set to ./Maildir/

Here's the relevant part of my qmail startup script:
#!/bin/sh

PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH

case "$1" in
  start)
echo -n "Starting qmail: svscan"
tcpserver -H -R 0 pop-3 \
/var/qmail/bin/qmail-popup inloc.inloc.com \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
cd /var/qmail/supervise
env - PATH="$PATH" svscan 
echo $!  /var/run/svscan.pid
echo "."
;;
  stop)

I believe 'pop-3' is right; here's what's in services:
pop-3   110/tcp # PostOffice V.3
pop 110/tcp # PostOffice V.3

I haven't edited /etc/inetd.conf.

Anything else? :·)

Thanks for your help.

-- 
Lou Hevly
[EMAIL PROTECTED]




FOLLOWUP: Can send, but not retrieve mail

2000-07-03 Thread Lou Hevly

[ This message is being Cc'd to [EMAIL PROTECTED] ] 

Greetings (again):

I'm still having problems retrieving mail from my 
/home/vpopmail/domains/ducaniveaux.com/ducaniveaux/Maildir/
mail directory.

I just checked vchkpwd:

inloc:/home/vpopmail/bin# /var/qmail/bin/qmail-popup [EMAIL PROTECTED] 
vchkpw pwd
+OK 10766.962655981@[EMAIL PROTECTED]
user ducaniveaux
+OK
pass longgens
/home/ducaniveaux

I also tried accessing the mail using a Perl script from David Cross; it fails at the 
point where it checks the password:


print S "PASS $pass\n";
if(!WaitForOk) {
  print S "QUIT\n";CgiError("Could not send password!BRPassword or username may be 
incorrect.")
}


I don't understand how, if vchkpwd is working correctly, my mail access is failing on 
the password.

Any ideas or suggestions would be appreciated.

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com



Can't find my log file

2000-07-01 Thread Lou Hevly

Greetings:

Sorry to ask so basic a question, but after installing qmail successfully following 
LWQ, I'm unable to find my log file. `ps` shows that multilog is being invoked:

qmaill 541  0.0  1.1  1092   356  ?  S14:42   0:00 /usr/local/bin/multilog t 
/var/log/qmail
qmaill 542  0.0  1.0  1084   328  ?  S14:42   0:00 /usr/local/bin/multilog t 
/var/log/qmail/smtpd

In these two directories (/var/log/qmail and /var/log/qmail/smtpd) I can find no log 
files. I also looked in /var/qmail/supervise/ and /var/qmail/supervise/*/log

The doc says:

"The log directory is specified on the multilog command line, so you can find it by 
examining your qmail startup script."

I used the startup script from LWQ, but I don`t see where it tells me where the log 
directory is.

I'm running on Linux 2.0.36.

Thanks.

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com



Emend LWQ? was Re: Can't find my log file

2000-07-01 Thread Lou Hevly

At 18:42 01/07/00 +0200, Steffan Hoeke wrote:
On Sat, Jul 01, 2000 at 12:12:26PM +0100, Lou Hevly wrote:

 Sorry to ask so basic a question, but after installing qmail successfully
 following LWQ, I'm unable to find my log file. `ps` shows that multilog is  being 
invoked...
snip

"All of qmail-send's activity is logged in /var/log/qmail/current"

Yes indeed. Thank you very much.

Still, the excellent LWQ *does* say:

"The log directory is specified on the multilog command line, so you
can find it by examining your qmail startup script."

Unless I'm misinterpreting the meaning of 'log directory',
/var/log/qmail/ isn't mentioned anywhere in the startup script
suggested in LWQ. And because many questions are asked on this
list by those who haven't bothered to check their log files,
might I, humble beginner though I be, suggest that LWQ be emended
with Steffan Hoeke's answer to me (quoted above)?

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com