SUSE Support

Here When You Need Us

Mail relay not working with SLES11 postfix

This document (7022962) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)


Customer has a SLES11 SP3 server and when they configure postfix to relay mail to another SMTP server, it fails to relay the mail message and shows an error in the /var/log/mail log file, the error is :

May  1 18:24:21 USA-US-X1015 postfix/smtpd[29037]: NOQUEUE: reject: RCPT from unknown[]: 451 4.3.0 <>: Temporary lookup failure; from=<> to=<> proto=ESMTP helo=<>


It was discovered in the problem server "" file there as an invalid ip address range listed in the 
"mynetworks" parameter.  Of the 28 ip address ranges listed in this parameter, one was invalid, it was :


It should be :

Once this was corrected and postfix restarted, the problem went away.


Invalid ip address range in the postfix configuration file.

Additional Information

A clue to this solution was listed in the error one line above the error listed in the "Situation" section of this
technical document, it was :

postfix/smtpd[29037]: warning: bad net/mask pattern: "10.205.149/0/24"


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7022962
  • Creation Date: 15-May-2018
  • Modified Date:28-Sep-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.