Re: make errors

1999-12-12 Thread Frank D. Cringle

"Matthew B. Henniges" [EMAIL PROTECTED] writes:
 I thought rpm's were supposed to know there own dependencies...is it
 incorrectly specified?

That isn't the issue here.  He is not installing an rpm, he is typing
'make' in the qmail source directory.

-- 
Frank Cringle,  [EMAIL PROTECTED]
voice: (+49 2304) 467101; fax: 943357



qmail Digest 12 Dec 1999 11:00:01 -0000 Issue 847

1999-12-12 Thread qmail-digest-help


qmail Digest 12 Dec 1999 11:00:01 - Issue 847

Topics (messages 34254 through 34271):

Re: 550  cannot route to sender
34254 by: qmail.col7.metta.lk

Re: Hotmail (insanity check)
34255 by: Monte Mitzelfelt
34256 by: Monte Mitzelfelt
34257 by: Monte Mitzelfelt

qmail-send won't log anymore
34258 by: Dinesh Punjabi
34260 by: Ari Arantes Filho

make errors
34259 by: Brock M. Eastman
34261 by: Sam
34262 by: Adam D . McKenna
34263 by: Ronny Haryanto
34268 by: Matthew B. Henniges
34269 by: Frank D. Cringle

Re: failure notice
34264 by: Racer X

smrsh/preventing users running programs in qmail dotfiles.
34265 by: Jonathan McDowell
34266 by: Monte Mitzelfelt

Re: Performance?!
34267 by: Dongping Deng

Please- qmail stopped delivering mail
34270 by: James Blackwell

Message number in qmail log.
34271 by: Warren J. Beckett

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]


--



On Wed, Nov 17, 1999 at 12:35:42PM +0100, Nagy Balazs wrote:

Hi,

 ;; ANSWER SECTION: 
 col7.metta.lk.  3h21m IN NS server1.tradenetsl.lk.
 col7.metta.lk.  3h21m IN NS dhamma.metta.lk. 
 col7.metta.lk.  3h31m35s IN MX 10 metta.lk. 
 col7.metta.lk.  23h58m23s IN A 172.16.1.1 
 //  This is a problem.  You have to erase the A record from the outer 
 // metta.lk zone.  That server can store all messages which come to col7 to 
 // a folder (ie. ~alias/172.16.1.1/), but qmail doesn't have to have that
 // dns entry.

Thank you very much for your answer, and sorry for the long silence.
We have had to change our IP's and that caused a bit of problems.

Without the A record in the zone file
when I do a "nslookup col7.metta.lk" I get host not found
If i put the A record back in the zone file then it is ok

Below is my col7.metta.lk zone file.
Would it be ok to put the ip of metta.lk as an A record 
inplace of the 172.16.1.1 entry.
Please see the sample below.

$ORIGIN col7.metta.lk.
$TTL86400
@   IN  SOA narada.col7.metta.lk.
hostmaster.col7.metta.lk. (
1999120601 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
IN  NS  metta.lk.
IN  NS  server1.tradenetsl.lk.
IN  MX  10  metta.lk.
//***IN  A   172.16.1.1
//***IN  A   203.115.29.130
narada.col7.metta.lk.   IN  CNAME   col7.metta.lk.

I could also remove the col7.metta.lk zone file 
and make a  CNAME in the  metta.lk zone file.

Which of the 2 ways is the correct way ?

below is the metta.lk zone file with the CNAME entry.

$ORIGIN metta.lk.
$TTL86400
@   IN  SOA dhamma.metta.lk. hostmaster.metta.lk. (
1999120601 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
IN  NS  metta.lk.
IN  NS  server1.tradenetsl.lk.
@   IN  MX  10  metta.lk.
IN  A   203.115.29.130
www IN  CNAME   metta.lk.
WWW IN  CNAME   metta.lk.
dhamma  IN  CNAME   metta.lk.
//*** col7.metta.lk.  IN  CNAME   metta.lk.

Thank you very much for your assistance
Jacob





 The right answer is to firewall all incoming and outgoing mail from
 Hotmail, until they fix their mail server to comply with RFC 821.

Unfortunately, it's not my local server, it's a client's.

Is this too insane?  I liked it better than some RELAYCLIENT =
"@hotmail-fixup" in tcprules as that causes every message to be handled,
logged twice, etc.

Here's my end run of qmail and hotmail to handle this: 

control/virtualdomains:
  hotmail.com:alias-hotmail

alias/.qmail-hotmail-default:
  # this bounces messages that are too big for buggy hotmail servers
  |/var/qmail/bin/bounceonfilesize
  # slight-of-hand to name service hotmail.com looks up to hotmail.com.
  # but apparently not in virtual domains, which actually is cool for us
  # doesn't affect incoming smtp stuff, only local outgoing, which is
  # perfect
  |/var/qmail/bin/forward "$DEFAULT"@hotmail.com.

bounceonfilesize.c:
  #include sys/types.h
  #include sys/stat.h
  #include stdlib.h
  #include string.h

  #define die(str,code) { puts( str ) ; exit( code ) ; }

  #define HOTMAILSIZELIMIT 1048576

  extern int errno;

  int main(void) {
 

using procmail with qmail+/Maildir+vpopmail

1999-12-12 Thread qmail

hi all!

i've got troubles and a question :)
i can't manage to install procmail. currently i am using qmail-local to
deliver mails. i also use the /Maildir format and vpopmail. i couldn't find
a howto or documentation how to install procmail with
qmail+maildir+vpopmail. hope you can help me!

thx in advance

greets
michael



Re: qmail-send won't log anymore

1999-12-12 Thread Ari Arantes Filho

Hi,

The -Q options only prints erros, try to use -v. I also only use splogger
smtpd , without "3", but...

Regards,

Ari


- Original Message -
From: Dinesh Punjabi [EMAIL PROTECTED]
To: Ari Arantes Filho [EMAIL PROTECTED]
Sent: Sunday, December 12, 1999 12:13 AM
Subject: Re: qmail-send won't log anymore


 if [ -f /usr/local/bin/tcpserver ]; then
 echo "Starting Qmail (tcpserver) SMTPD...\r"
 /usr/local/bin/tcpserver -Q -u 7791 -g 2108 0 smtp
 /var/qmail/bin/qmail-smtpd
  21 | /var/qmail/bin/splogger smtpd 3 
 fi

 It used to work in  1.03 version before!

 Rgds

 Dinesh

 --- Ari Arantes Filho [EMAIL PROTECTED] wrote:
  Are you using tcpserver? Supervise?
 
  Show your startup script.
 
  Regards,
 
  Ari
 
  - Original Message -
  From: Dinesh Punjabi [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Saturday, December 11, 1999 9:33 PM
  Subject: qmail-send won't log anymore
 
 
   I upgraded my FreeBSD box, and installed the
   latest version of qmail. For some reason,
   qmail-send won't log in my /var/log/maillog
   file. So, any incoming email logs fine, but
   for some reason any SMTP traffic does not
   show up in the log (it used to before!).
  
   What am I doing wrong ? Thanks for your
   help in advance!
  
   Dinesh
   __
   Do You Yahoo!?
   Thousands of Stores.  Millions of Products.  All
  in one place.
   Yahoo! Shopping: http://shopping.yahoo.com
 
 

 __
 Do You Yahoo!?
 Thousands of Stores.  Millions of Products.  All in one place.
 Yahoo! Shopping: http://shopping.yahoo.com



Re: Please- qmail stopped delivering mail

1999-12-12 Thread Troy Frericks

I'm by no means a qmail expert, but looking at your selective tar backup, I
have something for you to check since you need help quickly (and it is
early sunday morning and you may not otherwise get replies for many more hours)

Check out these files (I'm on RedHat 6.1).  They should be links to your
qmail's sendmail...

# ls -al /usr/lib/sendmail /usr/sbin/sendmail

lrwxrwxrwx   1 root root   23 Nov 13 11:58 /usr/lib/sendmail - 
/var/qmail/bin/sendmail

lrwxrwxrwx   1 root root   23 Nov 13 11:59 /usr/sbin/sendmail - 
/var/qmail/bin/sendmail

I suggest this because it may not have been backed up by your selective tar.
I'm not familiar with vchkpw, but you may want to check to see if there are
other support items outside of the normal directories.
Troy
#

At 03:07 AM 12/12/99 , James Blackwell wrote:
Greetings,

We're running qmail with vchkpw and qmail-popup on a debian box and are in
despirate need of assistance.

Here are the steps leading up to my problems:
- We did a backup of the main directories
- There was a botched attempt at installing smtp-poplock
- It didn't work out too well, so we untar the backups to their correct
locations

SMTP now appears to be accepting messages, I can see them in the
/var/spool/qmail/mess directory.

No messages seem to be delivered until we reboot the box.  Upon reboot all
mail is delivered, but then it starts not delivering again.

AND when I telnet in on port 110 it goes something like this:
Connected to host.domain.net.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user username_domain.net
+OK 
pass mypassword
-ERR authorization failed
Connection closed by foreign host.

The password is correct as I when I do a vpasswd to change it, it asks for
the old password, then the new password.  It then aborts and says old and
new passwords match.  If I put in a different new password, it changes it.


ANY suggestions would be greatly appreciated.  This has to work by the
morning (CT)!

TIA,
--James

 



Re: Please- qmail stopped delivering mail

1999-12-12 Thread Chris Johnson

On Sun, Dec 12, 1999 at 03:07:46AM -0600, James Blackwell wrote:
 Greetings,
 
 We're running qmail with vchkpw and qmail-popup on a debian box and are in
 despirate need of assistance.
 
 Here are the steps leading up to my problems:
 - We did a backup of the main directories
 - There was a botched attempt at installing smtp-poplock
 - It didn't work out too well, so we untar the backups to their correct
 locations
 
 SMTP now appears to be accepting messages, I can see them in the
 /var/spool/qmail/mess directory.
 
 No messages seem to be delivered until we reboot the box.  Upon reboot all
 mail is delivered, but then it starts not delivering again.

This question comes up about every twenty minutes. The answer is to fix the
permissions on your trigger file. They should look like this:

prw--w--w-  1 qmails  qmail  0 Dec 12 10:22 /var/qmail/queue/lock/trigger

 AND when I telnet in on port 110 it goes something like this:
 Connected to host.domain.net.
 Escape character is '^]'.
 +OK [EMAIL PROTECTED]
 user username_domain.net
 +OK 
 pass mypassword
 -ERR authorization failed
 Connection closed by foreign host.
 
 The password is correct as I when I do a vpasswd to change it, it asks for
 the old password, then the new password.  It then aborts and says old and
 new passwords match.  If I put in a different new password, it changes it.

This is a whole different problem, to which I don't have the answer.

Chris



Mailer-Daemon Question

1999-12-12 Thread Manohar Pradhan

Hello,

Can anyone explain me how can i make QMAIL to send Mailer-Daemon
within 24 hrs. (for being in queue) instead of waiting for 7 days.

TIA




Re: Mailer-Daemon Question

1999-12-12 Thread Stefan Paletta

Manohar Pradhan wrote/schrieb/scribsit:
 Can anyone explain me how can i make QMAIL to send Mailer-Daemon
 within 24 hrs. (for being in queue) instead of waiting for 7 days.

man qmail-send
You are looking for ``queuelifetime''.

(Funny is, people start calling bounce messages "Mailer-Daemon" (yes,
that's where they come from, not what they _are_) all over the place -
one german ISP even has in its FAQ the equivalent to "what do I do if
I got a Mailer-Daemon". Rumor says, one person even called an exorcist.
How good that qmail programs have such a polite QSMBF. :)

Stefan



Re: Message number in qmail log.

1999-12-12 Thread Derek Callaway

I think what you're looking for is in the qmail-log manpage.

--
/* Derek Callaway [EMAIL PROTECTED] 
   Programmer; CE Net, Inc.
   (302) 854-5440 Ext. 206 */

On Sun, 12 Dec 1999, Warren J. Beckett wrote:

 Hi all..
 
 I have hopefully a simple question.
 
 How is the message number in the qmail logs generated? I thought this number
 would have been semi unique, but I have seen many messages with the same
 number from and to many different people.
 
 I hope I have not missed something stupid.
 
 Much thanks
 
 Warren.
 



Re: Mailer-Daemon Question

1999-12-12 Thread Russell Nelson

Manohar Pradhan writes:
  Hello,
  
  Can anyone explain me how can i make QMAIL to send Mailer-Daemon
  within 24 hrs. (for being in queue) instead of waiting for 7 days.

It's pretty easy.  You just read the qmail-send man page and look for
queue lifetime.  In general, all qmail configuration files are
explained in the qmail-control man page.

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!



Re: using procmail with qmail+/Maildir+vpopmail

1999-12-12 Thread J. Ivan Juanes Prieto

From Dave Sill's "Life with qmail" 
(http://Web.InfoAve.net/~dsill/qmail.html):

5.1. procmail

procmail is a popular Message Delivery Agent (MDA). The function of an
MDA is to accept a message from the MTA for a specific user or
mailbox, and deliver the message according to the user's
desires. procmail can be used to "filter" messages by the content of
various header fields or the body of the message. For example,
messages from a particular person can be directed to a mailbox for
just that person.

There are a couple tricks to running procmail with qmail. First,
procmail is usually built to deliver to an mbox mailbox in
/var/spool/mail. You can rebuild procmail to default to $HOME or you
can instruct users not to rely on procmail to default the location of
the mbox. Unless you patch it for $HOME delivery, procmail will still
use /var/spool/mail for temporary files.

Another problem is that qmail-command and procmail don't have a common
understanding of which exit codes mean what. procmail uses the
standard UNIX exit codes: zero means success, nonzero means failure,
and the cause of the failure is indicated by
/usr/include/sys/errno.h. qmail-command uses certain nonzero codes to
indicate permanent errors and the rest are considered temporary. A
small shell script wrapper can be used to translate the exit codes for
qmail-command. Such a wrapper was posted to the qmail list and is
available from the archives at
http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/04/msg00487.html.

Also, procmail doesn't deliver directly to maildir-format
mailboxes. There's a patch available that implements maildir delivery
in procmail. (See http://www.qmail.org/top.html#maildir) Another
approach is safecat, a program that writes a message on standard input
to a specified maildir. Users can write procmail recipes (delivery
instructions) that use safecat to file the message. You can also skip
procmail altogether, and use maildrop.

El dia Sun, Dec 12, 1999 at 12:21:59PM +, [EMAIL PROTECTED] tuvo a
bien escribir: 
 hi all!
 i've got troubles and a question :)
 i can't manage to install procmail. currently i am using qmail-local to
 deliver mails. i also use the /Maildir format and vpopmail. i couldn't find
 a howto or documentation how to install procmail with
 qmail+maildir+vpopmail. hope you can help me!
 thx in advance
 greets
 michael
-- 
Those who don't understand Linux are doomed to reinvent it, poorly.
(Unidentified source.)
 
Look, I'm about to buy me a double barreled sawed off shotgun and show
Linus what I think about backspace and delete not working.
(Some anonymous .signature.)
--
J. Ivan Juanes Prieto  -- Greek and Latin Teacher
Canary Islands (Spain) -- Linux Debian 2.1


 PGP signature


Re: using procmail with qmail+/Maildir+vpopmail

1999-12-12 Thread Ronny Haryanto

On 12-Dec-1999, J. Ivan Juanes Prieto wrote:
 Also, procmail doesn't deliver directly to maildir-format
 mailboxes.

Maildir delivery is built-in since procmail 3.14 (released recently).

-- 
Ronny Haryanto



Re: using procmail with qmail+/Maildir+vpopmail

1999-12-12 Thread Sam

On Sun, 12 Dec 1999, J. Ivan Juanes Prieto wrote:

 Also, procmail doesn't deliver directly to maildir-format
 mailboxes. There's a patch available that implements maildir delivery
 in procmail.

Procmail 3.14 can allegedly deliver to maildirs.  The code, however, is
completely unreadable, just like most of procmail's code.



how to get off

1999-12-12 Thread A. van Drie


Right now this stuff is not so relevant
for me, maybe later.

But,

how do i get off the list?
It's something like [EMAIL PROTECTED],
but that one's incorrect...

Thank you,

Arjen van Drie.



Re: Anti Virus Solution

1999-12-12 Thread Jason Haar

On Thu, Dec 09, 1999 at 12:42:32PM -0600, Jennifer Tippens wrote:
 I have gone through the list archive and the only information I can find
 on this subject was listmembers asking about if there was any anti-virus
 solution out there.
 Is there any anti-virus thing out there that can scan for macro viruses
 in Qmail?
 

I've written one in response to some design issue problems I had with amavis
(like lack of error checking).

It's now homed at Geocities and can scan all incoming SMTP Email via
whatever virus scanners you have installed on your Qmail host (I use NAI's
and Trends virus scanners).

It's fast, perl-based and specifically written for qmail.

See http://www.geocities.com/jhaar/scan4virus/ for details...



-- 
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
 



Re: My recent AMaViS patch.

1999-12-12 Thread Jason Haar

On Fri, Dec 10, 1999 at 01:09:02PM -0600, Dustin Miller wrote:
 One of the fuctions of the patch was to attempt to actually ATTACH the
 offending e-mail virus to the mail that gets sent to virus alert.  However,
 as you will be able to tell if you use the package, it doesn't properly
 ATTACH the e-mail, it just dumps all of the MIME parts as plain text into
 the message.
 
 Can someone help me out in this regard?  I'm considering a total re-write of
 scanmails that will support qmail, and I want to make it as full-featured as
 possible.
 

As I'm currently in self-advertising mode - check out

http://www.geocities.com/jhaar/scan4virus/

This is my Qmail-specific virus scanner wrapper that follows some rules I'm
surprised to see other Email-based solutions don't.

* It never sends a copy of the virus to anyone. It moves it into a maildir
folder and sends the reference to the envelope sender and Cc's it to a local
"virus manager" address.

* It checks for mailing-list and postmaster-style envelope senders - it
never sends messages to them.

The latter is a BIG ISSUE I think. What happens on the day when everyone
within a particular mailing list runs Email scanners and a virus is
detected. At 10,000-strong list could suddenly find itself innudated with
10,000's of "Virus Report" mail messages. Denial Of Systems await...


Out of Office messages are bad enough...


-- 
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
 



Re: how to get off

1999-12-12 Thread Michael Boman

On Sun, Dec 12, 1999 at 11:06:01PM +0100, A. van Drie wrote:
 
 Right now this stuff is not so relevant
 for me, maybe later.
 
 But,
 
 how do i get off the list?
 It's something like [EMAIL PROTECTED],
You should try to switch the address around a little.. Try 
[EMAIL PROTECTED] instead.

/Mike

 but that one's incorrect...
 
 Thank you,
 
 Arjen van Drie.
 

-- 
W I Z O F F I C E . C O M  -  Your Online Wizard 
16 Tannery Lane, Cristal Time Building, #06-00, Singapore 347778
Ring  : (65) 844 3228 [ext 118]  Fax : (65) 842 7228
email : [EMAIL PROTECTED]URL : http://www.wizoffice.com



Re: Please- qmail stopped delivering mail

1999-12-12 Thread Keith Warno

When you untarred, did you FUBAR the file permissions?

When un-backing up using GNU tar ya should throw in a --same-permissions
option.

- Original Message -
From: "James Blackwell" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 12 December 1999, Sunday 04:07
Subject: Please- qmail stopped delivering mail


 Greetings,

 We're running qmail with vchkpw and qmail-popup on a debian box and are in
 despirate need of assistance.

 Here are the steps leading up to my problems:
 - We did a backup of the main directories
 - There was a botched attempt at installing smtp-poplock
 - It didn't work out too well, so we untar the backups to their correct
 locations

 SMTP now appears to be accepting messages, I can see them in the
 /var/spool/qmail/mess directory.

 No messages seem to be delivered until we reboot the box.  Upon reboot all
 mail is delivered, but then it starts not delivering again.

 AND when I telnet in on port 110 it goes something like this:
 Connected to host.domain.net.
 Escape character is '^]'.
 +OK [EMAIL PROTECTED]
 user username_domain.net
 +OK
 pass mypassword
 -ERR authorization failed
 Connection closed by foreign host.

 The password is correct as I when I do a vpasswd to change it, it asks for
 the old password, then the new password.  It then aborts and says old and
 new passwords match.  If I put in a different new password, it changes it.


 ANY suggestions would be greatly appreciated.  This has to work by the
 morning (CT)!

 TIA,
 --James







Re: Please- qmail stopped delivering mail

1999-12-12 Thread James W.Blackwell

That is exactly what happened.

I was able to correct the SMTP problems by changing ownership back to what they were 
and killing a couple of messages in the queue.

Thanks all for the help!  You're all great!


--James
-
load "linux",8,1



On Mon, 13 Dec 1999 01:40:30, you wrote the following:
--
When you untarred, did you FUBAR the file permissions?

When un-backing up using GNU tar ya should throw in a --same-permissions
option.

- Original Message -
From: "James Blackwell" 
To: 
Sent: 12 December 1999, Sunday 04:07
Subject: Please- qmail stopped delivering mail


 Greetings,

 We're running qmail with vchkpw and qmail-popup on a debian box and are in
 despirate need of assistance.

 Here are the steps leading up to my problems:
 - We did a backup of the main directories
 - There was a botched attempt at installing smtp-poplock
 - It didn't work out too well, so we untar the backups to their correct
 locations

 SMTP now appears to be accepting messages, I can see them in the
 /var/spool/qmail/mess directory.

 No messages seem to be delivered until we reboot the box.  Upon reboot all
 mail is delivered, but then it starts not delivering again.

 AND when I telnet in on port 110 it goes something like this:
 Connected to host.domain.net.
 Escape character is '^]'.
 +OK 
 user username_domain.net
 +OK
 pass mypassword
 -ERR authorization failed
 Connection closed by foreign host.

 The password is correct as I when I do a vpasswd to change it, it asks for
 the old password, then the new password.  It then aborts and says old and
 new passwords match.  If I put in a different new password, it changes it.


 ANY suggestions would be greatly appreciated.  This has to work by the
 morning (CT)!

 TIA,
 --James









POP3-ERR aack, child crashed

1999-12-12 Thread James W.Blackwell

Ok, I got my SMTP problems fixed thanks to this list.  Thanks again greatly.

Now I've still got a problem with POP3 logins.  This is what is happening:

+OK [EMAIL PROTECTED]
user user%host.domain.com
+OK 
pass mypassword
-ERR aack, child crashed
Connection closed by foreign host.

It is actually authenticating, because if you enter a bad password, it gives a:

-ERR authorization failed

Any suggestions on this one?

--James
-
load "linux",8,1