[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-team] config sendmail
Salut,
J'ai reglé mes problemes de boite imap, il me reste un probleme à
regler dans la config de sendmail pour avoir un magnifique systeme de
mail sous Linux pour ma société. Voici le probleme, tous les mails
entrant sont rejetés par la ruleset check_rcpt avec le message "550
relaying denied". Je suis en train de lire le bouquin d'O'reilly sur
sendmail mais j'ai du mal a voir ou le probleme se trouve. Voici ma
ruleset check_rcpt plus bas si un expert sendmail veut s'y interresser.
Merci
Olivier.
SLocal_check_rcpt
Scheck_rcpt
R$* $: $1 $| $>"Local_check_rcpt" $1
R$* $| $#$* $#$2
R$* $| $* $@ $>"Basic_check_rcpt" $1
SBasic_check_rcpt
# check for deferred delivery mode
R$* $: < ${deliveryMode} > $1
R< d > $* $@ deferred
R< $* > $* $: $2
R$* $: $>ParseRecipient $1 strip relayable
hosts
# anything terminating locally is ok
R$+ < @ $=w > $@ OK
R$+ < @ $* $=R > $@ OK
R$+ < @ $* > $: $>LookUpDomain <$2> <?> <$1 < @ $2 >>
R<RELAY> $* $@ RELAY
R<$*> <$*> $: $2
# check for local user (i.e. unqualified address)
R$* $: <?> $1
R<?> $* < @ $+ > $: <REMOTE> $1 < @ $2 >
# local user is ok
R<?> $+ $@ OK
R<$+> $* $: $2
# anything originating locally is ok
R$* $: <?> $&{client_name}
# check if bracketed IP address (forward lookup != reverse lookup)
R<?> [$+] $: <BAD> [$1]
# pass to name server to make hostname canonical
R<?> $* $~P $: <?> $[ $1 $2 $]
R<$-> $* $: $2
R$* . $1 strip trailing
dots
R$@ $@ OK
R$=w $@ OK
R$* $=R $@ OK
R$* $: $>LookUpDomain <$1> <?> <$1>
R<RELAY> $* $@ RELAY
R<$*> <$*> $: $2
# check IP address
R$* $: $&{client_addr}
R$@ $@ OK originated locally
R0 $@ OK originated locally
R$=R $* $@ OK relayable IP address
R$* $: $>LookUpAddress <$1> <?> <$1>
R<RELAY> $* $@ RELAY relayable IP address
R<$*> <$*> $: $2
R$* $: [ $1 ] put brackets around
it...
R$=w $@ OK ... and see if it is
local
# anything else is bogus
R$* $#error $@ 5.7.1 $: "550 Relaying denied"
Olivier Loschi
RedCorp SA/NV
Tel: +32 (0)2 526.00.49
Fax: +32 (0)2 523.88.88
General: +32 (0)2 558.10.10
Email : olivier@redcorp.com
http://www.redcorp.com
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/