im about to sit down an read the entire postfix manuals...

Giorgos Keramidas keramida at ceid.upatras.gr
Sat Jul 22 23:14:45 UTC 2006


On 2006-07-22 18:04, Jonathan Horne <freebsd at dfwlp.com> wrote:
> On Saturday 22 July 2006 17:55, Giorgos Keramidas wrote:
> > On 2006-07-22 16:20, Jonathan Horne <jhorne at dfwlp.com> wrote:
> > > my problem: i have 5 domains that my sendmail server recieves mail
> > > for, and im starting to get spammed at name1 at domain1.com as well
> > > as name1 at domain2.com etc etc.  realistically, name1 only needs to
> > > receive at domain1, and none of the others.  there are many other
> > > accounts that only need to recieve at other specific domains, and
> > > not at any of them.
> >
> > Are you using virtusertable for the domains?  Then you can use something
> > like this in `/etc/mail/virtusertable':
> >
> > 	name1 at domain1.com	name1
> > 	@domain1.com		550: User unknown
> >
> > 	name2 at domain2.com	name2
> > 	@domain2.com		550: User unknown
> >
> > You don't have to replace your mailserver then :)
> 
> im actually a little proud of myself... just as this mail was comming
> in, i am finishing up my testing/deployment of this exact
> configuration.  this was exactly what im looking for.

Excellent!  :)

> of my 5 domains, i probably have 10 addresses on 1, and then the rest
> have either 1 or 2.  i think for now this configuration is going to be
> exactly what i am looking for, but i wonder what larger organizations
> who use only sendmail, and have this sort of requirment, if this is
> what they do too?

I don't know about large organizations.  We[1] use this scheme in our
mail servers for a moderate amount of domains.  It suits our limited
needs quite fine.

[1] The team of admins of HELLUG, the Hellenic Linux Users' Group.



More information about the freebsd-questions mailing list