signo | 1 Dec 2004 09:57
Favicon

Re: auth problem

ok...i start a new thread...sorry for the previous post...

my question was:

hello, i've a little problem with the smtp authentication.

if a user try to send a mail without authentication mode it work!

Can i force to use only the auth mode ??

if i telnet on the port 25 i have this result

250- -=NO UNSOLICITED BULK E-MAIL=-
250-PIPELINING
250-8BITMIME
250-SIZE 0
250 AUTH LOGIN PLAIN

thanks, signo

installation:
qmail-1.03
SPAMCONTROL patch

qmail-smtpd/run:

VPOPUID=`id -u vpopmail`
VPOPGID=`id -g vpopmail`
LOCAL=`head -1 /var/qmail/control/me`
MAXSMTPD=`head -1 /var/qmail/control/concurrencyincoming`
(Continue reading)

Rainer Duffner | 1 Dec 2004 19:35
Picon

Re: vchkpw authentication fails

X-Istence wrote:

>Shameless plug  
><url:http://bsdguides.org/guides/freebsd/mailserver/ 
>qmail+vpopmail+qmailadmin.php>. Guide was written by me, site owned by  
>a friend of mine. It is geared to using the FreeBSD ports tree to make  
>install easier. And includes all the standard stuff you would want  
>(imap, pop3, sa, qmailadmin, qmail, vpopmail)
>  
>

Noted.

Thx.

Rainer

--

-- 
===================================================
~     Rainer Duffner - rainer <at> ultra-secure.de     ~
~           Freising - Munich - Germany           ~
~    Unix - Linux - BSD - OpenSource - Security   ~
~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
===================================================

Erwin Hoffmann | 1 Dec 2004 23:14
Picon

Re: auth problem

Hi,

At 09:57 01.12.04 +0100, signo wrote:
>ok...i start a new thread...sorry for the previous post...
>
>my question was:
>
>hello, i've a little problem with the smtp authentication.
>
>if a user try to send a mail without authentication mode it work!

Sure. As long as the email is targeted to a local system
(control/rcpthosts) the send is possible.

>Can i force to use only the auth mode ??

In the SPAMCONROL docs there is a section about Authentication.

In short: 

Edit conf-spamcontrol -> reqauth=yes. Uninstall Spamcontrol, re-install
Spamcontrol and re-make qmail.

regards.
--eh.

Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24

(Continue reading)

Tom Collins | 2 Dec 2004 01:17
Gravatar

Re: autoresponder supposed to cause message loss?

On Nov 23, 2004, at 11:01 AM, David Hubbard wrote:
> In a vpopmail 5.4.6 site with autoresponder 2.0.4,
> the behavior we're seeing is that when a user
> sets a vacation message, vpopmail sets up the autoresponder
> with a 3 messages per day limit.  The .qmail file it
> creates for that person has autoresponder on the first
> line and then the Maildir delivery statement on the
> second.  What we're seeing is that after the messages
> from a given address exceed three, the autoresopnder
> no longer mails, as expected, but the messages are no
> longer delivered to the Maildir either, and the sender
> is not notified.

David,

The newly released QmailAdmin 1.2.5 corrects this problem.  When 
creating a vacation responder, it will put the Maildir delivery first 
in the .qmail file, and then call autorespond.

For existing autoresponders, you'll have to manually edit your .qmail 
files.  You might be able to find those files with a command like this:

cd ~vpopmail/domains
grep -l autorespond ?/*/*/.qmail ?/*/?/*/.qmail */*/.qmail */?/*/.qmail

(If you don't have hashed directories, you can just do `grep -l 
autorespond */*/.qmail`).

Note that 1.2.5 is a devel release.  I just started using it on my 
production server, and have tested add/modify/delete of all address 
(Continue reading)

Gilcio Grella | 2 Dec 2004 09:49
Picon
Favicon

how can I rename an e-mail account?

Hello..

 

Using vpopmail, there are so many utilities to add and del users, change password, set quota, view info, etc.

But, is there a utility to rename an e-mail account? i.e.: my user want to rename her box from baduser <at> domain.com to niceuser <at> domain.com. How can I do that?

Renaming manually the mailbox dir and editing domain.com\vpasswd file is the unique solution?

And if it is, how can I rebuild the vpasswd.cdb without having to add/del a user?

I hope there's a utility to rename! :)

 

Thanks!

 

 

Gilcio Grella :: Hackiller :: gilciog <at> yahoo.com.br
Rede IRCBrasil :: Server Admin :: irc.bwnet.com.br
ICQ :: 55766844 :: MSN Messenger :: gilciog <at> hotmail.com

 

signo | 2 Dec 2004 09:20
Favicon

Re: auth problem

Erwin Hoffmann wrote:
Hi, At 09:57 01.12.04 +0100, signo wrote:
ok...i start a new thread...sorry for the previous post... my question was: hello, i've a little problem with the smtp authentication. if a user try to send a mail without authentication mode it work!
Sure. As long as the email is targeted to a local system (control/rcpthosts) the send is possible.
Can i force to use only the auth mode ??
In the SPAMCONROL docs there is a section about Authentication. In short: Edit conf-spamcontrol -> reqauth=yes. Uninstall Spamcontrol, re-install Spamcontrol and re-make qmail. regards. --eh.
my conf-spamcontrol  configuration:
smtpauth=yes            # you need a SASL PAM
authcram=no             # if 'yes', you need the cmd5checkpw
reqauth=yes             # if $REQUIREAUTH is set, accept only authenticated SMTP sessions
privauth=no             # if 'yes': 'privilege' authenticated users; following checks are omitted: badhelo, helodns, mfdns, localmf


Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24

Jeremy Kitchen | 2 Dec 2004 16:35
Favicon

Re: how can I rename an e-mail account?

On Thursday 02 December 2004 02:49 am, Gilcio Grella wrote:
> Using vpopmail, there are so many utilities to add and del users, change
> password, set quota, view info, etc.
>
> But, is there a utility to rename an e-mail account? i.e.: my user want to
> rename her box from baduser <at> domain.com to niceuser <at> domain.com. How can I do
> that?

no

> Renaming manually the mailbox dir and editing domain.com\vpasswd file is
> the unique solution?

that's how I would do it.

> And if it is, how can I rebuild the vpasswd.cdb without having to add/del a
> user?

vmkpasswd

-Jeremy

--

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  jeremy <at> inter7.com ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
      kitchen  <at>  #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
         GnuPG Key ID: 481BF7E2 ++ jabber:kitchen <at> scriptkitchen.com
Gilcio Grella | 2 Dec 2004 20:07
Picon
Favicon

Re: how can I rename an e-mail account?

Thanks Jeremy Kitchen! :)

I'll try later to do a script to do that manual things
automatic. 

[]'s

 --- Jeremy Kitchen <jeremy <at> inter7.com> escreveu: 
> On Thursday 02 December 2004 02:49 am, Gilcio Grella
> wrote:
> > Using vpopmail, there are so many utilities to add
> and del users, change
> > password, set quota, view info, etc.
> >
> > But, is there a utility to rename an e-mail
> account? i.e.: my user want to
> > rename her box from baduser <at> domain.com to
> niceuser <at> domain.com. How can I do
> > that?
> 
> no
> 
> > Renaming manually the mailbox dir and editing
> domain.com\vpasswd file is
> > the unique solution?
> 
> that's how I would do it.
> 
> > And if it is, how can I rebuild the vpasswd.cdb
> without having to add/del a
> > user?
> 
> vmkpasswd
> 
> -Jeremy
> 
> -- 
> Jeremy Kitchen ++ Systems Administrator ++ Inter7
> Internet Technologies, Inc.
>   jeremy <at> inter7.com ++ www.inter7.com ++
> 866.528.3530 ++ 815.776.9465 int'l
>       kitchen  <at>  #qmail #gentoo on EFnet IRC ++
> scriptkitchen.com/qmail
>          GnuPG Key ID: 481BF7E2 ++
> jabber:kitchen <at> scriptkitchen.com
> 

> ATTACHMENT part 2 application/pgp-signature 

=====
Gilcio Grella :: Hackiller :: gilciog <at> yahoo.com.br
Rede IRCBrasil :: Server Admin :: irc.bwnet.com.br 
ICQ :: 55766844 :: MSN Messenger :: gilciog <at> hotmail.com

	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/

Gilcio Grella | 2 Dec 2004 20:08
Picon
Favicon

vpopmail domain folder

Hello,

I've recently converted many users from /etc/passwd to
vpopmail accounts. That was very nice, but when I
finished I realize that inside my domain.com/ folder
there wasn't all my users maildirs folders. So I take
a look at vpasswd and realize that had a dir 0/, 1/,
2/, 3/ and 4/ inside the domain.com/ folder and each
one had a lot of my users maildir folders. That wasn't
nice, so I moved all these maildirs that were inside
these 0/,1/,2/,3/ and 4/ folders to ../ so they are
now in domain.com/ folder where they should be since
the beggining. After that I edited vpasswd and changed
manually all those users folders in that file and
after much work I got it. Then I added and deleteted
an user just to rebuild the vpasswd.cdb. Ok. 

I was thinking that directories should have being
miscreated when I was converting my huge passwd to the
cdb(was about 550 users). And I also thought that when

I would add new users that wouldn't occur again. But I
tried to add a new user and it creates a domain.com/4/
dir and put the maildir folder of that user inside
that folder 4/.

Is that normal? I don't want that number folder inside
my domain! I want always my users maildir in
domain.com/ to be better managed. And always doing
manual editing sucks a lot!

Any help or information will be very very very
appreciated! 

Thanks!

=====
Gilcio Grella :: Hackiller :: gilciog <at> yahoo.com.br
Rede IRCBrasil :: Server Admin :: irc.bwnet.com.br 
ICQ :: 55766844 :: MSN Messenger :: gilciog <at> hotmail.com

	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/

Jeremy Kitchen | 2 Dec 2004 21:27
Favicon

Re: vpopmail domain folder

On Thursday 02 December 2004 01:08 pm, Gilcio Grella wrote:
[snip: vpopmail hashes user directories after a certain number]

> Is that normal? I don't want that number folder inside
> my domain! I want always my users maildir in
> domain.com/ to be better managed. And always doing
> manual editing sucks a lot!

vpopmail does directory hashing because some filesystems (ext2/3, UFS without 
DIR_HASH, etc) will slow to a crawl with large directories (the general rule 
of thumb is about 1000 files in a directory is the breaking point)

You can disable this when building vpopmail by configuring it with the 
--disable-users-big-dir flag.

Is this causing you any problems?  If not, then you should leave it how it is 
for performance reasons.

-Jeremy

--

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

Gmane