Results 1 to 4 of 4
How have you been Chaps?
Please, I need to configure SENDMAIL to send mail through my office MAIL SERVER, i was able to join the Linux server to my domain ...
- 10-18-2010 #1Just Joined!
- Join Date
- May 2009
- Posts
- 5
SENDMAIL service configuration
How have you been Chaps?
Please, I need to configure SENDMAIL to send mail through my office MAIL SERVER, i was able to join the Linux server to my domain by configuring the IP address, Subnet Mask, Gateway and DNS for my office network IP range. But the challenge i'm having right now is that I've tried to send email to my yahoo and it has never work! I don't know what else to do, please assist.
Thank you
- 10-22-2010 #2Just Joined!
- Join Date
- Oct 2010
- Location
- Reston, VA
- Posts
- 26
If I understand correctly ....
You want all outgoing mail to be sent to your office mail server NOT delivered by the linux server.
To do this:
edit /etc/mail/sendmail.cf
Look for
# "Smart" relay host (may be null)
DS
change to:
DS mymailserver.mynet.com
Now configure your company mail server to allow relaying from your linux server.
-Gooney0
- 10-22-2010 #3Just Joined!
- Join Date
- May 2009
- Posts
- 5
Thanks so much for responding to my post, gooney0.
Actually, what i needed to do is to point sendmail to be using my office mail server to send email and receive email. I tried:
mail ******.*****@petrodata.net, where petrodata.net is my domain, but it doesn't relay any message to the email.
When i opened sendmail.cf, it was written on it that i should not edit the file instead i should edit sendmail.mc; but i have done what you suggested I should do.
I hope you can understand my plight now and I hope your suggestions will help. Please, how can i configure window exchange server 2003 TO ALLOW RELAYING FROM MY LINUX SERVER?
- 10-22-2010 #4Just Joined!
- Join Date
- Oct 2010
- Location
- Reston, VA
- Posts
- 26
If you'd like to use the sendmail.mc file you can. Just make the same edits to it and follow the instructions at the top of sendmail.mc.
As for exchange I don't know. I'd google around for "exchange 2003 relay access" or something like that.
Receiving mail is a different issue. If your linux sever isn't listed as the MX for your domain in DNS you won't get any email.
Example:
DNS:
You.com MX 1 exchange.you.com
In this case all email for person@you.com will go to exchange.you.com.
I think what you want to do is use "fetchmail" to pull down your email to your linux server. See:
man fetchmail
for details
-Gooney0


Reply With Quote
