qmail Digest 2 May 1999 10:00:01 -0000 Issue 628

Topics (messages 25125 through 25142):

Cyrus Imapd anyone?
        25125 by: "Luca Olivetti" <[EMAIL PROTECTED]>

Why did I get this???
        25126 by: Paul Farber <[EMAIL PROTECTED]>
        25128 by: "Robin Bowes" <[EMAIL PROTECTED]>
        25129 by: Chris Johnson <[EMAIL PROTECTED]>

some questions to qmail and sql
        25127 by: "Fred Lindberg" <[EMAIL PROTECTED]>

Howto setup host aliases (.qmail file for [EMAIL PROTECTED])
        25130 by: "Anonymous Individual" <[EMAIL PROTECTED]>
        25132 by: "Fred Lindberg" <[EMAIL PROTECTED]>
        25135 by: "Anonymous Individual" <[EMAIL PROTECTED]>

Delivery order
        25131 by: Andy Walden <[EMAIL PROTECTED]>

Email header
        25133 by: "Jeff Lush" <[EMAIL PROTECTED]>

Delivery Order: Nevermind
        25134 by: Andy Walden <[EMAIL PROTECTED]>

First official qmail-ldap release
        25136 by: Andre Oppermann <[EMAIL PROTECTED]>

new-user template as indicated in INSTALL.Maildir
        25137 by: Martin <[EMAIL PROTECTED]>
        25140 by: Stephen Mills <[EMAIL PROTECTED]>
        25142 by: "Robin Bowes" <[EMAIL PROTECTED]>

IMRSS and rblsmtpd incompatibility, patch
        25138 by: Keith Owens <[EMAIL PROTECTED]>
        25139 by: IMRSS Data Base Administrator <[EMAIL PROTECTED]>

procmail->~/Maildir
        25141 by: John Conover <[EMAIL PROTECTED]>

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


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


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


> Works dandy if your users all have a .qmail file containing:
> 
> |preline -f /usr/local/bin/deliver scotte
> 
> (or equivalent), where 'scotte' is the local username of course.
> 

Since I didn't want to put a .qmail file in each user's directory,
I'm using this setup, instead:

- --- /var/qmail/users/assign ----
+:alias:81:12:/var/qmail/alias:-::
.

(12 is the mail group, otherwise deliver cannot deliver the message)

- --- /var/qmail/alias/.qmail-default
| ./entrega

- --- /var/qmail/alias/entrega
###############################################
# Local delivery to cyrus
#
# get what's before the first dash
#
userid="`echo "${LOCAL%%-*}" | tr "A-Z" "a-z"`"
# change dashes with dots
mailbox="`echo "$EXT2" | tr "A-Z" "a-z" | sed "s/-/./g"`"


if [ "$mailbox" = "" ]
then
# direct delivery to user's INBOX
  /usr/cyrus/bin/deliver -e -f "$SENDER" "$userid"
else
# deliver to a user folder (if it fails the message will 
# end up in INBOX anyway)
  /usr/cyrus/bin/deliver -e -f "$SENDER" -m "$mailbox" -a "$userid"
"$userid"
fi

result="$?"
# 67 is "no such mailbox"
if [ "$result" = "67" ]
then
# force a 65 so that qmail will bounce the message
  result=65
fi

exit $result

- -- 
Luca Olivetti  http://www.luca.ddns.org
Telefonica es un freno para el desarrollo del país
Telefonica is a restrain on the development of the country
- ------------------[ http://www.internautas.org ]---------------------


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.3 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE3KsxSCQPXTRx9NmQRApfFAKCzFDaS4OMLON+b1AYP488YVl/iawCgsYUw
hrNJefHpqDRpxQMKDVbb8+A=
=xqh3
-----END PGP SIGNATURE-----





Below are the headers from an email from Outlook 5.0, it ended up in my
mailbox, but I do not see why.  I am not the reciepient, nor is thier a cc
list, unless OE 5.0 is not properly sending it??

No bounced msgs should show up in my box, they are sent to
[EMAIL PROTECTED], and no aliases are set up for my box either.

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 3521 invoked from network); 1 May 1999 16:01:33 -0000
Received: from mail.f-tech.net ([EMAIL PROTECTED])
  by admin.f-tech.net with SMTP; 1 May 1999 16:01:33 -0000
Received: (qmail 24113 invoked from network); 1 May 1999 16:03:16 -0000
Received: from atlas7.f-tech.net (HELO z2v1n3) (207.44.65.21)
  by mail.f-tech.net with SMTP; 1 May 1999 16:03:16 -0000
