- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- SLES8 / UnitedLinux receiving e-mail
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 08:52 PM
тАО04-27-2004 08:52 PM
SLES8 / UnitedLinux receiving e-mail
We've recently moved away from a SCO system to SLES8 (hence these three posts of problems we've encountered!), one of the things I've not worked out yet is getting the server to receive e-mail in the term of username@servername.domainname.co.uk, all our SCO systems had sendmail configured and worked fine.
SLES8 appears to use postfix, but I can't find a way in Yast2 to get it to accept incomming mail, I see there's a way to do this for individual users, but with 20 Linux servers and a NIS domain of some 100 users, this will take a long time to configure for all.
Does anyone know a way to do this using Yast??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 10:11 PM
тАО04-27-2004 10:11 PM
Re: SLES8 / UnitedLinux receiving e-mail
However, I've stumbled onto something weird.
The problem is that mail isn't being sent to Linux boxes, it turns out that the $MAIL variable was set incorrectly in the SCO .kshrc we've been using, it was pointing to /usr/spool/mail/$LOGNAME, when on Linux it should point to /var/spool/mail/$LOGNAME.
Now the profile should configure this itself, so I removed this entry from my .kshrc and mail is still picked up in SCO as it is set there, however, on Linux, it's being set to /var/mail/$LOGNAME, despite the /etc/profile having the following line:
test -z "$MAIL" && MAIL=/var/spool/mail/$USER
$MAIL is being set before /etc/profile is run as if I just add the line MAIL=/var/spool/mail/$USER in /etc/profile then this works ok! I've done a find /etc -type f -print | xargs grep MAIL and can't find anything that might be setting this variable. This variable gets set for both ksh and bash, I'm at a loss!!
Any ideas where this variable is being set?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 10:23 PM
тАО04-27-2004 10:23 PM
Re: SLES8 / UnitedLinux receiving e-mail
It seems to be used to set up some vars on RH, maybe the same on Suse...
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 10:29 PM
тАО04-27-2004 10:29 PM
Re: SLES8 / UnitedLinux receiving e-mail
Does login call any files with variables in them before it goes to /etc/profile?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 11:02 PM
тАО04-27-2004 11:02 PM
Re: SLES8 / UnitedLinux receiving e-mail
Anyway you can checkpoint
/etc/profile script
$HOME/{.kshrc,.bashrc,.profile,.login}
with commands like
echo "sourcing .kshrc"
and so on.
Let Me Know, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 01:11 AM
тАО04-29-2004 01:11 AM
Re: SLES8 / UnitedLinux receiving e-mail
I've modified the profile so it doesn't check the existence and just sets the MAIL variable, thanks for your help anyway guys!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 10:50 PM
тАО05-03-2004 10:50 PM
Re: SLES8 / UnitedLinux receiving e-mail
HTH
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 11:03 PM
тАО05-03-2004 11:03 PM
Re: SLES8 / UnitedLinux receiving e-mail
I learned postfix config using that webmin module!
Pax, R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 11:22 PM
тАО05-03-2004 11:22 PM
Re: SLES8 / UnitedLinux receiving e-mail
If that is your setup you just need to configure your mail access DB to relay to the other servers. I think you only need the last part of the domain in the access DB. I had SuSE 9 set up similar to that with a local net of only 2 boxes.
After you change your access text file, run make to update the access DB.
I tried to do it with YaST but gave up and went to the command line to complete the setup.
Good luck !!