Hi, On Thu, 20.11.2008 at 14:57:21 +0200, Yuriy A. Dmitrishin <[EMAIL PROTECTED]> wrote: > router sm-msp-queue[3879]: mAFNUix6020927: to=root, delay=4+12:59:18, > xdelay=00:00:00, mailer=relay, pri=19473085, relay=[127.0.0.1], dsn=4.0.0, > stat=Deferred: Connection refused by [127.0.0.1] > > How can I tell it send to [EMAIL PROTECTED] if mail relay is on another > server (ip 192.168.0.2)? I'm not familiar with sendmail.
I'm also not really familiar with sendmail after abandoning it years ago, but would try these things: 1. In /etc/mail/aliases, enter [EMAIL PROTECTED] as the alias for root. Run 'newaliases' to update your aliases database. 2. [Sendmail experts will probably flame me] In /etc/mail/*.cf, there is an option line starting with 'DS' ('Define Smarthost'). Change this line to read DS[192.168.0.2] The recommended way to change Sendmail's configuration is to not do what I suggested above, but instead to go to /usr/share/sendmail/cf, edit one of the files in there, and re-run 'make' to update the real configuration in /etc/mail, but I don't know how to do the same thing in those .mc files. 3. Restart sendmail. Kind regards, --Toni++