preload preload preload preload

postqueue

postqueue This command has several uses. Flush the Queue # postqueue -f Print the Contents of the Queue # postqueue -p Deliver Queued Mail for a Domain # postqueue -s myexample.com Though you may not have mail in the queue run these commands so you are familiar with them. Copyright CyberMontana Inc. and Postfixmail.com All rights reserved. Cannot be reproduced without written permission. Box 1262 Trout Creek, MT 59874 ...
0

postlog

postlog This command allows an external program to write to the mail log. This is what you would use if you had a shell script that you wanted to write messages to the mail log. # postlog testing postlog postfix/postlog: testing postlog Now check the log. # cat /var/log/mail.log | grep testing Jul 3 23:49:02 testub postfix/postlog: testing postlog Send a “testing” message and then review the log. Copyright CyberMontana Inc. and ...
0

postmap

postmap The purpose of this command is to build indexed maps from flat files. In the example a virtual_mailbox_recipients database is created. Create this file /etc/postfix/virtual_mailbox_recipients with these contents. tom.smith@example.com     tomsmith jane.smith@example.com    jane # postmap hash:/etc/postfix/virtual_mailbox_recipients Copyright CyberMontana Inc. and Postfixmail.com All ...
0

postcat

postcat You can use postcat to view the contents of mail in the queue. First you will need to see a list of mail queue IDs with mailq command: mailq A48B0794BF3 Once you have the queue ID you may view the contents with: # postcat -q A48B0794BF3 Run the mailq command to see if any mail is in the queue. Try to locate queue IDs. If there is no mail in the queue then try to pick out mail IDs in the /var/mail directory. cat ...
0

postalias

postalias This command is used to create the alias map. # postalias hash:/etc/postfix/aliases You will have to create the /etc/postfix/aliases file in order to run the command. Note: the /etc/aliases file is created by default and you can use this file by running the command newaliases. Edit your /etc/aliases file and enter an email address for root and then run the command: newaliases Here is an example entry in /etc/aliases: root:           ...
0