1 |
I've always used postifx but I want to try sendmail this time. |
2 |
And I have a hard time finding gentoo howto. |
3 |
I runonto some instruction in: |
4 |
http://www.quickfixlinux.com/linux/how-to-configure-sendmail-in-linux/ |
5 |
|
6 |
But don't have much lack. |
7 |
Original config file after emerge looks like: |
8 |
|
9 |
cat /etc/mail/sendmail.mc |
10 |
divert(-1) |
11 |
divert(0)dnl |
12 |
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl |
13 |
VERSIONID(`$Id$')dnl |
14 |
OSTYPE(linux)dnl |
15 |
DOMAIN(generic)dnl |
16 |
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl |
17 |
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl |
18 |
FEATURE(`local_procmail')dnl |
19 |
MAILER(local)dnl |
20 |
MAILER(smtp)dnl |
21 |
MAILER(procmail)dnl |
22 |
|
23 |
I've added a line no.7 |
24 |
define(`SMART_HOST’,`mail.shaw.ca’)dnl |
25 |
|
26 |
but I get an error running: |
27 |
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf |
28 |
m4:/etc/mail/sendmail.mc:7: ERROR: end of file in string |
29 |
|
30 |
I forgot to mention that I need to input a password to connect to |
31 |
provider mail-server when sending a mail. |
32 |
|
33 |
-- |
34 |
Thelma |