SMTP Relay -- cannot send outbound (smtpd.log)

Discuss the Scalix web client

Moderators: ScalixSupport, admin

will123195
Posts: 25
Joined: Thu Sep 29, 2005 12:52 pm

SMTP Relay -- cannot send outbound (smtpd.log)

Postby will123195 » Wed Dec 14, 2005 4:33 am

I am unable to send an email OUTBOUND (destination is not the local scalix server) from either outlook or web access. in fact sending an email outbound in web access crashes IE and Firefox on both Mac and PC.

The following exerpt from my smtpd.log shows:
(1) a successful local delivery
(2) a failed remote relay - no response after RCPT TO
(3) a failed incoming spam

Code: Select all

Accepted client 2 from  (****.comcast.net)
Cli 4614/2 sent  : 220 host.****scalix.com ESMTP Scalix SMTP Relay 9.4.2.4; Wed, 14 Dec 2005 01:04:05 -0500 (EST)
   
Cli 4614/2 rcvd: 'HELO amd3400'
Cli 4614/2 sent  : 250 host.****scalix.com Hello ****.comcast.net [68.46.***.242], pleased to meet you
   
Cli 4614/2 rcvd: 'MAIL FROM:<will@local_mailnode_2.com>'
Cli 4614/2 sent  : 250 will@local_mailnode_2.com... Sender ok
   
Cli 4614/2 rcvd: 'RCPT TO:<will@local_mailnode_2.com>'
  ... new process 4655
4614: Allocate new unix.in process 4655
Cli 4614/2 rcvd U: '220 Scalix ESMTP Ready.'
Cli 4614/2 rcvd U: '250 Ok'
Cli 4614/2 sent U: rcpt to: <will@local_mailnode_2.com>
   
Cli 4614/2 rcvd U: '250 Ok'
Cli 4614/2 sent  : 250 Ok
   
Cli 4614/2 rcvd: 'DATA'
Cli 4614/2 sent  : 354 Enter mail, end with "." on a line by itself (relay)
   
Cli 4614/2 sent U: data
   
Cli 4614/2 rcvd U: '354 Enter mail, end with "." on a line by itself.'
Cli 4614/2 got .
Cli 4614/2 sent U: Received: from amd3400 (****.comcast.net 68.46.***.242)
       by host.****scalix.com (Scalix SMTP Relay 9.4.2.4)
       via ESMTP; Wed, 14 Dec 2005 01:04:05 -0500 (EST)
   Message-ID: <PC174020051214010647071896ae4abd@amd3400>
   X-Mailer: Ultrafunk Popcorn 1.74 (11-May-2005)
   X-Priority: 3
   MIME-Version: 1.0
   Content-Transfer-Encoding: 8bit
   Content-Type: text/plain; charset=iso-8859-1
   Date: Wed, 14 Dec 2005 01:06:47 -0500
   From: Will <will@local_mailnode_2.com>
   To: will@local_mailnode_2.com
   Subject: test
   
   test
   .
   
Cli 4614/2 rcvd U: '250 Ok'
Cli 4614/2: Submitted message ': <PC174020051214010647071896ae4abd@amd3400>' to unix.in.
   response: '250 Ok'
Cli 4614/2 Finished submitting msg  : <PC174020051214010647071896ae4abd@amd3400>
Cli 4614/2 sent  : 250 Ok
   
Cli 4614/2 rcvd: 'QUIT'
Cli 4614/2 sent  : 221 host.****scalix.com closing connection
   
Accepted client 2 from  (****.comcast.net)
Cli 4614/2 sent  : 220 host.****scalix.com ESMTP Scalix SMTP Relay 9.4.2.4; Wed, 14 Dec 2005 01:04:36 -0500 (EST)
   
Cli 4614/2 rcvd: 'HELO amd3400'
Cli 4614/2 sent  : 250 host.****scalix.com Hello ****.comcast.net [68.46.***.242], pleased to meet you
   
Cli 4614/2 rcvd: 'MAIL FROM:<will@local_mailnode_2.com>'
Cli 4614/2 sent  : 250 will@local_mailnode_2.com... Sender ok
   
Cli 4614/2 rcvd: 'RCPT TO:<will@remote_isp_mailbox.com>'
Accepted client 3 from  ()
Cli 4614/3 sent  : 220 host.****scalix.com ESMTP Scalix SMTP Relay 9.4.2.4; Wed, 14 Dec 2005 02:00:15 -0500 (EST)
   
Cli 4614/3 rcvd: 'HELO 64.91.***.91'
Cli 4614/3 sent  : 250 host.****scalix.com Hello  [219.133.174.23], pleased to meet you
   
Cli 4614/3 rcvd: 'MAIL FROM: <fdbvcnvcxcvx@pmail.com>'
Cli 4614/3 sent  : 250 fdbvcnvcxcvx@pmail.com... Sender ok
   
Cli 4614/3 rcvd: 'RCPT TO: <popogigi1975@yahoo.com.tw>'
Rejected relay attempt from fdbvcnvcxcvx@pmail.com at 219.133.174.23 to popogigi1975@yahoo.com.tw
Cli 4614/3 sent  : 550 Denied due to spam list
   
Cli 4614/3 failed: EOF
Cli 4614/2 failed: EOF

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Dec 14, 2005 6:02 am

Hello,

please post the content of your

/var/opt/scalix/sys/smtpd.cfg

Have you added your domain or your network to the RELAY ACCEPT lines?

Code: Select all

RELAY accept 127.0.0.1
RELAY accept test.com
RELAY Log_Reject ALL


is what you need to look for.

Not sure if you want to change the behaviour of accepting spam for outbound domains,though ;-)

Cheers,

Sascha.

will123195
Posts: 25
Joined: Thu Sep 29, 2005 12:52 pm

Postby will123195 » Wed Dec 14, 2005 7:16 am

ok, now smtpd.log looks fine (i.e. finished submitting message, sent : 250 ok, etc), however, it is not arriving at the destination. but i found this in the SMTPD RELAY Service Event Log:

Code: Select all

REPORT                         SMTP Relay    (SMTPD Relay Pr) 12.14.05 06:02:27
[OM 821] System error 2 on file /var/opt/scalix/sys/unixmap.in
File Name: /var/opt/scalix/sys/unixmap.in
 
 
REPORT                         SMTP Relay    (SMTPD Relay Pr) 12.14.05 06:02:27
[OM 821] System error 2 on file /var/opt/scalix/sys/unixmap.gw
File Name: /var/opt/scalix/sys/unixmap.gw


i have tried both of these configurations in smtpd.cfg with no success. both result in the above error.

Code: Select all

RELAY accept 127.0.0.1
RELAY accept .com
RELAY Log_Reject ALL


Code: Select all

RELAY accept 127.0.0.1
RELAY accept my-domain.com
RELAY Log_Reject ALL

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Dec 14, 2005 8:26 am

will123195 wrote:ok, now smtpd.log looks fine (i.e. finished submitting message, sent : 250 ok, etc), however, it is not arriving at the destination.

i have tried both of these configurations in smtpd.cfg with no success. both result in the above error.

Code: Select all

RELAY accept 127.0.0.1
RELAY accept .com
RELAY Log_Reject ALL


Code: Select all

RELAY accept 127.0.0.1
RELAY accept my-domain.com
RELAY Log_Reject ALL


RELAY accept .com is VERY VERY BAD.

Please replace that with your domain name or ".domain.com" to also accept from subdomains under your top level domain.

if your mailhost ist "mailhost" and your domain is "domain.com", the entry should read "mailhost.domain.com".

You need to restart using omoff -d0 smtpd; omon smtpd to make the change active. The reason why the message does not arrive at the destination may be a local configuration issue. What does your sendmail log tell you?

Cheers,

Sascha.

will123195
Posts: 25
Joined: Thu Sep 29, 2005 12:52 pm

Postby will123195 » Wed Dec 14, 2005 9:34 am

i added 127.0.0.1 and localhost to /etc/mail/local-host-names and now my problem is fixed.


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 3 guests