OK, thanks Tiziana On Tue, 19 Jul 2005, Alexander Dalloz wrote: > Am Di, den 19.07.2005 schrieb Tiziana Manfroni um 15:18: > > > I post sendmail.mc and other info. > > The mail server is archimede.labinfomat and I want to transform address > > user@xxxxxxxxxxxxxxxxxxxx in user@xxxxxxxxxxxxxxxxxxxx > > > Tiziana > > > > More information is needed. Please post your sendmail.mc. > > > > sendmail.mc > > > LOCAL_DOMAIN(`localhost.localdomain')dnl > > FEATURE(masquerade_envelope)dnl > > FEATURE(allmasquerade)dnl > > MASQUERADE_AS(ciop.mat.uniroma3.it)dnl > > Looks ok. > > > Please post > > > the output of commands: > > > > > > /usr/lib/sendmail -bt -d0.9 < /dev/null > > > > > > Version 8.13.4 > > Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX > > MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET > > NETINET6 > > NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP > > STARTTLS > > TCPWRAPPERS USERDB USE_LDAP_INIT > > Canonical name: archimede.labinfomat > > UUCP nodename: archimede > > a.k.a.: archimede > > a.k.a.: [192.168.114.3] > > > > ============ SYSTEM IDENTITY (after readcf) ============ > > (short domain name) $w = archimede > > (canonical domain name) $j = archimede.labinfomat > > (subdomain name) $m = labinfomat > > (node name) $k = archimede > > ======================================================== > > > > echo '$=M' | sendmail -bt > > > > archimede.labinfomat > > > > echo '$=m' | sendmail -bt > > > > labinfomat > > The above let me expect masquerading is working. You hopefully do not > test as user root, don't you? To test masquerading run: > > /usr/lib/sendmail -bt (will go into interactive mode) > /tryflags ES > /try esmtp user@xxxxxxxxxxxxxxxxxxxx > > Alexander > > > -- > Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 > legal statement: http://www.uni-x.org/legal.html > Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp > Serendipity 15:27:02 up 3 days, 19:59, load average: 0.07, 0.34, 0.30 >