29 lines
446 B
Cheetah
29 lines
446 B
Cheetah
primary_hostname = %HOSTNAME%
|
|
qualify_domain = %LOCALMAILNAME%
|
|
|
|
acl_smtp_rcpt = acl_check_rcpt
|
|
|
|
begin routers
|
|
smarthost_route:
|
|
driver = manualroute
|
|
domains = *
|
|
transport = smarthost_smtp
|
|
route_list = * %SMARTHOST%
|
|
|
|
begin transports
|
|
smarthost_smtp:
|
|
driver = smtp
|
|
port = 25
|
|
multi_domain
|
|
|
|
begin acl
|
|
acl_check_rcpt:
|
|
accept
|
|
hosts = %RELAYNETS%
|
|
deny
|
|
message = "Relaying denied"
|
|
|
|
begin rewrite
|
|
*@* ${1}@${qualify_domain} Ffrs
|
|
|