1834469 Members
3067 Online
110067 Solutions
New Discussion

Pop3 configure question

 
Deepak_5
Advisor

Pop3 configure question

Hi,

Please let me know if we Can configure pop3 to pop a message on the screen displaying some text when the user logs in for the first time everyday.

Thanks and Regards
Deepak



3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: Pop3 configure question

POP3 (Post Office Protocol) is used for e-mail delivery, not for putting something up on a users screen.

What I would suggest you do is modify one of the users . files (.profile, .cshrc, etc.) to display the message, like /etc/motd, and then touch a file in the users home directory (like .login_time). Then on subsequent logins, you look at the date / time stamp on the file, and if the date on the file is NOT the same as the current date, then you display the message again and touch the file again to change the date / time stamp of the file.
Jordan Bean
Honored Contributor

Re: Pop3 configure question

POP3 (nor any other POP) was not designed with popup motds in mind.

However, Qualcomm's Qpopper provides a feature for bulletins. If you have an important message for everyone, or a select group of users, you can post it in a bulletin directory, from which every POP session will scan, instead of sending hundreds of copies to a mailing list via SMTP. This works very well for internal mailing lists.

http://www.eudora.com/qpopper_general/

Qpopper only has a mechanism to read bulletins; How they are posted is entirely up to you. It should be simple enough to create a script through sendmail aliases or a web form interface to do the job.
Ralf Hildebrandt
Valued Contributor

Re: Pop3 configure question

Many pop daemons have a "bulletin" function; this function allows all users to be notified with a mail without sending this mail to each user. Instead, the pop daemon generates a mail from the bulletin directory.

qpopper can do this for example
Postfix/BIND/Security/IDS/Scanner, you name it...