Sendmail Configuration with SuSE 8.0
I am not a sendmail expert by any means and I am struggling with the
following issue.
I use fetchmail to poll my existing email addresses and then deliver the
mail locally via sendmail. I have been losing some emails due to the
envelope from address not being from a resolvable domain. I realize that
this is in sendmail for anti-spam reasons, but since I heavily filter my
email prior to pulling it in via fetchmail, I would like to disable this
feature and have sendmail accept all mail and deliver it.
The error that I get when this happens looks like this:
reject=553 5.1.8
On Wednesday 19 February 2003 10:41 am, Paul Varner wrote:
I am not a sendmail expert by any means and I am struggling with the following issue.
I use fetchmail to poll my existing email addresses and then deliver the mail locally via sendmail. I have been losing some emails due to the envelope from address not being from a resolvable domain. I realize that this is in sendmail for anti-spam reasons, but since I heavily filter my email prior to pulling it in via fetchmail, I would like to disable this feature and have sendmail accept all mail and deliver it.
The error that I get when this happens looks like this:
reject=553 5.1.8
... Domain of sender address user@invalid.domain does not exist When this happens, I do get a bounce to postmaster, but I lose the contents of the email, as the bounce only contains the headers.
I have looked through SuSEconfig.sendmail and I noticed that if I define SENDMAIL_EXPENSIVE to yes, then the script defines the following:
echo "FEATURE(\`accept_unresolvable_domains')dnl" echo "FEATURE(\`accept_unqualified_senders')dnl"
Which according to the documentation that I have seen on sendmail should have sendmail resolve the problem. However, when I do that and restart sendmail, the behavior still doesn't change.
How can I get sendmail to do what I want without having to learn all the nuances of sendmail configuration (considering that the O'Reilly book is two inches thick and that I don't want to be a sendmail expert) and do it through the existing tools provided by SuSE. I don't mind modifying the SuSEconfig and sysconfig scripts as I am an expert at scripting and can always put the changes back in if necessary during an upgrade.
Also, I don't want to upgrade the box to 8.1 as I barely got 8.0 to work on the box and it is now a stable system that provides SAMBA, NFS, mail, and proxy services to my home network.
I think you can correct this by commenting out the check_mail stmts below: (and restart sendmail) # Resolve map (to check if a host exists in check_mail) ### check_mail -- check SMTP `MAIL FROM:' command argument #SLocal_check_mail #Scheck_mail R$* $: $1 $| $>"Local_check_mail" $1 R$* $| $* $@ $>"Basic_check_mail" $1 #SBasic_check_mail -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 02/19/03 12:06 + +----------------------------------------------------------------------------+ "The days just prior to marriage are like a snappy introduction to a tedious book."
participants (2)
-
Bruce Marshall
-
Paul Varner