Date: Sun, 20 Aug 2006 22:22:07 -0700 From: "Dan Bikle" <dan.bikle@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: [FreeBSD] Incoming mail configuration; catch-all e-mail account; virtusertable Message-ID: <74252ed10608202222u1e2e3213j3b7281aee10002c9@mail.gmail.com> In-Reply-To: <74252ed10608202220t30c1a3a4ue82168ed7bda295@mail.gmail.com> References: <74252ed10608202137n845ba89v1e80dcaad3182369@mail.gmail.com> <44E93AE2.4060209@gregs-garage.com> <74252ed10608202157j36d85e57q953f5162b6a57064@mail.gmail.com> <44E93FE7.9070302@gregs-garage.com> <74252ed10608202220t30c1a3a4ue82168ed7bda295@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Wow, excellent advice. I now have 2 lines in virtusertable jnk@mydomain.com catchall @mydoemain.com catchall Inside of /etc/mail... I then ran make all Then I ran make restart Now, anything sent to mydomain.com , lands in /var/mail/catchall I'm happy. Thanks!! -Dan On 8/20/06, Greg Groth <ggroth@gregs-garage.com> wrote: > Dan Bikle wrote: > > Yes, > > > > I used /usr/sbin/adduser to create an account named catchall. > > > > And if I send e-mail to catchall@mydomain.com > > <mailto: catchall@mydomain.com> , > > the e-mail does appear in /var/mail/catchall > > > > Does anyone out there know how to tinker with the configuration of > > incoming mail on FreeBSD ?? > > > > -Dan > > Do you have any other addresses defined in virtusertable? I've run into > problems in the past where a catchall address would not work if it was > the only defined. So in my experience, you should have at least two > addresses defined in virtusertable like so: > > someuser@somedomain.com someuser > @somedomain.com catchall > > Also, did you rehash virtusertable after you added the entries? If not, > cd into /etc/mail and run 'make all' and then 'make restart'. If you > did all the above, and it's still not working, check /var/log/maillog > for any indications as to what's going wrong. > > Best regards, > Greg Groth >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74252ed10608202222u1e2e3213j3b7281aee10002c9>