Configuration Examples

Please email surgemail-support@netwinsite.com any suggested examples you think we should add to this page.

Accept email for a private domain name...

1. Create a domain called company.com
2. Go to the 'Alternate Names for this Domain' and click the Edit Rules
3. Add 'private.name' (or *.private.name)
4. Restart?

Rewriting the 'from' envelope and from/sender/reply-to headers

In surgemail.ini add: (using SurgeMail 3.1e4 or later)

g_from_rewrite was="*@privatename" to="%1@public.domain.com"

In mfilter.rul add:

call replace("from","*@privatename","%1@public.domain.com")
call replace("reply-to","*@privatename","%1@public.domain.com")
call replace("sender","*@privatename","%1@public.domain.com")