943,413 Members | Top Members by Rank

Aug 15th, 2003
0

sendmail config

Expand Post »
Hey all,
i am having trouble getting sendmail to work, all i need it to do is send on any mail to the main smtp server which can then send to the correct user. in the .cf file the smart host field shows 'DSmyserver.mydomain.com' which is correct as far as i know. i havent changed any other part of the file as i was informed this is all i need.

can any one help?

the server is internal so i'm not worrying about an security config or external mail function
i just want the box to use sendmail to pass on mail from a web page (local) to the main email server.

cheers

spikes
Similar Threads
Reputation Points: 11
Solved Threads: 2
Junior Poster
spikes is offline Offline
106 posts
since Jul 2003
Aug 15th, 2003
0

Re: sendmail config

Sorry, I can't help No experience with sendmail. I guess I don't need to say to check out man pages at sendmail.org. Aside from that, check out the RedHat documentation on redhat.com. They're often pretty good and easily adaptable to other linux distros as well.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Aug 18th, 2003
0
Re: sendmail config
Are you trying to set up a email relay server? senario:
your inside server name= ds.domain.com
put this line in your virtusertable file
@domain.com %1@ds.domain.com
mail send to john@domain.com will have sendmail forward to
john@ds.domain.com
if you are using Exchange for internal mail, be sure you have an email address for john@ds.domain.com and john@domain.com

don't forget to run :
makemap hash /etc/mail/virtusertable < virtusertable
assumming your virtusertable is in /etc/mail
Reputation Points: 10
Solved Threads: 0
Newbie Poster
freebie is offline Offline
10 posts
since Aug 2003
Aug 21st, 2003
0

Re: sendmail config

Quote originally posted by spikes ...
Hey all,
i am having trouble getting sendmail to work, all i need it to do is send on any mail to the main smtp server which can then send to the correct user. in the .cf file the smart host field shows 'DSmyserver.mydomain.com' which is correct as far as i know. i havent changed any other part of the file as i was informed this is all i need.

can any one help?

the server is internal so i'm not worrying about an security config or external mail function
i just want the box to use sendmail to pass on mail from a web page (local) to the main email server.

cheers

spikes
You're trying to sendmail from a local machine to an SMTP server else where? Why not just set up a relay? If you could run:

sendmail -v -t -i (or mail -v user@host.com) and copy and paste the output, that would help a lot (I think). You know how to work with sendmail on the command line? Ie:

To: user@host.com
From: me@myhost.com
Subject: blah
Yo
^d
Reputation Points: 44
Solved Threads: 1
Junior Poster
subtronic is offline Offline
117 posts
since Aug 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Servers and Apache Forum Timeline: .htaccess mod_rewrite problem
Next Thread in Linux Servers and Apache Forum Timeline: how can i get my webserver running?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC