| | |
sendmail config
![]() |
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
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
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.
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. •
•
Join Date: Aug 2003
Posts: 10
Reputation:
Solved Threads: 0
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
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
•
•
•
•
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
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
![]() |
Similar Threads
- sendmail mail server (Linux Servers and Apache)
- PHP mail() (Sendmail) Problem :( (PHP)
- sendmail config (*nix Software)
- sendmail config (*nix Software)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: .htaccess mod_rewrite problem
- Next Thread: how can i get my webserver running?
| Thread Tools | Search this Thread |
.net apache asus bbc bluegene centos cisco citrix cloud cloudcomputing datacenters debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora gadgets gentoo gos government gpl hardware hp hyper-v ibm java jobs kindle knoppix kvm laptop laptops lawsuits licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source sun supercomputer support tivo torvalds tradeshows training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen







