qmail Digest 13 Jun 2000 10:00:00 -0000 Issue 1031

Topics (messages 42993 through 43029):

458 Couldn't exec qmail-etrn
        42993 by: Tony Wade

Re: qmail+mrtg+multilog mods
        42994 by: Peter Green
        42997 by: Peter Green

qmail/log (will be started later) qmail done
        42995 by: Martin Langhoff

large tcp.smtp.cdb
        42996 by: TAG
        43004 by: David Dyer-Bennet
        43013 by: Chin Fang

qmail, vpopmail, forcecr, and fetchmail errors
        42998 by: Steven Lewis

Re: 501 Syntax Error
        42999 by: Bruno Wolff III

catch multiple mails
        43000 by: Anzej Becan
        43002 by: Ronny Haryanto
        43007 by: Anzej Becan
        43012 by: Eric Cox
        43014 by: Anzej Becan
        43015 by: Ronny Haryanto

ETRN (not serialmail + pullmail)
        43001 by: Massimiliano Bavo

question re: smtp-poplock and/or perl
        43003 by: Brandon Dudley

Re: Quota on the users Maildir
        43005 by: denpetrov.home.com

Extenstion cleaner
        43006 by: Jonathan Fortin
        43017 by: clemensF
        43020 by: Noel Mistula

Re: Open Relay
        43008 by: Bolivar Diaz Galarza
        43009 by: Aaron L. Meehan
        43010 by: Bolivar Diaz Galarza
        43011 by: Bolivar Diaz Galarza
        43018 by: clemensF

Re: Who sets 'Return-Path'?
        43016 by: Claus F�rber

Problem with return path in sqwebmail
        43019 by: Irwan Hadi

Qmail on Linux
        43021 by: Irwan Hadi
        43025 by: System Administrator

spam dissguised as bounce
        43022 by: Michael Boyiazis
        43024 by: Ronny Haryanto

is this a pop3 error?
        43023 by: duncan

Reading mail by netscape
        43026 by: yair linux
        43027 by: Magnus Bodin
        43028 by: Magnus Bodin

POP-before-SMTP
        43029 by: Kristina

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]


----------------------------------------------------------------------


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

machine3        192.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>






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)





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;
+}




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





Hi ALL<

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

Please - comments - ??

Thanks

Tonino




TAG <[EMAIL PROTECTED]> writes on 12 June 2000 at 14:09:10 +0200
 > Hi ALL<
 > 
 > What are the implications of having a large (>10000 lines) in a
 > tcp.smtp.cdb file??
 > 
 > Please - comments - ??

CDB is set up to access entries in large databases very quickly.  It
should be perfectly acceptable to have that large a CDB file.
-- 
Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon
Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b 
David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]




Nothing.  As long as your cdb file is smaller than 4G, its lookup
performance should be more or less constant.

Regards,

Chin Fang
[EMAIL PROTECTED]

> Hi ALL<
> 
> What are the implications of having a large (>10000 lines) in a
> tcp.smtp.cdb file??
> 
> Please - comments - ??
> 
> Thanks
> 
> Tonino
> 





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






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.




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





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




> > 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.
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





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




> > > > I would like to catch multiple mails of standard form...
> > > > [EMAIL PROTECTED]
> > > > [EMAIL PROTECTED]
> > > > into one mailbox [EMAIL PROTECTED]

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

Guys at FQ found me the right solutions. I just have to create
.qmail-mail-default file with contents "&[EMAIL PROTECTED]" and it works! It
catch all the mails in form [EMAIL PROTECTED]
That is why because qmail-local will look for (in order):
1) .qmail-mail-02
2) .qmail-mail-default
3) .qmail-default

Thanks everyone!

Anzej






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




Does anyone know ETRN+qmail ?







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:

@400000003941343e004fcbbc perl: error in loading shared libraries: libcrypt.so.1: 
failed to map segment from shared object: Cannot allocate memory
@400000003941343e0072ff74 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






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






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.





> 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




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.
>
>





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
>





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




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
>





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





> 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




Ben Beuchler <[EMAIL PROTECTED]> schrieb/wrote:
> I'm sure this is a basic question, but who controls the 'Return-Path'
> header?  The MTA or MUA?

The MUA, maybe in cooperation with the mail injector (which I consider  
part of the MUA), controls the envelope sender.
The Return-Path header is only a copy of the envelope sender added by  
the MTA that finally delivers the message to a mailbox.

Claus

-- 
begin 666 LOVE-LETTER-FOR-YOU.TXT.vbs
I'm a signature virus. Copy me!
end
http://www.faerber.muc.de




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





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.






Hi

probably linux should be able to handle. as for mysql it also depends how
many concurrent connections you have etc.etc.

On Mon, 12 Jun 2000, Irwan Hadi wrote:

> 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.
> 
> 
> 

Parag Mehta                        <[EMAIL PROTECTED]>
System Administrator.
Puretech Internet Pvt. Ltd.        http://puretech.co.in/ 
77 Atlanta. Nariman Point.
Mumbai - 400021. India.            Tel: +91-22-2833158          
============================================================
Support is now available thru our Web Based Support System.
http://support.puretech.co.in
============================================================







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




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




I set up qmail-pop3d via lwq.  So it is being run from inetd like this:

pop-3   stream  tcp     nowait  root    /var/local/qmail/bin/qmail-popup
qmail-popup youwasahero.com  /bin/checkpassword
/var/local/qmail/bin/qmail-pop3d Maildir

(all on one line in inetd.conf)

Whenever someone checks their mail via pop, I get an error in syslog:

Jun 12 19:40:00 masina inetd[496]: pid 10599: exit status 1

The mail transfers okay over pop, so what does this mean?





Hello 
I have installed Qmail 1.03, it seems to work fine,
except I can't read my mail by netscape.
What should I do to fix it?
Thanks 
Yair






On Tue, Jun 13, 2000 at 08:24:05AM +0200, yair linux wrote:
> Hello 
> I have installed Qmail 1.03, it seems to work fine,
> except I can't read my mail by netscape.
> What should I do to fix it?

You should describe it more elaboratively if you want answers here.

What do you mean by "read my mail by netscape"?
Have you installed a POP-server? Is it this POP-fetch from that fails with
Netscape clients? How does this failure appear? Any error messages? Any
log-entries, maybe? 

/magnus

-- 
http://x42.com/




On Tue, Jun 13, 2000 at 10:01:19AM +0200, yair linux wrote:
> Hello, thanks for answering 
> 
> I want to use netscape messanger to read mail from mailbox that locates
> on linux server 
> The message I get is that the server refused the connection
> should I install a pop-server? where can I found it ?
> Yair

I don't think you read my mail. 

You said. "I can't read my mail by netscape". What do you mean by that? 
Netscape is a Mail User Agent. A mail client. 

qmail is a mail server.

If you want to fetch your mail and read it in Netscape (even if the client
is running on the same machine as the server) you'll have to install a
client protocol service such as POP (or IMAP). 

Check out http://www.qmail.org/ and especially the documentation in Life
With Qmail that pretty straightforward describes how this is done.

/magnus

--
http://x42.com/





Has anyone installed any of the POP-before-SMTP
packages available on the www.qmail.org page on
Solaris 7 SUCCESSFULLY?

Please let me know.

Kristina



Reply via email to