Problem with access database not working?

  • Follow


I've got sendmail 8.14.3 running on a new ubuntu 8.10 server 
installation.  I just converted over from Fedora and I've found a few 
differences.  I have several domain names but only want to receive mail 
on two of them.  I put the two that I don't want into my access file with a;

To:domain.com	REJECT

but mail comes through anyway.  This worked fine on my Fedora setup so 
there must be some subtle difference with ubuntu that I don't know 
about.  The sendmail.mc files are pretty much the same between systems.

Any ideas where to start looking?  Thanks,

-- 

Knute Johnson
email s/nospam/knute2009/

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
	     ------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
0
Reply nospam8071 (917) 2/9/2009 2:33:40 AM

Did you check your mail log file (/var/log/maillog on CentOS, I don't 
know what it is on Ubuntu)? Are these domains in the virtuserdomains 
and/or virtusertable listed as well?

Have you tried

sendmail -bt

And then

/parse anyaddress@domain.com

These are just a few things that come to mind. Without knowing your 
setup and seeing your sendmail.mc and other files, it's tricky to 
troubleshoot this.

Knute Johnson wrote:
> I've got sendmail 8.14.3 running on a new ubuntu 8.10 server 
> installation.  I just converted over from Fedora and I've found a few 
> differences.  I have several domain names but only want to receive mail 
> on two of them.  I put the two that I don't want into my access file 
> with a;
> 
> To:domain.com    REJECT
> 
> but mail comes through anyway.  This worked fine on my Fedora setup so 
> there must be some subtle difference with ubuntu that I don't know 
> about.  The sendmail.mc files are pretty much the same between systems.
> 
> Any ideas where to start looking?  Thanks,
> 
0
Reply me4 (18697) 2/9/2009 5:46:42 AM


Kevin:

Thanks for the response, it triggered off the answer, though I'm not 
sure how.  I had all the domains listed in my /etc/hosts file and the 
envelope would get rewritten before the access database was checked. 
Anyway, taking all the domain names out of /etc/hosts and making sure 
that the valid domains were in /etc/local-host-names fixed it right up.

I hope I don't find that that breaks something else though :-).

knute...

Kevin Keane wrote:
> Did you check your mail log file (/var/log/maillog on CentOS, I don't 
> know what it is on Ubuntu)? Are these domains in the virtuserdomains 
> and/or virtusertable listed as well?
> 
> Have you tried
> 
> sendmail -bt
> 
> And then
> 
> /parse anyaddress@domain.com
> 
> These are just a few things that come to mind. Without knowing your 
> setup and seeing your sendmail.mc and other files, it's tricky to 
> troubleshoot this.
> 
> Knute Johnson wrote:
>> I've got sendmail 8.14.3 running on a new ubuntu 8.10 server 
>> installation.  I just converted over from Fedora and I've found a few 
>> differences.  I have several domain names but only want to receive 
>> mail on two of them.  I put the two that I don't want into my access 
>> file with a;
>>
>> To:domain.com    REJECT
>>
>> but mail comes through anyway.  This worked fine on my Fedora setup so 
>> there must be some subtle difference with ubuntu that I don't know 
>> about.  The sendmail.mc files are pretty much the same between systems.
>>
>> Any ideas where to start looking?  Thanks,
>>


-- 

Knute Johnson
email s/nospam/knute2009/

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
	     ------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
0
Reply nospam8071 (917) 2/9/2009 7:23:19 AM

Glad to hear you found it. Most likely, your solution is the correct one 
in the first place (depending, of course, on your requirements). The 
domains should never be listed in /etc/hosts; that file actually has 
little to do with sendmail in the first place; it's really only for name 
resolution.

Knute Johnson wrote:
> Kevin:
> 
> Thanks for the response, it triggered off the answer, though I'm not 
> sure how.  I had all the domains listed in my /etc/hosts file and the 
> envelope would get rewritten before the access database was checked. 
> Anyway, taking all the domain names out of /etc/hosts and making sure 
> that the valid domains were in /etc/local-host-names fixed it right up.
> 
> I hope I don't find that that breaks something else though :-).
> 
> knute...
> 
> Kevin Keane wrote:
>> Did you check your mail log file (/var/log/maillog on CentOS, I don't 
>> know what it is on Ubuntu)? Are these domains in the virtuserdomains 
>> and/or virtusertable listed as well?
>>
>> Have you tried
>>
>> sendmail -bt
>>
>> And then
>>
>> /parse anyaddress@domain.com
>>
>> These are just a few things that come to mind. Without knowing your 
>> setup and seeing your sendmail.mc and other files, it's tricky to 
>> troubleshoot this.
>>
>> Knute Johnson wrote:
>>> I've got sendmail 8.14.3 running on a new ubuntu 8.10 server 
>>> installation.  I just converted over from Fedora and I've found a few 
>>> differences.  I have several domain names but only want to receive 
>>> mail on two of them.  I put the two that I don't want into my access 
>>> file with a;
>>>
>>> To:domain.com    REJECT
>>>
>>> but mail comes through anyway.  This worked fine on my Fedora setup 
>>> so there must be some subtle difference with ubuntu that I don't know 
>>> about.  The sendmail.mc files are pretty much the same between systems.
>>>
>>> Any ideas where to start looking?  Thanks,
>>>
> 
> 
0
Reply me4 (18697) 2/9/2009 8:04:43 PM

3 Replies
38 Views

(page loaded in 0.099 seconds)

Similiar Articles:













7/21/2012 9:47:04 PM


Reply: