PARENA Guru
Joined: 06 Jan 2003 Posts: 349
|
Posted: Tue Jan 21, 2003 7:22 pm Post subject: /etc/init.d/sendmail start <--- no go! :( |
|
|
SORRY! WRONG FORUM! SOMEONE PLEASE MOVE THIS TO THE CORRECT ONE!
I'm a complete noob idiot when it comes to sending/receiving mail on my machine, so I was happy to find this thread: https://forums.gentoo.org/viewtopic.php?t=23703
Unfortunately, it didn't all go well. I started out emerging everything. No problems there. Next step: I alter the /etc/mail/sendmail.mc and there I go:
Code: | $ m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
$ /etc/init.d/sendmail start
* Starting sendmail... [ !! ]
|
Crap... First of all: which log to look in? Secondly: here's my sendmail.mc file
Code: | divert(-1)
#
# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
define(`confDEF_USER_ID',``8:12'')dnl
VERSIONID(`$Id: sendmail.mc,v 1.2 2002/07/04 04:55:29 g2boojum Exp $')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl
define(`SMART_HOST',`mail.chello.nl')dnl
MASQUERADE_AS(chello.nl)dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_envelope')dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
FEATURE(`local_procmail')dnl
define(`PROCMAIL_MAILER_FLAGS',`procmail -Y -m $h $g $u')dnl
define(`PROCMAIL_MAILER_ARGS',`procmail -Y -m $h $g $u')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
MAILER(procmail)dnl
MAILER(local)dnl
MAILER(smtp)dnl
Cwlocalhost.localdomain
|
Now, is there anyone who can explain to me what I'm doing wrong or what I have forgotten? Also, after emerging sendmail, it already wouldn't even start (same "(!!)" 'message'). So I doubt it's my config. |
|