|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 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 > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Is that as easy as changing the hash: to btree: in main.cf, postfix
reload, and postmap relay_domains file? thanks eric c |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|