qmail Digest 12 Jun 2000 10:00:01 -0000 Issue 1030

2000-06-12 Thread qmail-digest-help


qmail Digest 12 Jun 2000 10:00:01 - Issue 1030

Topics (messages 42987 through 42992):

Re: mail forwarding: alias
42987 by: Jenny Holmberg

Re: who's running freebsd?
42988 by: Peter van Dijk

Re: deferral: Can't_create_tempfile_(#4.3.0)
42989 by: Markus Stumpf

Interesting fastforward behavior
42990 by: Ben Beuchler

logcheck-1.1.1 and qmail...
42991 by: Bill Parker
42992 by: Chris Johnson

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]


--



Zhiliang Hu [EMAIL PROTECTED] writes:

 There is one more instance: system alias for root works, ignoring
 the account ~root ... is there an exception?

From INSTALL.alias:

* root. Under qmail, root never receives mail. Your system may
generate mail messages to root every night; if you don't have an
alias for root, those messages will bounce. (They'll end up
double-bouncing to the postmaster.) Set up an alias for root in
~alias/.qmail-root.

/Jenny

-- 
"I live in the heart of the machine. We are one." 




On Sat, Jun 10, 2000 at 06:49:27AM +0200, clemensF wrote:
 anybody running freebsd here?

Yes.

Greetz, Peter.
-- 
[EMAIL PROTECTED] - Peter van Dijk [student:developer:madly in love]




On Sat, Jun 10, 2000 at 05:20:50PM -0400, Vince Vielhaber wrote:
  but the tmp directory would have to exist beforehand, right?  unlike the
  /tmp, which is already there.  but you might have found a bug there!
 
 It's tmp not /tmp.  tmp should already be created as part of the maildir.

IIRC it won't even work with /tmp, unless it's on the same partition.
If it's not the link() syscall will fail that "moves" the message from
tmp to new.

\Maex

-- 
SpaceNet GmbH |   http://www.Space.Net/   | Stress is when you wake
Research  Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.




I just converted a sendmail box to qmail and used fastforward to make use
of the /etc/aliases table.  It turns out that there was an alias that read
simply:

accounts: accounts

I don't know why it was there and I didn't catch it during the conversion.
However, fastforward doesn't seem to be as tolerant of such things.  Every
delivery to that address is listed in the log as being a successful
delivery but they never actually arrived in the mailbox.  Once I removed
the alias, it worked fine.  Any idea what happened to the phantom
messages?

Ben

-- 
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
-- Neal Stephenson




Hello All,

I recently installed the logcheck-1.1.1 program from psionic.com/abacus
to have my boxes mail updates to me on a hourly basis, however, when the
script executed, it comes back with:

/usr/sbin/sendmail: no such file or directory

Now, since I run qmail (smtp/pop3d) on another server, and don't have mail
installed on this system (it's my primary NAT box), what would someone do to
get the log generated by logcheck over to say [EMAIL PROTECTED] (or have I
completely
lost it)...In doing a rpm -q sendmail, rpm states that the sendmail package is
not installed...can someone give me an idea as to how to proceed?

-Bill





On Sun, Jun 11, 2000 at 09:35:39PM -0700, Bill Parker wrote:
   I recently installed the logcheck-1.1.1 program from psionic.com/abacus
 to have my boxes mail updates to me on a hourly basis, however, when the
 script executed, it comes back with:
 
 /usr/sbin/sendmail: no such file or directory
 
 Now, since I run qmail (smtp/pop3d) on another server, and don't have mail
 installed on this system (it's my primary NAT box), what would someone do to
 get the log generated by logcheck over to say [EMAIL PROTECTED] (or have I
 completely
 lost it)...In doing a rpm -q sendmail, rpm states that the sendmail package is
 not installed...can someone give me an idea as to how to proceed?

# ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

Chris




458 Couldn't exec qmail-etrn

2000-06-12 Thread Tony Wade

Hi all, 

I have installed Qmail-1.03 with:

qmail-103.patch
qmail-date-localtime.patch
qmail-etrn-0.1f.diff
ucspi-tcp-0.84
fastforward-0.51

All running on 4.0-RELEASE FreeBSD

When i send an email from:

machine1 to user@machine3
the mail arrives at machine2 (secondary MX for Machine3)

I then get on machine3 and manually run 

etrn machine3

Apon doing so, I get the error "458 Couldn't exec qmail-etrn"

In /var/qmail/control/etrn I have the following

machine3192.168.0.10/32 192.168.0.10/32

Can someone please tell me what I have done wrong ? 

Thank you   

Tony Wade (Postmaster)
The Internet Solution
Tel:(+27 11) 283 5000
E-mail:  [EMAIL PROTECTED]
#include std/disclaimer.h





Re: ref: qmail+mrtg+multilog mods

2000-06-12 Thread Peter Green

also sprach drummond-m:
 Hi all. A while back I mentioned modifying the qmailmrtg stuff to work
 with multilog formatted files and some of you have asked me about them.
 They are almost complete .. the mods seem pretty easy really, though I
 am not much of a programmer. I think I have it working. The queue script
 did not require any changing of course ... and the concurrency script
 was easy to fix up. Just a change in the regexp that matches log files.
 I am having some trouble with the message bandwidth script though ... it
 seems to work when I run it by hand but not when run from cron.

I've attached the diff to alter the message file. This should make it work
with multilog files. Works for me anyway... :)

Diffs are easy: assuming you're in your working source dir, the original
qmail-mrtg stuff is in a dir called qmail-mrtg.orig/ and your new stuff is
in qmail-mrtg/, just do:

  diff -ru qmail-mrtg.orig/ qmail-mrtg/  patchfile

There are other options, but I've found this to be the easiest.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
I can picture in my mind a world without war, a world without hate. And I can 
picture us attacking that world, because they'd never expect it.
 (Jack Handey)




qmail/log (will be started later) qmail done

2000-06-12 Thread Martin Langhoff

hi,

I've just installed qmail in a new box and everytime qmail starts,
it greets me with the following msg:

# /etc/rc.d/init.d/qmail restart
Stopping qmail:  qmail qmail/log (already down) done.
Starting qmail:  qmail/log (will be started later) qmail done.

and the same seems to happen with the other qmail modules: noone is
logging. My current log-handler is Syslog (just because I didn't touch a
thing from the standard qmail install), and Syslog seems to be running
fine (other services log just fine).

now I've spent 2 hours of my sunday trying to find how to get
logging to run, even under Syslog, and I just couldn't find the way. Can
anybody point me to any obvious mistake I may be making?


martin




large tcp.smtp.cdb

2000-06-12 Thread TAG

Hi ALL

What are the implications of having a large (1 lines) in a
tcp.smtp.cdb file??

Please - comments - ??

Thanks

Tonino



Re: ref: qmail+mrtg+multilog mods

2000-06-12 Thread Peter Green

also sprach pcg:
 also sprach drummond-m:
  Hi all. A while back I mentioned modifying the qmailmrtg stuff to work
  with multilog formatted files and some of you have asked me about them.
  They are almost complete .. the mods seem pretty easy really, though I
  am not much of a programmer. I think I have it working. The queue script
  did not require any changing of course ... and the concurrency script
  was easy to fix up. Just a change in the regexp that matches log files.
  I am having some trouble with the message bandwidth script though ... it
  seems to work when I run it by hand but not when run from cron.
 
 I've attached the diff to alter the message file. This should make it work
 with multilog files. Works for me anyway... :)

Oops, no diff. Sorry, here it is.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
This  message was brought to  you by Linux, the free unix.
Windows without the X is like making love without a partner.
Sex, Drugs  Linux Rules
win-nt from the people who invented edlin
apples  have  meant  trouble  since  eden
Linux, the way to get rid of boot viruses
(By [EMAIL PROTECTED], MaDsen Wikholm)



--- qmail-mrtg-mess Sat Oct  9 13:31:44 1999
+++ /usr/local/bin/qmail-mrtg-mess  Mon May 29 20:57:23 2000
@@ -21,18 +21,18 @@
 # the range of timestamps in a file by looking at its name and its mtime.
 # we simply presume that the latest file contains timestamps  $stop.
 opendir(DIR, $qmail_log_dir) or die;
-@_ = sort readdir(DIR);
+@_ = reverse sort readdir(DIR);
 for(;;) {
   $_ = pop(@_);
   die "Not enough log files to cover $logperiod seconds" unless $_;
-  next unless s/^\@//;
-  unshift(@ARGV, "$qmail_log_dir/\@$_");
-  last if $_  $start - 10;# give cyclog ten seconds to roll over the log file.
+  next unless (/^\@/ || /^current$/);
+  unshift(@ARGV, "$qmail_log_dir/$_");
+  last if $_  tai64n2time($start) - 10;   # give cyclog ten seconds to roll over 
+the log file.
 }
 closedir(DIR);
 
 # process the two files, and run them through matchup.
-open(QA, "|$qa/matchup /tmp/out.$$ 5$holdingfile.new") or die;
+open(QA, "|/usr/local/bin/tai64n2time|$qa/matchup /tmp/out.$$ 5$holdingfile.new") 
+or die;
 if (-e "$holdingfile") {
   open(P, "$holdingfile") or die;
   while(P) { print QA; }
@@ -40,7 +40,8 @@
 }
 while() {
 split;
-next if ($_[0]  $start || $_[0] = $stop);
+$n = tai64n2time($_[0]);
+next if ($n  $start || $n = $stop);
 print QA;
 }
 close(QA);
@@ -63,3 +64,16 @@
 # cleanup.
 rename("$holdingfile.new", "$holdingfile") or die;
 unlink("/tmp/out.$$");
+
+sub tai64n2time {
+  $src = shift;
+  if (($s,$t) = /^\@.(\w{15})(\w{8})/) {
+$s = hex($s);
+$t = hex($t); $t =~ s/500$//;
+$tgt = "$s.$t";
+  }
+  else {
+$tgt = $src;
+  }
+  return $tgt;
+}



qmail, vpopmail, forcecr, and fetchmail errors

2000-06-12 Thread Steven Lewis

hi,

I been running qmail 1.03, vpopmail, and fetchmail on mandrake 6.1 for
about 5 months now, with no (serious) problems.
however I get the follow errors:
(which are more likely to be fetchmail's [anyone the mailing list address? -
I have no web access!!])

About to rewrite To: [EMAIL PROTECTED]
Rewritten version is To: [EMAIL PROTECTED]

fetchmail: no local matches, forwarding to postmaster
fetchmail: forwarding to mclsupport.co.uk
fetchmail: SMTP MAIL FROM:[EMAIL PROTECTED] BODY=8BITMIME
fetchmail: SMTP 250 ok
fetchmail: SMTP RCPT TO:[EMAIL PROTECTED]
fetchmail: SMTP 250 ok
fetchmail: SMTP DATA
fetchmail: SMTP 354 go ahead
#*fetchmail: terminated with signal 13

The postmaster never gets these mails, they just don't exist. However
because of the 'bomb out' the next time I dial up the same result occurs and
I end up trapped in a loop, of check mail, get the once in the list above
the erroring one, then bomb out.  I only spot this when I get the same mail
every 30 mins. Then have to delete the mail from the ISP's server.

It's currently only the mailing list shown above [that breaks thing], so I
need to know how to block there domain or fix fetchmail/qmail to work
(prefered option).

BTW: I've checked the ISP's message source and it doesn't contain a 'for' in
any of the received section.

If anyone has any ideas (or who to ask), solutions, or even hints on what to
change I would be very grateful..

CheerS

steve


also BTW:
But during that time ever mail received mail from my ISP produces the
following error: (or something very close -i.e. change the vaules). Does
this show a somehow broken but working qmail/fetchmail

fetchmail: SMTP MAIL FROM:[EMAIL PROTECTED] BODY=8BITMIME
fetchmail: SMTP 250 ok
fetchmail: SMTP RCPT TO:[EMAIL PROTECTED]
fetchmail: SMTP 250 ok
fetchmail: SMTP DATA
fetchmail: SMTP 354 go ahead
#**fetchmail: message 58 was not the
expected length (2300 actual != 2331 expected)
fetchmail: SMTP. (EOM)
fetchmail: SMTP 250 ok 960810641 qp 29619

the mail loads okay, and gets deleted of the ISP's system, and I assume that
it a functions of using forcecr (see below in the fetchmail rc)


Dot fetchmailrc file:
# start

defaults
no dns
user mclsupport
no keep
no flush
forcecr
pass8bits
smtphost mclsupport.co.uk
fetchall

# Use this for production
poll mail.netdirect-online.co.uk with protocol POP3:
localdomains mclsupport.co.uk mclsupport.ndo.co.uk aka
linekar.hosts.netdirect-online.co.uk
envelope 1 Received  # required to pickup mailing list stuff
okay from ISP multidrop
user mclsupport
password password is *;

