December 4, 2008
Posted by roadburn
Rails sending email Net::SMTPFatalError
From: http://readlist.com/lists/lists.rubyonrails.org/rails/3/15740.html
Configuring local_recipient_maps in main.cf
The local_recipient_maps parameter specifies lookup tables with all
names or addresses of local recipients. A recipient address is local
when its domain matches $mydestination, $inet_interfaces or
$proxy_interfaces. If a local username or address is not listed in
$local_recipient_maps, then the Postfix SMTP server will reject the
address with “User unknown in local recipient table”.
The default setting, shown below, assumes that you use the default
Postfix local(8) delivery agent for local delivery, where recipients
are either UNIX accounts or local aliases:
/etc/postfix/main.cf:
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
To turn off unknown local recipient rejects by the SMTP server, specify:
/etc/postfix/main.cf:
local_recipient_maps =
That is, an empty value. With this setting, the Postfix SMTP server
will not reject mail with “User unknown in local recipient table”.
No Comments Yet
You can be the first to comment!
Leave a comment