qmail Digest 23 May 2000 10:00:00 -0000 Issue 1010

Topics (messages 42156 through 42199):

Re: qmail and subdomain
        42156 by: Barry Smoke
        42163 by: Chris Johnson

error in qmail
        42157 by: kapil sharma
        42180 by: clemensF

Re: The current status of IETF drafts concerning bare linefeeds
        42158 by: Russell Nelson
        42161 by: Pavel Kankovsky

Re: I want to stop this thread
        42159 by: Russell Nelson

Limiting size of emails with databytes
        42160 by: Dewald Strauss
        42162 by: Christian Wiese
        42181 by: clemensF

Re: multilog: fatal:
        42164 by: clemensF

Re : Limiting size of email with databytes
        42165 by: Dewald Strauss

Re: Update on multilog: fatal:
        42166 by: clemensF

Re: Forward to multiple people?
        42167 by: clemensF

ezmlm user conversion?
        42168 by: Christopher M. Downs

vpopmail, qmailadmin, sqwebmail : documentation
        42169 by: Julien Marguet

Re: Qmail on a firewall.
        42170 by: Chris Johnson
        42174 by: clemensF
        42175 by: clemensF
        42199 by: Rajkumar S.

announcement
        42171 by: Gustavo Vieira Goncalves Coelho Rios

Allowing relaying for selected users - NOT by IP address
        42172 by: Ed Woodson
        42173 by: Chris Johnson
        42176 by: Matthew

Re: Setting up qmail for university
        42177 by: Mate Wierdl

More on Qmail DSN.
        42178 by: tonnage.dayak.com

Re: I want to leave this list
        42179 by: Kai MacTane

pop3
        42182 by: Michael Mannsberger
        42183 by: Chris Johnson
        42184 by: Soffen, Matthew
        42185 by: Matthew
        42186 by: James

Does vpopmail work with Mailbox ?
        42187 by: Chester Chee

run scripts
        42188 by: Mate Wierdl

Re: ezmlm-make -em, -r and -s not supported
        42189 by: Eric Fletcher

virtual domains
        42190 by: sonam.escape.com
        42194 by: Chris Johnson

migrating from a mbox mailserver to a Mailbox qmail server
        42191 by: Aaron Seelye
        42193 by: Brent R. Matzelle

bad qmail-fetchmail interaction
        42192 by: clemensF

(no subject)
        42195 by: kapil sharma

qmail-local
        42196 by: Robert Sander
        42197 by: Petr Novotny

Could my problems be Mandrake 7 security settings?
        42198 by: James

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]


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


The domain in question is yourprospects.com and test.yourprospects.com
I did state that before my log file in my original post.
mail is going to [EMAIL PROTECTED] when it was sent to
[EMAIL PROTECTED]

I appreciate any suggestions.
Barry Smoke

##########virtualdomains##############
dalrympleins.com:dalrympleins.com
lakelandweb.com:lakelandweb.com
lanarkweb.com:lanarkweb.com
webservices-uk.com:webservices-uk.com
bordersweb.com:bordersweb.com
my-payday.com:my-payday.com
haskellweb.com:haskellweb.com
uk-bedandbreakfasts.com:uk-bedandbreakfasts.com
memorabilia-uk.com:memorabilia-uk.com
apollodna.com:apollodna.com
arkansascounties.com:arkansascounties.com
transferdata.com:transferdata.com
jerome-n-debbie.com:jerome-n-debbie.com
afandou.com:afandou.com
test.yourprospects.com:test.yourprospects.com
yourprospects.com:yourprospects.com

