![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
![]() |
Configuration Examples - Under Construction
Please email suggested examples we should add to surgemail-support@netwinsite.com.
- Accept email for a private domain name "private.name" as if it was sent to your real domain name "company.com"
- Rewriting the 'from' envelope and from/sender/reply-to headers
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")