Re: qmail revisited

2004-03-03 Thread Peter Schuller
> Mar  3 09:30:34 patriot qmail: 1078327834.990817 delivery 600: deferral:
> Unable_
> to_chdir_to_maildir._(#4.2.1)/

It can't access the maildir. Off the top of my head, check at least:

* Is the entry in the .mail file correct? Don't forget the extra dot if you 
have opted for a name beginning with a dot - it's easy to type "./Maildir/" 
instead of "./.Maildir/" by accident.

* Does the maildir itself have the correct permissions? When creating maildirs 
with maildirmake, make sure to run it as the user who is to own the mailbox 
(and not as root for example). qmail delivers mail as the user who owns the 
mailbox, so it has to be able to access it. *AND*, permissions may not be too 
wide wither, or qmail will refuse to deliver mail for security reasons (this 
is true for at least the .qmail files; not sure about the maildir).

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: qmail revisited

2004-03-03 Thread Rob McQuillen
On Wednesday 03 March 2004 09:41 am, Brian H wrote:
> sorry for bringing up qmail again.

It's OT on freebsd-questions, so I'm replying privately...

> I am able to get my mail sent to my user account henninb, but i can't
> get mail for root or postmaaster.

Have you read www.lifewithqmail.org?

> I am trying to use qmail with the Maildir protocol.

Maildir is not a protocol, but a different mail storage format (others 
are mbox and /var/spool/mail).

> I read in the documentation that no mail can be sent to the root
> account, but I thought it said you could have it sent there if you
> like. On thing i noticed on my user account is that my ~/.qmail and
> ~alias/qmail-henninb
> file don't do anything either because when I remove them the mail
> still gets delivered to
> my Maildir.

You can *send* mail to root, but it won't be delivered unless you 
arrange for an unprivileged user to pick it up. See below.

> how can i get my ~/.qmail or ~alias/qmail-root file working for root
> and postmaster?

$ echo henninb > /var/qmail/alias/.qmail-root
$ echo henninb > /var/qmail/alias/.qmail-postmaster

should suffice for you. You can safely remove henninb's $HOME/.qmail 
file- if it doesn't exist, mail is delivered to your Maildir (or 
whatever argument to qmail-start is in your startup scripts).

hth,
RTM
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


qmail revisited

2004-03-03 Thread Brian H
Greeting:

sorry for bringing up qmail again.
I am able to get my mail sent to my user account henninb, but i can't get 
mail for root or postmaaster.
I am trying to use qmail with the Maildir protocol.

here is what i get in my log file.

Mar  3 09:30:34 patriot qmail: 1078327834.967178 starting delivery 600: msg 
1784
to local [EMAIL PROTECTED]
Mar  3 09:30:34 patriot qmail: 1078327834.969457 status: local 1/10 remote 
0/20
Mar  3 09:30:34 patriot qmail: 1078327834.990817 delivery 600: deferral: 
Unable_
to_chdir_to_maildir._(#4.2.1)/
Mar  3 09:30:34 patriot qmail: 1078327834.991689 status: local 0/10 remote 
0/20
Mar  3 09:34:39 patriot qmail: 1078328079.975081 starting delivery 601: msg 
1788
to local [EMAIL PROTECTED]
Mar  3 09:34:39 patriot qmail: 1078328079.977367 status: local 1/10 remote 
0/20
Mar  3 09:34:39 patriot qmail: 1078328079.998920 delivery 601: deferral: 
Unable_
to_chdir_to_maildir._(#4.2.1)/
Mar  3 09:34:39 patriot qmail: 1078328079.999756 status: local 0/10 remote 
0/20

I read in the documentation that no mail can be sent to the root account, 
but I thought it said you could have it sent there if you like.
On thing i noticed on my user account is that my ~/.qmail and 
~alias/qmail-henninb
file don't do anything either because when I remove them the mail still gets 
delivered to
my Maildir.

I put entries in them like: ./Maildir/ , but that

how can i get my ~/.qmail or ~alias/qmail-root file working for root and 
postmaster?

Thanks,

Brian

_
Frustrated with dial-up? Lightning-fast Internet access for as low as 
$29.95/month. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"