Simple relay question

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

linuxboy
Posts: 13
Joined: Tue Jun 20, 2006 5:43 pm

Simple relay question

Postby linuxboy » Fri Jul 14, 2006 3:49 pm

Hello All,

I am trying to configure Scalix to allow email relaying from our Asterisk server (192.168.2.1) (Aseterisk sends out emails with and attached voicemail message to the recipient). Our Asterisk server is on the 192.168.2.0/24 network and our Scalix box is on the 192.168.0.0/24 network. I can ping from and to both machines, can telnet to port 25 on the Scalix box from our Asterisk server. However, I can't get Scalix to allow email relaying from Asterisk.
I added the ip address of the Asterisk box to the smtpd.conf file (see below), ran omsendin and restarted the scalix smtpd service and also restarted Sendmail. However, when I go into the sendmail.cf file I don't see any reference to the IP address I added in Scalix's smtpd.conf file.
I also added the Asterisk server's IP adderess and anme to my /etc/hosts file. Still nothing. What am I doing wrong??

--- snippet of my smtpd.conf file ---
RELAY accept 127.0.0.1
RELAY accept .ourcompanydomain.com
RELAY accept 192.168.2.1
RELAY Log_Reject ALL

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

Postby ScalixSupport » Fri Jul 14, 2006 4:07 pm

Can you try a simple telnet SMTP session from the Asterisk server to the Scalix server and post the results ?

Cheers

Dave

linuxboy
Posts: 13
Joined: Tue Jun 20, 2006 5:43 pm

Postby linuxboy » Fri Jul 14, 2006 4:20 pm

Sorry, I have to plead ignorant here. After I telnet to port 25 what commands should I give the Scalix server? Or do you simply want me to telnet to 25 and post the first results the Scalix server replys with?

Thanks for the help.

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

Postby ScalixSupport » Fri Jul 14, 2006 6:02 pm

This is a good link to walk you through the process:

http://www.yuki-onna.co.uk/email/smtp.html

Regards,
Don

linuxboy
Posts: 13
Joined: Tue Jun 20, 2006 5:43 pm

Postby linuxboy » Fri Jul 14, 2006 6:43 pm

Dave,

Thanks for the link. Going through the mail commands helped me diagnose my problem. What was the cause was I did not have the correct host/domain pair listed in the scalix servers /etc/hosts file. Asterisk was using asterisk@asterisk1.local . I simply added this to the hosts file, restarted sendmail and blam! Before I simply guessed what Asterisk was using as the "FROM" user. My bad.

As always thanks for your help. I never have to worry if I am going to get sound advice from you guys. The support is awesome! Have a great weekend.

Mike

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

Postby ScalixSupport » Fri Jul 14, 2006 6:44 pm

Credit where it is due, that was Don with the previous reply.

Cheers

Dave


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron