Moderators: ScalixSupport, admin
# NB Authenticated RELAYs are always allowed
RELAY accept 127.0.0.1
RELAY accept speed.DESTINATION.com.
RELAY accept .DESTINATION.com.
omoff -wd 0 smtpd
omon smtpd
I am looking to host a number of domains
RELAY accept .domain1.com
RELAY accept .domain2.com
RELAY Log_Reject ALL
# NB Authenticated RELAYs are always allowed
RELAY accept ALL
Code: Select all
DOMAIN_NAME=primary.domain
LOCAL_NAMES=other.domain,other.domain,etc
c-75-72-71-113:~# hostname
c-75-72-71-113
c-75-72-71-113:~# hostname --fqdn
c-75-72-71-113.hsd1.mn.comcast.net.
c-75-72-71-113:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:09:6B:71:E0:7C
inet addr:75.72.71.113 Bcast:255.255.255.255 Mask:255.255.252.0
c-75-72-71-113:~# nslookup 75.72.71.113
113.71.72.75.in-addr.arpa name = c-75-72-71-113.hsd1.mn.comcast.net.
c-75-72-71-113:~# nslookup c-75-72-71-113.hsd1.mn.comcast.net.
Name: c-75-72-71-113.hsd1.mn.comcast.net
Address: 75.72.71.113
c-75-72-71-113:~# nslookup
> set q=mx
> onyxs10.com
onyxs10.com mail exchanger = 10 c-75-72-71-113.hsd1.mn.comcast.net.
c-75-72-71-113:~# tail -n 35 /var/opt/scalix/c3/s/sys/smtpd.cfg
###############################################################################
DEBUG_LOG=TRUE
# NB Authenticated RELAYs are always allowed
RELAY accept ALL
RELAY Log_Reject ALL
DOMAIN_NAME=hsd1.mn.comcast.net
LOCAL_NAMES=onyxs10.com
# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
c-75-72-71-113:~# cat /etc/mail/local-host-names
localhost
c-75-72-71-113.hsd1.mn.comcast.net.
onyxs10.com.
c-75-72-71-113:/var/opt/scalix/c3/s/tmp# cat /var/log/mail.err
Feb 3 01:08:12 c-75-72-71-113 sm-mta[8870]: l1378C9c008862: SYSERR(root): MX list for onyxs10.com. points back to c-75-72-71-113.hsd1.mn.comcast.net
c-75-72-71-113:/var/opt/scalix/c3/s/tmp# cat /var/log/mail.info
Feb 3 01:08:12 c-75-72-71-113 sm-mta[8840]: l1378Bsn008840: from=drew@SOURCE.com, size=0, class=0, nrcpts=1, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Feb 3 01:08:12 c-75-72-71-113 sm-mta[8862]: l1378C9c008862: from=<drew@SOURCE.com>, size=1350, class=0, nrcpts=1, msgid=<20070203070927.6eef4406@SOURCE.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Feb 3 01:08:12 c-75-72-71-113 sm-mta[8870]: l1378C9c008862: SYSERR(root): MX list for onyxs10.com. points back to c-75-72-71-113.hsd1.mn.comcast.net
Feb 3 01:08:12 c-75-72-71-113 sm-mta[8870]: l1378C9c008862: to=<test@onyxs10.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=121350, relay=onyxs10.com., dsn=5.3.5, stat=Local configuration error
Feb 3 01:08:12 c-75-72-71-113 sm-mta[8870]: l1378C9c008862: l1378C9c008870: DSN: Local configuration error
Feb 3 01:08:12 c-75-72-71-113 sm-mta[8870]: l1378C9c008870: to=drew, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=60000, dsn=2.0.0, stat=Sent
Feb 3 01:09:13 c-75-72-71-113 sm-mta[8870]: STARTTLS=client, relay=mail.SOURCE.com., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Feb 3 01:09:13 c-75-72-71-113 sm-mta[8870]: l1378C9c008870: to=<drew@SOURCE.com>, delay=00:01:01, xdelay=00:01:01, mailer=esmtp, pri=60000, relay=mail.SOURCE.com. [69.41.xxx.xxx], dsn=2.0.0, stat=Sent (45c43566-00006535 Message accepted for delivery)
c-75-72-71-113:/var/opt/scalix/c3/s/tmp# cat smtpd-SMTP.log
Accepted client 1 from (mail.SOURCE.com)
Cli 7551/1 sent : 220 c-75-72-71-113.hsd1.mn.comcast.net. ESMTP Scalix SMTP Relay 11.0.0.431; Sat, 03 Feb 2007 01:08:11 -0600 (CST)
Cli 7551/1 rcvd: 'EHLO SOURCE.com'
Cli 7551/1 sent : 250-c-75-72-71-113.hsd1.mn.comcast.net. Hello mail.SOURCE.com [69.41.xxx.xxx], pleased to meet you
250-AUTH PLAIN LOGIN CRAM-MD5 DIGEST-MD5 GSSAPI
250-AUTH=LOGIN
250-DSN
250 8BITMIME
Cli 7551/1 rcvd: 'MAIL FROM:<drew@SOURCE.com>'
Cli 7551/1 sent : 250 drew@SOURCE.com... Sender ok
Cli 7551/1 rcvd: 'RCPT TO:<test@onyxs10.com>'
... new process 8860
7551: Allocate new unix.in process 8860
Cli 7551/1 rcvd U: '220 Scalix ESMTP Ready.'
Cli 7551/1 rcvd U: '250 Ok'
Cli 7551/1 sent U: rcpt to: <test@onyxs10.com>
Cli 7551/1 rcvd U: '250 Ok'
Cli 7551/1 sent : 250 Ok
Cli 7551/1 rcvd: 'DATA'
Cli 7551/1 sent : 354 Enter mail, end with "." on a line by itself (relay)
Cli 7551/1 sent U: data
Cli 7551/1 rcvd U: '354 Enter mail, end with "." on a line by itself.'
Cli 7551/1 sent U: Received: from SOURCE.com (mail.SOURCE.com [69.41.xxx.xxx])
by c-75-72-71-113.hsd1.mn.comcast.net. (Scalix SMTP Relay 11.0.0.431)
via ESMTP; Sat, 03 Feb 2007 01:08:12 -0600 (CST)
Received: from 75.72.71.113 ([75.72.71.113])
by SOURCE.com (Kerio MailServer 6.1.0)
for drew@SOURCE.com;
Sat, 3 Feb 2007 01:09:27 -0600
From: drew@SOURCE.com
To: test@onyxs10.com
Subject: test
Message-ID: <20070203070927.6eef4406@SOURCE.com>
Date: Sat, 03 Feb 2007 01:09:27 -0600
X-Mailer: Kerio MailServer 6.1.0 WebMail
X-User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
MIME-Version: 1.0
Content-Type: multipart/alternative;
Cli 7551/1 got .
Cli 7551/1 sent U: boundary="----------flower-power-ef3ec2fc1af1af2d965aefaecffdb36b"
This is a multi-part message in MIME format.
------------flower-power-ef3ec2fc1af1af2d965aefaecffdb36b
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
test
------------flower-power-ef3ec2fc1af1af2d965aefaecffdb36b
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html;charset=us-ascii'>
<style>BODY{font:10pt Tahoma, Verdana, sans-serif;}</style>
</head>
<body>
<DIV>test</DIV></body></html>
------------flower-power-ef3ec2fc1af1af2d965aefaecffdb36b--
.
Cli 7551/1 rcvd U: '250 Ok'
Cli 7551/1: Submitted message ': <20070203070927.6eef4406@SOURCE.com>' to unix.in.
response: '250 Ok'
Cli 7551/1 Finished submitting msg : <20070203070927.6eef4406@SOURCE.com>
Cli 7551/1 sent : 250 Ok
Cli 7551/1 rcvd: 'QUIT'
Cli 7551/1 sent : 221 c-75-72-71-113.hsd1.mn.comcast.net. closing connection
TGuY wrote:BUT, when I setup the application, the default domain (the one in /etc/hosts) ends in a period, so when I added that for the domain I added the period at the end as well.
TGuY wrote:I take it you can add a domain through sca and not have to cycle any services for it to be able to pick that up?
TGuY wrote:Back to the period, I am now wondering, if part of the problem, is that when I installed the application, many of the files that require you fill in the fqdn, also got the period at the end. I'll reload the system completely, and make sure that the period is on none of those entry's. This might be a common problem at least with people that are using Debian, as when you setup the hostname during installation, it defialts to leave the period on the end. I thought that was good practice, as it assures the system, that you entered the fqdn, as the period designates the end of all domain names.
TGuY wrote:I guess the last question I have, relates back to the fqdn for the server again. I know the documentation says you need to have everything proper for this to work. I have one instance of this, where I might not be able to control the in-addr.arpa, does that mean I won't be able to have it recieve mail? If what you say is true, it sure seems like the system is very pick about hosts matching exactly. If the reverse dns doesn't match, it would seem that would render it worthless.
Users browsing this forum: No registered users and 4 guests