How do I get email from Linux mail to Scalix?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

How do I get email from Linux mail to Scalix?

Postby akoei » Thu Aug 02, 2007 4:26 pm

I am new both for Limix and Scalix. In the /var/mail, there is a file "root", all system notice has been send to this file. How can I take those messages by Scalix?

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

Postby jaime.pinto » Thu Aug 02, 2007 10:06 pm

You may be able to read those emails just by typing "Mail" on a shell as root.
Another thing you could do is to edit /etc/aliases and find the line that looks like this
postmaster: root

You can them change it to
postmaster: sxadmin

This way and can read those notifications as the sxadmin user.
Last edited by jaime.pinto on Wed Jan 30, 2008 10:37 am, edited 1 time in total.
Image Jaime
||||||||||||||||||||||||||||||||||||||||

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

Postby akoei » Fri Aug 03, 2007 11:23 am

jaime.pinto wrote:May may be able to read those emails just by typing "Mail" on a shell as root.
Another thing you could do is to edit /etc/aliases and find the line that looks like this
postmaster: root

You can them change it to
postmaster: sxadmin

This way and can read those notifications as the sxadmin user.


Do I need to reboot? I did the changes, but messages in root keep growing, and no one goes to sxadmin...

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

Postby jaime.pinto » Fri Aug 03, 2007 11:32 am

You will need to type "newaliases" on a shell each time you make a change on /etc/aliases
Image Jaime
||||||||||||||||||||||||||||||||||||||||

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

Postby akoei » Fri Aug 03, 2007 5:40 pm

jaime.pinto wrote:You will need to type "newaliases" on a shell each time you make a change on /etc/aliases


still doesn't work. if I also need to change
mail: root
to
mail: sxadmin
?

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

Postby btisdall » Fri Aug 03, 2007 10:17 pm

Most of the generic accounts are aliased to root, so rather than change these individually you'll be better off adding a line at the end that says:

Code: Select all

root: user@example.com


Most distros actually have such a line at the bottom of the aliases file, waiting to be uncommented & edited to suit. It usually looks like this in my experience:

Code: Select all

#Person who should get root's mail
#root: marc


And I've often wondered who marc is...

BTW, notice I didn't use sxadmin my example above - IMO this shouldn't be used as an everyday mailbox since it has super-powers - think of it as Scalix's root & use an ordinary Joe account to read the spam sent to webmaster etc...
Ben Tisdall
www.redcircleit.com
London

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

Postby akoei » Wed Jan 30, 2008 10:26 am

btisdall wrote:Most of the generic accounts are aliased to root, so rather than change these individually you'll be better off adding a line at the end that says:

Code: Select all

root: user@example.com


Most distros actually have such a line at the bottom of the aliases file, waiting to be uncommented & edited to suit. It usually looks like this in my experience:

Code: Select all

#Person who should get root's mail
#root: marc


And I've often wondered who marc is...

BTW, notice I didn't use sxadmin my example above - IMO this shouldn't be used as an everyday mailbox since it has super-powers - think of it as Scalix's root & use an ordinary Joe account to read the spam sent to webmaster etc...


works great, thanks


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests

cron