Click to See Complete Forum and Search --> : Simple(?) sendmail setup
Im trying to set up sendmail on a company intranet so that i can use Formmail to send emails from webpages to people.
All i want it to do is to send everything to an exchange server(5.5), the exchange server will then send the email to people.
Im stuck, all the information i can find seems to be way to complicated for what im needing and sendmail seems like a very complicated program.
Is there an easy way to do this? Or any easy to follow tutorials? Is sendmail even the best program to do this with?
Thanks for any help.
Any
C'baoth
08-05-2002, 03:20 PM
Here (http://www.redhat.com/support/resources/howto/RH-sendmail-HOWTO/book1.html)
This should have all the information you need. (I just posted this link yesterday...)
Im sorry but that didnt really help at all.
This guy (http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=3c2d00d0.615192169%40news.verio.net&rnum=1&prev=/groups%3Fq%3Dsendmail%2B%2Bexchange%2Bserver%2Bfor mmail%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3D3c2d00d0.615192169%2540news.verio.net%2 6rnum%3D1) seems to have wanted to do exactly the same thing that i need to, but there doesnt seem to be a deffinate answer.
I can send emails(but not reply to) from Pine and all I had to was put the IP address of the Exchange server into the smtp-server bit of the setup. Is this Sendmail sending the message or Pine?
Is there a command to test to see if sendmail is working?
Any help is very much appreciated, i think im in a little over my head here as im quite new to Linux.
Any
posterboy
08-06-2002, 03:36 PM
Maybe this is a _tiny_ bit of help. :)
Pine cannot send email. It is a MUA, a mail user agent. Sendmail is a MTA, a mail transport agent. Here's a bug shooter for you.
echo hello |sendmail -v someone@someaddress.com. Then, look in the mail logs at the errors, if any. That -v makes him be verbose, very useful. HTH, Ray
When i try that i get:
domain.com: Name server timeout
user@doamin.com... Transient parse error -- message queued for future delivery
user@doamin.com... qued
We dont have a DNS server and there isnt an MX record for our exchange server, just an IP address.
Could anyone please help me? Ive got Webmin installed and working, so is there something i can cange with that?
Any
posterboy
08-07-2002, 04:41 PM
Nameserver? I thought we were using dotted quad addresses. No matter, try that with a domain that CAN be found in the worlds DNS, or, to localhost, to another user on the same box, then expand your horizons, one step at a time.
I do want to use just the IP address, but just cant figure out how to configure it to do that.
I can send to other users on the same machine fine.
Im not trying to send anything outside of the network.
Like i said, i can send to anyone using Pine so i guess Pine just uses the IP that i put in to tell Sendmail where to send all the messages?
Any
posterboy
08-08-2002, 11:05 AM
Yes, likely you have configured Pine to use sendmail, and that's the app that's actually doing delivery for you. Now, is you want sendmail to deliver ALL mail to some given IP no matter what it''s actual address, I know that can be done, but, I too, don't know how. Sorry, Ray
Its working :cool:
Heres how ive done it:
------------------------------------
in /etc/hosts set the following line:
191.100.1.1 servername
Added this to the M4 confguration in Webmin(to turn off dns):
FEATURE(nodns)dnl
FEATURE(nocanonify)dnl
Added this to /etc/mail/mailertable with webmin:
domain.co.uk smtp:[servername]
------------------------------------
This all seems to be working.
Please let me know if ive missed something important.
Thanks for the help.
Any