LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 04: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, 04: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



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 07:32 PM
Counting Mailboxes on Postfix? carlosinfl Linux - Server 7 02-08-2008 04:38 PM
[Evolution]Multiple mailboxes Wim Sturkenboom Linux - Software 3 11-13-2006 11:32 AM
Creating new mailboxes in Postfix+Cyrus IMAP+Saslauthd gugabaga Linux - Networking 4 05-10-2006 09:02 PM
Postfix multiple domains & mailboxes fatum112 Linux - Software 0 11-21-2005 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:19 AM.

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
Open Source Consulting | Domain Registration