Ken Perl <[email protected]> wrote on 2009-Feb-23:
> When I am trying the RFC821 MAIL FROM command, I use a test email
> domain setup only on my Debian Linux box, a non FQDN name as domain
> name, the courier MTA refuses me to continue with an error like "513
> Syntax error",
> 
> MAIL FROM: <k...@linux>
> 
> How to disable courier MTA to check/validate the email address in the
> MAIL or RCPT commands?

That depends.  "k...@linux" will never work in courier because "linux" is not a
legal hostname.  You've got to have a top-level domain - linux.com, linux.me,
linux.my-made-up-domain, etc.  That check is hard-coded into courier and can't
be changed without editing and recompiling the source code.

But you can tell courier not to verify whether any hostnames (like
"linux.my-made-up-domain") actually exist by setting

BOFHCHECKDNS=1

in the '/etc/courier/esmtpd'.

Rather than turning off the check globally, you can turn it off only for certain
ip addresses, like localhost.  Check out the /etc/courier/smtpaccess/default
file (or any file in the 'smtpaccess' directory).  If you put

127.0.0.1<TAB>BOFHCHECKDNS=1

in that file and then run 'makesmtpaccess', courier will ignore the check when
connecting to localhost, but not otherwise.  (Make sure you use the TAB
character to separate the items.  Spaces won't work.)

HTH

Jeff

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to