qmail Digest 4 May 1999 10:00:01 -0000 Issue 630

Topics (messages 25152 through 25179):

procmail->~/Maildir
        25152 by: [EMAIL PROTECTED]

Aliases and vchkpw
        25153 by: Stefan Osterman <[EMAIL PROTECTED]>

need help - the client cannot download mail
        25154 by: Anand Buddhdev <[EMAIL PROTECTED]>

Email header
        25155 by: Dave Sill <[EMAIL PROTECTED]>

Virtual domain redirect for one user...?
        25156 by: Doug McClure <[EMAIL PROTECTED]>
        25157 by: Dave Sill <[EMAIL PROTECTED]>

unsubscribe from mailinglist
        25158 by: Rainer Krogull <[EMAIL PROTECTED]>

new-user template as indicated in INSTALL.Maildir
        25159 by: Martin <[EMAIL PROTECTED]>
        25161 by: "Matt Buford" <[EMAIL PROTECTED]>
        25162 by: Martin <[EMAIL PROTECTED]>
        25163 by: "Julian L.C. Brown" <[EMAIL PROTECTED]>
        25164 by: Joel Griffiths <[EMAIL PROTECTED]>
        25166 by: Martin <[EMAIL PROTECTED]>
        25168 by: Dave Sill <[EMAIL PROTECTED]>

Envelope filters
        25160 by: [EMAIL PROTECTED]

forwarding of e-mail
        25165 by: Sean Brown <[EMAIL PROTECTED]>
        25167 by: "Julian L.C. Brown" <[EMAIL PROTECTED]>

qmail start problem
        25169 by: Samuel Dries-Daffner <[EMAIL PROTECTED]>
        25170 by: Dave Sill <[EMAIL PROTECTED]>
        25173 by: Richard Letts <[EMAIL PROTECTED]>

Change the default inbox
        25171 by: S P Arif Sahari Wibowo <[EMAIL PROTECTED]>
        25178 by: Anand Buddhdev <[EMAIL PROTECTED]>

rblsmtpd error redirection?
        25172 by: "Barton" <[EMAIL PROTECTED]>
        25174 by: Chris Johnson <[EMAIL PROTECTED]>

Can't send: not in rcpthost; Maildir
        25175 by: Stephane Morand <[EMAIL PROTECTED]>
        25176 by: Chris Johnson <[EMAIL PROTECTED]>

Next version of qmail?
        25177 by: John Conover <[EMAIL PROTECTED]>
        25179 by: Anand Buddhdev <[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]


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


John Conover <[EMAIL PROTECTED]> writes:

> Is there a way of executing procmail do ~/.procmailrc, and if email
> is not rejected for a user, it is delivered into a ~/Maildir?
> 
> BTW, eg., use my standard spam filter for users that want it, but
> want to fetch mail via POP3 in a Maildir.

If I understand you correctly, you want mail to be pumped through
procmail--and to be delivered to a maildir if it falls through all of
your procmail filters.

The qmail way to do that is to put something like this in your
.qmail-ext file:

   |preline procmail
   ./Maildir/

To make this work, your "rejecting" recipes must return exit code 99,
telling qmail to ignore the next instruction(s). Be aware that
procmail itself has a default delivery instruction, for mails that
"fall through", and you don't want to trigger it. A recipe like this,
as your last recipe, should do the trick:

   :0
   /dev/null

On the other hand, there is an easier way (YMMV). You can use the
patched procmail which can do maildir deliveries, and make your last
recipe a maildir delivery--or set $DEFAULT appropriately in the rc
file.

If you'd rather not use a patched procmail (my preference), there is a
program which does maildir delivery of messages posted on stdin--just
what you need. It's called "safecat", and it's available at the URL:
<http://www.pobox.com/~lbudney/linux/software/safecat.html>

To use it, make your last recipe the following:

   :0w
   |safecat $HOME/Maildir/tmp $HOME/Maildir/new

Used in this way, procmail+safecat should be as safe as qmail's own
maildir delivery.

Len.

-- 
45. Being to advise or reprehend any one, consider whether it ought to
be in publick or in Private; presently, or at Some other time in what
terms to do it & in reproving Shew no Sign of Cholar but do it with all
Sweetness and Mildness.
  -- George Washington, "Rules of Civility & Decent Behaviour"




