Ocenite etot tekst:




divert(-1)
include(`../m4/cf.m4')
OSTYPE(`linux')

FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(local_procmail)
FEATURE(mailertable, hash /etc/mailertable)dnl

MAILER(local)dnl
MAILER(procmail)
MAILER(smtp)
MAILER(uucp)dnl

define(`confDEF_USER_ID',``8:12'')
define(`confMESSAGE_TIMEOUT', `10d/8h')dnl
define(`confSMTP_MAILER',`smtp8')dnl

########### Ostal'noe - po vkusu, naprimer

define(`SMART_HOST',`uucp-dom:polimos)dnl
MASQUERADE_AS(moshkow.pp.ru)dnl



From: andrew@megade.ccrd1.lviv.ua (Andrew Arefieff)

: Postavil FreeBSD. SHlyu pochtu. Ono, v principe, shletsya. No neponyatno: kak ej
: skazat', chto vsyu pochtu vovne nado slat' po uucp na vneshniy.mir.ru, a na
: my.test.domain - po SMTP, k primeru.

Propisyvaesh' konfiguracionnyj fajl - takim obrazom:

#../cf/mycf_file.cf
divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988 The Regents of the University of California.
# All rights reserved.


include(`../m4/cf.m4')
VERSIONID(`@(#)freeBsd-my.mc by AIA $Revision: 1.2 $')
OSTYPE(linux)dnl
FEATURE(nodns)dnl
FEATURE(always_add_domain)dnl
FEATURE(mailertable, hash /etc/mailertable)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail)dnl

Primer: mailertable
================================================
uupnt1.megade.ccrd1.lviv.ua     uucp-dom:uupnt1
uupnt2.megade.ccrd1.lviv.ua     uucp-dom:uupnt2
uucop.megade.ccrd1.lviv.ua      uucp-dom:uucop
brandy.megade.ccrd1.lviv.ua     esmtp:brandy
overkill.megade.ccrd1.lviv.ua   pop:overkill
main.megade.ccrd1.lviv.ua       pop:main
================================================

makemap hash mailertable < mailertable
------------------

MAILER(local)dnl
MAILER(smtp)dnl
MAILER(pop)dnl
MAILER(uucp)dnl
define(`SMART_HOST',`uucp-dom:cscdua')dnl
^^^^^^^^^^^^^^^^^^^^^^^^^^^^vsya pochta valit na host cscdua
define(`FORward_path')dnl
define(`confMESSAGE_TIMEOUT', `10d/8h')dnl
define(`confSMTP_MAILER',`smtp8')dnl

Dal'she iz mycf_file.cf delaesh' sendmail.cf

m4 mycf_file.cf > /etc/sendmail.cf

I vse dolzhno rabotat'




From: Andrew P. Kokarev 

> Mozhet kto podskazat' kakoj poryadok pravil pri obrabotke
> pochtovogo adresa, kotoryj vstavlyaetsya v pole "MAIL From:"
> pochemu-to vsem pochtovym serveram  aol.com
> ne nravitsya  obratnyj uucp put', trebuyut vida : user@domain
> Ili gde ob etom pochitat'?

RFC821.

Pravil'no im ne nravitsya. Sdelaj chtob u tebya v MAIL From:
bylo v forme user@domain ili sys1!sys2!user@domain , vsego to
nado esli v adrese net @, pripisat' k nemu szadi @your.domain :

S18              (ili drugoj svobodnyj nomer nabora)
R$+@$+  $@ $1@$2
R$+     $: $1@$j

Raz ty ne napisal, kakaya u tebya konfiguraciya, sam najdi kuda eto
vstavit'. Dlya Mtcp mozhet byt' napisano, naprimer, S=10/30 ,
eto oznachaet, chto tebe nado vstavit' vyzov 18-go nabora (vyzov pishetsya
tak: $>18 ) v 10-j.

    Primer NERABOTAYUSHCHEGO konfiga dlya sendmail 8.9.0

sendmail 8.9.0 linux 5.0 ------------ divert(-1) include(`../m4/cf.m4') VERSIONID(`(UFSNP of Russia in Krasnoyarsk region)')dnl OSTYPE(`linux') define(`confDEF_USER_ID',``8:12'') define(`SMART_HOST',`smtp:relay.tax.net.') define(`SMTP_MAILER_FLAGS',`8') define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail') undefine(`BITNET_RELAY') FEATURE(redirect) FEATURE(always_add_domain) FEATURE(use_cw_file) FEATURE(local_procmail) FEATURE(access_db) FEATURE(accept_unresolvable_domains) MAILER(procmail) MAILER(smtp)

Last-modified: Thu, 20 Aug 1998 09:23:01 GMT
Ocenite etot tekst: