[rhn-users] My sendmail could not send email

John Paul C. Orpilla jporpilla at gmail.com
Tue Sep 26 13:56:51 UTC 2006


I was setting up a local mailserver to get all messages from
mail.amellar.com using RHEL 4 AS, sendmail-8.13.1-2, dovecot-0.99.11-2.EL4.1,
fetchmail-5.9.0-1. Im using outlook express as mail client I have no problem
popping all the messages from the remote mail server but when I used outlook
express to send email to yahoo or gmail all the emails went to bulk or spam
while the others cannot be send.  I had read the knowledgebase and googled
but still unsuccessful here are my configuration.

Dovecot.conf

protocols = pop3
imap_listen = [::]
pop3_listen = [::]
login_dir = /var/run/dovecot-login
login = imap
login = pop3
mbox_locks = fcntl
auth = default
auth_mechanisms = plain
auth_userdb = passwd
auth_passdb = pam
auth_user = root


sendmail.mc

include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
define(`confDEF_USER_ID',``8:12'')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
dnl define(`confCACERT_PATH',`/usr/share/ssl/certs')
dnl define(`confCACERT',`/usr/share/ssl/certs/ca-bundle.crt')
dnl define(`confSERVER_CERT',`/usr/share/ssl/certs/sendmail.pem')
dnl define(`confSERVER_KEY',`/usr/share/ssl/certs/sendmail.pem')
dnl define(`confDONT_BLAME_SENDMAIL',`groupreadablekeyfile')dnl
define(`confTO_IDENT', `0')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
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
define(`SMART_HOST',`host.amellar.com')dnl
define(`confDIRECT_SUBMISSION_MODIFIERS',`C')
FEATURE(always_add_domain)dnl
FEATURE(`masquerade_entire_domain')
FEATURE(`masquerade_envelope')
FEATURE(`allmasquerade')
MAILER(smtp)dnl
MAILER(procmail)dnl
MASQUERADE_AS(`amellar.com.')
MASQUERADE_DOMAIN(`amellar.com.')
MASQUERADE_AS(amellar.com)


Here is /var/log/maillog

Sep 26 22:00:49 host sendmail[3387]: k8QDxmaH003385: to=<
jpco_122122 at yahoo.com>, ctladdr=<jporpilla at amellar.com> (501/501),
delay=00:01:01, xdelay=00:01:01, mailer=esmtp, pri=121172, relay=yahoo.com [
216.109.112.135], dsn=4.0.0, stat=Deferred: Connection reset by yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20060926/ddf3000c/attachment.htm>


More information about the rhn-users mailing list