-----Original Message-----
From: Chris Johnson [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 21, 2000 8:47 PM
To: Barry Smoke
Cc: [EMAIL PROTECTED]
Subject: Re: qmail and subdomain


On Sun, May 21, 2000 at 08:18:31PM -0500, Barry Smoke wrote:
> did anyone have any ideas on this?

I'm guessing that your question was ignored because you gave fake domain
names,
which makes any DNS problems impossible to troubleshoot.

Providing phony information is like telling the doctor that you're
experiencing
pain, and then asking him to diagnose the problem by examining a surrogate
rather than examining you.

Try your question again, and tell us the real domain names in question, and
the
real contents of your virtualdomains file.

Chris

>
> ----- Original Message -----
> From: Barry Smoke <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 17, 2000 1:26 PM
> Subject: Bruce's latest qmail rpm and subdomain
>
>
> >
> > I am running Bruce's latest RPM, and I love it...easy setup...works
great.
> > I am also using his virtual domain package vmailmgr.
> >
> > I don't know how many of you are familiar with his vmailmgr package, but
> it
> > works great.
> >
> > I put out this question on the vmailmgr mailing list, and he said the
> > problem i am having is not vmailmgr related, it is qmail related.  So
here
> > goes:
> >
> > I have a virtual domain for example domain.com.
> > I have a subdomain called test.domain.com
> > I have a user [EMAIL PROTECTED]
> > and i have a user [EMAIL PROTECTED]
> >
> > my /var/qmail/control/virtualdomains file reads:
> > domain.com:domain.com
> > test.domain.com:test.domain.com
> >
> > If I send a message to [EMAIL PROTECTED], the message is being
> delivered
> > to [EMAIL PROTECTED]
> >
> > qmail should parse this by looking for
> > test.domain.com
> > then .domain.com
> > then .com
> >
> > Anyone know what might cause the MUA to send the mail to the wrong
place?
> >
> > ##################
> > here is my log file entry...the real domain is yourprospects.com:
> > ##################
> >
> > May 17 14:42:20 dns1 qmail: 958592540.263598 status: local 2/10 remote
> 0/20
> > May 17 14:42:20 dns1 qmail: 958592540.268567 delivery 13: success:
> > did_0+0+0/
> > May 17 14:42:20 dns1 qmail: 958592540.310099 status: local 1/10 remote
> 0/20
> > May 17 14:42:20 dns1 qmail: 958592540.334021 delivery 14: success:
> > did_1+0+0/
> > May 17 14:42:20 dns1 qmail: 958592540.440181 status: local 0/10 remote
> 0/20
> > May 17 14:42:20 dns1 qmail: 958592540.440263 end msg 41396
> > May 17 14:53:47 dns1 qmail: 958593227.888630 new msg 41396
> > May 17 14:53:47 dns1 qmail: 958593227.888764 info msg 41396: bytes 907
> from
> > <bsm
> > [EMAIL PROTECTED]> qp 6852 uid 112
> > May 17 14:53:48 dns1 qmail: 958593228.097990 starting delivery 15: msg
> 41396
> > to
> > local [EMAIL PROTECTED]
> > May 17 14:53:48 dns1 qmail: 958593228.098097 status: local 1/10 remote
> 0/20
> > May 17 14:53:48 dns1 qmail: 958593228.098155 starting delivery 16: msg
> 41396
> > to
> > local [EMAIL PROTECTED]
> > May 17 14:53:48 dns1 qmail: 958593228.098203 status: local 2/10 remote
> 0/20
> > May 17 14:53:48 dns1 qmail: 958593228.102911 delivery 15: success:
> > did_0+0+0/
> > May 17 14:53:48 dns1 qmail: 958593228.144389 status: local 1/10 remote
> 0/20
> > May 17 14:53:48 dns1 qmail: 958593228.144493 delivery 16: success:
> > did_0+0+1/
> > May 17 14:53:48 dns1 qmail: 958593228.232967 status: local 0/10 remote
> 0/20
> > May 17 14:53:48 dns1 qmail: 958593228.233045 end msg 41396
> >
> >
> >
> >
>





On Mon, May 22, 2000 at 08:05:04AM -0500, Barry Smoke wrote:
> The domain in question is yourprospects.com and test.yourprospects.com
> I did state that before my log file in my original post.
> mail is going to [EMAIL PROTECTED] when it was sent to
> [EMAIL PROTECTED]

That's because test.yourprospects.com has a CNAME record pointing to
yourprospects.com. The domain name is being canonicalized by the sending MTA,
i.e. because of the CNAME record it's changing test.yourprospects.com to
yourprospects.com.

Change the CNAME record to an A record, and your problem will be solved.

Chris




I am getting the following error in my mail log file:

May 22 18:33:52 localhost qmail: 959000632.425508 alert: unable to append to
bounce message; HELP! sleeping...

What could be the reason?

My server "qmail-queue" process has become zombie. Following is the output of
"ps":
qmailq   11687  0.0  0.0     0    0 pts/4    Z    18:38   0:00 [qmail-queue
<defunctioning>

Is there any way to kill this process and start the server properly. Please
help as I cannot start my online email server!!!


Thank you
kapil









> kapil sharma:

> May 22 18:33:52 localhost qmail: 959000632.425508 alert: unable to append to
> bounce message; HELP! sleeping...

permissions/ownership?

-- 
clemens                                              [EMAIL PROTECTED]




Pavel Kankovsky writes:
 > On 19 May 2000, D. J. Bernstein wrote:
 > > allow non-MIME 8-bit mail, for example, even though the relevant RFCs

 > (*) If yes, what extra functionality was provided? (Apparently, it was not
 > an ability to transfer non-English plaintexts because you do not know how
 > to interpret bytes you receive without MIME (or MIME-like) metadata.)

Interpreting, and encoding are two different things.  You're talking
about interpretation of a bytestream, and Dan is talking about the
encoding.  In particular, he's dissing Content-Transfer-Encoding:
quoted-unreadable.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.




On Mon, 22 May 2000, Russell Nelson wrote:

> Interpreting, and encoding are two different things.  You're talking
> about interpretation of a bytestream, and Dan is talking about the
> encoding.  In particular, he's dissing Content-Transfer-Encoding:
> quoted-unreadable.

Sure. But he said "non-MIME". No MIME. Neither "Content-Transfer-Encoding"
nor "Content-Type" (I am not aware of any non-hypothetical non-MIME
mechanism equivalent to Content-Type of MIME). I might be naive but I
expect people (and mathematicians in particular) to mean "X" not "some
part of X" when they say "X". :)

Flame off.

--Pavel Kankovsky aka Peak  [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."





Pavel Kankovsky writes:
 > Do you know how many people read the footer and left without asking?
 > Do you know how many people would ask if the footer was not there?

No one cares about that list.  We care about this list.  Inappropriate
unsuscribe requests are usually only one line long, and they occur
infrequently.  This thread alone has probably taken as many messages
as the unsubcribe requests, and many more bytes.  Send the person mail
telling them how to get off the list, and LEAVE THE BLOODY LIST OUT OF
IT!

This is clearly a self-discipline problem, not a footer problem, or
even an unsubsribe problem.  JUST SHUT UP ALREADY!

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.




Hi,

I am trying to limit the size of inbound/outbound mails 
on my mailserver.
Will an entry in databytes under /var/qmail/control 
do this ?

Running qmail 1.03+vpopmail+sqwebmail here

Thanks
Dewald





Hi Dewald,

that's correct. The databytes file under /var/qmail/control is
responsible for size limits for inbound/outbound mails.
Just insert e.g. 4000000 and you've limited the size to 4MB.

But I'm still looking for a solution to seperate inbound and outbound
mal size, but I haven't found any solution yet.
As fa as I know it's also possible to limit the size of the mails via
maildir, but I haven't tried this solution.

Greetings

Christian

Dewald Strauss schrieb:

> Hi,
>
> I am trying to limit the size of inbound/outbound mails
> on my mailserver.
> Will an entry in databytes under /var/qmail/control
> do this ?
>
> Running qmail 1.03+vpopmail+sqwebmail here
>
> Thanks
> Dewald





> Christian Wiese:

> But I'm still looking for a solution to seperate inbound and outbound
> mal size, but I haven't found any solution yet.
> As fa as I know it's also possible to limit the size of the mails via
> maildir, but I haven't tried this solution.

are you referring to the disk-quota?

-- 
clemens                                              [EMAIL PROTECTED]




> James:

> When I enter "/usr/local/sbin/qmail start" I get this error:
> multilog: fatal: unable to lock directory /var/log/qmail%smtp: access
> denied

qmail uses unix security features like out of the book.  qmails permission
setup is fine-grained.  if you follow the setup proposed concerning
auxiliary accounts like qmaill (logging), qmailq (queueing) and so on and
make the directory- and file-owner permissions like they are supposed to
be, you will have a very secure mail system.

-- 
clemens                                              [EMAIL PROTECTED]




Hi,

In response to my first post, I did the following:
I added 1000000 to the databytes file under /var/qmail/control, 
but see that qmail just drops the connection when it reaches 
1000000 bytes.

How do I tell qmail to send a bounce messages to the originating 
host ?

(Or even better, where can I read up on this, qmail man pages 
does not tell me this)

Thanks
Dewald





> James:

> I am guessing that the reason for the #10 numbers is because this time, on
> the second install, I've actually changed the existing lines in
> /etc/passwd to the LWQ suggested numbers of 7791:2108 etc.

the numbers appear if no names can be associated via /etc/passwd.
something's still wrong with permissions and owners.

-- 
clemens                                              [EMAIL PROTECTED]




> Snowcrash wrote:
> > 
> >     I'm running Qmail with Vpopmail from inter7.com  and I'd like to know
> > how I would forward one e-mail address to mutiple people.  For example
> > messgaes sent to [EMAIL PROTECTED] are sent to [EMAIL PROTECTED], [EMAIL PROTECTED] and
> > [EMAIL PROTECTED]  Probably an easy question but I'm just not getting it...

don't forget to make ~alias/.qmail-default, which will act as a catch-all
for (un|mis)directed mails.

-- 
clemens                                              [EMAIL PROTECTED]




i know this is not the correct list but maybe i can get help here. i have a lyris 
lisetserv on a NT server and need to get all e-mail accounts off the server and into 
the NEW and IMPROVED ezmlm-idx server. has anyone done or attempted this?

thanks chris

---------------------------------
     Network Administrator
   Franklin Pierce Law Center
       [EMAIL PROTECTED]
                                                                                       
 
 Fight The Power! Use LINUX!~                                           
---------------------------------




I search a good documentation on vpopmail, qmailadmin and
sqwebmail.
I'm currently creating a mail server for an hospital in
France.
Qmail, Maildir and IMAP = are operating.
I would like to manage the server and I'd like to make an
interface for the client --> that's why I'd use theise
tools.

_______________________________________________________
Vendez tout... aux ench�res - http://www.caraplazza.com





On Mon, May 22, 2000 at 01:13:50PM +0530, Rajkumar S. wrote:
> hello all,
> 
> i have an lan with internet connection through a firewall. all the users are
> inside the lan and the internal mail is hosted by sendmail which delivers all
> the internal mails localy and forwads all the external mail to the mailserver
> at the firewall from where it goes to the destination.
> 
> To receive the mail from external source my mailserver at firewall which is
> qmail needs to be configured such that all the mail that are addressed to
> @indsoft.co.in should be forwaded to the sendmail inside the lan. 
> 
> at present the Qmail can deliver local mails and external mails as well as
> forwad all the mails that needs to be send to internet from the lan.  
> 
> but how can i tell Qmail to send all the mails to indsoft.co.in to
> 192.168.1.1 

# echo 'indsoft.co.in:192.168.1.1' > /var/qmail/control/smtproutes

See the qmail-remote man page for complete information on smtproutes.

> also how about the error processing, ie no such user etc...

All mail for any address @indsoft.co.in will be forwarded to the internal
sendmail server, which will handle final delivery errors. 

Chris




> Rajkumar S.:

> but how can i tell Qmail to send all the mails to indsoft.co.in to
> 192.168.1.1 

what does your mx record say?

> also how about the error processing, ie no such user etc...

will go to the postmaster, setup in ~aliases.  consult tfm.
or bounces.

-- 
clemens                                              [EMAIL PROTECTED]
        do                                              D4685B884894C483




> Rajkumar S.:

> but how can i tell Qmail to send all the mails to indsoft.co.in to
> 192.168.1.1 

dnsmx indsoft.co.in answers:
10 beta.indsoft.co.in

dnsip beta.indsoft.co.in answers:
203.129.250.50

so your problem might ly in the dns area.

-- 
clemens                                              [EMAIL PROTECTED]
        do                                              D4685B884894C483





cjohns> # echo 'indsoft.co.in:192.168.1.1' > /var/qmail/control/smtproutes

thanks for the pointer, i have done that. now the error message is 


Hi. This is the qmail-send program at beta.indsoft.co.in. I'm afraid I
wasn't able to deliver your message to the following addresses. This is a
permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:

Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. 
(#5.4.6)


the contents of my control/local file is the line 

beta.indsoft.co.in

i have tried by adding the line 

indsoft.co.in

then the error message changes to 

Sorry no mail box here by that name. 

which is true. since there are no users on beta.indsoft.co.in. i am very
new to qmail but from the big qmail picture i think somehow the qmail
should select the qmail-rspwan rather than qmail-lspawn for the
indsoft.co.in domain even though it is listed as the best host for
indsoft.co.in

did i miss some thing while confg. i will provide any further info that
is needed to investigate this further

regards
raj









Hi folks!

I am a qmail beginner i would like to share a small program i wrote to
aid postmaster dealing with qmail, specially if you are using qmail
accounts (not system ones). I hope you will enjoy such a small program i
wrote.

If some one here would like give it a try, send me a mail requesting it.

PS: HOw can i have my tool listed in QMAIL Web PAge ?


-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect!

Reboot now?   [ OK]




I have been scanning the list archives for hours, trying to figure out how I
can accomplish this:

I have a qmail server up and running perfectly, doing selective relaying for
our internal network only.  I would like to further limit this for selected
users, if possible.  My ultimate goal is to have two classes of users, one
class which can use qmail for both "external" and "internal" mail, and
another class which is limited to "internal" mail only.

Please correct me if I am wrong, but it appears that my choices are:

1) selectively relay based upon IP address
2) control relaying by envelope sender (using the "relaymailfrom" patch)

Is it possible to combine the two?  For example, can I allow relaying from
my own network only with (1), and also use the "relaymailfrom" patch to
restrict this _further_ to messages with a certain envelope sender?

I know that (2) is closer to what I am trying to do, but it seems to add to
those allowed to relay, not to further restrict it.  Also, I know that it is
easy for a user to forge the envelope sender, but I am not worried about
that (as long as I can still be assured it is coming from our local
network).

Please tell me if I am overlooking something obvious




On Mon, May 22, 2000 at 10:21:23AM -0500, Ed Woodson wrote:
> I have been scanning the list archives for hours, trying to figure out how I
> can accomplish this:
> 
> I have a qmail server up and running perfectly, doing selective relaying for
> our internal network only.  I would like to further limit this for selected
> users, if possible.  My ultimate goal is to have two classes of users, one
> class which can use qmail for both "external" and "internal" mail, and
> another class which is limited to "internal" mail only.
> 
> Please correct me if I am wrong, but it appears that my choices are:
> 
> 1) selectively relay based upon IP address
> 2) control relaying by envelope sender (using the "relaymailfrom" patch)
> 
> Is it possible to combine the two?  For example, can I allow relaying from
> my own network only with (1), and also use the "relaymailfrom" patch to
> restrict this _further_ to messages with a certain envelope sender?
> 
> I know that (2) is closer to what I am trying to do, but it seems to add to
> those allowed to relay, not to further restrict it.  Also, I know that it is
> easy for a user to forge the envelope sender, but I am not worried about
> that (as long as I can still be assured it is coming from our local
> network).

Someone else asked for this a long time ago, and I whipped up the following
patch which should help you.

Chris

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

This patch lets you control SMTP relaying based on envelope sender address.
Note that this is not secure--it's trivial to forge a message's envelope
sender. But it's something that people have asked for, and combined with
tarpitting and running your SMTP daemon on a non-standard port, it may give you
an acceptable level of safety.

As with the unpatched version of qmail-smtpd, relaying is allowed whenever
RELAYCLIENT is set. This patch adds a control file called relaymailfrom;
envelope senders listed in the file will also be allowed to relay. Entries in
relaymailfrom can be e-mail addresses, or just the domain (with the @ sign). So
if I want [EMAIL PROTECTED] and anyone in domain2.com to be able to relay, my
control/relaymailfrom file would contain:

[EMAIL PROTECTED]
@domain2.com

RELAYBYADDRESS must be set in qmail-smtpd's environment in order for relaying
by envelope sender to be allowed. So, for example, if you wanted to allow
anyone at 192.168.15.* to relay through your server as long as his envelope
sender address was in your relaymailfrom file, you'd have the following in your
tcpserver rules file (assuming you're using tcpserver and not inetd):

192.168.15.:allow,RELAYBYADDRESS=""

--- qmail-smtpd.c.orig  Mon Jun 15 06:53:16 1998
+++ qmail-smtpd.c       Wed May  5 23:31:23 1999
@@ -81,6 +81,7 @@
 char *remoteinfo;
 char *local;
 char *relayclient;
+char *relayok;
 
 stralloc helohost = {0};
 char *fakehelo; /* pointer into helohost, or 0 */
@@ -96,6 +97,9 @@
 int bmfok = 0;
 stralloc bmf = {0};
 struct constmap mapbmf;
+int rmfok = 0;
+stralloc rmf = {0};
+struct constmap maprmf;
 
 void setup()
 {
@@ -117,6 +121,13 @@
   if (bmfok)
     if (!constmap_init(&mapbmf,bmf.s,bmf.len,0)) die_nomem();
  
+  if ( env_get("RELAYBYADDRESS") ) {
+    rmfok = control_readfile(&rmf,"control/relaymailfrom",0);
+    if (rmfok == -1) die_control();
+    if (rmfok)
+      if (!constmap_init(&maprmf,rmf.s,rmf.len,0)) die_nomem();
+  }
+
   if (control_readint(&databytes,"control/databytes") == -1) die_control();
   x = env_get("DATABYTES");
   if (x) { scan_ulong(x,&u); databytes = u; }
@@ -130,7 +141,7 @@
   remotehost = env_get("TCPREMOTEHOST");
   if (!remotehost) remotehost = "unknown";
   remoteinfo = env_get("TCPREMOTEINFO");
-  relayclient = env_get("RELAYCLIENT");
+  relayok = relayclient = env_get("RELAYCLIENT");
   dohelo(remotehost);
 }
 
@@ -208,6 +219,17 @@
   return 0;
 }
 
+int rmfcheck()
+{
+  int j;
+  if (!rmfok) return 0;
+  if (constmap(&maprmf,addr.s,addr.len - 1)) return 1;
+  j = byte_rchr(addr.s,addr.len,'@');
+  if (j < addr.len)
+    if (constmap(&maprmf,addr.s + j,addr.len - j - 1)) return 1;
+  return 0;
+}
+
 int addrallowed()
 {
   int r;
@@ -241,6 +263,7 @@
 {
   if (!addrparse(arg)) { err_syntax(); return; }
   flagbarf = bmfcheck();
+  if (!relayok) if (rmfcheck()) relayclient = ""; else relayclient = 0;
   seenmail = 1;
   if (!stralloc_copys(&rcptto,"")) die_nomem();
   if (!stralloc_copys(&mailfrom,addr.s)) die_nomem();







On Mon, 22 May 2000, Ed Woodson wrote:

> I have been scanning the list archives for hours, trying to figure out how I
> can accomplish this:
> 
> I have a qmail server up and running perfectly, doing selective relaying for
> our internal network only.  I would like to further limit this for selected
> users, if possible.  My ultimate goal is to have two classes of users, one
> class which can use qmail for both "external" and "internal" mail, and
> another class which is limited to "internal" mail only.
> 
> Please correct me if I am wrong, but it appears that my choices are:
> 
> 1) selectively relay based upon IP address
> 2) control relaying by envelope sender (using the "relaymailfrom" patch)
> 
> Is it possible to combine the two?  For example, can I allow relaying from
> my own network only with (1), and also use the "relaymailfrom" patch to
> restrict this _further_ to messages with a certain envelope sender?
> 
> I know that (2) is closer to what I am trying to do, but it seems to add to
> those allowed to relay, not to further restrict it.  Also, I know that it is
> easy for a user to forge the envelope sender, but I am not worried about
> that (as long as I can still be assured it is coming from our local
> network).
> 
> Please tell me if I am overlooking something obvious
> 

