qmail is not a GPL software it is public domain.
sendmail
or mailq
commands they respond and act as if sendmail is installed./etc/aliases .
You must first become root before modifying this file: (CentOS7, output has been truncate)"lpic1"
it will be sent to the root
user. payam
is reading root
emails . This let payam
to read root
emails without login with root./etc/aliases
file are not complete until the newaliases
command is run to build /etc/aliases.db
.mail
command is an old standby that can be used to script the sending of mail as well as receive and manage your incoming mail. (CentOS: install mailx)It also can send email from within the scripts like 'echo -e "email content" | mail -s "email subject" "[email protected]"'
mail
interactively to send messages by passing a list of addressees, or with no arguments you can use it to look at your incoming mail.Whenever a mail is sent, initially the mail command calls the mail binary, which in turns connects to the local MTA to send the mail to its destination. The local MTA is a locally running smtp server that accepts mails on port 25.
mailq
command to see what mail is queued.