[linux] Re: minimale configuratie om mail te sturen

Daniel von Asmuth asmuth op bakunin.xs4all.nl
Ma Okt 13 11:04:24 CEST 2008


On Sun, Oct 12, 2008 at 02:19:34PM +0200, Hans Paijmans wrote:
> Hoi,
> postfix, exim enzo zijn altijd mijn pet teboven gegaan, en dat gaf ook
> niet  zoveel omdat thunderbird zijn eigen mechanisme heeft om mail te
> ontvangen en  te verzenden.
> 
> Nu wil ik vanaf mijn laptop mail verzenden vanaf de commandline. Niet
> ontvangen, maar alleen verzenden. Wat is de minimale en gemakkelijkste
> manier om dit te fixen (op Ubuntu 8.04)?
> 
> Dank,
> Paai
> Dr. J.J. Paijmans

Hierbij een redenlijk minimale configuratie (submit.mc) voor sendmail,
waarmee je e-mail kunt verzenden naar de SMTP server van je provider,
zonder zelf een daemon nodig te hebben. 

divert(-1)
#
# Copyright (c) 2001-2003 Sendmail, Inc. and its suppliers.
#       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 the prototype file for a set-group-ID sm-msp sendmail that
#  acts as a initial mail submission program.
#
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')
VERSIONID(`linux setup for Red Hat Linux')dnl
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confPID_FILE', `/var/run/sm-client.pid')dnl
dnl define(`confDIRECT_SUBMISSION_MODIFIERS',`C')
FEATURE(`use_ct_file')dnl
dnl
FEATURE(`always_add_domain')dnl
# Pas het IP adress in de volgende regel aan naar wens
FEATURE(`msp', `[1.2.3.4]')dnl


Met vriendenlijke groet,



Daniel von Asmuth

-- 
				POPPER
Any theory too inconsistent with the facts is bound to be replaced when a more
accurate one appears.
				GĂ–DEL
Popper's theory will be replaced.



More information about the Linux mailing list