Re: [LA-discussions] Présence jeudi 20 novembre |
[ Thread Index |
Date Index
| More linuxarverne.org/discussions Archives
]
Le mercredi 19 novembre 2008 à 21:00 +0100, Rémy Pagniez a écrit :
> divert(0)dnl
> include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
> VERSIONID(`serveur SMTP')dnl
> OSTYPE(debian)dnl
> DOMAIN(debian-mta)dnl
>
> DAEMON_OPTIONS(`Name=MSP-v4, Family=inet, Port=smtp, Addr=127.0..0.1')dnl
>
> dnl Allow or refuse mails from specified domains
> FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')dnl
>
> dnl Containing the routing informations for various domains
> FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl
>
> dnl Domain-specific form of aliasing, allowing multiple virtual domains
> dnl to be hosted on one machine
> FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')dnl
>
> dnl Rewrite new user address
> FEATURE(`genericstable', `hash -o /etc/mail/genericstable')dnl
>
> dnl For local mail, adresses will be qualified
> FEATURE(`always_add_domain')dnl
>
> dnl Block incoming mail
> FEATURE(blacklist_recipients)dnl
>
> dnl Envelope addresses are also masquerade as being from the masquerade
> host
> FEATURE(`masquerade_envelope')dnl
>
> dnl Masquerade as another host
> MASQUERADE_AS(wanadoo.fr)dnl
>
> dnl Outgoing mail go to a central relay site
> define(`SMART_HOST', `smtp.wanadoo.fr')dnl
>
> dnl Mail to this domains will be delivery locally
> LOCAL_DOMAIN(`localhost')dnl
> LOCAL_DOMAIN(`localhost.mydomain')dnl
> LOCAL_DOMAIN(`servername')dnl
> LOCAL_DOMAIN(`servername.mydomain')dnl
> LOCAL_DOMAIN(`mydomain')dnl
>
> dnl Default options for DNS resolver
> dnl WorkAroundBrokenAAAA continue dealing with broken nameservers
> define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl
>
> dnl What to do if there is no legal recipients fields in the message
> define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl
>
> dnl Privacy flags
> define(`confPRIVACY_FLAGS',
> `authwarnings,noexpn,novrfy,restrictmailq,needmailhelo,goaway')dnl
>
> dnl Get the local additions to local host names
> define(`confCW_FILE', `-o /etc/mail/local-host-names')dnl
>
> dnl Redefine Greeting Message
> define(`confSMTP_LOGIN_MSG', `$j $b')dnl
>
> dnl Maximum Size of messages that will be accepted
> define(`confMAX_MESSAGE_SIZE', `20000000')dnl
>
> dnl Maximum number of connections permitted per second per daemon
> define(`confCONNECTION_RATE_THROTTLE', `3')dnl
>
> dnl The timeout waiting for a response to an IDENT query
> define(`confTO_IDENT', `10s')dnl
>
> dnl Dropped double bounces
> define(`confDOUBLE_BOUNCE_ADDRESS', `')dnl
>
> dnl The timeout before a message is returned as undeliverable
> define(`confQUEUERETURN', `2d')dnl
>
> dnl European charset
> dnl define(`confDEF_CHAR_SET', `ISO-8859-1')dnl
> define(`confDEF_CHAR_SET', `UTF-8')dnl
>
> MAILER(local)dnl
> MAILER(smtp)dnl
>
J'ai oublié de préciser qu'il faut évidemment changer la valeur du
smarthost (smtp.wanadoo.fr) par la tienne. Il faut également remplacer
les valeurs mydomain et servername par ton nom de domaine et le nom de
ta machine...
Ca parait évident, mais je préfère le souligner :)
Rémy
---
Liste de discussions de LinuxArverne
http://wiki.linuxarverne.org/listes_de_diffusion