dnl $Id: sm8.submit.mc,v 1.1 2004/09/28 22:29:46 ca Exp $ dnl Copyright (c) 2004 Sendmail, Inc. and its suppliers. dnl All rights reserved. dnl dnl By using this file, you agree to the terms and conditions set dnl forth in the LICENSE file which can be found at the top level of dnl the sendmail distribution. dnl dnl ---------------------------------------- dnl Add this to submit.mc in sendmail 8 to have the MSP send mail to dnl port 2009 if the address extension 9 or X (e.g., ) dnl is used. The address extension will be removed. dnl ---------------------------------------- LOCAL_RULE_0 R$* + 9<@$*> $#smx $@ localhost $: $1 <@$2> R$* + X<@$*> $#smx $@ localhost $: $1 <@$2> LOCAL_RULESETS SHdrToSMTP R$+ $: $>PseudoToReal $1 sender/recipient common R$+ $: $>MasqSMTP $1 qualify unqual'ed names R$* + 9<@$*> $: $1 < @ $2 > R$* + X<@$*> $: $1 < @ $2 > R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2 MAILER_DEFINITIONS Msmx, P=[IPC], F=kmDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrToSMTP, E=\r\n, L=990, T=DNS/RFC822/SMTP, A=TCP $h 2009