[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Virtual pop3



Dariush,

On Tue, 15 Feb 2000, Dariush Pietrzak wrote:
> I am going to set up some mail account,
> and I don't want them to exist in my system.
> solution would be virtual mails based on some sql server,

Well, I do have a virtual mail solution using a patch I wrote for
gnu-pop3d. But it does not use a SQL server database.

> My problem is that I would prefer exim mailer,

I also use Exim which is well documented for setting up virtual domains.
Look at these config samples (and others) at the end of the FAQ from the
www.Exim.org website.

 C007: "If I host a domain foo.dom on my machine as a virtual domain I
 expect it to be completely virtual and separate from other mail domains
 that end up on my machine." 

 C009: "These are suggested parts of a configuration for looking up users
 in /etc/passwd.domain rather than in /etc/passwd ..." 

My patch for gnu-pop3d allows using separate password files and separate
mail spool directories (for each domain or realm).

The user simply appends a colon or at-sign and a domain name (or realm
name) at the end of his/her pop3 user name, like "jeremy@reedmedia.net".
You can also compile the patch to automatically attempt to use the domain
name the user used to connect to your server. (With this option, you'd have
to have separate IPs for each virtual domain name.)

More info about my patch is at
  http://www.reedmedia.net/projects/virtualmail/

I chose gnu-pop3d to patch, because the code is extremely easy to follow. 
gnu-pop3d is available via 
  http://www.nodomainname.net/software/gnu-pop3d/

Hope this helps,

  Jeremy C. Reed
....................................................
     BSD software, documentation, resources, news...
     http://bsd.reedmedia.net


Reply to: