|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Dan Farrell (dan
spore.ath.cx)
Date: Sun Apr 13 2008 - 13:20:44 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 13 Apr 2008 14:55:07 +0530
"punit jain" <contactpunitjain
gmail.com> wrote:
> Hi Sandy,
>
> Perhaps the directive is smtpd_sender_restrictions which should look
> only for MAIL FROM . This means only mails originating from domains
> listed in sender_domain_allowed should be able to send mail. How it
> got to do with rejecting mails from all other domains is not
> understood by me . Would appreciate if you could explain me.
from http://www.postfix.org/postconf.5.html:
===========================================================
smtpd_sender_restrictions (default: empty)
Optional restrictions that the Postfix SMTP server applies in the
context of the MAIL FROM command.
The default is to permit everything.
Specify a list of restrictions, separated by commas and/or
whitespace. Continue long lines by starting the next line with
whitespace. Restrictions are applied in the order as specified; the
first restriction that matches wins.
The following restrictions are specific to the sender address
received with the MAIL FROM command.
check_sender_access type:table
Search the specified access(5) database for the MAIL FROM
address, domain, parent domains, or localpart
, and execute the
corresponding action.
[...]
Examples:
smtpd_sender_restrictions = reject_unknown_sender_domain,
check_sender_access hash:/etc/postfix/access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]