I've always used postifx but I want to try sendmail this time.
And I have a hard time finding gentoo howto.
I runonto some instruction in:
 http://www.quickfixlinux.com/linux/how-to-configure-sendmail-in-linux/

But don't have much lack.
Original config file after emerge looks like:

cat /etc/mail/sendmail.mc
divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id$')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
FEATURE(`local_procmail')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl

I've added a line no.7
define(`SMART_HOST’,`mail.shaw.ca’)dnl

but I get an error running:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
m4:/etc/mail/sendmail.mc:7: ERROR: end of file in string

I forgot to mention that I need to input a password to connect to
provider mail-server when sending a mail.

-- 
Thelma

Reply via email to