bangsters wrote:I can't get the scalix box to send emails to yahoo and other major ISPs....i have the PTRs set and I can receive the emails, but I cannot send them. at first I get a 553 error that it does not relay...after that I added relay to the hsphere mailserver to allow the mailserver to relay..now i don't get any 553 errors, but the emails just disappear and do not reach the destination....
my setup is as follows:
3 servers:
ISP router NATs to these boxes depending on the port.
server1 is the main server, win2k3 (without DNS, just for local network) using NAT
server2, scalix box, using NAT
server3, ASSP box, using NAT
there is a fourth server where the domain/zone is setup and have there an A record that points to the scalix box, and also an MX record that points to the scalix box. this is also the hsphere box where I set relaying to allow to the scalix box.
Am I missing something here? Please advice as it's been over 24 hours downtime now and we cannot send out emails....
P.S. I have the exact same setup with some other clients but using a different mailserver, and I'm not experiencing this issue with those boxes...
that's not quite clear exactly what you want or how you are setup.......
some assumptions...can you clarify...
1. scalix is your only mail server.
2. all other servers send mail via the scalix server.
3. when other servers send mail to internal accounts on the scalix server it works.
4. when other servers send mail via scalix server to external accoutns it gets realy denied.
Most likely you need to allow smtp relay for your internal subnet.
By default out of the box scalix will relay only for 127.0.0.1and yourdomain.com (which you entered in install).
Scalix Connector in outlook uses MAPI so it needs no additional relay entries.
However if you have imap based clients, or just send via smtp then you need to allow them to relay.
If you internal subnet is 192.168.1.0/24 then you could allow relaying form the entire subnet by....
vi /var/opt/scalix/xx/s/sys/smtpd.cfg
and adding RELAY lines in the appropriate section such as...
RELAY accept 192.168.1.
then do an omof -d0 smtpd and an omon smtpd
If you want to be more specific, i.e. only allow relaying from the other two servers then add multiple specific RELAY lines.
RELAY accept 192.168.1.1
RELAY accept 192.168.1.2
etc...
if you added additional domain you will also need to add relay lines to the smtpd.cfg file.
p.s.
also recommend you add your domain names (just the domain part) to /etc/mail/local-hostnames for sendmail and restart sendmail.
Hope that helps.