Darren Nay wrote:
>
> Hello all,
>
> I have a question regarding .qmail files with vpopmail.
>
> I am using qmail v1.03 and vpopmail v4.9.10. I've got mysql auth setup
> and it works great. I just need some help with configuration.
>
> I'm recent sendmail -> qmail convert and so the whole qmail config style
> is still new, and still a little baffling.
>
> I understand that I can use .qmail files in the
> ~vpopmail/domains/test.com directory for a specific domain (for this
> example, test.com) correct?
Yes because qmail-local is delivering the email to
~vpopmail/domains/test.com
and looking for .qmail files
> ie. if I have a real user called "dale"
> and I want to add an alias to dalec I would create a .qmail-dalec with
> the content of "dale".
No. "dale" is not a valid email address or a path to a Maildir.
Either put in a full email address or the full path to the Maildir
ie.
/home/vpopmail/domains/test.com/dale/Maildir/
or where ever dales' maildir is.
>
> Then if I send an email to [EMAIL PROTECTED] it will act as an alias and
> send the email to the real "dale" account. Am I correct in this
> assumption?
Almost.
If it .qmail-dalec contains an email address you are doing a forward.
if it contains a path to maildir then you are doing an alias.
The difference?
Maildir paths are *much* more efficent for local mail delivery.
email addresses cause the email to be re-injected into qmail
and scheduled for delivery.
>
> My main question is.. If I wanted to setup an alias to point to a user
> who is NOT on that domain.. say I have another email account on another
> server, or another domain example.com with a user called "jay" and I
> wanted to setup an alias for [EMAIL PROTECTED] to point to [EMAIL PROTECTED]
> in this case both domains are virtual domains on my server.. how would I
> do this?
With either
1) a full email address
2) The full path to the Maildir if the Maildir is owned by
the same system user as the current domain.
>
> Second, say if I had an account NOT hosted on my server. How would I
> point [EMAIL PROTECTED] to another email account. ie. [EMAIL PROTECTED]
Yes.
>
> Sorry if these are basic questions.. :) Like I said, I'm still a qmail
> ameture. Thanks for any help you can provide!
>
> Darren Nay - [EMAIL PROTECTED]
Read the qmail man page for dot-qmail
It contains all the information used by qmail-local and .qmail files
Ken Jones