LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-18-2009, 07:10 PM   #1
sysxi
LQ Newbie
 
Registered: Jan 2004
Distribution: Redhat Fedora / Solaris 10
Posts: 25

Rep: Reputation: 15
Sendmail user unknown


Hi,

I have a front web server using sendmail as an smtp outgoing server for "mydomain.com"
From this server we want to send mail to anyone and to "contact@mydomain.com" which is located on another server (mail.mydomain.com) with full DNS MX entry.

Sendmail did this job perfectly till we recently rebooted the server.
Now sendmail does send correctly mail to anyone on internet but fails to send to "contact@mydomain.com."

As a fact this Sendmail server will never receive any mail : it is just an outgoing mail server.

Sendmail file /etc/hosts is as follows :
127.0.0.1 MYSERVERNAME mydomain.com localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

if I try to look at sendmail configuration :
sendmail -d0.1 -bt < /dev/null
Version 8.13.8

Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS
TCPWRAPPERS USERDB USE_LDAP_INIT

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = mydomain
(canonical domain name) $j = mydomain.com
(subdomain name) $m = com
(node name) $k = MYSERVERNAME
========================================================
If I delete "mydomain.com" in /etc/hosts while , the mail will be correctly sent to everywhere (including contact@mydomain.com) but then the sender address comes with users@local.localdomain which is not acceptable.

Any idea of how I can use this server to send to anyone *and* to my true MX ?
 
  


Reply


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 550 5.1.1 Reject Unknown User Nullivex Linux - Server 3 01-29-2009 02:56 AM
sendmail errors: can't resolve name, user unknown smallbook Linux - Newbie 1 02-29-2008 08:01 AM
sendmail 550 5.1.1. unknown user mwclassen Linux - Software 2 05-03-2007 12:41 PM
error 550 5.1.1 user unknown about sendmail addbbe Linux - Networking 0 12-21-2006 11:11 PM
sendmail problem stat=User unknown singying304 Linux - Networking 1 10-07-2005 07:59 PM


All times are GMT -5. The time now is 05:35 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration