Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2006 21:37:03 -0700
From:      "Dan Bikle" <dan.bikle@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   [FreeBSD] Incoming mail configuration; catch-all e-mail account; virtusertable
Message-ID:  <74252ed10608202137n845ba89v1e80dcaad3182369@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
People,

I want to configure sendmail for incoming mail.

I want to funnel all mail destined for a specific domain to a catchall
account.

On my FreeBSD 5.3 box I looked in /etc/mail/

I found this file:

/etc/mail/virtusertable.sample

and studied it.

I made this file:

/etc/mail/virtusertable

I put 1 line in it:

@mydomain.com   catchall

I want ...
any mail sent to @mydomain.com
to land here /var/mail/catchall

I assume I am using the right syntax; true?

Anyway, I bounced sendmail with the Makefile I
found in /etc/mail

When I send mail to spam@mydomain.com
the mail just ends up in the dead.letter file
of the sender.

When I send mail to a valid user, the mail
does get delivered to the right file in /var/mail/

So, how do I setup a catchall mail account?

I sense that I'm supposed to do this via
/etc/mail/virtusertable

but maybe I'm putting in the wrong syntax or
I need to configure some other file.

If you have any tips for me,
please send them to me.

Thanks,
-Dan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74252ed10608202137n845ba89v1e80dcaad3182369>