i have never tried this, but if you are using secure workstations
eg. Windows NT or Linux or any other multi-user OS then you might be able
to install ident daemons on them.  in the hosts.allow you can add username
lookups to allow relaying.  i'm not sure if this is possible with
tcpserver.
i'm sure that there's a better way and i'll wait for it too!





I just share one experience that happened in our department:

The mail server was on one box, and users home directories on
another, and /home was nfs mounted on the mail server.  qmail-users
was not set up, and one day, while our sysadm was on vacation, the nfs
server failed---and it was down for 3 days...

Messages were bounced by the thousands since qmail could not find the
mailboxes. 

So if you run services on separate boxes, then it is a must to use
qmail-users.

Mate
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  





Hi All,

  After searching the qmail list archives for DSN, I realize this topic has
been beaten around quite a bit.  I still need to ask though.  I have a
client using Netscape's DSN delivery receipt, who's been hounding me about
qmail not supporting this rfc.
  I'm wondering what my options are on this?  I've been playing around with
using Netscape's MDN instead and trying to use qreceipt, but I don't think
qreceipt works with virtual domains, ie.  [EMAIL PROTECTED] is
the email addy qreceipt would see if I passwd it $RECEPIENT.

ie.. in .qmail-default I'd have:
| qreceipt $RECEPIENT

