mail

Linux Sendmail Introduction and Configuration smtp and mail server

Sendmail was originally developed by Eric Allman, in 1979, as "delevermail", which first shipped with BSD 4.0. This program was not very flexible and required configuration at compile time. With the growth of TCP protocol and other factors, it became obvious that delevermail was not flexible enough to handle these new demands.

For your new e-mail server to work, you must first get all the DNS issues straight.

 

LINUX- Submitting mail from the command line with sendmail and configuration

For Submitting mail from the command line with sendmail Type the following command where user@example.com is the address of the recipient:

[root@indiapoly.com ~]/usr/sbin/sendmail demo@example.com

  • Type in your message, then
  • press Enter and
  • type in a dot and
  • press Enter again.

Thats all your mail has been sent based on the headers provided in conf files.

Piping to sendmail

You can pipe in a message to sendmail with the following command where filename is name of the file containi

 

Send Email With Linux using mail command

The most commaon command in linux for sending the mails is mail command.The mail program is a command-line interface for sending and receiving electronic mail. It works, but it's not pretty. Later in this section, you'll learn about Pine, a much friendlier email interface, but you should know how to use mail since it's guaranteed to be available on any Unix system. 

Let's say you're logged in as root and you want to send a message to hermie.

 

Protect yourself from fake login pages Nerevr Type your User name and password in without checking website address

Using fake login pages is the easiest way to hack passwords. Identifying a fake login page is very easy but many people neglect to do some small checks before entering the login details and fall in the trap. I have seen a person paying 500$ for a fake login page of paypal. This proves that there are still people falling in this trap. This is just an example, there are many fake websites of banks, yahoomail, gmail,orkut,myspace etc …

 

mail Security tips Hacking - Tips to Make you More Secure and Productive

1.
Don't send private messages with the company account. If you want to send personal messages from work (and you should probably try to minimize this), use a freebie account like Hotmail, Gmail, Yahoo!, or Excite, if your office permits it. The content of your emails is less visible to employers through these accounts, so the private messages you send will stay private.
2.
Use BCC if necessary.

 

Syndicate content