Re: [SLUG] importing mail users ?

2003-08-29 Thread voyteke
On Fri, 29 Aug 2003 16:22:41 +1000, [EMAIL PROTECTED] wrote:

Scott, thanks

>What do you want them imported from? The web server? windows machine? flat 
>file?
>If its a flat file, whats it look like?

at this time, they're in my mail server user database, which happens to be dBase 
format(as in Ashton Tate) dbf file

I was aiming at exporting it to text, either tab del or csv.
so, I can massage them into whatever will suit the target format.

the actual files has stuff like:
REALNAME,USERNAME,POP3NAME,DOMAIN,EMAILDIR,PASSWORD,PASSTYPE,FORWDFLAG,FORWDADDR,CCFLAG,CCADDR,PROCFLAG,PROCNAME,VACFLAG,USERID,IPMASK,WEBPWD,WEBADMIN,MAXMSGS,MAXBYTES,FTPDOFF,MAILOFF

needless to say, the more i can import the happier I'll be...

>If I remember correctly, you need to do one of two things:
>/etc/init.d/proftpd stop ; chkconfig --delete proftpd (It won't delete 
>proftpd, just stop it from running on startup)
>edit /etc/xinetd.d/ftpd (or similar ) and change line DISABLE = no to yes.

no, I need to have FTPd for the dozen or so web hosts, but, I thought I ought to 
prevent potential ftp access from mail-only users

>
>> should I also CHOWN all /home/username(s) to be owned by root ?
>> 
>If they have no shell/ftp/anything access besides pop & smtp, is there any 
>reason to change the permissions?

well, some SLUGgers suggested that, and, I thought 'why not' 
>
>How have you disabled them from logging in?

yes

by way of explanation: I have some web vhost users, these need ftp access, then I have 
mail users, JUST pop, NO smtp (they use an ISP)

at this time, I have created all web vhost users with user name=domain.name, and, hve 
set the /home/mydomain.com.au, and, Apache vhost stuff.


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] importing mail users ?

2003-08-28 Thread Voytek
I'm somewhere along the path of setting web server and mail server on RH73
with Postfix; so far, I've created all the users that have web vhosts, and,
more or less set the Apache vhosts for them.

the web users have no shell access, just ftp, and, /home/%username% is
owned by root

now I'm looking at setting the mail server 

I want to import couple hundred or so users, and, create /home/*/Maildir
structure preferably at same time. I have no data, just users and dir tree
that I need to create.

Whilst Postfix would create the Maildir tree on first mail delivery, that
didn't work for me, as I CHOWNed all /home/user to be owned by root

these uses will be ONLY mail users, no shell, no ftp, just POP3 mail
from some ISP  

- what tool I use to import users ?
- to create desired dir tree ?
- what to use to DISABLE ftp access ? (is that something in need to
do in ProFTPd ?)

should I also CHOWN all /home/username(s) to be owned by root ?

thanks for all suggestions,



Voytek Eymont
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug