Hi Wietse,

This is a syslog snapshot of the situation a few seconds earlier:

* postmap processes dying because of a missing file (remember, there is no
mention of the db file in the current configuration)
* other postmap processes creating/populating the db file "N" times, ergo
the duplicate entry messages
* some process creates the text file: it may do it once, or overwrite in
"N" times.  Not sure which.

Every 5s: grep postfix /var/log/messages                                  
                                                                          
                        2014-02-14 12:45:44

Feb 14 12:45:31 P1234567 mail.crit postfix/postmap[19197]: fatal: open
/etc/postfix/sender_access2: No such file or directory
Feb 14 12:45:34 P1234567 mail.crit postfix/postmap[19227]: fatal: open
/etc/postfix/sender_access2: No such file or directory
Feb 14 12:45:42 P1234567 mail.warn postfix/postmap[19288]: warning:
/etc/postfix/sender_access2.db: duplicate entry: "x...@powerstandards.com"
Feb 14 12:45:42 P1234567 mail.warn postfix/postmap[19288]: warning:
/etc/postfix/sender_access2.db: duplicate entry: "y...@powerstandards.com"
Feb 14 12:45:42 P1234567 mail.warn postfix/postmap[19288]: warning:
/etc/postfix/sender_access2.db: duplicate entry: "z...@p1234567.pqube.com"
Feb 14 12:45:43 P1234567 mail.warn postfix/postmap[19277]: warning:
/etc/postfix/sender_access2.db: duplicate entry: "x...@powerstandards.com"
Feb 14 12:45:43 P1234567 mail.warn postfix/postmap[19277]: warning:
/etc/postfix/sender_access2.db: duplicate entry: "y...@powerstandards.com"
Feb 14 12:45:43 P1234567 mail.warn postfix/postmap[19277]: warning:
/etc/postfix/sender_access2.db: duplicate entry: "z...@powerstandards.com"
Feb 14 12:45:43 P1234567 mail.warn postfix/postmap[19277]: warning:
/etc/postfix/sender_access2.db: duplicate entry: "x...@p1234567.pqube.com"
Feb 14 12:45:43 P1234567 mail.warn postfix/postmap[19277]: warning:
/etc/postfix/sender_access2.db: duplicate entry: "y...@powerstandards.com"
Feb 14 12:45:43 P1234567 mail.warn postfix/postmap[19277]: warning:
/etc/postfix/sender_access2.db: duplicate entry: "z...@p1234567.pqube.com"


> d...@powerstandards.com:
>> Feb 14 08:47:11 P1234567 mail.warn postfix/postmap[16487]: warning:
>> /etc/postfix/sender_access2.db: duplicate entry: "xx...@yyy.com"
>> Feb 14 08:47:13 P1234567 mail.warn postfix/postmap[16499]: warning:
>> /etc/postfix/sender_access2.db: duplicate entry: "xx...@yyy.com"
>
> Why are you running postmap every 5 seconds?
>
>       Wietse
>


Reply via email to