Afficher un message
Vieux 14/03/2008, 10h47   #5
Andrew
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendmail cannot send outgoing email due to makeconnection faliure

> Can you describe your Sendmail setup a bit more? It seems that one of
> two things are possible:
>
> * You are trying to directly email the world from a Sendmail instance
> running in an ISP's network. The ISP provides already a mail relay
> which you can use.
>
> * You are trying to use `gmail-smtp-in.l.google.com' as your mail
> relay (SMART_HOST), instead of `smtp.gmail.com'.


Actually, after I comment the
lineAEMON_OPTIONS(`Name=MTA,Modifiers=b'). it works to send mail to
gmail... but fail to send mail to yahoo or my mailbox at fudan
university.
I don't quite understand the reason...

Here is my sendmail.mc. I don't use the smart host, so your first
point may be right :-)

================================================== ===========
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for linux')dnl
OSTYPE(`linux')dnl
define(`confDEF_USER_ID', ``8:12'')dnl
define(`confDEF_USER_ID', ``8:12'')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
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS',
`authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confTO_IDENT', `0')dnl
dnl FEATURE(delay_checks)dnl
FEATURE(`no_default_msa', `dnl')dnl
FEATURE(`smrsh', `/usr/sbin/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
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
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`localhost')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
=============================================
  Réponse avec citation
 
Page generated in 0,05312 seconds with 9 queries