LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2004, 07:53 AM   #1
Dax_wells
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Rep: Reputation: 0
Sendmail & relay rules


Hi,

We are currently configuring a new sendmail server to act as a SMTP relay by a number of clients for a public email domain.

This relay server accepts mail for our domain mydomain.com from all external servers, via a rule in the access.db for the domain name which allows RELAY as long as the detination email address is *@mydomain.com.

Access:

mydomain.com RELAY

We then re-direct this mail with the mailertable to the actual mail server:

Mailertable:

mydomain.com esmtp:[host.mydomain.com]

this is working fine and all is happy with inbound mail.


However our problem arises in outbound mail from the same domain. Clients that use this domain need to be able to relay mail via this server if they come from a valid IP address listed in the access file AND also if their source email address is a user@mydomain.com address. We can do it at present just on the host name or ip address however we cannot combine the 2 requirements.

Does anyone know how to do this with sendmail?

Regards
Dax
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Relay Help midmichmark Linux - Networking 1 12-29-2004 06:20 AM
Sendmail Relay johnsfrj Linux - Newbie 0 10-06-2004 10:25 AM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
PostFix with a SendMail Relay Host & SSH Wrappers jgrafals Linux - Software 0 02-13-2004 10:24 AM
Sendmail relay kurgan70 Linux - Newbie 1 03-20-2002 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:16 PM.

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