### end .fetchmailrc file 


CheerS

steve





Re: 501 Syntax Error

2000-06-12 Thread Bruno Wolff III

On Fri, Jun 09, 2000 at 04:13:44PM -0500,
  Ben Beuchler [EMAIL PROTECTED] wrote:
 Anyone familiar with any weirdness betwixt qmail and webboard mail
 servers?

My experience with webboard mail servers is that they are broken. They
don't accept  as a valid envelope sender address. As far as I could
tell this wasn't a configurable option.



catch multiple mails

2000-06-12 Thread Anzej Becan

Hello!

I would like to catch multiple mails of standard form...
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
...
[EMAIL PROTECTED]

into one mailbox [EMAIL PROTECTED]

Any simple solution?
Thanks!

Anzej




ETRN (not serialmail + pullmail)

2000-06-12 Thread Massimiliano Bavo

Does anyone know ETRN+qmail ?





Re: catch multiple mails

2000-06-12 Thread Ronny Haryanto

On 12-Jun-2000, Anzej Becan wrote:
 I would like to catch multiple mails of standard form...
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 ...
 [EMAIL PROTECTED]
 
 into one mailbox [EMAIL PROTECTED]
 
 Any simple solution?

Yes. Make mydomain.net a virtual domain. For instance:

In /var/qmail/control/virtualdomains :
mydomain.net:mydomain

And in ~mydomain/.qmail-default :
./Maildir/

Hope that helps,

Ronny



question re: smtp-poplock and/or perl

2000-06-12 Thread Brandon Dudley


Gang -

I'm sorry for posting this - I have already contacted David (author of above
package) but thought someone on the list may be able to lend a further hand
based on experience.

I have been busy installing smtp-poplock to allow selective relaying. I am
running the following setup:

celeron 333...96MB RAM, 128M swap. 
redhat 6.2 with all the latest rpm's
qmail 1.03
ezmlm-idx 0.53
smtp-poplock 2.04
qpopper3.0.2

I am running into problems running relaylock. After I insert relaylock into my
/var/qmail/supervise/qmail-smtpd/run file, port 25 stops receiving email. When
I check my logs, I see the following error:

@40003941343e004fcbbc perl: error in loading shared libraries: libcrypt.so.1: 
failed to map segment from shared object: Cannot allocate memory
@40003941343e0072ff74 tcpserver: end 762 status 32512

I upgraded perl and my kernel to the latest versions and verified that I had
the latest version of glibc installed. From what I understand of this error
message, it's supposed to mean that there was insufficient memory available to
allow loading of shared objects...but when I ran top I found that I had 2.4M
physical RAM available and 100+M of swap available. 

My question: is there anything I am missing? I tried turning off everything
runnign on my machine and running it again - same error. 

Thanks for any and all help, and please let me know if I can supply any 
additional necessary information.

Brandon





Re: Quota on the users Maildir

2000-06-12 Thread denpetrov

User directories already setup on the different partition which is good, but
I cannot get command right. Could anybody help me with the syntax.
Man pages are not very clear how to specify the limit. Is it bits bytes megs
Example would be greatly appreciated.
Thank you
Denis