How do I setup aliases with vchkpw? Can I use the fastforward package?

Thanks

//Stefan
---------------------------------------------------------------------
Stefan �sterman
Merkantildata Kommunikation AB
Box 20161
161 02 Bromma
 
Telefon                 + 46 8 5662 3087
Fax                     + 46 8 5662 3001
Mobil                   0708-35 30 87
Internet                http://www.merkantildata.se
E-post                  mailto:[EMAIL PROTECTED] 

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





On Mon, May 03, 1999 at 04:46:39PM +0700, Sobari Tanuwijaya wrote:

This isn't stricly a qmail problem, unless you happen to be using
qmail-pop3d. If you're running qmail-pop3d, it would help if you gave us
the full command line for starting the POP server. Also, have you verified
that the password the client is using is correct? If so, how did you verify
it? Basically, you need to do some homework before posting your question,
or nobody will be able to help you.

> Hello,
> I just installed the qmail here.
> everything is fine, except the user(s) in the system cannot 
> download their mail from the server ( which use qmail ).
> Everytime the user try to download the mail it prompt
> that the password is not correct, eventhough the user already give 
> the right password.
> anybody can help me how to correct this problem ?
> the user use pegasus mail as his mail client.
> Thanks in advance

-- 
System Administrator
See complete headers for address, homepage and phone numbers




"Jeff Lush" <[EMAIL PROTECTED]> wrote:
>
>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.

To do that, you need a mail user agent (MUA) that injects mail via
SMTP, rather than invoking a program such as /usr/lib/sendmail.

-Dave




Basically, what I am trying to do is to have normal delivery (i.e,,
[EMAIL PROTECTED], the virtual domain, would get delivered to
[EMAIL PROTECTED], our primary domain, for all users) excepting specific
individuals whom [EMAIL PROTECTED] must get forwarded to [EMAIL PROTECTED]
because there already is someone with that username on our primary domain.

In sendmail, it was a virtusertable

[EMAIL PROTECTED]        [EMAIL PROTECTED]

LHS original, RHS, final. But from the docs on Qmail it looks as if I put

domain1.com:domain1com

In virtualdomains

and make ~alias/.qmail-domain1com-user

&[EMAIL PROTECTED]

Then I have to figure out what to do with the *rest* of the users at
domain1.com, and if I create ~alias/.qmail-domain1com it may even screw up
delivery for this one. Or am I way off base here?

-doug




Doug McClure <[EMAIL PROTECTED]> wrote:
>Basically, what I am trying to do is to have normal delivery (i.e,,
>[EMAIL PROTECTED], the virtual domain, would get delivered to
>[EMAIL PROTECTED], our primary domain, for all users) excepting specific
>individuals whom [EMAIL PROTECTED] must get forwarded to [EMAIL PROTECTED]
>because there already is someone with that username on our primary domain.
>
>... But from the docs on Qmail it looks as if I put
>
>domain1.com:domain1com
>
>In virtualdomains
>
>and make ~alias/.qmail-domain1com-user
>
>&[EMAIL PROTECTED]
>
>Then I have to figure out what to do with the *rest* of the users at
>domain1.com, and if I create ~alias/.qmail-domain1com it may even screw up
>delivery for this one. Or am I way off base here?

You can handle the rest of the domain1.com users by creating a
~alias/.qmail-domain1com-default. E.g., to forward them elsewhere:

    |/var/qmail/bin/forward "$LOCAL"@domain2.com

-Dave





Rainer Krogull

Lehrstuhl f�r Informatik IV             RWTH Aachen
Tel.:    0049 (0)241 80-21405           Fax. +49 - 0241 - 8888 220

Email:  [EMAIL PROTECTED]




Robin Bowes wrote:
> 
> 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
> 

O.K - did all that.

created a new user  test

and the Maildir plus sub-folders appeared

