Mailinglist Archive: opensuse-es (1895 mails)

< Previous Next >
Re: [suse-linux-s] Ya me cansé de sendmail...
  • From: "Marc" <marc@xxxxxxxxx>
  • Date: Fri, 18 Jun 2004 10:07:15 +0200 (CEST)
  • Message-id: <40425.192.168.200.3.1087546035.squirrel@xxxxxxxxxxxxxxxxx>
El sendmail no es precisamente facil de comprender, es mas, yo siempre he
pensado que los desarrolladores taban fumaos mientras codeaban :)

Para generar un sendmail.cf nuevo tienes que crearte un sendmail.mc con
las opciones que deseas tener, y despues compilarlo con m4.

Te paso el mc que yo tenia generado. Si lo quieres usar, las tabulaciones
y espacios tendras que volver a ponerlos o no te compilara bien nunca.
(viva el copy-paste)

Para generar un cf nuevo te vas a /usr/share/sendmail/cf, creas un archivo
llamado sendmail-cyrus.mc y copy-paste de lo que te paso.

En ese mismo directorio me haces un:

"m4 ../m4/cf.m4 sendmail-cyrus.mc > /tmp/sendmail.cf"

Eso te dejara en /tmp el nuevo sendmail.cf, lo editas, modificas los
parametros que creas necesarios (www.sendmail.org) y lo metes en etc.

Un restart del sendmail y arreglado.

Si te da errores es por el tema de tabulaciones y espacios, el m4 es muy
triquismiquis.

Ale..

Un saludo.

PD. Yo me pase a postfix hace tiempo porque, con perdon de los listeros,
acabe hasta los innombrables de el.

---------------------------------

> Estoy dispuesto a migrar a postfix....
>
> Por mas que le busqué al sendmail.cf para configurardivert(-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.
#
#

#
# This is a generic configuration file for Linux.
# It has support for local and SMTP mail only. If you want to
# customize it, copy it to a name appropriate for your environment
# and do the modifications there.
#

divert(0)dnl
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')
OSTYPE(linux)dnl
DOMAIN(generic)dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(local)
MAILER(cyrus)
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable')
FEATURE(`mailertable')
FEATURE(`genericstable', `hash -o /etc/mail/genericstable')
FEATURE(`redirect')dnl
define(`confLOCAL_MAILER',`cyrus')
LOCAL_RULE_0
R$=N $: $#local $: $1
R$=N < @ $=w . > $: $#local $: $1
Rbb + $+ < @ $=w . > $#cyrusbb $: $1
-------------------------------------------------------------

> con cyrus... no puedo! ya me venció la desesperación.
>
> De pura casualidad alguien sabe si php-nuke funciona con postfix?
>
> SALUDOS!
>
>
> --
> Para dar de baja la suscripción, mande un mensaje a:
> suse-linux-s-unsubscribe@xxxxxxxx
> Para obtener el resto de direcciones-comando, mande
> un mensaje a:
> suse-linux-s-help@xxxxxxxx
>
>
>


< Previous Next >
Follow Ups
References