Re: Someone else brought it up, and i noticed mine wasnt working :)

2000-04-19 Thread Dave Sill

>The trailing slash means maildir-format. Try:
>
> ./Mailbox
>
>if you want to use an mbox called Mailbox, or
>
> ./Maildir

That should be:

 ./Maildir/

of course.

-Dave



Re: Someone else brought it up, and i noticed mine wasnt working :)

2000-04-19 Thread Dave Sill

John Gonzalez/netMDC admin <[EMAIL PROTECTED]> wrote:

>:/var/qmail/alias$ cat .qmail*
>./Mailbox/
>./Mailbox/
>./Mailbox/

The trailing slash means maildir-format. Try:

 ./Mailbox

if you want to use an mbox called Mailbox, or

 ./Maildir

if you want to use a maildir called Maildir.

-Dave



Re: Someone else brought it up, and i noticed mine wasnt working :)

2000-04-18 Thread Anthony White

Hey guys,

I worked it out, very simple...

Log in as root.

Create the following: (where '~/' is your qmail directory, usually /var/qmail)

'~/alias/Maildir'
'~/alias/Maildir/cur'
'~/alias/Maildir/new'
'~/alias/Maildir/tmp'

'chown -R alias /var/qmail/alias/Maildir'
'chgrp -R qmail /var/qmail/alias/Maildir'
'chmod -R 700 /var/qmail/alias/Maildir'

Now the mail directory and its sub directories are all owned
by 'alias'.

The group ownership is set to 'qmail'.  Maybe this does not matter
as the permissions are set to allow access for owner use only.

Also make sure that the '.qmail-xyz' files are owned by 'alias'
and the group ownership is 'qmail' for the ones you set up.
(Do not change the ones that the install created from the '/etc/alias'
file)

Now you can set up the content of the '.qmail-xyz' file.  In my example
the file is '.qmail-test'.  The file should contain "./Maildir/" (Without
the quotes) and nothing else.
If you want '.qmail-test' to redirect to a user then change the content to
"&[EMAIL PROTECTED]" (Or just "&user_name" if local) again without
the quotes.

I have just tested it out and it works fine.  I think that my main problem
was using 'maildirmake' to create a '/Maildir' which created it under
the '/root' directory.

Qmail will not deliver to the 'root' account.  Copying '/Maildir' to
'~/alias/Maildir also failed to allow the mail to be put into
the '~/alias/Maildir/new' due to the ownership being root.

Lastly the '.qmail-test' was also owned by 'root' which I think also
stops delivery to the '/Maildir' under '~/alias'

Sending mail to '[EMAIL PROTECTED]' now puts the mail in the
'~/alias/Maildir' directory.

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

On an other note:

Does anyone know how to set up qmail pop to get the mail from
the '~/alias/Maildir' "account".  I would like to be able to
check this "account" as if it is a 'normal' account, (With Netscape)
without having an account set up on the Linux box.
What about a password for access?

Best regards
Anthony

--

Movielink Pty LtdE-Mail technical: [EMAIL PROTECTED]
8-10 River StreetE-Mail Sales: [EMAIL PROTECTED]
Richmond, Victoria 3121  Ph  : +(61) 3 9428 8088
AustraliaFAX : +(61) 3 9429 5918






Re: Someone else brought it up, and i noticed mine wasnt working :)

2000-04-18 Thread Anthony White



John Gonzalez/netMDC admin wrote:

> My local deliver to postmaster/root/mailer-daemon isnt working either, now
> that i check it..

For easy checking you can create a test name that
is not used on your system

I have set up '.qmail-test' and put "&sys_admin_name"
in the file to re-direct messages.  I gues you can
'play' with this for test purposes, I will now...

> :/var/qmail/alias$ ls -lr Maildir
> total 3
> drwx--S---   2 root qmail1024 Apr 18 19:17 tmp/
> drwx--S---   2 root qmail1024 Apr 18 19:17 new/
> drwx--S---   2 root qmail1024 Apr 18 19:17 cur/
>
> [ekool@nivenh][date:Tue Apr 18][time:19:31:15]
> :/var/qmail/alias$ cat .qmail*
> ./Mailbox/
> ./Mailbox/
> ./Mailbox/
>
> And from the log files...
>
> Apr 18 19:33:27 nivenh qmail: 956108007.758396 starting delivery 1140003:
> msg 225318 to local [EMAIL PROTECTED]
> Apr 18 19:33:27 nivenh qmail: 956108007.819392 delivery 1140003: deferral:
> Unable_to_chdir_to_maildir._(#4.2.1)/
>
> I must have the permissions wrong on the Maildir, but i've changed them.
> I've also changed the contents of the alias files to reflect ./Maildir
> instead of ./Mailbox to no avail.

--

Movielink Pty LtdE-Mail technical: [EMAIL PROTECTED]
8-10 River StreetE-Mail Sales: [EMAIL PROTECTED]
Richmond, Victoria 3121  Ph  : +(61) 3 9428 8088
AustraliaFAX : +(61) 3 9429 5918






Someone else brought it up, and i noticed mine wasnt working :)

2000-04-18 Thread John Gonzalez/netMDC admin

My local deliver to postmaster/root/mailer-daemon isnt working either, now
that i check it..

Here's the info. This machine is running vmailmgrd and is working
perfectly. Neither mail delivered to postmaster@ the local machine name,
or at the virtual domain are being delivered.

:/var/qmail/alias$ ls -la
total 6
drwxr-sr-x   3 aliasqmail1024 Apr 18 19:17 ./
drwxr-xr-x  10 root qmail1024 Jan  1  1997 ../
-rw-r--r--   1 root qmail  11 Apr 18 19:26
.qmail-mailer-daemon
-rw-r--r--   1 root qmail  11 Apr 18 19:26 .qmail-postmaster
-rw-r--r--   1 root qmail  11 Apr 18 19:26 .qmail-root
-rw---   1 root qmail   0 Jun 24  1999 Mailbox
drwxr-xr-x   5 root qmail1024 Apr 18 19:17 Maildir/

:/var/qmail/alias$ ls -lr Maildir
total 3
drwx--S---   2 root qmail1024 Apr 18 19:17 tmp/
drwx--S---   2 root qmail1024 Apr 18 19:17 new/
drwx--S---   2 root qmail1024 Apr 18 19:17 cur/

[ekool@nivenh][date:Tue Apr 18][time:19:31:15]
:/var/qmail/alias$ cat .qmail*
./Mailbox/
./Mailbox/
./Mailbox/

And from the log files...

Apr 18 19:33:27 nivenh qmail: 956108007.758396 starting delivery 1140003:
msg 225318 to local [EMAIL PROTECTED]
Apr 18 19:33:27 nivenh qmail: 956108007.819392 delivery 1140003: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/

I must have the permissions wrong on the Maildir, but i've changed them.
I've also changed the contents of the alias files to reflect ./Maildir
instead of ./Mailbox to no avail.


  ___   _  __   _  
__  /___ ___    /__  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[-[system info]---]
  7:30pm  up 85 days,  2:27,  3 users,  load average: 0.14, 0.16, 0.16