- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- is it possible that email users havent login accou...
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
Forums
Discussions
Discussions
Discussions
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
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
05-31-2005 03:47 AM
05-31-2005 03:47 AM
OS: rhel 3.0
I m running the sendmail server, all the default settings, and but by simply removing the following line
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
I have to create user accounts on my sendmail server, so that my email clients can send and
access mail(s). because mailbox is only created when user have login account at the server.
Is it possible that user doesnt have login account on the server, but user have its mail box on the sendmail server(i.e user can send/receive mails using the sendmail server without having login account) ?.
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 04:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 05:10 AM
05-31-2005 05:10 AM
Re: is it possible that email users havent login account.
But you can prevent any and all logins, and still provide mail services to them.
Set the shell in /etc/passwd to:
/sbin/nologin
Then they can't log in, but can get their mail via web, imap, pop or other protocol just fine.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 06:12 AM
05-31-2005 06:12 AM
Re: is it possible that email users havent login account.
Squirrelmail is a httpd add in tool that handles its mail traffic on loopback. This setting change may interfere with its operation.
Just something to think about.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 06:40 AM
05-31-2005 06:40 AM
Re: is it possible that email users havent login account.
Dear SEP, i havent any good knowledge of Sendmail (: but, even I dont know whats goal or purpose of this Line even.. but I once have heard that if this line, is present then sendmail doesnt work/accept mails from the email clients(from the network).
If u can plz le me know the purpose of this line ? and the benefits of squirrelmail
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 10:31 AM
05-31-2005 10:31 AM
Re: is it possible that email users havent login account.
SquirrelMail is a Web-based Mail software, which allows users to access their mail in a web browser instead of having to POP it off the server.
It just depends on how you want users to be able to access their mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 12:43 PM
05-31-2005 12:43 PM
Re: is it possible that email users havent login account.
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
With different Addr commands. I'd never actually experimented with taking all the lines out. Which to me sounds like a counter-intuitive thing to do. Under these circumstances it would be better to not run sendmail at all.
The DAEMON_OPTIONS command tells the sendmail daemon to listen on the Address indicated in the Addr directive. In this case that is loopback.
To control the interfaces that I allow inbound mail inbound, I have a statement for each allowed interface in the sendmail.mc file. That way sendmail will not listen on any other interfaces. Since my mail ip address is different than my web ip address or the server's primary ip address, this setup prevents spammers from trying to play games and get mail into the server or exploit security to force sendmail to relay.
Other things: Sendmail is a fascinating, secureable product. There is a ton to learn at http://www.sendmail.org
Thanks Stuart for the clarification. I always learn new things reading your posts.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 12:05 AM
06-01-2005 12:05 AM
Re: is it possible that email users havent login account.
sendmail server have multiple interfaces.
if i can add multiple lines in mc file like
DAEMON_OPTIONS(`Port=smtp,Addr=10.0.0.10, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=10.0.0.11, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.10.11, Name=MTA')dnl
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 12:43 AM
06-01-2005 12:43 AM
Re: is it possible that email users havent login account.
Incidentally, if you really want to have account-less pop/smtp mail, then look at a differen MTA (i.e. surgemail instead of sendmail).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 01:03 AM
06-01-2005 01:03 AM
Re: is it possible that email users havent login account.
Attaching a script to build the sendmail.cf file off the sendmail.mc file.
I should have mentioned earlier and therefor deserve no points for this post, that merely modifying the .mc file does nothing. You have to process it to put it into production.
The attached script does this processing.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 01:08 AM
06-01-2005 01:08 AM
Re: is it possible that email users havent login account.
Whenever sendmail starts on a RH box (RH8 or newer), it steps through the following code:
echo -n $"Starting $prog: "
if test -x /usr/bin/make -a -f /etc/mail/Makefile ; then
make all -C /etc/mail -s > /dev/null
else
for i in virtusertable access domaintable mailertable ; do
if [ -f /etc/mail/$i ] ; then
makemap hash /etc/mail/$i < /etc/mail/$i
fi
done
fi
/usr/bin/newaliases > /dev/null 2>&1
Simply put, it runs a 'make' in the '/etc/mail' directory, which will re-build any CF files if an MC file has been updated.
it also forcibly re-makes any of the database files, and re-creates the alias database.
Basically, if you make a change and restart sendmail, the changes should come through without having to go to extra lengths.
If you just make a change to one of the databases, you can either do a 'make' in '/etc/mail' or do a 'service sendmail reload' (which will basically do that anyway, but it will also HUP sendmail).
Much fun.. ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 01:11 AM
06-01-2005 01:11 AM
Re: is it possible that email users havent login account.
who has a system without make though?
(0 pts please)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 02:19 AM
06-01-2005 02:19 AM
Re: is it possible that email users havent login account.
I don't use sendmail, so I can't help on the discussion right now.
But, if possible, I suggest to Maaz to look for Postfix. Postfix is very reliable, secure, has good performance, has a lot of documentation on the net and is easier to configure to me. redhat has the 2 options and a tool to switch from sendmail to postfix automaticaly when you has just finished the installation and didn't make any customization. I don't know if you run that tool now you will carry your customizations to postfix.
What does you think about that friends ?
regards,
xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2005 03:37 AM
06-01-2005 03:37 AM
Re: is it possible that email users havent login account.
Many Thanks for xyko for ur sugestion.
Regards
Maaz