Sendmail and RH9 Revisited

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First, thanks to everyone who helped with my previous sendmail issue.

Lately Ive discovered a reproducable issue where with one sendmail.mc file I
cannot send from the console but can to the xfce distrobution list, and with
another one I cant send email to the xfce distribution list but can from the
console.
Id like to do both.

The first sendmail.mc file[1] allows mail to go from the console, but fails
with this text from the xfce list:
***
Reporting-MTA: dns; localhost.localdomain
Received-From-MTA: DNS; [158.229.10.197]
Arrival-Date: Mon, 16 Feb 2004 16:47:30 -0500

Final-Recipient: RFC822; xfce@xxxxxxxx
Action: failed
Status: 5.0.0
Remote-MTA: DNS; dbguin.lunar-linux.org
Diagnostic-Code: SMTP; 554 <localhost.localdomain>: Helo command rejected:
Host not found
Last-Attempt-Date: Mon, 16 Feb 2004 16:48:04 -0500
***

and

***
The original message was received at Mon, 16 Feb 2004 16:47:30 -0500
from [158.229.10.197]

----- The following addresses had permanent fatal errors -----
<xfce@xxxxxxxx>
(reason: 554 <localhost.localdomain>: Helo command rejected: Host not found)

----- Transcript of session follows -----
... while talking to dbguin.lunar-linux.org.:
>>> DATA
<<< 554 <localhost.localdomain>: Helo command rejected: Host not found
554 5.0.0 Service unavailable
<<< 554 Error: no valid recipients
***

The second sendmail.mc file[2] sends to the xfce list just fine, but wont
send from the console any longer (mail just sits in the spool dir).
The only difference between the two files is this line
(define(`confDOMAIN_NAME', `palmisanonet.com')dnl).

Any ideas?

.salvatore
http://www.sienar.org/
http://www.palmisanonet.com/


[1] First sendmail.mc file:
***
divert(-1)dnl
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(`confTRUSTED_USER', `smmsp')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(`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
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
PLAIN')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
dnl # below added by slp on 02.12.2004 on advice from www.tuug.us/
FEATURE(`relay_entire_domain')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
dnl # below added by slp on 02.16.2004 on advice from www.tuug.us/
MASQUERADE_AS(`palmisanonet.com')dnl
MASQUERADE_DOMAIN(`home')dnl
MASQUERADE_DOMAIN(`localhost')dnl
MASQUERADE_DOMAIN(`localhost.localdomain')dnl
dnl # below added by slp on 02.16.2004 on advice from www.tuug.us/
MASQUERADE_DOMAIN(`palmisanonet.com')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
***

[2] Second sendmail.mc file:
***
divert(-1)dnl
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(`confTRUSTED_USER', `smmsp')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(`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
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
PLAIN')dnl
define(`confTO_IDENT', `0')dnl
define(`confDOMAIN_NAME', `palmisanonet.com')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
dnl # below added by slp on 02.12.2004 on advice from www.tuug.us/
FEATURE(`relay_entire_domain')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
dnl # below added by slp on 02.16.2004 on advice from www.tuug.us/
MASQUERADE_AS(`palmisanonet.com')dnl
MASQUERADE_DOMAIN(`home')dnl
MASQUERADE_DOMAIN(`localhost')dnl
MASQUERADE_DOMAIN(`localhost.localdomain')dnl
dnl # below added by slp on 02.16.2004 on advice from www.tuug.us/
MASQUERADE_DOMAIN(`palmisanonet.com')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
***


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux