any limitation on how many entries in relay_domains

This is a discussion on any limitation on how many entries in relay_domains within the mailing.postfix.users forums, part of the Mail Servers and Related category; Hello, Im receiving: 554 Relay access denied on a just a couple (2-3) domains that I have had in ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-23-2006
cell_x
 
Posts: n/a
Default any limitation on how many entries in relay_domains

Hello,

Im receiving:
554 Relay access denied


on a just a couple (2-3) domains that I have had in relay_domains for
some time now. I have about 2100 domains in relay_domains file and the

only way to fix the above issue is if I postmap the file. I postmap the

file via cron every night. It doesn't matter where the domain is
located in the file (middle or end), the only way to fix it is by
postmaping. This doesn't happen all the time but once every two weeks
or so.


Is there any limitations or cause for this to happen?


Im running postfix 2.2.8 with Berkeley DB 4.2.52_3 on FreeBSD.


thank you for your time
eric c

Reply With Quote
  #2 (permalink)  
Old 03-23-2006
Greg Hackney
 
Posts: n/a
Default Re: any limitation on how many entries in relay_domains

That's pretty weird that it's always the same 2-3 domain names.

You can verify the content of the relay_domains.db file at the time of failure
with a command like:

postmap -s hash:relay_domains and grep for those missing domain names

Another thing I think you could do help see wheter it was a Postfix problem or
a database problem, is to temporarily switch over to using a btree database
instead of hash.

--
Greg




cell_x wrote:
> Hello,
>
> Im receiving:
> 554 Relay access denied
>
>
> on a just a couple (2-3) domains that I have had in relay_domains for
> some time now. I have about 2100 domains in relay_domains file and the
>
> only way to fix the above issue is if I postmap the file. I postmap the
>
> file via cron every night. It doesn't matter where the domain is
> located in the file (middle or end), the only way to fix it is by
> postmaping. This doesn't happen all the time but once every two weeks
> or so.
>
>
> Is there any limitations or cause for this to happen?
>
>
> Im running postfix 2.2.8 with Berkeley DB 4.2.52_3 on FreeBSD.
>
>
> thank you for your time
> eric c
>

Reply With Quote
  #3 (permalink)  
Old 03-24-2006
cell_x
 
Posts: n/a
Default Re: any limitation on how many entries in relay_domains

Is that as easy as changing the hash: to btree: in main.cf, postfix
reload, and postmap relay_domains file?

thanks
eric c

Reply With Quote
  #4 (permalink)  
Old 03-24-2006
Greg Hackney
 
Posts: n/a
Default Re: any limitation on how many entries in relay_domains

cell_x wrote:
> Is that as easy as changing the hash: to btree: in main.cf, postfix
> reload, and postmap relay_domains file?
>
> thanks
> eric c
>


Yes. Postmap probably defaults to building hash databases, so
you'd have to use: postmap btree:/etc/postfix/relay_domains
for example.

--
Greg
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:08 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0