So it would work with virtual domains and Netscape's MDN.  So far nothing. 
I've even hacked qreceipt and still nada..  Can anyone help with idea, a
patch, anything?

Alex




At 5/20/2000 10:39 AM +0200, clemensF wrote or quoted:
> > Kai MacTane:
>
> > People who are determined to be stupid seem to be:
> >
> > a) 100% capable of being stupid, no matter how easy you try to make it
> >     for them to be smart (or at least average); and
> > b) 100% incapable of being convinced that they're being stupid. They
> >     will rationalize and justify nearly anything.
>
>that's what i call a perl.  it is the simple truth, no matter where it is
>applied.  and since is so hard to spot intelligence, this statement will
>make it easy to describe the opposite.
>
>may i quote you?

Wow, thank you very much! Yes, you may quote me, and such permission is 
given to the rest of the list as well. (If I'm going to whip off a /bon 
mot/ in public, it's hardly fair for me to ask everyone to forget about it 
afterwards.)

But do please note that this only applies to the stupid people; there are 
intelligent ones out there. (I don't want to come off as *too* much of a 
cynic! :)

-----------------------------------------------------------------
                              Kai MacTane
                          System Administrator
                       Online Partners.com, Inc.
-----------------------------------------------------------------
 From the Jargon File: (v4.0.0, 25 Jul 1996)

finger trouble /n./

Mistyping, typos, or generalized keyboard incompetence (this is
surprisingly common among hackers, given the amount of time they
spend at keyboards). "I keep putting colons at the end of statements
instead of semicolons", "Finger trouble again, eh?".





hello,

pop3 isn't working for me!


- i installed "ucspi-tcp" and "checkpassword"

- then i linked /var/spool/mail/usr to $HOME/Maildir

- in /var/qmail/rc i changed Mailbox to Maildir

qmail-start ./Maildir splogger qmail

- in the startup script i added

tcpserver 0 110 /var/qmail/bin/qmail-popup viper.promotions.com
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

when i want to connect to the mailserver i get "this user has no
$HOME/Maildir ????

can anybody help me with that?

thanx,
            -mike









On Mon, May 22, 2000 at 02:42:49PM -0400, Michael Mannsberger wrote:
> pop3 isn't working for me!
> 
> 
> - i installed "ucspi-tcp" and "checkpassword"
> 
> - then i linked /var/spool/mail/usr to $HOME/Maildir

There's no need to do this if you're delivering directly to $HOME/Maildir/.

> - in /var/qmail/rc i changed Mailbox to Maildir
> 
> qmail-start ./Maildir splogger qmail

qmail-pop3d requires maildir delivery. The above delivers mail to a *mailbox
file* the name of which happens to be Maildir. You need to create a Maildir
with /var/qmail/bin/maildirmake, and change ./Maildir to ./Maildir/ (note the
trailing slash) in /var/qmail/rc.

Chris




That isn't what you wanted to do

You have to use Maildir format files (not a softlink to the Mailbox).
Maildir format uses separate files for each mail message, mailbox uses one
file.

qmail's Pop server doesn't handle mbox format.  

You need to use something like /var/qmail/bin/maildirmake in each user
directory (run "as" the user) to create the Maildir hierarchy.  Then you
need to change "Maildir" to "./Maildir/" in your qmail start script. Then
you can download one of the tools like mbox2maildir to convert your mbox
formatted files to Maildir format.

then you should be a bit farther..

Matt Soffen 
        Web Intranet Developer
        http://www.iso-ne.com/
==============================================
Boss    - "My boss says we need some eunuch programmers."
Dilbert - "I think he means UNIX and I already know UNIX."
Boss    - "Well, if the company nurse comes by, tell her I said 
             never mind."
                                       - Dilbert -
==============================================



