pete pot: > - Makes total sense that fsync falsely returns before all data are > written to real drive in a VM... i did not know Postfix waits for > fsync, thanks Wietse!
This is a VM configuration error. The writes should be synchronous, so that mail will not be lost after fsync() returns. > - Regarding atime... is qmgr 'atime' dependant? or maybe you suggest > it due to the time the OS takes to update the 'atime'? Postfix is mtime dependent, not atime dependent. > What i have noticed, Wietse, is that inmediatelly after the > "postqueue -f" the log shows tons of qmgr messages like this: > > postfix/qmgr[65371]: ED9FD4209E4: from=<>, size=22211, nrcpt=1 (queue > active) The queue manager reads queue files, *BUT!* it also starts deliveries immediately in-between file reads. > And then.. > - Immediately many successful postfix/smtp lines... (in the VM) > - After a long delay many successful postfix/smtp lines... (in the Physical > server) SMTP requires DNS lookups. If your DNS configuration differs between VM and non,-VM that could expain the SMTP latency difference. Wietse.