Hi,
The new snapshot has had some very invasive changes, and we want to make
sure we didn't break something while at it.
1- update your smtpd.conf
=========================
If you have rules that specify a source other than "any" or "local", you
will need to update your smtpd.conf:
accept from any [...]
accept from local [...]
accept from source 192.168.1.1 [...]
It is no longer possible to use:
accept from 192.168.1.1 [...]
as it caused ambiguity in the grammar.
2- action-less rules
====================
You are no longer required to declare a default action (deliver to ...,
relay ...):
table myvmap { gilles = [email protected] }
accept from any for domain opensmtpd.org virtual <myvmap>
3- forward-only
===============
It is now possibly to accept mail for a domain but make it mandatory for
users to relay mails through ~/.forward:
accept from any for domain opensmtpd.org forward-only
4- recipient
============
It is now possible to match specific recipients on a rule.
This is useful to create a whitelist of recipients you accept to relay:
table myrecipients { [email protected], [email protected] }
accept for domain opensmtpd.org recipient <myrecipients> relay
virtual mappings are now disallowed on virtual domains since they where
only allowed to achieve this whitelisting feature.
5- swappable parameters
=======================
It is also possible to swap parameters:
accept from any for any deliver to maildir
accept for any from any deliver to maildir
There are now 4 parts:
accept [decision] [lookup] [action] [options]
where:
decision: from, for, tagged, sender, recipient
lookup : alias, virtual, userbase
action : deliver to ..., relay
options : expire, forward-only
within each part, the paramters are swappable.
The documentation has not yet been updated, I'm working at it right now
as it's quite an invasive change to the man page. All of this will be
documented before next release.
PLEASE make sure your setups work and report both successes and failures
as we really would hate to release a broken stable version ;-)
--
Gilles Chehade
https://www.poolp.org @poolpOrg
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]