You can't name a table after a keyword: recipient <recipient> Le 23 mars 2016 11:32 PM, "Ian Darwin" <i...@darwinsys.com> a écrit :
> > At this time, the list is very low volume, feel free to introduce > yourself > > ;-) > > Hola! This is Ian Darwin, sometime OpenBSD committer (ports, mostly, but I > also wrote > the old file(1) command "a while ago"), Java geek, tech instructor/author, > and photographer. > > I've been running smtpd on my OpenBSD laptop for I think a couple of years > and in production on a low-volume server for maybe a year (it's been up for > 220 days so maybe 3/4 of a year, I dunno). > > I'm asking if anybody has a working example with "recipient"? > > What I planned to do was divert one person's (myself, #1 guinea pig) > incoming > mail to a different MDA for testing a new MDA. I tried taking this > existing line: > > accept from any for domain <domains> alias <aliases> deliver to mbox > > and cloning it, the first version to add "recipient { "per...@dom.ain" }" > and the second as above. I tried putting the recipient after the domain, > e.g., > > accept from any for domain <domains> recipient <recipient> alias <aliases> > deliver to mbox > > Why after? Because the man page says "Further filtering may be achieved on > specific recipients if desired" and "further" implies after - the man page > has no example of this (whether you write the table as a table<x> rule or > inline should not matter, but I did try both before sending this post). > > Also tried putting it in a variety of other places, replacing some > phrases, etc. > > I could not come up with anything that didn't give the dreaded :-) > "smtpd.conf:24: syntax error" > > Is this the right tool for this job, and, if so, how does it actually work? > > Thanks if anyone can steer me right on this. > > Ian > > -- > You received this mail because you are subscribed to misc@opensmtpd.org > To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org > >