-Original Message-
From: clemensF [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Friday, June 09, 2000 11:46 AM
Subject: Re: Quota on the users Maildir


 [EMAIL PROTECTED]:

 My question is how do I setup limit on the users maildir ?

i'd put user mail on a seperate filesystem and set quotas on that
filesystem on a per user basis using edquota(8).

clemens




Extenstion cleaner

2000-06-12 Thread Jonathan Fortin


Anyone knows a tool that I can incorporate with qmail so it can just remove
any extentions
that are reiceived with .VBS and/or .EXE and .COM?


thank you.




Re: Open Relay

2000-06-12 Thread Bolivar Diaz Galarza

Thanks for the tip, I read everything in the links you gave me, but still
doesn't work.

I checked the tcprules using tcprulescheck:

tcprulescheck /etc/tcp.smtp.cdb 200.38.239.65

and the response is:

rule 200.38.239.:
set environment variable RELAYCLIENTE=
allow connection

And still it won't send any e-mail to the outside word.

Bolivar,



- Original Message -
From: "Chris Johnson" [EMAIL PROTECTED]
To: "Bolivar Diaz Galarza" [EMAIL PROTECTED]
Cc: "qmail list" [EMAIL PROTECTED]
Sent: Saturday, June 10, 2000 2:58 PM
Subject: Re: Open Relay


 On Sat, Jun 10, 2000 at 03:58:20PM -0600, Bolivar Diaz Galarza wrote:
  I am running an open relay because I took out the file
  /var/qmail/control/rcpthosts. I took it out because if I copy whatever
is in
  locals (I don't have any virtual domains) and place it in rcpthosts, I
can
  not send any messages to the outside world, I get an error that reads
like
  this:
 
  The message could not be sent because one of the recipients was rejected
by
  the server. The rejected e-mail address was '[EMAIL PROTECTED]'.
Subject
  'Testing', Account: 'corellinux.ml.com.mx', Server: 'ml.com.mx',
Protocol:
  SMTP, Server Response: '553 sorry, that domain isn't in my list of
allowed
  rcpthosts (#5.7.1)', Port: 25, Secure(SSL): No, Server Error: 553, Error
  Number: 0x800CCC79
 
  I have read over and over the FAQ, LWQ, and I can not find the answer to
  this, I will appreciate any help.

 See http://www.palomine.net/qmail/relaying.html and
 http://www.palomine.net/qmail/selectiverelay.html.

 Chris





Re: Open Relay

2000-06-12 Thread Aaron L. Meehan

Quoting Bolivar Diaz Galarza ([EMAIL PROTECTED]):
 Thanks for the tip, I read everything in the links you gave me, but still
 doesn't work.
 
 I checked the tcprules using tcprulescheck:
 
 tcprulescheck /etc/tcp.smtp.cdb 200.38.239.65
 
 and the response is:
 
 rule 200.38.239.:
 set environment variable RELAYCLIENTE=
 allow connection

Well, it looks like you misspelled "RELAYCLIENT."  Remove the "E"
there at the end and you should be fine.

Aaron



Re: Open Relay

2000-06-12 Thread Bolivar Diaz Galarza

Sorry I mispelled it in the e-mail, but in the system is right, the rule
looks like this:

200.38.239.:allow,RELAYCLIENT=""

If I do:

ps auxww | grep qmail it shows:

tcpserver -v -x/etc/tcp.smtp.cdb -u71 -g65534 0 25
rblsmtpd -rrelays.orbs.org /var/qmail/qmail-smtpd

among other processes


Bolivar,

- Original Message -
From: "Aaron L. Meehan" [EMAIL PROTECTED]
To: "qmail list" [EMAIL PROTECTED]
Sent: Monday, June 12, 2000 12:59 PM
Subject: Re: Open Relay


 Quoting Bolivar Diaz Galarza ([EMAIL PROTECTED]):
  Thanks for the tip, I read everything in the links you gave me, but
still
  doesn't work.
 
  I checked the tcprules using tcprulescheck:
 
  tcprulescheck /etc/tcp.smtp.cdb 200.38.239.65
 
  and the response is:
 
  rule 200.38.239.:
  set environment variable RELAYCLIENTE=
  allow connection

 Well, it looks like you misspelled "RELAYCLIENT."  Remove the "E"
 there at the end and you should be fine.

 Aaron





Re: Open Relay

2000-06-12 Thread Bolivar Diaz Galarza

What I am trying to say is that I checked the tcprules on tcp.smtp.cdb using
tcprulescheck and the results were:

tcprulescheck /etc/tcp.smtp.cdb 200.38.239.65

rule 200.38.239.:
set environment variable RELAYCLIENT=
allow connection

and by doing the ps auxww | grep qmail is shows that qmail-smtp is using the
same rules I checked, the rules located in /etc/tcp.smtp.cdb

tcpserver -v -x/etc/tcp.smtp.cdb -u71 -g65534 0 25
 rblsmtpd -rrelays.orbs.org /var/qmail/qmail-smtpd

Please help because I am even having a hard time sending e-mail to this list
and I do not understand what is going on, as soon as I place the rcpthosts
file in /var/qmail/control with the name of my servers

ml.com.mx
corellinux.ml.com.mx
cscc.edu.mx

it won't send e-mail anyplace besides this domains hosted in the same
server.

Thanks

Bolivar,



- Original Message -
From: "Bolivar Diaz Galarza" [EMAIL PROTECTED]
To: "Aaron L. Meehan" [EMAIL PROTECTED]; "qmail list" [EMAIL PROTECTED]
Sent: Monday, June 12, 2000 2:24 PM
Subject: Re: Open Relay


 Sorry I mispelled it in the e-mail, but in the system is right, the rule
 looks like this:

 200.38.239.:allow,RELAYCLIENT=""

 If I do:

 ps auxww | grep qmail it shows:

 tcpserver -v -x/etc/tcp.smtp.cdb -u71 -g65534 0 25
 rblsmtpd -rrelays.orbs.org /var/qmail/qmail-smtpd

 among other processes


 Bolivar,

 - Original Message -
 From: "Aaron L. Meehan" [EMAIL PROTECTED]
 To: "qmail list" [EMAIL PROTECTED]
 Sent: Monday, June 12, 2000 12:59 PM
 Subject: Re: Open Relay


  Quoting Bolivar Diaz Galarza ([EMAIL PROTECTED]):
   Thanks for the tip, I read everything in the links you gave me, but
 still
   doesn't work.
  
   I checked the tcprules using tcprulescheck:
  
   tcprulescheck /etc/tcp.smtp.cdb 200.38.239.65
  
   and the response is:
  
   rule 200.38.239.:
   set environment variable RELAYCLIENTE=
   allow connection
 
  Well, it looks like you misspelled "RELAYCLIENT."  Remove the "E"
  there at the end and you should be fine.
 
  Aaron
 






Re: catch multiple mails

2000-06-12 Thread Eric Cox

Anzej Becan wrote:
 
   I would like to catch multiple mails of standard form...
   [EMAIL PROTECTED]
   ...
   [EMAIL PROTECTED]
   into one mailbox [EMAIL PROTECTED]
 
  Yes. Make mydomain.net a virtual domain. For instance:
  In /var/qmail/control/virtualdomains :
  mydomain.net:mydomain
  And in ~mydomain/.qmail-default :
  ./Maildir/
 
 Ronny thanks for your reply, but your solution doesn't suit my requirements
 because I'm not admin of the host and acc [EMAIL PROTECTED] already exist.

Then what you ask cannot be done exactly.  However, you can catch 
all of the mail to anzej-*@mydomain.net very simply:

echo "otheruser"  ~anzej/.qmail-default 

or, if you only want addresses like [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]:

for n in 100 101 102; do echo "otheruser"  ~anzej/.qmail-mail$n; done

(there's probably a much better way to do this) 

Users are not allowed to take over or change the mail accounts 
of other users, specifically because this would be a huge security 
hole.

 Also the other emails should be delivered to other recipient on
 mydomain.net.
 I have only permission to create .qmail-xxx files with commands. Probably I
 should create perl script for filtering emails. Can someone advise me some
 examples - major problem seems to me how to forward emails without parsing
 and sending them again - problem with attachemnts?
 
 Sorry for annoying!
 
 Anzej


--
NEEDHAM'S ELECTRONICS
Device Programmers
(916) 924-8037 (Voice)
http://www.needhams.com



Re: catch multiple mails

2000-06-12 Thread Ronny Haryanto

On 12-Jun-2000, Anzej Becan wrote:
 Ronny thanks for your reply, but your solution doesn't suit my requirements
 because I'm not admin of the host and acc [EMAIL PROTECTED] already exist.
 Also the other emails should be delivered to other recipient on
 mydomain.net.

Assuming mydomain.net is in control/virtualdomains:
mydomain.net:mydomain
then for each account that should not be delivered to
[EMAIL PROTECTED] create a .qmail, for example: for [EMAIL PROTECTED]
create ~mydomain/.qmail-john containing whatever instruction(s)
desired.

To catch all other unspecified local part *@mydomain.net, simply
create ~mydomain/.qmail-default containing instruction to save to
[EMAIL PROTECTED]'s mailbox.

Cheers,

Ronny



Re: Extenstion cleaner

2000-06-12 Thread clemensF

 Jonathan Fortin:

 Anyone knows a tool that I can incorporate with qmail so it can just remove
 any extentions
 that are reiceived with .VBS and/or .EXE and .COM?

this problem is one level higher up.  qmail does not interpret nor analyze
the data it is supposed to transport.  you should try to get this to work
at the mime level.

clemens



Re: Open Relay

2000-06-12 Thread clemensF

 Bolivar Diaz Galarza:

 Please help because I am even having a hard time sending e-mail to this list
 and I do not understand what is going on, as soon as I place the rcpthosts
 file in /var/qmail/control with the name of my servers

i just tried to check the conditions given and found that my system does
not even recognize rules properly.  i didn't notice because i had an
experimental setup without involving tcpserver, it was only when i tried to
connect to my internal nntp-service that the truth came to be known!

from reading the source, which is still the only valid documentation, i
could trace the error thru tcpserver, tcprules and tcprulescheck, which
seem to be written to do what one intuitively thinks they should do.

remains cdb.

clemens



Problem with return path in sqwebmail

2000-06-12 Thread Irwan Hadi

I 'm managing a server with Sqwebmail 0.36 now, but I still have a problem 
with the return path, as the server name is server.somesite.or.id and the 
domain for the user is just only somesite.or.id
so bob email address will be [EMAIL PROTECTED]

In vpopmail, I didn;t compile it with --default-domain=somesite.or.id, 
because if I do, then when users check their mail, by using only their 
username, and not username%domain, they will got response from the POP 
server like this (sorry I a bit forgot it)
error, aack client crash.
So I prefer to rm the ~vpopmail/users and then link with
ln -s ~vpopmail/domains/somesite.or.id ~vpopmail/users

It works, and people can fetch their mail by using only their username, and 
not full address, they can also login to sqwebmail by only typing their 
username, and don;t neet to type their full address.

The problem is, that, when users only insert their username when they login 
to the webmail, their return path will be like
[EMAIL PROTECTED]
Of Course, this is wrong, and makes people can't know if their mails which 
they sent, bounce, because the bounce will go to postmaster account as 
double bounce.

But if they login using their full email address like [EMAIL PROTECTED], 
then the return path IS correct.

My question is how to solve this problem ?, is this DNS problem, or 
sqwebmail problem, or vpopmail problem ?
thanks




Re: Extenstion cleaner

2000-06-12 Thread Noel Mistula

Hi,

You can try my tiny teeny script at
http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/06/msg00299.html

cheers

Noel Mistula

-Original Message-
From: Jonathan Fortin [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Tuesday, 13 June 2000 5:19
Subject: Extenstion cleaner



Anyone knows a tool that I can incorporate with qmail so it can just remove
any extentions
that are reiceived with .VBS and/or .EXE and .COM?


thank you.






Qmail on Linux

2000-06-12 Thread Irwan Hadi

We are planning to have a new server, and it can be a Dual Pentium III 
server, with 512 RAM, and RAID 5 controller with 2 X 18 giga drives to 
serve about 12,000 email account @ 2 M for our students, and web space 
about @1 M,
My question is, can linux handle this so large system, especially from the 
inode problem.

Can by doing this
   echo "16384"  /proc/sys/fs/file-max
echo "65536"  /proc/sys/fs/inode-max
solve the inode problem then ?
Or should we use like NetBSD or FreeBSD ?

Beside that, as we want to give web space too for the students, can mysql 
handle this heavy load, because we want to make the password for web and 
mail the same, so my plan is using vpopmail + mysql, and proftpd + mysql, 
so they will share the same database password, and when users change their 
email password, they change their FTP password at the same time.

Thanks.





spam dissguised as bounce

2000-06-12 Thread Michael Boyiazis

Greetings,
   I know I cannot block mail that is coming from  because
of course I would be preventing bounces from coming in, but
lately I've been getting hit with spam sent to multiple users
disguised as a bounce.  I've tried putting that IP in my 
tcprules file  (bad-guy-IP:deny) but still the mail gets through.

Any thoughts on how to prevent this mess?

mike.

_
NetZero - Defenders of the Free World
Click here for FREE Internet Access and Email
http://www.netzero.net/download/index.html



Re: spam dissguised as bounce

2000-06-12 Thread Ronny Haryanto

On 12-Jun-2000, Michael Boyiazis wrote:
 I've tried putting that IP in my tcprules file  (bad-guy-IP:deny)
 but still the mail gets through.

Be more specific. Which file? Have you recreated the cdb file? How
does the mail get through? From which IP? Is the IP blocked by your
rules? What do the logs say?

Ronny