Hi

I have a m/c that receives mail on the border of my domain.  It
doesn't want to deliver any mail itself it just wants to deliver to
the mailstore.  However it does want to do any required forwarding
and/or rejection to prevent needless internal message traffic (and to
prevent confusion if the message was spoofed).  So I thought that this
should work:

table localdomains {"example.net"}
table virtuser file:/etc/mail/virtuser

[pki stuff]

listen on all secure pki smarthost.example.net

accept from source mailstore.example.net\
 for !domain <localdomains>\
 relay pki smarthost.uphall.net

accept from !source mailstore.example.net\
 for domain <localdomains> virtual <virtuser>\
 relay via tls://mailstore.example.net pki smarthost.example.net

But I get

# smtpd -n
/etc/mail/smtpd.conf:22: aliases/virtual may not be used with a relay
rule

I understand what the error is saying but why is this enforced?

Thanks

JC

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to