Greetings, vinay.

On 21 ??????? 2006 ?., 6:42:34 you wrote:
>>> i have installed the qmail  on my mail server  and i have enjoyed using the 
>>> same .
>>> presently i have one small issue with over quota message .
>>>  
>>> In my setup the people email ids and login id are differnt ,
>>> email id is mapped to the login id .
>>>  
>>> i.e login id is [EMAIL PROTECTED] 
>>>  
>>> and email id is [EMAIL PROTECTED] 
>> Could you please give us a bit more info about your setup. Most
>> interesting thing for me is how did you map "email ids" to "login
>> ids"? And what is the exact meaning of "login id" for you? Is it real
>> unix UID, or a something totally different?
>   The lgoin id in my setup is the email account created via which
> the user can login to the webmail , configure outlook etc .But the
> email address for me is the aliases i have created for the user.
>    
>   here the login id  address is not given to the client ,but the
> alias address is what is given to the client .I dont want to show
> the actual email account created for the external world , this is
> the reason i want to hide the same in the overquota msg .
Please, don't do top-posting, it makes reading up the replies much
difficult for other users of mailing list.

As for your question, there's no easy way to do the thing you want
while keeping the setup you have. That is so because of the nature of
qmail itself. Aliases don't have any quota interconnected with them,
and they are one-way tickets. If a message came to a real mailbox
through alias - there is no way in determining it except for parsing
headers for that message. That will bring additional load to a server,
and is unnecessary in general case, so either qmail and vpopmail don't
support it at all. As always, you can write a patch for that yourself,
or ask someone else to do it for you, either in commercial or a free
way.

Another possibility is to get rid of aliases at all.
You can try to do as following (let's assume that the mail login is
"user", and an e-mail address is "[EMAIL PROTECTED]"):
1. Login as root to mail server.
2. Remove the alias you have for [EMAIL PROTECTED]
3. Do the following:
# ~vpopmail/bin/vadduser [EMAIL PROTECTED] topsecretpassword
# rm -fr ~vpopmail/domains/mydomain.com/user.surname
# ln -s ~vpopmail/domains/mydomain.com/user 
~vpopmail/domains/mydomain.com/user.surname

Now you'd got tho separate login ids in your system pointing out to
the same mailbox folder. You users will be able to use old settings
without any change and need to reconfigure, while all bounce messages
will have "[EMAIL PROTECTED]" included instead of
"[EMAIL PROTECTED]" for all the messages sent to
"[EMAIL PROTECTED]".

Keep in mind that such setup will bring you additional headache with
account management, especially when you will need to rename or delete
some of the "[EMAIL PROTECTED]" addresses.

-- 
Best regards,
 Alexey Loukianov                          mailto:[EMAIL PROTECTED]
 System Engineer,
 IT Department,
 Lavtech Corp


---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to