Andrew Athan via Postfix-users: > I have a postfix based AWS on-demand instance but I can save some $ by > running it as a spot instance ... after all, I don't mind brief delays > delivering mail. > > To do this, I need to determine any and all directories that may get > written to by postfix so that I can put those on a separate EBS volume that > gets mounted separately from the AMI that boots the spot instance. > Otherwise, when the spot instance is stopped or moved, I'll lose the mail > queue etc. > > What is the best way for me to determine all those dirs? I'd either config > them to be under a single "persistent parent folder" that is the EBS mount > point, or symlink those dirs over to dirs within the mountpoint... > > ... any guidance on this is appreciated. >
It's a subset of "postconf | grep _directory" output: data_directory = /var/lib/postfix queue_directory = /var/spool/postfix Each has specific requirements for ownership and permissions. If in doubt, run "postfix set-permissions". Also. if you run the Postfix local delivery agent, mail_spool_directory = /var/mail Wietse > _______________________________________________ > Postfix-users mailing list -- postfix-users@postfix.org > To unsubscribe send an email to postfix-users-le...@postfix.org _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org