On Tue, Mar 08, 2022 at 03:57:50PM +0100, Zsombor B wrote: > Can you please confirm that postfix creates a file from each and every > email at least once?
Postfix queue files are in an undocumented internal format, and virus scanners at the filesystem level are not appropriate for scanning the Postfix queue. > I'm asking this because we have to switch to McAfee AV and my plan is to > use it's on-access-scan feature to scan the emails. You need to define what you mean by "on-access" more precisely. > If postfix really creates a file at least once of each email then this > can be a solution. Mailbox storage is up to delivery agents. If you use local(8) or virtual(8) mail is *delivered* to files, ideally one file per message (i.e. not "mbox" format). Otherwise, whatever the delivery agent does (some may store messages in a database...) On Tue, Mar 08, 2022 at 04:11:32PM +0100, Zsombor B wrote: > There is no dovecot. This is a relay server and there are security > constraints that must be follow. On a relay server with no mailbox delivery, Postfix DOES NOT store RFC5322-style message files. Messages in transite are held in an internal queue-file format that is not suitable for filesystem A/V scans. -- Viktor.