On Sun, Apr 11, 2010 at 08:20:24PM +0200, Rene Maroufi wrote:
> Hi,
>
> i tried smtpd on a snapshot from March (GENERIC#556). If i use:
>
> accept from local for all relay
>
> I get with smtpd -n:
>
> /etc/mail/smtpd.conf:11: syntax error
>
> If i remove from local, everything is OK. Whats wrong with from local?
> The manpage says from local is correct (but the default, so it isn't
> needed).
>
As far as I remember, "local" is not a supported keyword for the "from"
clause but you can achieve what you want by doing:
accept for all relay
The default in smtpd when you don't specify a from clause is to assume
the source to be local.
Gilles
--
Gilles Chehade
freelance developer/sysadmin/consultant
http://www.poolp.org