Brent,
You should NOT modify the files manually.
You can configure the smarthost in the UI under E-mail->Advanced settings.
Taco
On Wed, 14 Mar 2007 19:48:53 -0500, Brent Epp wrote
> I have a PC on my local network at home running BlueQuartz CentOS.
> I use it as a testing server for web development.
>
> I think my ISP only allows me to use their own SMTP server, so I
> need to configure my BQ box to use my ISPs SMTP server rather than
> its own. I've added define(`SMART_HOST',`myisp.smtp.server') to
> /etc/mail/sendmail.mc, and I think it has helped, but I still am not
> able to send mail.
>
> These are the entries in /var/log/maillog when I use
> `echo "test body" | mail -s "test subject" brent (at mark) pdcweb.net`
>
> Mar 14 19:14:56 localhost sendmail[9451]: l2F0Eu1U009451: from=user,
> size=79, class=0, nrcpts=1,
> msgid=<200703150014.l2F0Eu1U009451 (at mark) localhost.localdomain>, relay=user (at mark) localhost
> Mar 14 19:14:56 localhost sendmail[9454]: STARTTLS=server,
> relay=localhost [127.0.0.1], version=TLSv1/SSLv3, verify=NO,
> cipher=DHE-RSA-AES256-SHA, bits=256/256
> Mar 14 19:14:56 localhost sendmail[9451]: STARTTLS=client,
> relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL,
> cipher=DHE-RSA-AES256-SHA, bits=256/256
> Mar 14 19:14:56 localhost sendmail[9454]: l2F0EupG009454:
> from=<user (at mark) localhost.localdomain>, size=359, class=0, nrcpts=1,
> msgid=<200703150014.l2F0Eu1U009451 (at mark) localhost.localdomain>,
> proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
> Mar 14 19:14:56 localhost sendmail[9451]: l2F0Eu1U009451:
> to=brent (at mark) pdcweb.net, ctladdr=user (503/100), delay=00:00:00,
> xdelay=00:00:00, mailer=relay, pri=30079, relay=[127.0.0.1]
> [127.0.0.1], dsn=2.0.0, stat=Sent (l2F0EupG009454 Message accepted
> for delivery)
> Mar 14 19:14:57 localhost sendmail[9456]: l2F0EupG009454:
> to=<brent (at mark) pdcweb.net>, ctladdr=<user (at mark) localhost.localdomain>
>
> (503/100), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=120359,
> relay=myisp.smtp.server. [000.000.000.000], dsn=5.6.0, stat=Data
> format error
> Mar 14 19:14:57 localhost sendmail[9456]: l2F0EupG009454:
> l2F0EvpF009456: DSN: Data format error
> Mar 14 19:14:57 localhost sendmail[9456]: l2F0EvpF009456:
> to=<user (at mark) localhost.localdomain>, delay=00:00:00, xdelay=00:00:00,
> mailer=local, pri=31671, dsn=2.0.0, stat=Sent
>
> Obviously, I've changed a few things (usernames, domains, IPs, etc)
> for security reasons. Also, I do not have a registered domain for
> access from outside my router, I use DynDns.org the few times when I
> need to give access to someone outside.
>
> I'm pretty new at this, so I'm not sure where to go from here.
>
> Brent Epp
> mailto:brent (at mark) pdcweb.net