Fedora Linux Support Community & Resources Center
  #1  
Old 16th June 2006, 04:35 PM
shams Offline
Registered User
 
Join Date: Oct 2004
Posts: 881
Exclamation sendmail can't send mail from local mail server?

hi,
i have doamin example.other.sc from dyndns.com, runing a webserver in fc5, i can browse my webserver without problem,now i am trying to setup a local mail server using sendmail, i can recieve mails but can't send, because sendmail cannot attach my domain with my user name like user@example.other.sc but sending as user@localhost.localdomain, these are the changes i made to /etc/mail files:
in sendmail.mc:
LOCAL_DOMAIN(`example.other.sc')dnl
FEATURE(`relay_based_on_MX')dnl
MASQUERADE_AS(`example.other.sc')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl
MASQUERADE_DOMAIN(example.other.sc)dnl

in access file:
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
example.other.sc RELAY

in local-host-names file:
# local-host-names - include all aliases for your machine here.
example.other.sc

in relay-domains file:
example.other.sc

in virtusertable file:
@example.other.sc user

after make this is the output when i restart the sendmail:
# /etc/rc.d/init.d/sendmail restart
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]

and this is my /etc/hosts file:
127.0.0.1 localhost.localdomain.com localhost
202.153.68.123 example.other.sc

any one can help please?
__________________
Want to share my experiences with other newbies:
Fedora For Newbies
Some Debian Tips
Reply With Quote
Reply

Tags
local, mail, send, sendmail, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't send mial from local mail server? shams Servers & Networking 0 11th December 2006 01:16 AM
how to setup pop mail clietns for local mail server? shams Servers & Networking 7 19th July 2006 09:05 AM
Sendmail cant send mail DRE.ORGY.NET Servers & Networking 4 20th July 2005 03:01 PM


Current GMT-time: 07:48 (Friday, 19-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat