Não estou conseguindo fazer o sendmail funcionar no debian woody, estou tentando configura-lo usando o arquivo sendmail.mc que é gerado pelo sendmailconfig. Este arquivo esta desta maneira:
divert(-1)dnl #--------------------------------------------------------------------------- -- # $Sendmail: debproto.mc,v 8.12.3 2002-04-15 17:35:56 cowboy Exp $ # # Copyright (c) 1998-2002 Richard Nelson. All Rights Reserved. # # ./cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure. # # sendmail.mc prototype config file for building Sendmail 8.12.3 # # Note: the .in file supports 8.7.6 - 8.12.3, but the generated # file is customized to the version noted above. # # This file is used to configure Sendmail for use with Debian systems. # # If you modify this file, you will have to regenerate /etc/mail/sendmail.cf # by running this file through the m4 preprocessor via one of the following: # * `sendmailconfig` # * `make` # * `m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf` # The first two options are preferred as they will also update other files # that depend upon the contents of this file. # # The best documentation for this .mc file is: # /usr/share/doc/sendmail-doc/cf.README.gz # #--------------------------------------------------------------------------- -- divert(0)dnl # # Copyright (c) 1998-2002 Richard Nelson. All Rights Reserved. # # This file is used to configure Sendmail for use with Debian systems. # define(`_USE_ETC_MAIL_')dnl include(`/usr/share/sendmail/cf/m4/cf.m4')dnl VERSIONID(`$Id: sendmail.mc, v 8.12.3-4 2002-04-15 17:35:56 cowboy Exp $') OSTYPE(`debian')dnl DOMAIN(`debian-mta')dnl dnl # dnl # General defines dnl # dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot() dnl # into this directory before writing files. dnl # If *all* your user accounts are under /home then use that dnl # instead - it will prevent any writes outside of /home ! dnl # define(`confSAFE_FILE_ENV', `')dnl LOCAL_CONFIG FEATURE(`masquerade_envelope')dnl LOCAL_CONFIG Cwservidor.interno FEATURE(`use_cw_file')dnl FEATURE(`use_ct_file')dnl FEATURE(`bestmx_is_local')dnl FEATURE(`smrsh', `/usr/lib/sm.bin/smrsh')dnl dnl # dnl # Dialup/LAN connection overrides dnl # dnl include(`/etc/mail/dialup.m4')dnl dnl include(`/etc/mail/provider.m4')dnl dnl # MAILER_DEFINITIONS MAILER(local)dnl MAILER(smtp)dnl LOCAL_CONFIG ## Custom configurations below (will be preserved) Tenho um servidor DNS para minha rede local rodando no mesmo servidor. Ele responde pelo dominio 'interno' como DNS primário e coloquei o MX apontando para ele mesmo. O sendmail inicia certinho. Daí eu configuro um outlook de uma maquina interna minha para enviar um email para o endereço: [EMAIL PROTECTED] ocorre o segunte erro nos logs do sendmail: <[EMAIL PROTECTED]>, relay=windows.interno [10.1.1.3], reject=553 5.1.8 <[EMAIL PROTECTED]>... Domain of sender address <[EMAIL PROTECTED]> does not exist No Red Hat eu consigo rodar o sendmail certinho. Dai eu adaptei o arquivo sendmail.mc padrão do RedHat para rodar no woody deixando-o dessa maneira: divert(-1) dnl This is the sendmail macro config file. If you make changes to this file, dnl you need the sendmail-cf rpm installed and then have to generate a dnl new /etc/mail/sendmail.cf by running the following command: dnl dnl m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf dnl include(`/usr/share/sendmail/cf/m4/cf.m4') VERSIONID(`Sendmail on Linux')dnl OSTYPE(`linux') dnl Uncomment and edit the following line if your mail needs to be sent out dnl through an external mail server: dnl define(`SMART_HOST',`smtp.your.provider') define(`confDEF_USER_ID',``8:12'')dnl undefine(`UUCP_RELAY')dnl undefine(`BITNET_RELAY')dnl dnl define(`confAUTO_REBUILD')dnl define(`confTO_CONNECT', `1m')dnl define(`confTRY_NULL_MX_LIST',true)dnl define(`confDONT_PROBE_INTERFACES',true)dnl define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl define(`ALIAS_FILE', `/etc/aliases')dnl dnl define(`STATUS_FILE', `/etc/mail/statistics')dnl define(`UUCP_MAILER_MAX', `2000000')dnl dnl define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl define(`confAUTH_OPTIONS', `A')dnl dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl dnl define(`confTO_QUEUEWARN', `4h')dnl dnl define(`confTO_QUEUERETURN', `5d')dnl dnl define(`confQUEUE_LA', `12')dnl dnl define(`confREFUSE_LA', `18')dnl define(`confTO_IDENT', `0')dnl dnl FEATURE(delay_checks)dnl FEATURE(`no_default_msa',`dnl')dnl FEATURE(`smrsh',`/usr/lib/sm.bin/smrsh')dnl FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl FEATURE(redirect)dnl FEATURE(always_add_domain)dnl FEATURE(use_cw_file)dnl FEATURE(use_ct_file)dnl dnl The '-t' option will retry delivery if e.g. the user runs over his quota. FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl FEATURE(`blacklist_recipients')dnl EXPOSED_USER(`root')dnl dnl FEATURE(`accept_unresolvable_domains')dnl FEATURE(`relay_based_on_MX')dnl MAILER(smtp)dnl MAILER(procmail)dnl Cwservidor.interno Mas mesmo com essa adaptação do RedHat eu continuo tendo o mesmo problema de não reconhecimento do domínio no woody :( Alguem pode me informar o que pode ser esse erro de Domain of sender address <[EMAIL PROTECTED]> does not exist? Alguem pode me dar umas sugestões? Obrigado

