Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] sendmail configuration
Date: Thu, 26 Nov 2020 01:47:20
Message-Id: 885b8c82-2b39-c5fc-4b0d-ec12ae5f61ce@sys-concept.com
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

Replies

Subject Author
Re: [gentoo-user] sendmail configuration Ralph Seichter <ralph@×××××××××××.de>
[gentoo-user] Re: sendmail configuration Grant Edwards <grant.b.edwards@×××××.com>
Re: [gentoo-user] sendmail configuration Grant Taylor <gtaylor@×××××××××××××××××××××.net>