Re: receiving my own mail using sendmail

2002-01-08 Thread Chang

I kind of solved the problem.

I am using pppoe to connect to my BB provider 
over eth1 with an IP address 192.168.3.1.
when sendmail starts, it binded itsefl to eth1 rather than the 
pppoe interface. My named's MX on the other hands pointed at
my eth0 (the internal network card) that had an IP of 192.168.2.1

Could I control the interface to which sendmail listen?
I prefer it to bind to my internal network card and have MX
pointing to eth0 on the server instead... 

 Well... 127.0.0.1 is the local loopback address.  It always points to the
 machine that you're currently on and thus you need to use your internet
 resolvable ip (eg .24.222.111.123), not merely localhost, for the address
 record connected with it.

-- 
The pivotal point is the second chance, judged by another set
of criteria. 
In Linux We Trust -- http://linux.nf and news://news.hkpcug.org
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: receiving my own mail using sendmail

2002-01-07 Thread Chang

I see. if I am to pump in my real IP address, 
I needed to use a script to generate the zone file
using /etc/ppp/ip-up (my ISP used pppoe), 
and restarts named afterward.

Does named have a runtime paramters to achieve that?
or say could I point MX into an executable script?

10  IN  MX  localhost
20  IN  MX  localhost
  localhost IN  A   127.0.0.1
  #snipped
 machine that you're currently on and thus you need to use your internet
 resolvable ip (eg .24.222.111.123), not merely localhost, 
 for the address record connected with it.

-- 
The pivotal point is the second chance, judged by another set of
criteria. 
In Linux We Trust -- http://linux.nf and news://news.hkpcug.org
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: receiving my own mail using sendmail

2002-01-06 Thread Chang

That's as far as I could go after reading all relevant messages from
linux.nf and sendmail.org. if a guru could point out the errors in my
scripts 

My server is named server.myname.org
 
 This is a FAQ specifically dealth with in the sendmail FAQ at
 http://www.sendmail.org/.

  My private domain is myname.org.
  I am using myname.homeip.net as the dynamic DNS name.
 
  /var/named/pz/myname.org:
  # snipped
  $ORIGIN myname.org.
10  IN  MX  localhost
20  IN  MX  localhost
  localhost IN  A   127.0.0.1
  #snipped
 
  /etc/mail/mailertable:
 
  homeip.netsmtp:[localhost]
  homeip.net.   smtp:[localhost]
 
  /etc/mail/local-host-names:
  myname.org
-- 
The pivotal point is the second chance, judged by another set of
criteria. 
In Linux We Trust -- http://linux.nf and news://news.hkpcug.org
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: receiving my own mail using sendmail

2002-01-06 Thread David Aikema

On January 5, 2002 11:27 pm, Chang wrote:

 553 5.3.5 localhost.myname.org. config error: mail loops back to me (MX
 problem?)

 $ORIGIN myname.org.
   10  IN  MX  localhost
   20  IN  MX  localhost
 localhost IN  A   127.0.0.1
 #snipped

Well... 127.0.0.1 is the local loopback address.  It always points to the 
machine that you're currently on and thus you need to use your internet 
resolvable ip (eg .24.222.111.123), not merely localhost, for the address 
record connected with it.

David Aikema
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



receiving my own mail using sendmail

2002-01-05 Thread Chang

This is such an old question. But I guess I could really learn
something.
I was trying to send my sendmail a email messages from my yahoo account.
And I got the usual newbie error: 

553 5.3.5 localhost.myname.org. config error: mail loops back to me (MX
problem?)

what did I miss? I got no 553 if I sent to [EMAIL PROTECTED] rather
than [EMAIL PROTECTED] Did I misread some docs?

My private domain is myname.org.
I am using myname.homeip.net as the dynamic DNS name.

/var/named/pz/myname.org:
# snipped
$ORIGIN myname.org.
10  IN  MX  localhost
20  IN  MX  localhost
localhost   IN  A   127.0.0.1
#snipped

/etc/mail/mailertable:

homeip.net  smtp:[localhost]
homeip.net. smtp:[localhost]

/etc/mail/local-host-names:
myname.org


-- 
The pivotal point is the second chance, judged by another set of
criteria. 
In Linux We Trust -- http://linux.nf and news://news.hkpcug.org
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: receiving my own mail using sendmail

2002-01-05 Thread Kurt Wall

On January 06, Chang enlightened our ignorance thusly:
 This is such an old question. But I guess I could really learn
 something.
 I was trying to send my sendmail a email messages from my yahoo account.
 And I got the usual newbie error: 
 
 553 5.3.5 localhost.myname.org. config error: mail loops back to me (MX
 problem?)
 
 what did I miss? I got no 553 if I sent to [EMAIL PROTECTED] rather
 than [EMAIL PROTECTED] Did I misread some docs?
 
 My private domain is myname.org.
 I am using myname.homeip.net as the dynamic DNS name.
 
 /var/named/pz/myname.org:
 # snipped
 $ORIGIN myname.org.
   10  IN  MX  localhost
   20  IN  MX  localhost
 localhost IN  A   127.0.0.1
 #snipped
 
 /etc/mail/mailertable:
 
 homeip.netsmtp:[localhost]
 homeip.net.   smtp:[localhost]
 
 /etc/mail/local-host-names:
 myname.org

This is a FAQ specifically dealth with in the sendmail FAQ at
http://www.sendmail.org/.

Kurt
-- 
You are magnetic in your bearing.
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users