Re: [vchkpw] Alias domain problem

2005-01-04 Thread Tom Collins
On Jan 4, 2005, at 3:19 AM, Marcin Sotysiak wrote:
I got two domians i DNS dom.com and alias.com.
I've created vpopmail domain for dom.com and aliasdomain for alias.com 
pointing dom.com but unfortunately vpopmail authorizes when user use 
[EMAIL PROTECTED] . Can it be somehow changed? I don't want users 
authorize using alias domain.
I don't think it's possible.
Vpopmail aliases the domain early on...  You might be able to 
accomplish it by removing the domain from /var/qmail/users/assign (and 
running qmail-newu to rebuild users/cdb) and then editing 
control/virtualdomains to list the real domain after the alias.

This should allow mail to be delivered, but as far as vpopmail (and 
qmailadmin) knows, the domain doesn't exist.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Alias domain problem

2005-01-04 Thread Jeremy Kitchen
On Tuesday 04 January 2005 05:19 am, Marcin Sotysiak wrote:
 Hi,

 I got two domians i DNS dom.com and alias.com.

please use example.org, example.net, and example.com when using bogus 
information for hypothetical purposes.  I have changed 'dom.com' to 
example.com and 'alias.com' to example.org in the rest of this email.

 I've created vpopmail domain for example.com and aliasdomain for example.org
 pointing dom.com but unfortunately vpopmail authorizes when user use
 [EMAIL PROTECTED] . Can it be somehow changed? I don't want users authorize
 using alias domain.

Why not?  Are you eventually planning on splitting that domain up and don't 
want to have to tell everyone to change their authentication settings?  If 
so, simply make the domains separate and use forwards on example.org to send 
the mail over to the 'real' example.com email address.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgptqfAzTf2gT.pgp
Description: PGP signature


Re: [vchkpw] Alias domain problem

2005-01-04 Thread Marcin Sołtysiak
- Original Message - 
From: Jeremy Kitchen [EMAIL PROTECTED]
On Tuesday 04 January 2005 05:19 am, Marcin Sotysiak wrote:
Hi,
I got two domians i DNS dom.com and alias.com.
please use example.org, example.net, and example.com when using bogus
information for hypothetical purposes.  I have changed 'dom.com' to
example.com and 'alias.com' to example.org in the rest of this email.
OK.

I've created vpopmail domain for example.com and aliasdomain for 
example.org
pointing dom.com but unfortunately vpopmail authorizes when user use
[EMAIL PROTECTED] . Can it be somehow changed? I don't want users 
authorize
using alias domain.
Why not?  Are you eventually planning on splitting that domain up and don't
want to have to tell everyone to change their authentication settings?  If
so, simply make the domains separate and use forwards on example.org to 
send
the mail over to the 'real' example.com email address.
They have some 300 accounts and actually it is a transition proccess from 
example.com to example.org. They want to receive e-mails sent to example.com 
but same time they want to let people send mail only from example.org. Of 
course important is what you put into From files not how you authorize but 
somehow they want to erase example.com from memory. I know it sound wacky 
but  that's politics :(

Anyway thanks
Solt 



Re: [vchkpw] Alias domain problem

2005-01-04 Thread Tom Collins
On Jan 4, 2005, at 12:58 PM, Marcin Sotysiak wrote:
They have some 300 accounts and actually it is a transition proccess 
from example.com to example.org. They want to receive e-mails sent to 
example.com but same time they want to let people send mail only from 
example.org. Of course important is what you put into From files not 
how you authorize but somehow they want to erase example.com from 
memory. I know it sound wacky but  that's politics :(
If your qmail-smtpd is properly patched, you can force it to reject 
messages that include example.com in the MAIL FROM.

Check your qmail-smtpd for references to a control file called 
'badmailfrom'.  You can put @example.com in there and your server 
will reject all messages from addresses in example.com.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/