![]() Lets be really clear, never do this, split domains are a dumb idea, the whole point of the ‘domain’ is to allow systems to figure out where the domain is hosted, so splitting your users between two systems with one domain is breaking the whole principle on which email is based. Splitting a domain will come back and bite you one day soon, and make managing your system and tracking down faults virtually impossible. The correct solution is to move the other users to a new domain name (e.g. Then it’s easy, and you can add some redirection rules to make it almost invisible. So, you still want to do it the wrong way…… ? people who send to will have the email automatically forwarded to for the users that exist on the other system. ![]() Step 1) Delete the moved users from the surgemail system.Step 2) Add a setting fallback_relay “” to send messages to non existent local users to the other system.Step 3) Add setting: fallback_users “c:\surgemail\fallback.txt”, in that file list the users (one per line) that exist on the other mail system. ![]() Again, this is the WRONG solution, see comments above in bold for correct solution ?.In the web manager click on the ‘Register’ link on the navigation pane.Īlternatively run tellmail activate on the command line with your registration details: Tellmail activate N123 Where are the SurgeMail configuration files? #SURGEMAIL USE RELAY SERVER REGISTRATION# SurgeMails main configuration file is surgemail.ini which is store in /etc on UNIX systems and your Windows directory on Windows systems (eg c:\winnt). This file can be edited by hand after which a “ tellmail reload” would need to be issued or edited via the web interface. WebMail has a separate configuration file stored in surgemail/scripts/webmail.ini.Īl How can I use “sendmail” style command line syntax to send mail? Backups of this file are stored in the SurgeMail directory as ini_YYMMDD.rec. This will allow your PHP scripts and the like to continue sending mail using the same syntax they have always done. You will need to ensure SurgeMail is allowing relaying for your local IP. If it is not working pass the stub the “-debug” parameter it should create a bug file that will give you information as to why it is not working. Set g_dns_host to point to your own DNS server, try 8.8.8.8 until you have a working one to use. ![]() #SURGEMAIL USE RELAY SERVER WINDOWS#īackup surgemail.ini which is found in the windows directory or /etc if on UNIX.Use mirroring to do this How do I backup SurgeMail? This automatically uses the correct authent module etc How do I move SurgeMail to a new machine? Users can be added on the command line as follows (You need to run the path etc for your authentication module as specified in surgemail.ini)Īlternatively for a more efficient process create a text file of nwathĬommands and pipe it to nwauth as follows: Note: You must restart SurgeMail when changing g_dns_host How do I add users on the command line? To backup the mail you need to backup the directory that stores all the mail.
0 Comments
Leave a Reply. |