Rockman-Industries/Server-Implementation: Difference between revisions
Appearance
Created page with " == Rockman Server Implementation == '''Client Requirement''' 1: Need to Migrate Users from Lotus to Zimbra (For cost cutting). '''What We Proposed Them''' Zimbramail.ro..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[category:Tetra Clients]] | |||
[[category:Installation]] | |||
[[category:Rockman Industries]] | |||
== Rockman Server Implementation == | == Rockman Server Implementation == | ||
| Line 9: | Line 12: | ||
'''What We Proposed Them''' | '''What We Proposed Them''' | ||
Zimbramail.rockmanindustries.com (Zimbra Server) the Primary MX for the mails. | |||
''' Incoming Mail Flow''' | |||
'''Zimbramail.rockmanindustries.com''' | '''Zimbramail.rockmanindustries.com''' | ||
| Line 21: | Line 24: | ||
''' The User to lie on lotus the zimbra will transfer the mails to lotus to respective user''' | ''' The User to lie on lotus the zimbra will transfer the mails to lotus to respective user''' | ||
'''Outgoing Mail Flow''' | |||
Both The server send the mails independently. | |||
| Line 34: | Line 37: | ||
'''Script to create Users''' | '''Script to create Users''' | ||
#!/bin/bash | #!/bin/bash | ||
for i in `cat user_list` | for i in `cat user_list` | ||
do | do | ||
zmprov ca $i asd1234f | zmprov ca $i asd1234f | ||
echo "The User is created with the default password asd1234f" | echo "The User is created with the default password asd1234f" | ||
done; | done; | ||
user_list file having the all users to be create. | user_list file having the all users to be create. | ||
| Line 45: | Line 48: | ||
'''Script to transfer the mails of non zimbra user''' | '''Script to transfer the mails of non zimbra user''' | ||
#!/bin/bash | #!/bin/bash | ||
for i in `cat user12sep` | for i in `cat user12sep` | ||
do | do | ||
zmprov ma $i zimbraMailTransport smtp:cluster4out.us.messagelabs.com:25 | zmprov ma $i zimbraMailTransport smtp:cluster4out.us.messagelabs.com:25 | ||
echo "The Mail box of the User is now changed and it ready to transfer the mail to lotus. :)" | echo "The Mail box of the User is now changed and it ready to transfer the mail to lotus. :)" | ||
done | done | ||
user12sep having the list of all the user pointed to lotus. | user12sep having the list of all the user pointed to lotus. | ||
| Line 56: | Line 59: | ||
'''Script to check the Mail transport''' | '''Script to check the Mail transport''' | ||
#!/bin/bash | #!/bin/bash | ||
for i in `cat smtp_user_list` | for i in `cat smtp_user_list` | ||
do | do | ||
echo $i; | echo $i; | ||
su - zimbra -c "zmprov ga $i | grep zimbraMailTransport" | su - zimbra -c "zmprov ga $i | grep zimbraMailTransport" | ||
echo " Next user Is:" | echo " Next user Is:" | ||
done; | done; | ||
smtp_user_list is the list of the existing users. | smtp_user_list is the list of the existing users. | ||
'''Note: All the Users must lie in zimbra ''' | '''Note: All the Users must lie in zimbra ''' | ||
Latest revision as of 14:02, 18 October 2013
Rockman Server Implementation[edit]
Client Requirement
1: Need to Migrate Users from Lotus to Zimbra (For cost cutting).
What We Proposed Them
Zimbramail.rockmanindustries.com (Zimbra Server) the Primary MX for the mails.
Incoming Mail Flow
Zimbramail.rockmanindustries.com
||
||
Find the User if the user is of zimbra then send mail locally
||
||
The User to lie on lotus the zimbra will transfer the mails to lotus to respective user
Outgoing Mail Flow
Both The server send the mails independently.
Implementation[edit]
Zimbra 8 on Centos 6.4 64bit
Spamassassin Tunning
Script to create Users
#!/bin/bash for i in `cat user_list` do zmprov ca $i asd1234f echo "The User is created with the default password asd1234f" done;
user_list file having the all users to be create.
Script to transfer the mails of non zimbra user
#!/bin/bash for i in `cat user12sep` do zmprov ma $i zimbraMailTransport smtp:cluster4out.us.messagelabs.com:25 echo "The Mail box of the User is now changed and it ready to transfer the mail to lotus. :)" done
user12sep having the list of all the user pointed to lotus.
Script to check the Mail transport
#!/bin/bash for i in `cat smtp_user_list` do echo $i; su - zimbra -c "zmprov ga $i | grep zimbraMailTransport" echo " Next user Is:" done;
smtp_user_list is the list of the existing users.
Note: All the Users must lie in zimbra