LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-22-2004, 07:59 PM   #1
CactusS4
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Sendmail /etc/mail/access issue (access.db)


Okay, I've been looking for a good place to post this question and I'm hoping it's here.

I have 2 boxes that I believe are configured basically identical (same distribution, same RPM's, same Version of Sendmail, files (sendmail.mc/submit.mc/access/blah blah blah all look the same.

Box (A) "will" accept mail for admin@domain1.com from anyone and it pushes it to the linux server just fine (mail received sent, like clock work). See Access and Mailertable below.


Box (B) "will not" accept mail for admin@domain1.com from anyone and provides a relaying denied message, so nothing works here. See Access and Mailertable below

I just don't want folks sending these domains lots of crap, when the only real email box is an admin@ mailbox. So I don't want any mail but destined to admin@domain*. Without doing this I get all sorts of spam to various email addresses that are not valid, then they sit in my queue and I rather just now allow them in to begin with.


Box A:

Access File:

# by default we allow relaying from localhost...
localhost RELAY
127.0.0.1 RELAY
domain.com RELAY (Main domain name)

# Admin Mailboxes
To:admin@domain1.com RELAY
To:admin@domain2.com RELAY
To:admin@domain3.com RELAY


Mailertable:
domain.com esmtp:exchange server
domain1.com esmtp:linux server
domain2.com esmtp:linux server
domain3.com esmtp:linux server

Box B:

Access File:

# by default we allow relaying from localhost...
localhost RELAY
127.0.0.1 RELAY
domain.com RELAY (exchange Server for internal network)

# Admin Mailboxes
To:admin@domain1.com RELAY
To:admin@domain2.com RELAY
To:admin@domain3.com RELAY


Mailertable:
domain.com esmtp:exchange server
domain1.com esmtp:linux server
domain2.com esmtp:linux server
domain3.com esmtp:linux server


However, if I place the following line in my Access file on Box (B):

domain1.com RELAY

I can send mail to admin@domain1.com without any issues, however!! the To:admin@domain.com earlier in the access-list should be all I need. As Box(A) is configured without this extra rule and it works just fine..


Error message on Box (B)

May 22 18:39:53 gateway sendmail[30716]: i4N1dBda030716: ruleset=check_rcpt, arg1=admin@domain1.com, relay=remote.host.com[111.111.111.111], reject=550 5.7.1 admin@domain1.com... Relaying denied


Any ideas, I have searched and nothing makes sense, I do not see why this does not function "properly" on both boxes.

Thanks
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I setup/access sendmail mail boxes vrooom305 Fedora 1 08-23-2005 09:57 AM
Sendmail Denied Access quack322 Red Hat 1 07-12-2005 12:10 PM
Sendmail: did not issue MAIL/EXPN/VRFY/ETRN nenad Fedora 1 03-31-2005 01:12 PM
local mail: how to access with Moz mail client acummings Linux - Networking 2 11-11-2004 08:33 AM
sendmail web access ranl Linux - Software 2 05-25-2004 01:14 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration