LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-19-2019, 05:45 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,594

Rep: Reputation: 128Reputation: 128
sendmail, messages bouncing, Domain of sender address does not exist


I have a problem that just started since installing a Sonicwall firewall, although I don't see how that would affect this problem. Possibly coincidence.

I'm sending message from a server on our office LAN. They are failing with the following message:
Code:
   ----- The following addresses had permanent fatal errors -----
<jfdadsf@att.net>
    (reason: 553 5.1.8 <hprsportal@webserver.hprs.local>... Domain of sender address portal@webserver.hprs.local does not exist)
The address shown is the local LAN address of this server. The public address is webserver.ohprs.org. In my sendmail.cf file I have:
Code:
define(`SMART_HOST',`mail.hprs.local')dnl
dnl MASQUERADE_AS(`ohprs.org')
dnl FEATURE(`masquerade_envelope')
dnl FEATURE(`masquerade_entire_domain')
The webserver host is sending via a local SMART_HOST relay. I have all the masquerades turned on.

Why is it going out with webserver.hprs.local and not simply ohprs.org or even webserver.ohprs.org?
 
Old 03-19-2019, 05:56 PM   #2
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,594

Original Poster
Rep: Reputation: 128Reputation: 128
Doh! I see now that I have dnl ahead of the masquerade statments! I've removed that and will monitor the emails to see if they're going through now.

I don't know why I commented those lines out in the first place. I didn't make a comment about it. I guess I find out why the hard way.

Later ...

Yup, uncommenting the masquerades seems to have fixed the problem.

"Stupid is as stupid does." --Forest Gump

Last edited by mfoley; 03-19-2019 at 07:43 PM.
 
  


Reply

Tags
rejected, sendmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail doubling sender domain- ex. hostname.domain.net.domain.net halborr Slackware 7 08-23-2010 08:37 AM
sendmail domain of sender does not exist paulbond Linux - Networking 3 06-15-2009 08:19 AM
external: domain of sender address does not exist talking to my server eagleone Linux - Networking 1 11-02-2005 08:54 AM
Sendmail: Domain of sender address does not exist 360 Linux - Networking 1 02-02-2003 08:40 PM
Sendmail Domain of sender address does not exist mantiev Linux - Networking 0 05-08-2001 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration