My scenario:

I have a OpenBSD  processing email for several domains, doing virus scanning, 
and spam processing.
The OpenBSD system was running sendmail and I would like to convert it to smtpd

All the incoming email is then forwarded on to one of two Microsoft Exchange 
servers,  depending upon
the destination email address.

Several email incoming email address a mapped to a smaller number of target 
email addresses.

I have included a small  test example of what I naively thought the smtpd.conf 
should look like.
The example a simple configuration for outgoing email, and only tries to deal 
with one
exchange server.

listen on all
thinkageLan = "192.102.11.0/24"
ksmartLan   = "205.189.88.110/28"

table thinkageComputers         { $thinkageLan }
table thinkageUsers                     { [email protected], [email protected] 
}
table thinkageDomains               { thinkage.ca, thinkage.com, mainboss.com }
table thinkageVirtualMapping { [email protected][email protected], 
[email protected][email protected] }

accept from source <thinkageComputers> for any virtual <thinkageVirtualMapping> 
recipient <thinkageUsers> relay via "smtp://exchange.thinkage.ca"

This configuration file generates.

/etc/mail/smtpd.conf:11: syntax error

after a lot of playing around I managed to figure out the syntax according to 
the man page is correct but actually is a statement that 
"virtual" cannot be used the "relay via".

I have tried various approaches to implement the effect I want, but so far no 
are satisfactory.
I am wonder what is the best method to create a working configuration.



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

Reply via email to