Email Forwarders

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

godie

Email Forwarders

Postby godie » Mon Mar 19, 2007 3:01 pm

This is probably something very basic but for the life of me I could not find (google or otherwise) how to setup an email forwarder. We have an email alias that goes to multiple people and since Scalix has been installed we get

Mar 19 11:11:57 manage sendmail[17600]: l2JFBvtq017594: to=<support_request@$domain.com>, ctladdr=<root@$domain.com> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120371, relay=mail.$domain.com [$ip], dsn=5.1.1, stat=User unknown

Scalix is working fine but no matter what I do to /etc/aliases (and run newaliases) it just rejects everything that Scalix doesn't know about. Obviously probably due to scalix listening to port 25 rather than sendmail. However how can I setup aliases in Scalix so I can get this to work. Thanks

KevinAnderson

Postby KevinAnderson » Mon Mar 19, 2007 3:32 pm

Inside SAC, use groups. As you've seen, Scalix doesn't use Sendmail's groups.

Kev.

godie

Postby godie » Mon Mar 19, 2007 3:50 pm

Thanks for the quick reply however a few more questions. First when I try to create a group I get.

"The group information could not be saved"

Also will this allow me to forward mail off to offsite users? Like setup a group to forward mail to my gmail account or something similar?

Finally, in sednmail i have a certain address being piped to '/etc/smrsh/automail.pl' to get processed (osticket) is this too able to be accomplished via the SAC?

Thanks again and the program is great

Andy

KevinAnderson

Postby KevinAnderson » Mon Mar 19, 2007 5:26 pm

Ok, lets first address why SAC doesn't work, cause it should.

Can you please cause that error again, and then post

tail -n 25 /var/opt/scalix/??/tomcat/logs/scalix-res.log

Once we fix this, you'll be able to enter the rest of the info...

I don't think there's a way via SAC to pipe data out for processing to a file, but I know it can be done from the command line. Again, lets address SAC, and then we'll go after the others.

Kev.

godie

Postby godie » Tue Mar 20, 2007 10:27 am

First Kevin, thank you for the help here is what I get

2007-03-20 10:18:42,549 DEBUG [RESDispatcherServlet.dumpRequest:265] connection:keep-alive
2007-03-20 10:18:42,549 DEBUG [RESDispatcherServlet.dumpRequest:265] content-length:277
2007-03-20 10:18:42,550 DEBUG [RESDispatcherServlet.dumpRequest:268] ---> RES Incoming Request XML Document (Not a secure request, OK) <-----
2007-03-20 10:18:42,551 DEBUG [RESDispatcherServlet.dumpRequest:294] <?xml version="1.0" encoding="UTF-8"?>
<ReqRequest>
<Command instance="manage" name="omaddpdl">
<Parameters enc="false">
<param flag="-l" value="CN=TestGroup1/OU1=manage/INTERNET-ADDR=&quot;TestGroup1&quot; &lt;TestGroup1@$domain.com>"/>
</Parameters>
</Command>
</ReqRequest>

2007-03-20 10:18:42,552 DEBUG [CmdExecution.executeCmd:141] ENVIRONMENT: LANG=en_US.UTF-8 OM_CHAR=UTF-8 OMCURRENT=manage HOME=/tmp PWD=/tmp
2007-03-20 10:18:42,553 DEBUG [CmdExecution.executeCmd:143] COMMAND: /opt/scalix/bin/omaddpdl -l CN=TestGroup1/OU1=manage/INTERNET-ADDR="TestGroup1" <TestGroup1@$domain.com>
2007-03-20 10:18:42,718 DEBUG [RESDispatcherServlet.dumpResponse:302] ---> RES Sending Response XML Document <-----
2007-03-20 10:18:42,719 DEBUG [RESDispatcherServlet.dumpResponse:309] <?xml version="1.0" encoding="UTF-8"?>
<ResResponse>
<Command name="omaddpdl">
<Status>OK:0</Status>
<Output>
<Line value="The public distribution list was added successfully"/>
</Output>
</Command>
</ResResponse>

Basically once I try to create the group it never shows up on the left hand side, (it does show up in the right pain window but if I try to add a member to the group or any of the sort I get

'The Administration Server is not responding you should check the log files'

and start all over again (group never added)

Thanks again

dahido

Postby dahido » Tue Mar 20, 2007 1:24 pm

From the command line try running the command

Code: Select all

omshowpdl -l all


This should show you all your available groups. After you should also check the RES logs to make sure that everything is running fine.

Code: Select all

tail -n 20 /var/opt/scalix/ml/tomcat/logs/scalix-res.log


Thanks,
Jay

godie

Postby godie » Tue Mar 20, 2007 2:46 pm

I see via the command the groups are getting created however they do not list on the left hand side and when I try to add a member to a group I get this error message in the log files

'2007-03-20 14:38:19,151 ERROR [RESServiceHandler.executeRESCommand:1991] Failed to obtain Remote Execution Service URL for server manage.$domain.com from the Event table
2007-03-20 14:38:19,152 FATAL [RESService.doRequest:125] java.lang.NullPointerException
2007-03-20 14:38:19,153 FATAL [RESService.doRequest:126] java.lang.NullPointerException'


Any help is appreciated, thanks

godie

Postby godie » Wed Mar 28, 2007 12:32 pm

anyone? bueler? anyone?


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 12 guests