Message-ID: <002201be93e5$b8c27c60$15412ccf@z2v1n3>
From: "Atlas7" <[EMAIL PROTECTED]>
To: "Kpb555" <[EMAIL PROTECTED]>
Subject: Fw: ATTENTION!!!  PLEASE READ!!!
Date: Sat, 1 May 1999 11:17:13 -0400
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Sent: Friday, April 30, 1999 08:12
Subject: ATTENTION!!! PLEASE READ!!!
 

Paul D. Farber II
Farber Technology
Ph. 570-628-5303
Fax 570-628-5545
[EMAIL PROTECTED]





Paul Farber wrote:
> 
> Below are the headers from an email from Outlook 5.0, it ended up in my
> mailbox, but I do not see why.  I am not the reciepient, nor is thier a cc
> list, unless OE 5.0 is not properly sending it??

Envelope-recipient?

R.

-- 
Two rules to success in life: 
  1. Don't tell people everything you know.
     -- Sassan Tat




On Sat, May 01, 1999 at 12:15:35PM -0400, Paul Farber wrote:
> Below are the headers from an email from Outlook 5.0, it ended up in my
> mailbox, but I do not see why.  I am not the reciepient, nor is thier a cc
> list, unless OE 5.0 is not properly sending it??

You got it because you were specified as an envelope recipient. The envelope
recipients have nothing to do with what recipients are shown in the header.
(Look at any message you've ever received from this list.)

> No bounced msgs should show up in my box, they are sent to
> [EMAIL PROTECTED], and no aliases are set up for my box either.

This isn't a bounce message. Look at the Return-Path. [EMAIL PROTECTED] (the
message alleges) sent this to you as a blind carbon copy.

Chris

> 
> Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 3521 invoked from network); 1 May 1999 16:01:33 -0000
> Received: from mail.f-tech.net ([EMAIL PROTECTED])
>   by admin.f-tech.net with SMTP; 1 May 1999 16:01:33 -0000
> Received: (qmail 24113 invoked from network); 1 May 1999 16:03:16 -0000
> Received: from atlas7.f-tech.net (HELO z2v1n3) (207.44.65.21)
>   by mail.f-tech.net with SMTP; 1 May 1999 16:03:16 -0000
> Message-ID: <002201be93e5$b8c27c60$15412ccf@z2v1n3>
> From: "Atlas7" <[EMAIL PROTECTED]>
> To: "Kpb555" <[EMAIL PROTECTED]>
> Subject: Fw: ATTENTION!!!  PLEASE READ!!!
> Date: Sat, 1 May 1999 11:17:13 -0400
> MIME-Version: 1.0
> Content-Type: text/plain;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 5.00.2314.1300
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
> 
>     [ The following text is in the "iso-8859-1" character set. ]
>     [ Your display is set for the "US-ASCII" character set.  ]
>     [ Some characters may be displayed incorrectly. ]
> 
> Sent: Friday, April 30, 1999 08:12
> Subject: ATTENTION!!! PLEASE READ!!!
>  
> 
> Paul D. Farber II
> Farber Technology
> Ph. 570-628-5303
> Fax 570-628-5545
> [EMAIL PROTECTED]
> 




On Fri, 30 Apr 1999 14:33:03 +0200, Heiko Romahn wrote:

>Does anybody know a sql-databaseengine which works fine with qmail? 

IMHO, MySQL (www.mysql.com) is a great alternative. It is by far the
fastest, and takes very little resources to run/program with. It's
"free" [you are encouraged to pay $200 or so for commercial use] and
support is way better than any commercial product (it's similar to
qmail support ;-) and you can buy on site support, code customization,
etc, on top of that.

If you envision an extremely large system where you need multiple db
servers and replication between them, etc, this may not be the right
choice.

There is an ezmlm-idx version that supports MySQL
(ftp://ftp.id.wustl.edu/pub/patches/ezmlm-idx-0.321.tar.gz - see the
sub_mysql/ subdir) if you want to get an idea of the C API in action.

Look also at qmail-LDAP, which may do exactly what you want
([EMAIL PROTECTED]) to join that list.


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






Is there a way to setup a host alias when the host
does not exist. For example, I am trying to setup
email aliases for people's pagers.

I would like to setup a .qmail file alias that 
contains [EMAIL PROTECTED] and have pages
send pages to [EMAIL PROTECTED]

Your help/suggestions will be gratefully appreciated.


-----== Sent via Deja News, The Discussion Network ==-----
http://www.dejanews.com/  Easy access to 50,000+ discussion forums




On Sat, 01 May 1999 09:44:45 -0700, Anonymous Individual wrote:

>Is there a way to setup a host alias when the host
>does not exist. For example, I am trying to setup
>email aliases for people's pagers.

Yes, you set up a virtual domain (with MX record) for the host . See
qmail FAQ.

>I would like to setup a .qmail file alias that 
>contains [EMAIL PROTECTED] and have pages
>send pages to [EMAIL PROTECTED]

I'm not sure I understand. If you want to forward the message, put
"&[EMAIL PROTECTED]" into ~/.qmail-888999222 (where "~" is the
owner of the virtual domain).


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






Thanks for responding. You were on the right track
except it is the opposite of what I am looking
for (Sorry if I was not very clear with my question).

I want a mechanism to say [EMAIL PROTECTED]
(I dont want people to memorize pager numbers. It is easier to remember 
[EMAIL PROTECTED] "pager"
is a fictitious/pseudo host).

So I am looking for a .qmail file that would 
contain the  &[EMAIL PROTECTED] entry).

On Sat, 01 May 1999 09:44:45 -0700, Anonymous Individual wrote:

>Is there a way to setup a host alias when the host
>does not exist. For example, I am trying to setup
>email aliases for people's pagers.

Yes, you set up a virtual domain (with MX record) for the host . See
qmail FAQ.

>I would like to setup a .qmail file alias that 
>contains [EMAIL PROTECTED] and have pages
>send pages to [EMAIL PROTECTED]

I'm not sure I understand. If you want to forward the message, put
"&[EMAIL PROTECTED]" into ~/.qmail-888999222 (where "~" is the
owner of the virtual domain).


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)


-----== Sent via Deja News, The Discussion Network ==-----
http://www.dejanews.com/  Easy access to 50,000+ discussion forums





I was having an issue with aliases and that they weren't being consulted
before a local user when a virtualdomain was involved. So I found this in
the list archives:

------------------------------------------------------------------------
You might make the domain a virtual domain instead of a local domain. In
control/virtualdomains, put:

yourdomain.com:alias-yourdomain

In ~alias/.qmail-yourdomain-default, put:

| fastforward -d -p /etc/aliases.cdb
| forward "$DEFAULT"

fastforward will get first whack at delivery. The -p causes fastforward to
exit 0 if delivery fails, causing delivery to be handled by the next line,
which forwards the mail to the local user $DEFAULT.
------------------------------------------------------------------------
I'm not quite sure what the local user $DEFAULT is, but if there isn't an
alias explicitly setup for a user, I need it to deliver to the local user
that matches. I also just setup a .qmail-alias-aliases that has the above
in it and I forward all my virtual domains when they need specific aliases
to it. I hope this is ok. Thanks 


andy


--
-----------------------------------------------------------------------
Andy Walden                        Work Email: [EMAIL PROTECTED]
Network Administrator,             Pers Email: [EMAIL PROTECTED]
MTCO Communications                Phone: (800) 859-6826
  " Reality is just Chaos with better lighting. "







Greetings,

I have been successfully using qmail for 2 weeks thanks to the great people
and their advice on this list. My latest crusade is to change the line in my
email headers that currently state that "qmail was invoked by uid ###" to
"qmail was invoked by network". I have checked the FAQs but have not turned
this up.

Any suggestions would be appreciated.

Thanks,

Jeff Lush






Lets just say I'm a typographical moron. Thanks.



--
-----------------------------------------------------------------------
Andy Walden                        Work Email: [EMAIL PROTECTED]
Network Administrator,             Pers Email: [EMAIL PROTECTED]
MTCO Communications                Phone: (800) 859-6826
  " Reality is just Chaos with better lighting. "







Hello LDAP fans

Here it is: qmail-ldap-1.03-19990501! Available for download from
 http://www.nrg4u.com (just below the big qmail picture).

What is is:

 A patch to stock qmail-1.03 to get all user account information
 from an LDAP database. It primary target are POP toaster with
 huge numbers of users (from thousands up to millions).

Some of it's greatest features:

 - Supports size quotas on user maildirs and mbox
 - Handles replies with new qmail-reply
 - Supports tarpitting (based on a patch by Chris Johnson)
 - Supports OpenLDAP 1.2 and Mozilla Directory SDK
 - Includes Antispam-Features (based on a patch by Lindsay Haisley,
   Rask Lambertsen and Lionel Widdifield)
 - Supports automatic maildir creation when the first mail arrives
 - Support for SHA, MD5, MD4, RIPE-MD160 and clear text passwords
 - Support for NS-MTA-MD5 encrypted passwords used by Netscape Mail
server
   up to version 2.xx (and later if you simply upgraded).
 - It also supports the password format used by Software.com's
   Post.Office
 - Fix for qmail-pop3d to make Netscape's mail download status bar
   working (based on a patch by [EMAIL PROTECTED])
 - Fix for oversized DNS packets (based on a patch by Christopher
   K. Davis)

What's still to do:

 - a lot
 - Support for native server clustering

A mailing list for the discussion of qmail-ldap is available. Send
mail to [EMAIL PROTECTED]

Have fun!
-- 
Andre




Hello.

It says that the system administrator can set up Maildir as the deafault for
everybody by creating a maildir in the new-user template.

Can I have a file/path for this as I can't find it.

RedHat 5.2

Martin


-- 


                                \\\\\//                                    
       \\|//       _\\|//_      |     |      _\\|//_       \\|//           
       (@ @)      (' 0-0 ')     (.) (.)     (' @-@ ')      (o-o)           
+-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+





be root.
mkdir /etc/skel/Maildir
mkdir /etc/skel/Maildir/new
mkdir /etc/skel/Maildir/cur
mkdir /etc/skel/Maildir/tmp

--Steve

On Sat, 1 May 1999, Martin wrote:

> Hello.
> It says that the system administrator can set up Maildir as the deafault for
> everybody by creating a maildir in the new-user template.
> Can I have a file/path for this as I can't find it.
> RedHat 5.2
> Martin





Stephen Mills wrote:
> 
> be root.
> mkdir /etc/skel/Maildir
> mkdir /etc/skel/Maildir/new
> mkdir /etc/skel/Maildir/cur
> mkdir /etc/skel/Maildir/tmp
> 

Or even:

$ maildirmake /etc/skel/Maildir

R.
-- 
Two rules to success in life: 
  1. Don't tell people everything you know.
     -- Sassan Tat




rblsmtpd does not recognise responses from mr-out.imrss.org.  rblsmtpd
expects a TXT response, mr-out returns CNAME.  Trivial patch against
rblsmtpd-0.70-2.src.rpm.

--- txt.c.orig  Wed Aug 26 01:58:22 1998
+++ txt.c       Sun May  2 09:54:15 1999
@@ -73,7 +73,7 @@
     pos += i;
 
     if (end - pos < 11) return -1;
-    if (getshort(pos) == T_TXT) {
+    if (getshort(pos) == T_TXT || getshort(pos) == T_CNAME) {
       i = (unsigned long) pos[10];
       if (pos + 11 + i > end) return -1;
       if (!stralloc_copyb(sa,pos + 11,i)) return -1;






In message <[EMAIL PROTECTED]>, you wrote:

>rblsmtpd does not recognise responses from mr-out.imrss.org.  rblsmtpd
>expects a TXT response, mr-out returns CNAME.

That is correct.  I suspect that the ORBS list does this also.

>Trivial patch against rblsmtpd-0.70-2.src.rpm.
>
>--- txt.c.orig Wed Aug 26 01:58:22 1998
>+++ txt.c      Sun May  2 09:54:15 1999
>@@ -73,7 +73,7 @@
>     pos += i;
> 
>     if (end - pos < 11) return -1;
>-    if (getshort(pos) == T_TXT) {
>+    if (getshort(pos) == T_TXT || getshort(pos) == T_CNAME) {
>       i = (unsigned long) pos[10];
>       if (pos + 11 + i > end) return -1;
>       if (!stralloc_copyb(sa,pos + 11,i)) return -1;


Thank you!

IMRSS Administrator




Is there a way of executing procmail do ~/.procmailrc, and if email is
not rejected for a user, it is delivered into a ~/Maildir?

        Thanks,

        John

BTW, eg., use my standard spam filter for users that want it, but want
to fetch mail via POP3 in a Maildir.

-- 

John Conover, 631 Lamont Ct., Campbell, CA., 95008, USA.
VOX 408.370.2688, FAX 408.379.9602, whois '!JC154'
[EMAIL PROTECTED], http://www2.inow.com/~conover/john.html



Reply via email to