Problem is, when I test, it keeps creating a Mailbox and doesn't deliver to
Maildir  :(

I'm getting there though, mail goes out and comes in O.k. into the right users
home, just not into Maildir.

Fetchmail works as well, haven't figured out how to do multi-pop's but I'll hop
onto the fetchmail mailing list for that.

Thanks for everyone that answered. making up my own 'simple' doc/howto.

Regards...Martin

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

-- 


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





Which one did you do?  If you just did the mkdir commands, then thats not
correct.  If you did the maildirmake command you should be fine.

If you did the mkdir commands, create a file called .qmail which contains
"./Maildir/" without the quotes.  This is all done automatically I believe
if you use maildirmake.

----- Original Message -----
From: Martin <[EMAIL PROTECTED]>
To: qmail List <[EMAIL PROTECTED]>
Sent: Monday, May 03, 1999 10:39 AM
Subject: Re: new-user template as indicated in INSTALL.Maildir


> Robin Bowes wrote:
> >
> > 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
> >
>
> O.K - did all that.
>
> created a new user  test
>
> and the Maildir plus sub-folders appeared
>
> Problem is, when I test, it keeps creating a Mailbox and doesn't deliver
to
> Maildir  :(
>
> I'm getting there though, mail goes out and comes in O.k. into the right
users
> home, just not into Maildir.
>
> Fetchmail works as well, haven't figured out how to do multi-pop's but
I'll hop
> onto the fetchmail mailing list for that.
>
> Thanks for everyone that answered. making up my own 'simple' doc/howto.
>
> Regards...Martin
>
> > R.
> > --
> > Two rules to success in life:
> >   1. Don't tell people everything you know.
> >      -- Sassan Tat
>
> --
>
>
>                                 \\\\\//
>        \\|//       _\\|//_      |     |      _\\|//_       \\|//
>        (@ @)      (' 0-0 ')     (.) (.)     (' @-@ ')      (o-o)
> +-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+
>





Matt Buford wrote:
> 
> Which one did you do?  

Opp's...the malidirmakqe

If you just did the mkdir commands, then thats not
> correct.  If you did the maildirmake command you should be fine.
> 

> > >
> > > $ maildirmake /etc/skel/Maildir
> > >
> >
> > O.K - did all that.
> >
> > created a new user  test
> >
> > and the Maildir plus sub-folders appeared
> >
> > Problem is, when I test, it keeps creating a Mailbox and doesn't deliver
> to
> > Maildir  :(
> >
> > I'm getting there though, mail goes out and comes in O.k. into the right
> users
> > home, just not into Maildir.
> >
> > Fetchmail works as well, haven't figured out how to do multi-pop's but
> I'll hop
> > onto the fetchmail mailing list for that.
> >
> > Thanks for everyone that answered. making up my own 'simple' doc/howto.
> >
> > Regards...Martin






>Which one did you do?  If you just did the mkdir commands, then thats not
>correct.  If you did the maildirmake command you should be fine.
>
>If you did the mkdir commands, create a file called .qmail which contains
>"./Maildir/" without the quotes.  This is all done automatically I believe
>if you use maildirmake.

No, Maildirmake does not make the .qmail file.  He must make the qmail file
on his own.

Regards,

Julian L.C. Brown
Interware.Net Inc.
mailto:[EMAIL PROTECTED]
http://www.interware.net






On Mon, 03 May 1999, Martin wrote:
Did you change your user's ~/.qmail file

echo ./Maildir/ > ~/.qmail

> Robin Bowes wrote:
> > 
> > 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
> > 
> 
> O.K - did all that.
> 
> created a new user  test
> 
> and the Maildir plus sub-folders appeared
> 
> Problem is, when I test, it keeps creating a Mailbox and doesn't deliver to
> Maildir  :(
> 
> I'm getting there though, mail goes out and comes in O.k. into the right users
> home, just not into Maildir.
> 
> Fetchmail works as well, haven't figured out how to do multi-pop's but I'll hop
> onto the fetchmail mailing list for that.
> 
> Thanks for everyone that answered. making up my own 'simple' doc/howto.
> 
> Regards...Martin
> 
> > R.
> > --
> > Two rules to success in life:
> >   1. Don't tell people everything you know.
> >      -- Sassan Tat
> 
> -- 
> 
> 
>                                 \\\\\//                                    
>        \\|//       _\\|//_      |     |      _\\|//_       \\|//           
>        (@ @)      (' 0-0 ')     (.) (.)     (' @-@ ')      (o-o)           
> +-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+




Joel Griffiths wrote:
> 
> On Mon, 03 May 1999, Martin wrote:
> Did you change your user's ~/.qmail file
> 
> echo ./Maildir/ > ~/.qmail
> 

Still creating a   'Mailbox'   even after I deleted it when test mail arrives.

Must have missed something in the config...but what ?

Any more clues ??/

Regards...martin

-- 


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





Martin <[EMAIL PROTECTED]> wrote:
>Joel Griffiths wrote:
>> 
>> Did you change your user's ~/.qmail file
>> 
>> echo ./Maildir/ > ~/.qmail
>
>Still creating a   'Mailbox'   even after I deleted it when test mail arrives.
>
>Must have missed something in the config...but what ?

Beats me. Do "ls -l ~/.qmail; cat ~/.qmail".

>Any more clues ??/

It's better to change "aliasempty" in the qmail-start invocation from
./Mailbox to ./Maildir/ than to require every user to have a ~/.qmail
file.

-Dave




Hi qmailers,

I come back with qmail filters.

I'm looking for a single patch or a clear method for filtering smtp 
connections (in qmail-smtpd?) depending on the envelope (both sender 
and receiver) and the remote IP address (or any environment variable 
established by tcpd). It also would be useful to filter by the data.

I read about Sam Varshavchik's SMTP antispam filter patch but it 
doesn't pass envelope's receiver and uses maildrop as filter. Why 
doesn't use a general scripting language as Perl?

I found some old posts in mailing list about a wrapper for qmail-queue 
but there isn't any patch.

Thanks in advance for your help, 

        David Jorrin.


= = =

David Jorrin <[EMAIL PROTECTED]>>

----------------------------------------------------------------
Get your free email from AltaVista at http://altavista.iname.com




Hello qmailers,

Here's the setup:

Right now I have qmail set up on a machine called "mail1".  Since I want
to offload mail serving to a different machine, I went ahead and got
qmail set up on the new machine called "mail2".  I've got all the user
accounts set up and everything is tested and working well on mail2.

Now then, when I change the MX record for our domain so that everything
is forwarded to mail2 instead of mail1, I am sure that there will be
some mail sent to mail1 for a couple of days until the dns update
propagates.  How can I set up mail1 so that everything is forwarded to
mail2 so that my users don't have to check two mail servers? 

Thanks,

Sean

-- 

Sean Brown
Ethos Interactive, Inc.
http://www.ethos-interactive.com
mailto: [EMAIL PROTECTED]




>Now then, when I change the MX record for our domain so that everything
>is forwarded to mail2 instead of mail1, I am sure that there will be
>some mail sent to mail1 for a couple of days until the dns update
>propagates.  How can I set up mail1 so that everything is forwarded to
>mail2 so that my users don't have to check two mail servers? 

Sean, 

There is no need to do this.  You do not have to wait for DNS to propogate
through the internet, just make your best-preference MX a lower number than
your current one.  Most people have MX 10 for the primary mail server.
Make it MX 5.    Then, go edit your qmail/control/smtproutes file and add
the domain you wish to catch mail for.  Qmail will not deliver locally if
the name exists in smtproutes, instead if will wait for the best preference
MX to return to life and forward all mail to it.




Regards,

Julian L.C. Brown
Interware.Net Inc.
mailto:[EMAIL PROTECTED]
http://www.interware.net







Having a problem with getting qmail started after a system upgrade...(from
Solaris 2.5.1 to 2.6). This is what I had in my startup script (which used
to work fine!):

 nice -20 env - PATH="/var/qmail/bin:$PATH" qmail-start ./Mailbox splogger
qmail &

====

I added the following line to inetd.conf and HUP'd the daemon.

smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env  tcp-env
/var/qmail/bin/qmail-smtpd


Here's what I get in /var/adm/messages:

May  3 12:12:42 control qmail: 925758762.778242 alert: cannot start:
unable to open mutex

This machine is not a heavy user oriented mail server...our main mail
server has tcpserver installed, but this one doesn't.

Any help appreciated;

Samuel Daffner
Mills College ITS
Oakland, CA





Samuel Dries-Daffner <[EMAIL PROTECTED]> wrote:
>
>May  3 12:12:42 control qmail: 925758762.778242 alert: cannot start:
>unable to open mutex

Do "make check" from the qmail source directory.

-Dave




On Mon, 3 May 1999, Samuel Dries-Daffner wrote:

> 
> Having a problem with getting qmail started after a system upgrade...(from
> Solaris 2.5.1 to 2.6). This is what I had in my startup script (which used
> to work fine!):
> 
>  nice -20 env - PATH="/var/qmail/bin:$PATH" qmail-start ./Mailbox splogger
> qmail &

the nice command is fairly pointless -- qmail bottlenecks on disk i/o on
any machine with enough memory. if it doesn't have enough memory it'll
probably not make much difference, and adding the memory will help more.





Hi!

Is it possible to have the default inbox not $HOME/Mailbox, but different
file, say $HOME/.INBOX?

This is for default (system-wide) setting, not user per user setting
(which should be done with .qmail file).

Thanks.

                                   S P Arif Sahari Wibowo
  _____  _____  _____  _____ 
 /____  /____/ /____/ /____         [EMAIL PROTECTED]
_____/ /      /    / _____/          http://spas.8m.com/





On Mon, May 03, 1999 at 03:46:07PM -0500, S P Arif Sahari Wibowo wrote:

Change your qmail-start invocation and set aliasempty to ./.INBOX, like
this:

exec env - PATH="/usr/local/qmail/bin:$PATH" \
qmail-start ./.INBOX splogger qmail

> Hi!
> 
> Is it possible to have the default inbox not $HOME/Mailbox, but different
> file, say $HOME/.INBOX?
> 
> This is for default (system-wide) setting, not user per user setting
> (which should be done with .qmail file).

-- 
System Administrator
See complete headers for address, homepage and phone numbers




Hi, 
I am running  rblsmtpd under tcpserver, and I 
would like the error messages to be saved to 
a log file instead of being directed to stderr.

Is there a way that I can do this?

Thanks.

barton




On Mon, May 03, 1999 at 05:12:28PM -0500, Barton wrote:
> Hi, 
> I am running  rblsmtpd under tcpserver, and I 
> would like the error messages to be saved to 
> a log file instead of being directed to stderr.
> 
> Is there a way that I can do this?

Pipe the output to splogger or cyclog (which comes with the daemontools
package).

Chris





Hi -

I have a error when I try to send an email with netscape: The domain isn't in
my list of allowed rcpthosts.

It appears only if I send an email to an external address. (If I send an email
to my local address which is also the qmail server address, it works!) 
I have no problems if I use pine.

 I read the FAQ, the mailing list archive, and impossible to find anything that
help me.

I have also an empty hosts.allow and hosts.deny files.
I also tried to put something in my rcpthosts file:

#my address -> qmail
x.y.z.w:allow
127.0.0.1:allow

No success. 
What is THE PROBLEM ?? 
I specified in the outgoing mail (SMTP) server (in netscape) the right address.
Also, I don't know if there is any link, but I am using a pop3 server, using as
specified in the FAQ:
     tcpserver 0 110 /var/qmail/bin/qmail-popup my.server.edu \
     /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &


If someone can help that would be great! I spent to many time on this problem.

I have also an other question:
I'm using the maildir box format. Obvioulsy, I can't use Maildir with pine.
What to do? 
Any URLs or informations about this are welcome!


ThankS!

Steph



===

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





On Mon, May 03, 1999 at 03:58:36PM -0700, Stephane Morand wrote:
> 
> Hi -
> 
> I have a error when I try to send an email with netscape: The domain isn't in
> my list of allowed rcpthosts.
> 
> It appears only if I send an email to an external address. (If I send an email
> to my local address which is also the qmail server address, it works!) 
> I have no problems if I use pine.
> 
>  I read the FAQ, the mailing list archive, and impossible to find anything that
> help me.

You didn't read FAQ 5.4.

> I have also an empty hosts.allow and hosts.deny files.
> I also tried to put something in my rcpthosts file:
> 
> #my address -> qmail
> x.y.z.w:allow
> 127.0.0.1:allow
> 
> No success. 
> What is THE PROBLEM ?? 

You haven't read the documentation. If you had, you wouldn't be putting stuff
like the above in your rcpthosts file.

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

Chris




Is there a planned target date for the next release of qmail?

        Thanks,

        John
        
-- 

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





On Tue, May 04, 1999 at 06:51:33AM -0000, John Conover wrote:

No. You'll see it when Dan decides to release it, and he won't give us any
schedules.

> Is there a planned target date for the next release of qmail?
> 
>       Thanks,
> 
>       John

-- 
System Administrator
See complete headers for address, homepage and phone numbers


Reply via email to