You can do this with sendmail and the virtusertable. Once you have
sendmail configured to use the virtusertable file, the entry would look
something like:
@domain.com loadtest
where loadtest is a user on that system, and will get every email sent
to that domain. If you just google 'virtusertable' you'll find all the
documentation you need to set up the feature.
And it looks like postfix has an identical feature, same syntax and
everything, but stored in /etc/postfix/virtusertable instead of /etc/mail.
--Ron
Christopher L Merrill wrote:
We are getting ready to load-test a web application that, under the
target conditions, will be sending ~120 messages/sec. For the purposes
of the test, we don't care what happens to those e-mails, but for the
sake of accuracy, we DO want the application to contact an SMTP server
and deliver the message. We would like to set up a server that would
accept all incoming messages and discard them.
Any suggestions how I might go about this? The only configuration
parameter we have available on the web-application is the STMP server
hostname (and maybe port#). I was thinking that with the modular nature
of Postfix, we might be able to configure it to discard all messages.
Or maybe deliver all incoming messages to the same mailbox? Otherwise,
we'd need to configure about 30,000 mailboxes for this test :(
TIA,
C
--
#=========================================================#
# Ron Yorgason Small Business Computer Support #
# TriTechs, LLC "Helping your business #
# www.tritechs.net stay in business" #
#=========================================================#
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/