On Sat, May 10, 2014 at 06:48:18PM +0200, Denis Fondras wrote:
> Le 10/05/2014 17:54, Creamy a ?crit :
> > 
> > table creamy db:/etc/mail/creamy.db
> > table secrets db:/etc/mail/secrets.db
> > accept sender creamy for domain example.com relay via 
> > smtps+auth://[email protected] auth <secrets>
> > 
> 
> Shouldn't it be :
> accept sender <creamy> for domain example.com ...
> 

Examples from the man page:

sender [!] senders
if specified, the rule will only be matched if the sender
email address is found in the table senders.

for [!] domain domain [alias <aliases>]
this rule applies to mail destined for the specified domain.

for [!] domain <domains> [alias <aliases>]
this rule applies to mail destined to domains which are part
of the table domains

So it strongly implies that sender always takes the name
of a table as an argument.

I've tested this, and yes, as you suggest it accepts either
the name of a table inclosed in angle brackets or a literal
string without.

So the manual page is wrong, or at least misleading, because
the syntax of the examples differs between from, sender, and
for, so it's not clear whether the angle brackets are
intended to be literally included, or whether they are just
markup in the man page to indicate, 'name of table'.

-- 
Creamy! <3

Reply via email to