Re: [vchkpw] Problems to get e-mail when domain names are capitalized

2005-01-04 Thread Walter Souto R. Junior
Hi Jeremy,
try connecting to your smtp server with telnet or netcat or similar and  
doing
this:
helo bob
mail from: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]

etc, and see what happens.
Ok. Now I get confused... Look that:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 alonso.bayweb.biz ESMTP
helo bob
250 alonso.bayweb.biz
mail from [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
533 sorry, your envelope recipient has been denied (#5.7.1)
rcpt to: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
533 sorry, your envelope recipient has been denied (#5.7.1)
rcpt to: [EMAIL PROTECTED]
533 sorry, your envelope recipient has been denied (#5.7.1)
rcpt to: [EMAIL PROTECTED]
533 sorry, your envelope recipient has been denied (#5.7.1)
Any ideas?
Thanks,
--
Walter.


Re: [vchkpw] Alias domain problem

2005-01-04 Thread Tom Collins
On Jan 4, 2005, at 12:58 PM, Marcin SoÅtysiak 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/


Re: [vchkpw] Problems to get e-mail when domain names are capitalized

2005-01-04 Thread X-Istence
On Jan 4, 2005, at 11:48 AM, Jeremy Kitchen wrote:
On Tuesday 04 January 2005 09:13 am, Walter Souto R. Junior wrote:
Hi,
My regitrar always capitalize the name of domains for the contacts 
(e.g.
@ and the messages he send to me never comes. I try 
to
change the the e-mail and I get the message normally, but after the
confirmation, the system of the registrar capitalizes the domain 
again...
domains have no case sensitivity.  DoMaIn.TlD is the same as 
domain.tld,
DOMAIN.TLD, dOmAIN.tlD, etc.  Technically, local parts can be case 
sensitive,
but qmail converts all local parts to lowercase (as I believe most 
other UNIX
mtas do as well).  On a qmail system, LaRRY is the same as larry, 
lArRy,
LarRy, etc, they're all delivered to 'larry'

So if i have a user whose username is GlaanieBoy, he would not recv any 
email? Since he does not have email enabled on his account it is not a 
problem, but i am asking in case that is true, which would mean i could 
only create accounts with lowercase letters.

--
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]


X-Istence


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 Sołtysiak 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] Problems to get e-mail when domain names are capitalized

2005-01-04 Thread Jeremy Kitchen
On Tuesday 04 January 2005 09:13 am, Walter Souto R. Junior wrote:
> Hi,
>
> My regitrar always capitalize the name of domains for the contacts (e.g.
> @ and the messages he send to me never comes. I try to
> change the the e-mail and I get the message normally, but after the
> confirmation, the system of the registrar capitalizes the domain again...

domains have no case sensitivity.  DoMaIn.TlD is the same as domain.tld, 
DOMAIN.TLD, dOmAIN.tlD, etc.  Technically, local parts can be case sensitive, 
but qmail converts all local parts to lowercase (as I believe most other UNIX 
mtas do as well).  On a qmail system, LaRRY is the same as larry, lArRy, 
LarRy, etc, they're all delivered to 'larry'

> I also try to log in my server and send message with capitalized domain
> name using mail command. The message has arrived normally.
>
> I don't know what can be happen. The logs says:
>
> @400041daaca439475a5c tcpserver: pid 26232 from 200.160.2.3
> @400041daaca4394a5414 tcpserver: ok 26232 0:69.0.231.11:25
> :200.160.2.3::3192

that looks like tcpserver logs, which are not useful here.  Check your 
qmail-send logs, but I don't think you'll find a problem

> But this messages never reach the queue or the Clamav/SpamAssassim. I
> can't figure where this kind of messages is got blocked or reject.

how do you know that tcp client even sent a message?  I see in my logs all day 
people connecting and doing nothing. (note, I have a slightly different 
configuration on my system, so I can see when someone is emailing or not)

> My system uses vpopmail 5.3.20 with qmailscanner 1.24 and old chkuser.

maybe it's the old chkuser?  I wouldn't think so, but it's potentially 
possible.

try connecting to your smtp server with telnet or netcat or similar and doing 
this:
helo bob
mail from: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]

etc, and see what happens.

-- 
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]


pgp4geTARdRyD.pgp
Description: PGP signature


Re: [vchkpw] Alias domain problem

2005-01-04 Thread Jeremy Kitchen
On Tuesday 04 January 2005 05:19 am, Marcin Sołtysiak 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] [OT] maildrop and clamd-stream-client

2005-01-04 Thread Jeremy Kitchen
On Monday 03 January 2005 08:48 pm, Charles Sprickman wrote:
> Hi,
>
> I'll apologize in advance here, this is really a maildrop question, but
> after posting there three times I haven't received an answer to what
> should be a simple question (not even an admonishment or flame from Mr.
> Sam)...
>
> I found a nice network-ready clamd client that I want to use:
>
> ftp://victor.teaser.fr/pub/lwa/clamd-stream-client/
>
> That allows me to do virus-scanning on another set of boxes; all the other
> clients assume a local clamd server, which is no good.
>
> It's pretty simple, you feed it a message and it returns a clean exit code
> if there's no virus.  If there is a virus it prints the name to STDOUT and
> exits with exitcode 65.  Simple, right?

that's not even compatible with clam{d,}scan

those tools use 0 for clean, 1 for virus, and 2 for non-virus.  Having 
different tools using different exit codes is a maintanence nightmare waiting 
to happen.

> So I hacked together a simple rule in my local mailfilter rule like so to
> test it:
[snip]

now my question is: why aren't you doing this at the queue level so you can 
simply reject viruses at the smtp level?  This would be a much simpler 
design, and you could easily do all of the logging / tracking that you 
wanted.

just my two cents.

-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]


pgpKbLtxXmg05.pgp
Description: PGP signature


Re: [vchkpw] Alias domain problem

2005-01-04 Thread Tom Collins
On Jan 4, 2005, at 3:19 AM, Marcin SoÅtysiak 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/


[vchkpw] Problems to get e-mail when domain names are capitalized

2005-01-04 Thread Walter Souto R. Junior
Hi,
My regitrar always capitalize the name of domains for the contacts (e.g.  
@ and the messages he send to me never comes. I try to  
change the the e-mail and I get the message normally, but after the  
confirmation, the system of the registrar capitalizes the domain again...

I also try to log in my server and send message with capitalized domain  
name using mail command. The message has arrived normally.

I don't know what can be happen. The logs says:
@400041daaca439475a5c tcpserver: pid 26232 from 200.160.2.3
@400041daaca4394a5414 tcpserver: ok 26232 0:69.0.231.11:25  
:200.160.2.3::3192

But this messages never reach the queue or the Clamav/SpamAssassim. I  
can't figure where this kind of messages is got blocked or reject.

My system uses vpopmail 5.3.20 with qmailscanner 1.24 and old chkuser.
I think that somebody here in Brazil already have this problem with  
regsitro.br, so I apreciate any help.

Thanks in advance,
--
Walter Souto R. Junior
Bayweb Internet Consulting
Tel/Fax: +55 (21) 2226-3625
Celular: +55 (21) 9323-7283


Re: [vchkpw] vmailmgr -> vpopmail

2005-01-04 Thread Florian Munz
James Whitt <[EMAIL PROTECTED]> wrote:

> I'm currently in the same situation and am looking for feedback in the
> same area.
> 
> So far as I have planned it out, I have come up with this steps:
> 
> 1) Create the domains using the vpopmail script

I have a python script which helped me with the conversion. But its only
in a undocumented just-worked-for-me state. I can post it if someone is
interested, but merely as a pointer to what needs to be done as a
working script.

It reads the informationen from listvdomain and starts the vpopmail
scripts with this infos.

If I remeber correctly, I had to patch listvdomain to also print out the
md5-password, but then you can use the -e option of vadduser.


Florian




[vchkpw] Alias domain problem

2005-01-04 Thread Marcin Sołtysiak
Hi,

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.

BR
Solt