Automatically creating user accounts from exim

2009-06-17 Thread David
Okay, this is kind of a weird question, but it came up at work. I'm a complete exim newbie (I've never configured it before, beyond 'dpkg-reconfigure exim4-config'), but a project came up where the manager wants to use exim in a weird way. Basically, this needs to happen: 1) Exim receives a

Re: Automatically creating user accounts from exim

2009-06-17 Thread Eduardo M KALINOWSKI
On Qua, 17 Jun 2009, David wrote: Okay, this is kind of a weird question, but it came up at work. I'm a complete exim newbie (I've never configured it before, beyond 'dpkg-reconfigure exim4-config'), but a project came up where the manager wants to use exim in a weird way. Basically, this needs

Re: Automatically creating user accounts from exim

2009-06-17 Thread David
On Wed, Jun 17, 2009 at 3:34 PM, Eduardo M KALINOWSKIedua...@kalinowski.com.br wrote: I'd strongly recommend against creating system users for unknown accounts. With the amount of spam we get today, you'd be flooded with new accounts. It would probably be better to create virtual users,

Re: Automatically creating user accounts from exim

2009-06-17 Thread Douglas A. Tutty
On Wed, Jun 17, 2009 at 03:26:41PM +0200, David wrote: Okay, this is kind of a weird question, but it came up at work. I'm a complete exim newbie (I've never configured it before, beyond 'dpkg-reconfigure exim4-config'), but a project came up where the manager wants to use exim in a weird

Re: Automatically creating user accounts from exim

2009-06-17 Thread Eduardo M KALINOWSKI
On Qua, 17 Jun 2009, David wrote: Could you point me to docs where I can read more about virtual users? Most of the Google results are for Virtual Domains, or for Exim in combination with other software. Exim doesn't really make a distinction between real users and local users. It can check

Re: Automatically creating user accounts from exim

2009-06-17 Thread David
On Wed, Jun 17, 2009 at 3:53 PM, Douglas A. Tuttydtu...@vianet.ca wrote: Since this mail is coming from a trusted server, why not have a script on that server first check (via ssh) if the user exists? Or, have it send the mail blindly. If the user doesn't exist, exim bounces it back. the

Re: Automatically creating user accounts from exim

2009-06-17 Thread Steve Kemp
On Wed Jun 17, 2009 at 16:51:33 +0200, David wrote: This info is needed, because our software needs to hook into the exim mail life cycle at various points. Mainly for things like converting between email and non-email messaging systems. Basically, the idea is to use exim as the core engine

Re: Automatically creating user accounts from exim

2009-06-17 Thread Boyd Stephen Smith Jr.
In 18c1e6480906170751s1156138ep8d3002b2528c3...@mail.gmail.com, David wrote: On Wed, Jun 17, 2009 at 3:53 PM, Douglas A. Tuttydtu...@vianet.ca wrote: Since this mail is coming from a trusted server, why not have a script on that server first check (via ssh) if the user exists? Or, have it

Re: Automatically creating user accounts from exim

2009-06-17 Thread David
Thanks for the replies. I think what I'm going to do next is take a closer look at Qpsmtpd, since we'll probably need to do a fair amount of non-standard things on the mail servers, and it sounds like configuring exim to do those kinds of things could get very complicated. David. -- To

Re: Automatically creating user accounts from exim

2009-06-17 Thread William Cooper
2009/6/17 David wizza...@gmail.com On Wed, Jun 17, 2009 at 3:53 PM, Douglas A. Tuttydtu...@vianet.ca wrote: Since this mail is coming from a trusted server, why not have a script on that server first check (via ssh) if the user exists? Or, have it send the mail blindly. If the user

Re: Automatically creating user accounts from exim

2009-06-17 Thread Todd A. Jacobs
On Wed, Jun 17, 2009 at 04:51:33PM +0200, David wrote: 1. Is there a way for external programs to determine immediately when a mail was just delivered into the mail files? You can monitor files for changes in timestamps or size, which is essentially what shells do to notify users of new email.