(hope this is the right forum!)
I've set up numerous linux/sendmail configurations for hosts with static IPs, but never from a home office behind a router/firewall. So, I need some help.
I am using roadrunner at my home office. I have my home office linux sendmail.mc file shown at bottom (comments removed). I have a couple of PC's, a wireless router and this new linux host on the home office lan. All hosts, including linux, are setup for DHCP. The linux host gets 192.168.2.7 as its IP.
First puzzle, what domainname should I give this linux host? Should I use rr.com (roadrunner)? For my 1st test I used my business domain, even though it is located physically elsewhere (probably a bad idea). That is: novatec-inc.com.
I then tried sending a test message to my verizon phone and to my real personal account at novatec-inc.com specifying a reply-to as the same personal account. The bounced message is below.
I'm not too surprised that it had trouble delivering the message to my work account since it possibly got confused thinking that message should have been for local delivery (perhaps I should remove LOCAL_DOMAIN from my .mc file?). On the other hand, it appears to have contacted netsolmail.net which is where the mail.novatec-inc.com is hosted. I also appear to have spam rejections from vtext.com and spamhaus.org whereas mail normally sent from my actual office computer does not get such rejections.
Anyway - it appears I am very far off configuring the right things on this. It seems to me this is a fairly common application (home linux/mail use) so I have every confidence that some expert will be able to help me sort it out!
From
MAILER-DAEMON@novatec-inc.com Mon Jan 17 13:57:35 2011
Return-Path: <MAILER-DAEMON@novatec-inc.com>
Date: Mon, 17 Jan 2011 13:57:35 -0500
From: Mail Delivery Subsystem <MAILER-DAEMON@novatec-inc.com>
To:
postmaster@watcher.novatec-inc.com
Content-Type: multipart/report; report-type=delivery-status;
boundary="p0HIvZov003592.1295290655/watcher.novatec-inc.com"
Subject: Postmaster notify: see transcript for details
Auto-Submitted: auto-generated (postmaster-notification)
Status: RO
Part 1:
The original message was received at Mon, 17 Jan 2011 13:57:35 -0500
from localhost
----- The following addresses had permanent fatal errors -----
<mfoley@novatec-inc.com>
----- Transcript of session follows -----
554 5.0.0 Service unavailable
Part 2:
Content-Type: message/delivery-status
Part 3:
Content-Type: message/rfc822
From MAILER-DAEMON Mon Jan 17 13:57:35 2011
Return-Path: <MAILER-DAEMON>
Date: Mon, 17 Jan 2011 13:57:35 -0500
From: Mail Delivery Subsystem <MAILER-DAEMON>
To: <mfoley@novatec-inc.com>
Content-Type: multipart/report; report-type=delivery-status;
boundary="p0HIvZou003592.1295290655/watcher.novatec-inc.com"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
Part 3.1:
The original message was received at Mon, 17 Jan 2011 13:57:34 -0500
from localhost [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<mfoley@novatec-inc.com>
(reason: 551 76.181.74.190 listed on:
http://www.spamhaus.org/lookup.lasso)
<6142053321@vtext.com>
(reason: 554 txslspamp1.vtext.com)
----- Transcript of session follows -----
... while talking to inbound.novatec-inc.com.netsolmail.net.:
<<< 551 76.181.74.190 listed on:
http://www.spamhaus.org/lookup.lasso
554 5.0.0 Service unavailable
... while talking to smtp-bb.vtext.com.:
<<< 554 njbrspamp2.vtext.com
... while talking to smtp-sl.vtext.com.:
<<< 554 txslspamp1.vtext.com
554 5.0.0 Service unavailable
Part 3.2:
Content-Type: message/delivery-status
Part 3.3:
Content-Type: message/rfc822
From
mfoley@novatec-inc.com Mon Jan 17 13:57:34 2011
Return-Path: <mfoley@novatec-inc.com>
Date: Sun, 16 Jan 2011 15:19:30 -0500
From:
mfoley@novatec-inc.com
To:
6142053321@vtext.com
Cc:
mfoley@novatec-inc.com
Subject: testing
User-Agent: Heirloom mailx 12.3 7/15/07
Content-Type: text/plain; charset=us-ascii
test message from watcher
---------------- sendmail.mc file ----------------
include(`../m4/cf.m4')
VERSIONID(`default setup for Slackware Linux')dnl
OSTYPE(`linux')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')define(`confTO_IDENT', `0')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`redirect')dnl
MASQUERADE_AS(`novatec-inc.com')
FEATURE(`masquerade_envelope')
FEATURE(`masquerade_entire_domain')
EXPOSED_USER(`root')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl