Book
- Basic setup of a SOHO server
- SoHo - Software repositories
- SoHo - Alias of loopback interface
- SoHo - IPtables configuration example
- SoHo - Webmin
- SoHo - DNS
- SoHo - VMWare
- SoHo - Windows
- SoHo - OpenVPN
- SoHo - Remote Desktop
- Nameserver on Windows XP forwarding to public DNS with private zones
- SoHO - NTP
- SoHo - SSH
- SoHo - Ubuntu prerequisites
- How to strengthen SSH
- Fixing Nessus complaints
- Java installation on RHEL 4
- Installing vsFTPd on CentOS
- How to setup CA (certificate authority)
- Installation of VIM X11 and archivers on RHEL 4 x86_64
- SoHo - MS & Open-Office
- User management
- CommuniGate Pro
- Backup
- Issue tracking for small groups
- Jabber setup and configuration
- Monitoring & Statistics
- Printing in SOHO
- Faxes in SOHO
- T38 Modem
- PostScript fonts for faxes
- Installing Brother MFU drivers on Ubuntu
- Installing Hylafax client on RHEL4 and Fedora
- Installing Hylafax server on RHEL4
- Installing Hylafax server on Ubuntu
- Integrating Hylafax with CUPS
- Integrating Hylafax with CommuniGate
- Managing Hylafax from Ubuntu client
- Sending and receiving faxes over internet (links)
- How to test faxing
- Drivers for Brother MFUs
- Brand new idea about faxing
- External faxing resources
- Antivirus & Antispam
- External SOHO References
- Supplementary SOHO procedures
CGP - Accounts configuration
1. Public folders and template
Create the pubwrite and pubadmin groups in ourdom.com. Disable E-mails and Signals to these groups.
Create the office group. Enable E-mails and disable Signals for it. Uncheck Remove Author from Distribution.
Create the public account in ourdom.com.
Change some settings:
- Preferences / Language = English
- Settings / Authentication / CommuniGate Password = Enabled
- Settings / Authentication / OS Password = Disabled
- Settings / Access Rights / CommuniGate Password = 1234
Via WebMail interface (enter as public@mail) create these folders:
- PublicCalendar, PublicContacts, PublicMailbox, PublicNotes, PublicReports, PublicTasks
Set access rights for each of these objects (choose object from list in the left pane, then click the "spanner" settings icon at the right pane) as:
#pubadmin = Lookup, Select, Seen, Flags, Insert, Post, Create, Delete, Admin #pubwrite = Lookup, Select, Seen, Flags, Insert, Post, Create, Delete anyone@ = Lookup, Select,
Now create template (Users/Domains/ourdom/Objects / Template) for secondary domain, including:
- additional mailboxes:
Calendar - IPF.Appointment Contacts - IPF.Contact Drafts - (mailbox) Notes - IPF.StickyNote Sent Items - (mailbox) Tasks - IPF.Task Spam - (mailbox)
- initial mailbox aliases:
Общая Почта - ~public/PublicMailbox Общие Отчеты - ~public/PublicReports Общие Задачи - ~public/PublicTasks Общие Заметки - ~public/PublicNotes Общие Контакты - ~public/PublicContacts Общий Календарь - ~public/PublicCalendar
2. Interception
Create the listener user in the communigate domain and set the following parameters:
-
Master/Intercept:
- Account Name = public@mail
- Send Reports to = listener@communigate
- Login, Signals, New Mail, Sent Mail, Mailbox, Access, Partial = Checked
-
Users/Domains/ourdom.com/Mail/Incoming Mail Rules:
- Redirect All Mail to = true (listener@admin)
- Keep a Copy, Do not Redirect Automatic Messages, Preserve To/CC fields
-
Users/Domains/ourdom.com/Objects/test2/Mail/Incoming Mail Rules:
- Redirect All Mail to = true (listener@admin)
- Keep a Copy, Do not Redirect Automatic Messages, Preserve To/CC fields
3. Create "real" postmaster
-
Create user postmaster in the ourdom.com domain.
-
Add RFC 2142 compliant aliases:
- abuse
- hostmaster
- info
- marketing
- noc
- sales
- security
- support
- webmaster
- www
-
Add system-local aliases
- admin
- administrator
- contact
- root
-
Add package-specific aliases
- drweb
- nagios
- nagios-admin
-
Add RFC 2142 compliant aliases:
- Go to .../Preferences and set default language to English
-
Go to .../postmaster/Settings/Access Rights and:
- Check Can Modify This Domain and its Accounts Settings and click Update
- Check all boxes and click Update
-
Open the postmaster user in the communigate domain: Users/Domains/communigate/Objects/postmaster
- Go to Mail/Incoming Mail Rules and set:
- Redirect All Mail To (checked) = postmaster@ourdom.com
- Uncheck Keep a Copy
- Uncheck Do not Redirect Automatic Messages
- Check Preserve To/Cc fields
4. Create postlords
Use Wacman account manager or manually create group postlords in the ourdom.com domain.
Set group parameters on Users/Domains/ourdom.com/postlords:
- Real Name: Members receive copy of mail for postmaster
- Set Reply-To to Group: no
- Report Delivery to Group: no
- Expand Member Groups: no
- Reject Automatic Messages: NO
- Remove Author from Distribution: no
- Remove To and Cc from Distribution: YES
- Disable E-mails: no
- Disable Signals: YES
Now implement group mirroring for postlords avoiding duplication.
Go to Users/ourdom.com/postmaster/Mail/Incoming mail rules,create a new postlords rule and edit it:
- Human-Generated
- Mirror to -- postlords@ourdom.com
"Any To or CC -- in -- postmaster,postmaster@*".
Next, since mirroring keeps original header intact, every new mirrored message made this rule trigger again, so I had to add the "Human-Generated" filter. But, this catched only mailings targeting postmaster directly and missed his numerous aliases. At last, I retracted.-
Redirect All Mail To (checked): postlords@ourdom.com -
Keep a Copy: YES -
Do not Redirect Automatic Messages: NO -
Preserve To/Cc fields: YES
5. Local mail groups
In order to support site monitoring and faxing:
- create more groups: reports, alerts, faxmaster, office
- Set group parameters as above.
- Include postmaster in these groups.
- Protect local groups against external mass senders
6. Create pbx
About creating the pbx user please see here.
7. Routing
Go to Settings/Router and set log level to Failures.
The table should look like:
= anyname@postmaster.local = anyname@listener.local <*> = *@ourdom.com *.ourdom.com = ourdom.com *host = ourdom.com ; accept 'localhost' etc as the main domain <blacklist-admin*@blacklisted> = postmaster@ourdom.com ; 'White Hole' <(2-20d)@fax> = "queue[FAX] [FILE] [RETPATH] [STDERR] send-fax -t 0 -n *"@pipe <(2-20d)@fax0> = "queue[FAX] [FILE] [RETPATH] [STDERR] send-fax -t 0 -n *"@pipe <(2-20d)@fax1> = "queue[FAX] [FILE] [RETPATH] [STDERR] send-fax -t 1 -n *"@pipe <(2-20d)@fax2> = "queue[FAX] [FILE] [RETPATH] [STDERR] send-fax -t 2 -n *"@pipe = support@communigate.com ; tech.support address Signal:<911@*> = emergency@localhost ; 911: NA emergency Signal:<112@*> = emergency@localhost ; 112: EU emergency Signal:<01@*> = emergency@localhost ; 01: RU emergency Signal: = emergency#pbx ; start 'emergency' app Signal:<\*(3-4d)@*> = voicemail#* ; *nnn -> voicemail Signal:<7(2d)@*> = pbx{*}#pbx ; 7nn calls go to PBX Signal:<8(3d)@*> = pickup{*}#pbx ; 8nnn: pickup nnnn Signal:<(7d)@*> = localAreaCall{*}#pbx ; 7 digits -> local call <+(7-20d)@*> = +*@telnum ; +nnnnn calls -> to telnum <1(10d)@*> = +1*@telnum ; NA domestic calls <011(7-20d)@*> = +*@telnum ; NA Intl calls <00(7-20d)@*> = +*@telnum ; EU Intl calls <810(7-20d)@*> = +*@telnum ; RU Intl calls Signal:telnum = pstn ; unknown telnum -> PSTN Signal:<*@pstn>= gatewaycaller{*}#pbx ; start 'gatewaycaller' app
8. Logo
Download
as/opt/CommuniGate/WebSkins/logo.gif and create a link
ln -s ../logo.gif /opt/CommuniGate/WebSkins/Viewpoint/
Go to Users/Domains/ourdom.com/Template/Greeting E-mail and create the greeting template:
From: Administrator <postmaster@ourdom.com>
To: =?UTF-8?Q?=D0=9D=D0=BE=D0=B2=D1=8B=D0=B9_?=
=?UTF-8?Q?=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5?=
=?UTF-8?Q?=D0=BB=D1=8C?= <^A@ourdom.com>
Subject: =?UTF-8?Q?=D0=94=D0=BE=D0=B1=D1=80=D0=BE?=
=?UTF-8?Q?_=D0=BF=D0=BE=D0=B6=D0=B0=D0=BB=D0=BE=D0=B2=D0=B0=D1=82=D1=8C?=
=?UTF-8?Q?_=D0=BD=D0=B0?=
=?UTF-8?Q?_=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80?= ourdom.com !
MIME-Version:1.0
Content-Type: text/plain; charset=UTF-8
Уважаемый(ая) ^E <^A@^D>,
Мы рады приветствовать Вас на борту Our Domain.
Если при работе с системой у Вас возникнут трудности,
отправьте описание проблем по адресу
support@ourdom.com
С уважением,
postmaster

Comments
Post new comment