+++ Mahantesh [linux-india] <14/06/02 13:17 +0530>:
> in sendmail is is possible to have relay for an ip address instead of
> the domain-name. Suppose I want to recive mail to mail id "
> itsme@[192.168.xx.xx]". I have not tried it but suspecting whether it
> will work if I put IP in relay-domains. 

You want /etc/mail/local-host-names

/etc/mail/relay-domains = "accept and queue mail for these domains" - like if
you are a backup MX.

> The basic requirement is run myown mailserver on my machine and get
> mails at somemailid@[dotted quad].

You can do that even by default.  Sendmail will accept domain literal
addresses, happen your machine is up.

However, if it is a static IP you are better off setting a DNS record for it.

> Let me know how to go about it. Of course, I will have MX record in DNS
> which points to machine's IP.

NEVER point an MX record directly to an IP.

The way to go is -

@       IN      MX      10      mailserver
mailserver      IN      A       10.0.0.1

assuming your mailserver's IP is 10.0.0.1

        -srs
-- 
Suresh Ramasubramanian  <---->  mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
[Linux One Stanza Tip]  From : <[EMAIL PROTECTED]>
LOST #292        -**< Sub : Recovering an accidentally deleted boot.b >**-
The boot.b file along with chain.b and os2_d.b  are created at
the time of compilation of LILO. The options for recovery are:
a) re-compile and re-install b) Do a "lilo -V" and get version
number in use. Copy a boot.b of exactly the same  LILO version
from another box. c) Remove lilo and re-install from distro CD

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to