Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 11th, 2003, 10:49 AM
pembo13 pembo13 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Caribbean
Posts: 22 pembo13 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to pembo13 Send a message via Yahoo to pembo13
Getting mail sent to $HOMEDIR/mail instead of $HOMEDIR

Hello to all,

I would like to know how I setup my mail servers so that mail get sent to a subfolder (eg. mail) within the home directories of users instead of simply insite their home directory.

I have Sendmail and hopefully soon Postfix.

Thank you.

Reply With Quote
  #2  
Old December 12th, 2003, 02:00 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Set it in your shell.

Reply With Quote
  #3  
Old December 12th, 2003, 05:18 AM
pembo13 pembo13 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Caribbean
Posts: 22 pembo13 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to pembo13 Send a message via Yahoo to pembo13
Set what where exactly? I'm kinda lost

Reply With Quote
  #4  
Old December 12th, 2003, 05:24 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Set what where exactly?
Depends on which shell you're using. You need to change the mail path environment.

Reply With Quote
  #5  
Old December 12th, 2003, 05:34 AM
pembo13 pembo13 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Caribbean
Posts: 22 pembo13 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to pembo13 Send a message via Yahoo to pembo13
Well I most users use the bash shell.

There seem to be so many diff. answers to this question. I've seen responses such as recompile sendmail/postfix. Others say reconfigure procmail, now you're suggestiing to change the environmental variables.

What's the most thorough solution? Im not looking for an easy way out.

Thank you

Reply With Quote
  #6  
Old December 12th, 2003, 05:49 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If mails are to be delivered to user's HOMEDIR then your mail server setup is not using a single-account mechanism. When that's the case, the mail path env var should be honored, at least for qmail.

if procmail (you just brought up in this thread) overrides it, then fix it in promail.

A recompile to sendmail/postfix, of course, is likely out of the possibility.

Quote:
What's the most thorough solution?
It's your server, you have physical access to it and I don't, why ask me?

Quote:
Im not looking for an easy way out
Hire a consultant.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Getting mail sent to $HOMEDIR/mail instead of $HOMEDIR

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap