Monday 24 June 2013

Linux Client configuration for Mail server


When connecting a Linux client (192.168.10.221) to a local Linux mail server, say (192.168.10.222) for sending/receiving mails through the central mail server, we need to configure both the pop and smtp server for it(linux client host).
In evolution mail client on Linux host:
POP Server: 192.168.10.222 (mailserver.example.com)
SMTP Server: 192.168.10.222 (mailserver.example.com)
This is the only configuration required on the Linux client host. There’s no need to configure sendmail & dovecot on the linux client host.
Note: Linux uses sendmail program to send mails locally on the system. This means that when we use text based mail program then it delivers the mail on local system via the sendmail.
We cannot use sendmail program to send mail between two physically separated hosts. We have created user (amit) on the mail server(192.168.10.222).
Next we go to amit’s machine (Linux or windows) in order to create mail profile for amit using evolution mail client. There’s no need to create user named “amit” on amit’s machine(if its linux) because we have already created user named “amit” on mailserver. In evolution we just give the mailserver ip address(192.168.10.222) for both POP & SMTP( do not configure sendmail because that would just send mail to the amit’s local machine. We want amit to send mails through SMTP server(192.168.10.222). Also the same POP server(192.168.10.222) is used to fetch mails.

No comments:

Post a Comment