> -----Original Message-----
> From: Michael Mannsberger [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 22, 2000 2:43 PM
> To:   qmail maillist
> Subject:      pop3
> 
> hello,
> 
> pop3 isn't working for me!
> 
> 
> - i installed "ucspi-tcp" and "checkpassword"
> 
> - then i linked /var/spool/mail/usr to $HOME/Maildir
> 
> - in /var/qmail/rc i changed Mailbox to Maildir
> 
> qmail-start ./Maildir splogger qmail
> 
> - in the startup script i added
> 
> tcpserver 0 110 /var/qmail/bin/qmail-popup viper.promotions.com
> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> 
> when i want to connect to the mailserver i get "this user has no
> $HOME/Maildir ????
> 
> can anybody help me with that?
> 
> thanx,
>             -mike
> 
> 
> 
> 






On Mon, 22 May 2000, Michael Mannsberger wrote:

> hello,
> 
> pop3 isn't working for me!
> 
> 
> - i installed "ucspi-tcp" and "checkpassword"
> 
> - then i linked /var/spool/mail/usr to $HOME/Maildir
> 
> - in /var/qmail/rc i changed Mailbox to Maildir
> 
> qmail-start ./Maildir splogger qmail
> 
> - in the startup script i added
> 
> tcpserver 0 110 /var/qmail/bin/qmail-popup viper.promotions.com
> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> 
> when i want to connect to the mailserver i get "this user has no
> $HOME/Maildir ????

in the users home, a .qmail file must exist that points to the users
Maildir.  if your using the maildir format then there must be a "/" after
the Maildir directory eg. "/home/matthew/Maildir/".

i hope this might help.

> 
> can anybody help me with that?
> 
> thanx,
>             -mike
> 
> 
> 
> 
> 
> 





Matthew Soffen wrote:
:then you should be a bit farther..

Or a bit *farter*.. depending on how you digest the instructions.

James
Bit Farter





Hi,
 
I checked the web page on www.inter7.com regarding vpopmail. They don't really explicitly say whether vpopmail works only with Maildir mailbox format or not. Can anyone please enlighten me on this? Thanks in advance.
 




I just uploaded the dt-run package to 

ftp://moni.msci.memphis.edu/pub/run/

rsyncers can acces with

rsync -vr moni.msci.memphis.edu::run

There are also rpms in the directory.

The dt-run package replaces my qmail-run and tcpserver-initscripts
packages, and it is completely incompatible with them, since now the
services will be running under svscan controlled supervises.  In fact,
the whole scheme is not set up under the control of the usual rc (rc? on
Solaris) script that is the default "runlevel changer".

>From the README of the package:

*************************
This is alpha software, so be gentle with it!

This package's main purpose is to give you tools to run services under
svscan controlled supervises in a sysV like init environment.  In
particular, the package

-- Sets up dt-svscan.init which starts/stops svscan and the supervises
   under svscan's control.

-- Sets up dt-runlevel.init which manages all the runlevel changes for
   the services running under svscan.  

In fact, dt-svscan.init and dt-runlevel.init provide an environment
that functions on its own.  This means that once dt-svscan.init
started svscan, just given the runlevel to change to, dt-runlevel.init
decides which services to stop/start, and in which order.

The order in which services are started/stopped are set up by the
administrator using the runlevelconf package.

Since setting up daemons to run under svscan requires to set up run
scripts and links in svscan's service directory, the package provides
run files for a large number of services (including all the qmail
daemons), and two scripts, add-service.sh and remove-service.sh.
[...]
**************************************

You also find detailed installation/config instructions in the package
and in the above ftp directory.  There is also a MANUAL file which
should get most people started.

I'd like to receive feedback especially on the portability of the
package.  I have tested the package(s) on RH GNU/Linux, and I believe
people on Linuxes should have no problems with installing from the
tarball, and running the scripts.

I'd be particularly grateful for advice on what to put in inittab on
various platforms---I have no root access for anything else but RH
Linux.

Finally: could one of the Debian users advice me what kind of
copyright notice I am supposed to distribute with the package, since
it optionally installs update-inetd? Also, are these nice green [OK]
and red [FAILED] indicators that show up when one starts/stop services,
RH specific, or they also appear in Debian? 

Mate

---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  







On Thu, 18 May 2000, Peter Schuller wrote:

> (ezmlm ML archive is down, and I find no mention of where the list is
> located so I cannot subscribe to it or send to it; hence I am asking here)
> 
> Hello,
> 
> I want to make an ezmlm managed mailinglist moderated (it's an announce
> list). It is stated in the ezmlm manual that ezmlm-make -em can be used to
> make a list moderated; however, "-e", "-m", "-r" and "-s" (all mentioned in
> the manual) are not supported by ezmlm on my system.
> 
> Has the procedure for making a list moderated changed? What is the correct
> procedure?

Use --e or --m or --emr etc... The double minus (dash) works fine for me.


Regareds,
-- 
Eric Fletcher - Data Center Support
Dialtone Internet - Extremely Fast Web Systems
(954) 581-0097 - Voice (954) 581-7629 - Fax
[EMAIL PROTECTED] - Email
http://www.dialtoneinternet.net






Hi,

I am setting up virtual domains to handle mail for 
[EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
[EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
[EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
and so on.

how can i set this up? i have read the documentation but must have
probably missed a step.

what i 've done till now is:
create ~/control/virtualdomains with an entry like
foo.com:check

created ~/alias/.qmail-check-user1 with an entry like
[EMAIL PROTECTED]

created ~/alias/.qmail-check-user2 with an entry like 
[EMAIL PROTECTED]

and so on. any help will be appreciated.

thank you

sonam






On Mon, May 22, 2000 at 07:01:41PM -0400, [EMAIL PROTECTED] wrote:
> I am setting up virtual domains to handle mail for 
> [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
> [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
> [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED]
> and so on.
> 
> how can i set this up? i have read the documentation but must have
> probably missed a step.
> 
> what i 've done till now is:
> create ~/control/virtualdomains with an entry like
> foo.com:check
> 
> created ~/alias/.qmail-check-user1 with an entry like
> [EMAIL PROTECTED]
> 
> created ~/alias/.qmail-check-user2 with an entry like 
> [EMAIL PROTECTED]
> 
> and so on. any help will be appreciated.

You haven't told us how this is failing. This setup should work, assuming that
there isn't a system account named "check."

Chris




Hello,

I'm trying to do just what the subject says.  What I'd like to do is
download the mail from the old mail server into the new one, and I'm
wondering if there's a tool to do it.  I looked at fetchmail, but it's mbox
delivery only, so if anyone on this list knows of a quick easy way to do
what I'm looking for, that'd be great.

Thanks,

Aaron Seelye






mbox is just qmail's name for Mailbox.  Really they are both the same
thing, one large text file.  You should be able to plug it into your new
user directory, make a symbolic link to the file in /var/spool/mail and
you should be really to accept mail again.

Brent

Aaron Seelye wrote:
> 
> Hello,
> 
> I'm trying to do just what the subject says.  What I'd like to do is
> download the mail from the old mail server into the new one, and I'm
> wondering if there's a tool to do it.  I looked at fetchmail, but it's mbox
> delivery only, so if anyone on this list knows of a quick easy way to do
> what I'm looking for, that'd be great.
> 
> Thanks,
> 
> Aaron Seelye




everybody will still recall the nuisance with a certain party named:
<[EMAIL PROTECTED]> .  to dump these nessages
automatically, i put this host into control/badmailfrom.  here's what
happens when fetchmail meets qmail on this topic.  it renders the
mechanisms badmailfrom, databytes and the likes useless, if qmail always
blurts out his dismay asynchronically, because like in human interaction:
timing is essential!

fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 4993 octets
fetchmail: reading message 1 of 37 (4993 bytes)
fetchmail: SMTP< 220 spotteswoode.de ESMTP
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-spotteswoode.de
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 8BITMIME
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]> BODY=8BITMIME
fetchmail: SMTP< 250 ok
fetchmail: SMTP> RCPT TO:<root@localhost>
fetchmail: SMTP< 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
fetchmail: SMTP listener doesn't like recipient address `root@localhost'
fetchmail: SMTP> RCPT TO:<postmaster@localhost>
fetchmail: SMTP< 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
fetchmail: can't even send to postmaster!
fetchmail: POP3> QUIT
fetchmail: POP3< This is a MIME-encapsulated message
fetchmail: SMTP transaction error while fetching from pop.gmx.de
fetchmail: Query status=10

-- 
clemens                                              [EMAIL PROTECTED]
        do                                              D4685B884894C483




unsubscribe





Hi!

I made this patch to qmail-local.c to enable only a temporary error if the
NFS-mounted Homedir is not present:


--- qmail-local.c.orig  Tue May 23 09:11:37 2000
+++ qmail-local.c       Tue May 23 09:11:43 2000
@@ -586,7 +586,7 @@
  qmesearch(&fd,&flagforwardonly);
  if (fd == -1)
    if (*dash)
-     strerr_die1x(100,"Sorry, no mailbox here by that name. (#5.1.1)");
+     strerr_die1x(111,"Sorry, no mailbox here by that name. (#5.1.1)");
 
  if (!stralloc_copys(&ueo,sender)) temp_nomem();
  if (str_diff(sender,""))

Some of my users homedirs are mounted over an unreliable network (aka WaveLAN)
that could sometimes fail. I need the qmail-local to just fail temporarily
and try the delivery later again.

Are the any side-effects with this? And how long is the timeout for the
temporary deferral?

Greetings
-- 
Robert Sander                                 www.gurubert.de




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23 May 00, at 9:52, Robert Sander wrote:

[snip]
> --- qmail-local.c.orig        Tue May 23 09:11:37 2000
> +++ qmail-local.c     Tue May 23 09:11:43 2000
> @@ -586,7 +586,7 @@
>   qmesearch(&fd,&flagforwardonly);
>   if (fd == -1)
>     if (*dash)
> -     strerr_die1x(100,"Sorry, no mailbox here by that name.
> (#5.1.1)"); +     strerr_die1x(111,"Sorry, no mailbox here by that
> name. (#5.1.1)");
> 
>   if (!stralloc_copys(&ueo,sender)) temp_nomem();
>   if (str_diff(sender,""))
> 
[snip]
> Are the any side-effects with this?

A message to a non-existent mailbox will also be held in queue 
and bounced after a long time. Not too nice, if the sender just 
misspelled the address and learns that not before a week.

> And how long is the timeout for
> the temporary deferral?

control/queuelifetime, default 604800 seconds (7 days) 

man qmail-control, man qmail-send

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOSotNFMwP8g7qbw/EQKj8QCdFWBdUNylU3D/z7HQi1HGXUKlS9EAnj7q
8n/sdEaZ4yrnEBOKOa22VW18
=AUKZ
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




At 12:00 each night, my installation of Mandrake 7.02 makes a security
check on all things.  Sometimes it automatically changes ownership of
files that it thinks are vulnerable or dangerous.  Tonight at 12:00 it
changed all my "Group Unowned Files" to "nogroup" and suddenly I get the
error 

"alert: cannot start: unable to access queue directory"

when I try to run the qmail rc file.

So I manually make the directory accessible, then try to run ./rc again
(from /var/qmail) and get this error:

"alert: cannot start: unable to open mutex"

Am I going to have to reinstall Mandrake with the lowest security setting
to keep it from meddling in my qmail settings?  What the heck is "mutex?"

james



Reply via email to