[swinog] special mail solution?

2009-05-15 Diskussionsfäden Steven.Glogger
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


Re: [swinog] special mail solution?

2009-05-15 Diskussionsfäden Stanislav Sinyagin

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.glog...@swisscom.com steven.glog...@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?

___
swinog mailing list
swinog@lists.swinog.ch
http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog


Re: [swinog] special mail solution?

2009-05-15 Diskussionsfäden Claudio Jeker
On Fri, May 15, 2009 at 04:00:27PM +0200, steven.glog...@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.

-- 
:wq Claudio

___
swinog mailing list
swinog@lists.swinog.ch
http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog


Re: [swinog] special mail solution?

2009-05-15 Diskussionsfäden Oliver Hitz
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


signature.asc
Description: Digital signature

___
swinog mailing list
swinog@lists.swinog.ch
http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog


Re: [swinog] special mail solution?

2009-05-15 Diskussionsfäden 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  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-boun...@lists.swinog.ch 
 [mailto:swinog-boun...@lists.swinog.ch] On Behalf Of 
 steven.glog...@swisscom.com
 Sent: Friday, May 15, 2009 4:00 PM
 To: swi...@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
 


___
swinog mailing list
swinog@lists.swinog.ch
http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog


Re: [swinog] special mail solution?

2009-05-15 Diskussionsfäden 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 ste...@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


Re: [swinog] special mail solution?

2009-05-15 Diskussionsfäden Silvan Gebhardt
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 ssinya...@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 ste...@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

___
swinog mailing list
swinog@lists.swinog.ch
http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog


Re: [swinog] special mail solution?

2009-05-15 Diskussionsfäden Stanislav Sinyagin

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 pc...@pcdog.ch
 To: Stanislav Sinyagin ssinya...@yahoo.com
 Cc: swi...@swinog.ch swi...@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


___
swinog mailing list
swinog@lists.swinog.ch
http://lists.swinog.ch/cgi-bin/mailman/listinfo/swinog