Again, more investigation and I found the problem. Need to set the root: alias to a non-root user in the aliases file. Postfix won't deliver mail to the root account. Also, I set the domain info to bellatlantic.net. Seems to do the right things so far. ( I figure if I post what I've found, it may help someone else, right?) Thanks. -----Original Message----- From: wlug-admin@mail.wlug.org [mailto:wlug-admin@mail.wlug.org] On Behalf Of Jim & Toni Sent: Wednesday, October 15, 2003 7:46 AM To: wlug@wlug.org Subject: [Wlug] domain settings on dsl with dynamic IP and NAT (and postfix issue) One thing I've never been sure of is what to set the domain to on my Linux box. I'm on verizon dsl with a dynamic IP and PPPOE. I just got a dyndns.org domain with a different hostname than what I have for the machine. I set up the machine to run spamassassin (and to experiment). Machine name = grizzy Dyndns.org address = dibb.homelinux.net Email = jntdibb@bellatlantic.net What should I be using for the domain name? Specifically I'm having trouble with some part of postfix or spamc/d. I believe an hourly cron job is trying to send mail to 'root' which causes the following in maillog. I can send my postfix/main.cf file if anyone is interested. Oct 14 13:01:01 grizzy spamd[1921]: connection from grizzy [127.0.0.1] at port 3 3171 Oct 14 13:01:01 grizzy spamd[4504]: info: setuid to postfix succeeded Oct 14 13:01:02 grizzy spamd[4504]: Creating default_prefs [/var/spool/postfix/. spamassassin/user_prefs] Oct 14 13:01:01 grizzy postfix/local[4499]: 49D3FD0B45: to=<postfix@localhost.lo calhost>, relay=local, delay=1, status=bounced (can't create user output file. C ommand output: procmail: Couldn't create "/var/spool/mail/postfix" procmail: Loc k failure on "spamassassin.lock" procmail: Program failure (74) of "/usr/bin/spa mc" procmail: Rescue of unfiltered data succeeded ) Oct 14 13:01:01 grizzy postfix/cleanup[4497]: C4A35D0B43: message-id=<2003101417 0101.C4A35D0B43@grizzy.bellatlantic.net> Oct 14 13:01:01 grizzy postfix/nqmgr[1920]: C4A35D0B43: from=<>, size=2676, nrcp t=1 (queue active) Here's another example of something wrong. Oct 13 04:02:04 grizzy postfix/pickup[1462]: EFFAFD0B47: uid=0 from=<root> Oct 13 04:02:04 grizzy postfix/cleanup[1781]: EFFAFD0B47: message-id=<2003101308 0203.EFFAFD0B47@grizzy> Oct 13 04:02:04 grizzy postfix/nqmgr[1906]: EFFAFD0B47: from=<root@grizzy.grizzy
, size=1093, nrcpt=1 (queue active) Oct 13 04:02:06 grizzy postfix/smtp[1797]: EFFAFD0B47: to=<root@grizzy.grizzy>, relay=none, delay=3, status=bounced (Name service error for grizzy.grizzy: Host not found) Oct 13 04:02:06 grizzy postfix/cleanup[1781]: E295BD0B46: message-id=<2003101308 0206.E295BD0B46@grizzy> Oct 13 04:02:07 grizzy postfix/nqmgr[1906]: E295BD0B46: from=<>, size=2614, nrcp t=1 (queue active) Oct 13 04:02:07 grizzy postfix/smtp[1797]: E295BD0B46: to=<root@grizzy.grizzy>, relay=none, delay=1, status=bounced (Name service error for grizzy.grizzy: Host not found)
Overall, mail handling seems to work. Stuff gets out, stuff comes in, spam gets tagged. But I need to clean some of this up.