Inbound SMTP Gateway Issues

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Richard Crow

Inbound SMTP Gateway Issues

Postby Richard Crow » Fri Jan 05, 2007 1:51 am

I am having trouble forwarding email from our external SMTP server to our internal Scalix server. I get an "Unknown user" error in /var/log/maillog on the Scalix server.

For the purposes of this discussion let me detail my environment:

External SMTP server at our site: mail.domain.com
Internal Scalix server: scalix.domain.com

Note that scalix.domain.com is not in our external DNS, just in the local hosts file on mail.domain.com. The MX record for domain.com points to mail.domain.com

In the virtusertable, I have entered:

richard.crow@domain.com richard.crow@scalix.domain.com

If I tail -f /var/log/maillog on both mail and scalix I can confirm that the email is being forwarded from mail.domain.com to scalix.domain.com. However, scalix.domain.com is returning "Unknown user".

The odd thing is, when I follow the fetchmail instructions at http://www.scalix.com/wiki/index.php?ti ... /Fetchmail and fetch the mail for the same user the email transfers fine. No error message.

Is there something obvious that I'm missing here? I don't want to have to fetchmail for 15 users every few minutes.

anand_joshi
Scalix
Scalix
Posts: 63
Joined: Mon Oct 09, 2006 8:56 am
Contact:

Re: Inbound SMTP Gateway Issues

Postby anand_joshi » Fri Jan 05, 2007 3:39 am

Hi Richard ,
This question belongs to the Scalix server forum, anyways can you please post me the
the content of smtpd.cfg on the Scalix server and "omshowu" output for this user.


Thanks
Anand Joshi

Richard Crow

Postby Richard Crow » Fri Jan 05, 2007 12:11 pm

Thanks for the clarification. I assume that the moderators move the thread, true?

Correction on original post; the Scalix server's name is mail1.domain.com. I have changed the domain name to protect the [not so] innocent.

Here is the contents of /var/opt/scalix/m1/s/sys/smtpd.cfg (with comments and blank lines removed):

EXTENSIONS=AUTH,DSN,8BITMIME
RELAY accept 127.0.0.1
RELAY accept .domain.com
RELAY Log_Reject ALL
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
[SUBMIT]
ANONYMOUS Log_Reject ALL
[LMTP]
LISTEN=localhost:24

Here is the output of omshowu -n Richard.Crow@domain.com:

Authentication ID: Richard.Crow@domain.com
Globally Unique ID: 1310000098c5c954-11.001.861.291
User Name : Richard Crow /CN=Richard Crow
MailNode : mail1
Internet Address : "Richard Crow" <Richard.Crow@domain.com>
System Login : 60536
Password : set
Admin Capabilities : NO
Mailbox Admin Capabilities : NO
Language : AMERICAN
Mail Account: Unlocked
Last Signon : 01.04.07 16:38:11
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Recovery Folder visible : NO
User Class : Limited
SIS URL : sxidx://mail1.domain.com/0310000098c5c9 ... 01.861.291

Thx,

Richard

anand_joshi
Scalix
Scalix
Posts: 63
Joined: Mon Oct 09, 2006 8:56 am
Contact:

Postby anand_joshi » Tue Jan 09, 2007 8:12 am

Hi Richard,
The omshowu shows that the internet email address is richard.crow@domain.com. Virtualusertable entry redirect mail's to richard.crow@scalix.domain.com, but this email address doesn’t exist in Scalix server causing “unknown userâ€
Anand Joshi

Richard Crow

Postby Richard Crow » Tue Jan 09, 2007 11:22 pm

Hi Anand,

That solved the problem.

1. Added mail1.domain.com as an additional local domain

2. Added richard.crow@mail1.domain.com as an additional email address for the user account.

3. Used virtusertable on the external smtp server to forward richard.crow@domain.com -> richard.crow@mail1.domain.com

Thanks very much for your help,

Richard


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 21 guests

cron