Le 27/11/13 11:12, Gilles Chehade a icrit :
Hi,
The latest snapshots are what we're going to release in a few days.
I still find that man pages should be improved.
For instance, then important feature
listen on tls [...] auth <credentials>
is to be found in man table(5) but no mention of it on man smtpd.conf(5):
listen on interface [family] [port port] [tls | tls-require | smtps |
secure] [pki pkiname] [auth | auth-optional] [tag tag] [hostname
hostname] [hostnames names] [mask-source] [verify]
Also, as we any MTA you have some obscure obvious notion like ( from
man table(5) ). Obvious for some, obscure for others. Example from man
table(5
Aliasing tables
Aliasing tables are mappings that associate a recipient to one or many
destinations. They can be used in two contexts: primary domain aliases
and virtual domain mapping.
The "primary domain" is a new notion, never seen previously in man
smtpd.conf(5)
Here is my config, at the moment, it relay's auth users, accept mail
bound to users of the mail system and deliver it locally. Next step will
be installing dovecot and making MX point to this new serveur.
Users are not system users. I had to declare each user 3 times.
The first time is for authorizing submission,
listen on egress port submission tls-require pki xxxx.yyyy.fr auth
<submission.creds>
The second for authorizing RCPT TO:<user@....>,
accept for domain <domaines.locaux> virtual <virtual.aliases> ....
and the third for permitting local delivery.
accept for domain <domaines.locaux> virtual <virtual.aliases> userbase
<mes.utilisateurs> deliver to maildir.
The second table is a bit frustrating as it contains essentially noting :
user1 user1
user2 user2
...
but it is mandatory.
I am afraid I will have to use yet another user table for dovecot !
With system users, you do not have these many tables, the one for the OS
is all you need.
Config with or without system users is so different that a bit of
separate explainations would be usefull.
I found thant smtpctl is a wonderful tool for sorting out were is the
problem. Not before using smtpctl trace expand , I was aware that
virtual <virtual.aliases> was mandatory for non system users (in man
smtpd.conf(5) it appears as optional )
Ph. Le.