[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

postfix: what's local?



  I just installed postfix (debian unstable, kernel 2.2.17, dial-up
system) and I don't understand what should I use as domain and local
destinations.

  as typical dial-up system I am not connected 24/7 (but close:-) and I
have no name (ISP gives me some name but that changes everytime I
connect along with IP).

  normally (on local network) I call this machine jojda and I've also
set up dhs account and have jojda.2y.net address dynamically updated
with current IP.

  this is my current configuration:

jojda:/etc/postfix# grep jojda *
main.cf:myhostname = jojda
main.cf:myorigin = jojda.2y.net
main.cf:destinations = jojda, localhost

  however, postfix is confused, when I send email it tries to connect to
jojda.2y.net and then get jojda back as hostname, compalins and does not
send email, here's relevant part of syslog:

------------------ syslog ------------------
Dec  9 00:39:14 jojda postfix/pickup[27820]: 85CA11D662: uid=1000
from=<erik>
Dec  9 00:39:14 jojda postfix/cleanup[27952]: 85CA11D662:
message-id=<20001209083914.85CA11D662@jojda>
Dec  9 00:39:14 jojda postfix/qmgr[27821]: 85CA11D662:
from=<erik@jojda.2y.net>, size=296, nrcpt=1 (queue active)
Dec  9 00:39:16 jojda postfix/smtpd[27955]: connect from
dialup-209.244.99.56.SanFrancisco1.Level3.net[209.244.99.56]
Dec  9 00:39:16 jojda postfix/smtp[27954]: warning: host
jojda.2y.net[209.244.99.56] greeted me with my own hostname jojda
Dec  9 00:39:16 jojda postfix/smtp[27954]: warning: host
jojda.2y.net[209.244.99.56] replied to HELO/EHLO with my own hostname
jojda
Dec  9 00:39:16 jojda postfix/smtp[27954]: 85CA11D662:
to=<root@jojda.2y.net>, relay=jojda.2y.net[209.244.99.56], delay=2,
status=bounce
d (mail for jojda.2y.net loops back to myself)
Dec  9 00:39:16 jojda postfix/smtpd[27955]: lost connection after EHLO
from dialup-209.244.99.56.SanFrancisco1.Level3.net[209.244.99.56]
Dec  9 00:39:16 jojda postfix/smtpd[27955]: disconnect from
dialup-209.244.99.56.SanFrancisco1.Level3.net[209.244.99.56]
----------------- end of syslog ------------

  given the circumstances, how should I set up the domain and hostnames
in postfix?

  would including jojda.2y.net in destinations (in main.cf) be the
proper solution?

  TIA

	erik



Reply to: