Smarthost problems with internal mailserver

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

tobbe

Smarthost problems with internal mailserver

Postby tobbe » Sun Mar 09, 2008 6:37 am

Hello!

Since I found no matching answer to my question while searching the forum, maybe someone can help me.

Our research group uses an internal mailserver at the moment, accessing it with POP3/SMTP through Thunderbird.
The name of the mailserver is plexus.uke.uni-hamburg.de, the domain of the mailusers is @uke.uni-hamburg.de

My Scalix Box is a normal workstation within the internal network:

Code: Select all

kmtsrv02:/etc/mail# hostname --fqdn
kmtsrv02.gwis.uke.de


My sendmail if configured for a smarthost:

Code: Select all

/etc/mail/sendmail.cf

# "Smart" relay host (may be null)
DSplexus.uke.uni-hamburg.de


Code: Select all

kmtsrv02:/etc/mail# sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> 3,0 tobias@lachmann.org
canonify           input: tobias @ lachmann . org
Canonify2          input: tobias < @ lachmann . org >
Canonify2        returns: tobias < @ lachmann . org . >
canonify         returns: tobias < @ lachmann . org . >
parse              input: tobias < @ lachmann . org . >
Parse0             input: tobias < @ lachmann . org . >
Parse0           returns: tobias < @ lachmann . org . >
ParseLocal         input: tobias < @ lachmann . org . >
ScalixMapper       input: < tobias < @ lachmann . org . > > < tobias @ lachmann . org >
ScalixMapper     returns: tobias < @ lachmann . org . >
ParseLocal       returns: tobias < @ lachmann . org . >
Parse1             input: tobias < @ lachmann . org . >
MailerToTriple     input: < plexus . uke . uni-hamburg . de > tobias < @ lachmann . org . >
MailerToTriple   returns: $# relay $@ plexus . uke . uni-hamburg . de $: tobias < @ lachmann . org . >
Parse1           returns: $# relay $@ plexus . uke . uni-hamburg . de $: tobias < @ lachmann . org . >
parse            returns: $# relay $@ plexus . uke . uni-hamburg . de $: tobias < @ lachmann . org . >


What I want to do is to fetch all mails for my users from the internal mailserver plexus into the Scalix-Box, which works fine.

But I'm not able to send any mails, even with a smarthost configured:

Code: Select all

Mar  9 11:41:52 kmtsrv02 sm-mta[3514]: m29Afqn9003514: from=<mengel@uke.uni-hamburg.de>, size=1089, class=0, nrcpts=1, msgid=<29070643.101205059311824.JavaMail.root@kmtsrv02.gwis.uke.de>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Mar  9 11:45:52 kmtsrv02 sm-mta[3522]: m29Afqn9003514: to=<tobias@lachmann.org>, delay=00:04:00, xdelay=00:04:00, mailer=relay, pri=121089, relay=mplexus.uke.uni-hamburg.de. [134.100.102.4], dsn=4.0.0, stat=Deferred: Connection timed out with mplexus.uke.uni-hamburg.de.


Please note Scalix tries to open a connection to Mplexus.uke.uni-hamburg.de, but the Smarthost is plexus.uke.uni-hamburg.de

Seems the Mplexus is the outside mail server

Code: Select all

 kmtsrv02:/etc/mail# host -t mx plexus.uke.uni-hamburg.de
plexus.uke.uni-hamburg.de       MX      0 mplexus.uke.uni-hamburg.de


How can I ensure that every mail, regardless if the user is on the Scalix box or not, is delivered to my desired SmartHost?

Any help is greatly appreciated.

Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron