[Relay Troubless] back to Bridgehead

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Karottenzuechter
Posts: 11
Joined: Thu Dec 14, 2006 3:10 pm

[Relay Troubless] back to Bridgehead

Postby Karottenzuechter » Thu Jan 04, 2007 10:24 am

Hi Folks,

In my DMZ there is a Postfix Server running relaying mails to my scalix server in the local network.

I configured smtpd.conf to accept my relayed mails, and everything works fine.

So i also wanted to relay from Scalix to Postfix and the way back out.

So i edited the sendmail.cf and entered on the DS Line DSmyrelay.dmz.com

omsendin

And now i get the message 550 Denied due to spam list from sendmail.

Before i did omsendin i only got the error on non premium users smtp connection.

It looks like that sendmail relays wrong to postfix??

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Thu Jan 04, 2007 1:16 pm

Is the IP address of your Scalix box included in Postfix's 'mynetworks'? (See /etc/postfix/main.cf)

By default Postifx will reject relay attempts from hosts/networks not included therein.
Ben Tisdall
www.redcircleit.com
London

Karottenzuechter
Posts: 11
Joined: Thu Dec 14, 2006 3:10 pm

Postby Karottenzuechter » Thu Jan 04, 2007 2:46 pm

Problem was relay_host, when it's set in main.cf all mails get relayed to this host.

So create a file: touch /etc/postfix/transport
Content of /etc/postfix/transport
domain.com smtp:[your.relay.server]:25

on the shell:
postmap transport

Then in main.cf
transport_maps=hash:/etc/postfix/transport

postfix restart.

Everything works fine.
Last edited by Karottenzuechter on Thu Jan 04, 2007 7:53 pm, edited 1 time in total.

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Thu Jan 04, 2007 3:54 pm

Ah, I rather misunderstood the nature of your problem.

Glad you got it working.
Ben Tisdall

www.redcircleit.com

London

Karottenzuechter
Posts: 11
Joined: Thu Dec 14, 2006 3:10 pm

Postby Karottenzuechter » Thu Jan 04, 2007 7:52 pm

To my opinion Scalix is dealing with sendmail on 2 ways, for std. users and for premium users.

Premium Users are using the Scalix sendmail interface, so i did not see the error by the way cause my scalix server sent the emails out by it's own with out the bridge head.

Std Scalix Users are directly using sendmail, and i think, that Scalix uses the sendmail.mc config and sendmail native uses the sendmail.cf, and so i got the same error on both ways after omsendin where the sendmail.mc gets prepared.

The next problem then was, that postfix relayed all the emails back to sendmail, and send mail to postfix,...... and i got to many hops, so the thread 2 before this was the solution.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests

cron