LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-14-2010, 07:17 PM   #1
Stroik52
LQ Newbie
 
Registered: Jul 2010
Posts: 9

Rep: Reputation: 0
Sendmail Configuration Question


Hi everyone,
I'm new at configuring sendmail and I'm working on configuring it as a gateway for our MS Exchange server. Mail seems to relay correctly for the most part.

I'm having an issue that I am unsure how to fix though. Say the exchange mail server is mail.mydomain.com and the sendmail gateway is smtp.mydomain.com, when I send mail to user@mydomain.com, my message will bounce back with the message "user address required", if I send mail to user@mail.mydomain.com though, mail goes through without a hitch.

Is there a way to make mail.mydomain.com = mydomain.com? I've been using virtusertables to compensate for this but that doesn't sound like a good solution. There must be some other way to do this?

Thanks in advance

Last edited by Stroik52; 07-14-2010 at 10:48 PM.
 
Old 07-14-2010, 10:40 PM   #2
lbrigman124
LQ Newbie
 
Registered: Jun 2006
Location: Oregon
Distribution: FC4-6,FC1,RH8-9, LFS,RHEL5, CENTOS5, Unbreakable5
Posts: 12

Rep: Reputation: 2
Sendmail is very flexible but the config files are difficult to get right.

The setting is:
MASQUERADE_AS(mail.mydomain.com)

The other package that might be useful as there is more stuff for filtering - postfix.
 
1 members found this post helpful.
Old 07-15-2010, 04:50 AM   #3
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Just want to say that you should consider checking out postfix as a replacement for sendmail. I have close to no experience with sendmail, but from what I've heard postfix is easier and more secure.
 
Old 07-15-2010, 01:36 PM   #4
Stroik52
LQ Newbie
 
Registered: Jul 2010
Posts: 9

Original Poster
Rep: Reputation: 0
My boss suggested using LDAP as a way to fill my aliases/virtusertable. Does anybody know how to integrate that with Active Directory? Are there any guides on the matter?

Last edited by Stroik52; 07-15-2010 at 03:01 PM. Reason: Question Changed
 
Old 07-16-2010, 01:09 AM   #5
lbrigman124
LQ Newbie
 
Registered: Jun 2006
Location: Oregon
Distribution: FC4-6,FC1,RH8-9, LFS,RHEL5, CENTOS5, Unbreakable5
Posts: 12

Rep: Reputation: 2
If IT will help you get the info for the Domain controller so the machine can do the lookups then
you just need to get the ldap packages loaded an point to the domain controller as the ldap server.

If you need to get fully integrated with ldap I would recommend likewise.
 
  


Reply

Tags
configuration, gateway, sendmail, smtp



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail configuration question Lenard Spencer Linux - Server 3 03-16-2009 05:26 PM
Sendmail access/configuration question NWBM Linux - Newbie 2 09-20-2008 07:24 AM
Sendmail configuration question.Mdk10.1 akihandyman Mandriva 3 12-23-2004 06:22 PM
Sendmail configuration question J_Szucs Linux - Software 0 08-09-2003 08:31 PM
A simple Sendmail configuration question J_Szucs Linux - Newbie 2 11-12-2002 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration