hi there
i'm just looking if someone knows a _simple_ way / tool: - should be a POP3 AND IMAP server - it should accept ANY username / password - it should present ONE predefined email to the customer (to inform him about something) - if the customer later is trying to get mails he should not get it again (per username base) - it should be opensource ,-) - and should preferably run on FreeBSD
does someone knows about some application which fits my requirements?
-steven
hi Steven,
before migrating to Parallels (Plesk) fully-automated commercial solution, we used to run Cyrus IMAP server with LDAP authentication. Also Postfix mail delivery rules were taken from LDAP.
On the top of it, there was ISPMan which provided WebUI to the LDAP database, but I would not recommend it, because it was (at that time) ugly and not well designed.
Also Cyrus IMAP requires some voodo dancing in order to build a really stable and long-lasting solution.
We were running it on Solaris, but FreeBSD should not be an issue.
so, if you're ready to invest your time in it, go for it. If your time can be invested some other way, go for a commercial software :)
just my 2 cents :)
----- Original Message ----
From: "Steven.Glogger@swisscom.com" Steven.Glogger@swisscom.com
i'm just looking if someone knows a _simple_ way / tool:
- should be a POP3 AND IMAP server
- it should accept ANY username / password
- it should present ONE predefined email to the customer (to inform him about
something) - if the customer later is trying to get mails he should not get it again (per username base)
- it should be opensource ,-) - and should preferably run on FreeBSD
does someone knows about some application which fits my requirements?
On Fri, May 15, 2009 at 04:00:27PM +0200, Steven.Glogger@swisscom.com wrote:
hi there
i'm just looking if someone knows a _simple_ way / tool:
- should be a POP3 AND IMAP server
- it should accept ANY username / password
- it should present ONE predefined email to the customer (to inform him about something) - if the customer later is trying to get mails he should not get it again (per username base)
- it should be opensource ,-) - and should preferably run on FreeBSD
does someone knows about some application which fits my requirements?
tcpserver, qmail-popup, qmail-pop3d and a 20 line perl script as checkpassword replacement for the POP3 case. IMAP is a bit more complex but I think dovecot and the same 20 line perl script may work.
The perl script needs to figure out if the user already logged in, then chdir to the maildir with the one mail or a empty maildir and execute the next application.
On 15 May 2009, Claudio Jeker wrote:
tcpserver, qmail-popup, qmail-pop3d and a 20 line perl script as checkpassword replacement for the POP3 case. IMAP is a bit more complex but I think dovecot and the same 20 line perl script may work.
courier-pop and courier-imap with a custom "authProg" script that roughly corresponds to this 20 line perl script is guaranteed to do POP3 and IMAP.
Regards
Oliver
since I got some mails off the mailinglist I just want to explain for what I want to use that stuff: I want to use this functionality on a 'Hotspot'-like environment. Redirecting the customer to this 'hotspot'-sandbox with ALL kind of traffic.
If the customer want to get mail (e.g. from mail.whatever.com) the IP gets redirected to this mailsoftware just giving out one specified mail like :
'Dear Customer. Please not that .... <whatever> '.
Thats it. ,-)
I dont want to run complex LDAP/cyrus/whatever engines. Should be small, simple and easy ,-) I dont want to use a system where I have to create tons of mailboxes (on login->create. on create->putmailintofolder).
Hope that clearifies it a little bit more ....
-steven
-----Original Message----- From: swinog-bounces@lists.swinog.ch [mailto:swinog-bounces@lists.swinog.ch] On Behalf Of Steven.Glogger@swisscom.com Sent: Friday, May 15, 2009 4:00 PM To: swinog@swinog.ch Subject: [swinog] special mail solution?
hi there
i'm just looking if someone knows a _simple_ way / tool:
- should be a POP3 AND IMAP server
- it should accept ANY username / password
- it should present ONE predefined email to the customer (to
inform him about something) - if the customer later is trying to get mails he should not get it again (per username base)
- it should be opensource ,-) - and should preferably run on FreeBSD
does someone knows about some application which fits my requirements?
-steven
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
aha, that sounds different :)
then you just need to hack the authentication code in any pop/imap server like cyrus or courier, and that's it ;)
shouldn't be too difficult to substitute the mailbox name with your dummy mailbox, then skip the password validation, then disable the DELE command, so that the message stays there forever.
3-4 hours of work, shouldn;t be much more...
----- Original Message ----
From: Steven Glogger steven@glogger.ch since I got some mails off the mailinglist I just want to explain for what I want to use that stuff: I want to use this functionality on a 'Hotspot'-like environment. Redirecting the customer to this 'hotspot'-sandbox with ALL kind of traffic.
If the customer want to get mail (e.g. from mail.whatever.com) the IP gets redirected to this mailsoftware just giving out one specified mail like :
'Dear Customer. Please not that .... '.
Thats it. ,-)
I dont want to run complex LDAP/cyrus/whatever engines. Should be small, simple and easy ,-) I dont want to use a system where I have to create tons of mailboxes (on login->create. on create->putmailintofolder).
Hope that clearifies it a little bit more ....
instead of hacking out dele, use maildir and set the immutable flag
Von meinem iPhone gesendet
Am 15.05.2009 um 20:16 schrieb Stanislav Sinyagin ssinyagin@yahoo.com:
aha, that sounds different :)
then you just need to hack the authentication code in any pop/imap server like cyrus or courier, and that's it ;)
shouldn't be too difficult to substitute the mailbox name with your dummy mailbox, then skip the password validation, then disable the DELE command, so that the message stays there forever.
3-4 hours of work, shouldn;t be much more...
----- Original Message ----
From: Steven Glogger steven@glogger.ch since I got some mails off the mailinglist I just want to explain for what I want to use that stuff: I want to use this functionality on a 'Hotspot'-like environment. Redirecting the customer to this 'hotspot'-sandbox with ALL kind of traffic.
If the customer want to get mail (e.g. from mail.whatever.com) the IP gets redirected to this mailsoftware just giving out one specified mail like :
'Dear Customer. Please not that .... '.
Thats it. ,-)
I dont want to run complex LDAP/cyrus/whatever engines. Should be small, simple and easy ,-) I dont want to use a system where I have to create tons of mailboxes (on login->create. on create->putmailintofolder).
Hope that clearifies it a little bit more ....
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
then the daemon will report an error when trying to delete the message. As it's a hotspot device, we don't want its syslog overflown with such things:)
----- Original Message ----
From: Silvan Gebhardt pcdog@pcdog.ch To: Stanislav Sinyagin ssinyagin@yahoo.com Cc: "swinog@swinog.ch" swinog@swinog.ch Sent: Friday, May 15, 2009 8:40:12 PM Subject: Re: [swinog] special mail solution?
instead of hacking out dele, use maildir and set the immutable flag
Von meinem iPhone gesendet
Am 15.05.2009 um 20:16 schrieb Stanislav Sinyagin :
aha, that sounds different :)
then you just need to hack the authentication code in any pop/imap server like cyrus or courier, and that's it ;)
shouldn't be too difficult to substitute the mailbox name with your dummy
mailbox,
then skip the password validation, then disable the DELE command, so that the message stays there forever.
3-4 hours of work, shouldn;t be much more...
----- Original Message ----
From: Steven Glogger since I got some mails off the mailinglist I just want to explain for what I want to use that stuff: I want to use this functionality on a 'Hotspot'-like environment. Redirecting the customer to this 'hotspot'-sandbox with ALL kind of traffic.
If the customer want to get mail (e.g. from mail.whatever.com) the IP gets redirected to this mailsoftware just giving out one specified mail like :
'Dear Customer. Please not that .... '.
Thats it. ,-)
I dont want to run complex LDAP/cyrus/whatever engines. Should be small, simple and easy ,-) I dont want to use a system where I have to create tons of mailboxes (on login->create. on create->putmailintofolder).
Hope that clearifies it a little bit more ....
swinog mailing list swinog@lists.swinog.ch http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog
Salut, Steven,
On Fri, 15 May 2009 16:00:27 +0200, Steven.Glogger@swisscom.com wrote:
i'm just looking if someone knows a _simple_ way / tool:
- should be a POP3 AND IMAP server
- it should accept ANY username / password
- it should present ONE predefined email to the customer (to inform
him about something) - if the customer later is trying to get mails he should not get it again (per username base)
- it should be opensource ,-) - and should preferably run on FreeBSD
It's easy. You take a dovecot, set it up with defaults and PAM authentication. For the PAM authentication, you only choose the pam_permit module for auth, session, etc. That should do.
Tonnerre