Reply

Join Date: Jul 2003
Posts: 106
Reputation: spikes is an unknown quantity at this point 
Solved Threads: 0
spikes's Avatar
spikes spikes is offline Offline
Junior Poster

sendmail config

 
0
  #1
Aug 15th, 2003
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,036
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: sendmail config

 
0
  #2
Aug 15th, 2003
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.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Aug 2003
Posts: 10
Reputation: freebie is an unknown quantity at this point 
Solved Threads: 0
freebie freebie is offline Offline
Newbie Poster
 
0
  #3
Aug 18th, 2003
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2003
Posts: 117
Reputation: subtronic is an unknown quantity at this point 
Solved Threads: 1
subtronic's Avatar
subtronic subtronic is offline Offline
Junior Poster

Re: sendmail config

 
0
  #4
Aug 21st, 2003
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Linux Servers and Apache Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC