LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2009, 05:35 AM   #1
sckl618
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Postfix & creating multiple mailboxes


Hi All,

I'm pretty new to Linux, and using Postfix. I was wondering if there was a way (hopefully easy), to create multiple mailboxes in Postfix at once. I have about 298 mailboxes to create, and doing them one at a time would well... take me a long @$$ time. Any help would be greatly appreciated.
 
Old 06-19-2009, 05:42 AM   #2
bzyk
Member
 
Registered: Jun 2007
Location: Poland
Distribution: Debian, Slackware
Posts: 42

Rep: Reputation: 15
You mean mailbox or maildir format?
Anyway this can be done by simple bash script. something like grep /etc/passwd (you getting users) - if you have them in /etc/passwd. Next do simply loop in bash. Something like for or while... http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-7.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating Exchange mailboxes to Postfix sog Linux - Newbie 2 06-15-2009 08:32 PM
Counting Mailboxes on Postfix? carlosinfl Linux - Server 7 02-08-2008 05:38 PM
[Evolution]Multiple mailboxes Wim Sturkenboom Linux - Software 3 11-13-2006 12:32 PM
Creating new mailboxes in Postfix+Cyrus IMAP+Saslauthd gugabaga Linux - Networking 4 05-10-2006 10:02 PM
Postfix multiple domains & mailboxes fatum112 Linux - Software 0 11-21-2005 02:13 PM


All times are GMT -5. The time now is 06:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration