Can I specify where useradd creates mail dir ?
Do any of you know if it's possible to change where 'useradd' creates the mail directory or is this hard-coded at compile time.
most systems user /var/mail/username but I like the whay trustix does it as /home/users/username/Maildir Any ideas would be helpful! TIA Tom |
Have a look at /etc/profile
Maybe /etc/profile.local depending on what you have |
changing it in /etc/profile has no effect.
I can create the directories by modifying /etc/skel but the default mail directory is still created in /var/mail thanks for the suggestion though! T |
that should work, maybe your mta is setup to override the setting in /etc/profile.
|
All times are GMT -5. The time now is 09:35 AM. |