How to test my Postfix setup

Discussion in 'Server Operation' started by trentham, May 30, 2014.

  1. trentham

    trentham New Member

    Background: I'm setting up a new server and this includes the mail system. The old server is still running and once everything is working on the new server (which has a 'temporary' IP address) the 'proper' IP address will then be set to point to the new server.

    The mail system uses all the following components: postfix, courier, amavisd, spamassassin, clamav and probably some other things that I've forgotten about!

    Problem: After a major breakthrough I actually managed to send an email but my problem is how can I test receiving email? All the accounts, etc from the old server have been copied across and all the database tables loaded but, of course, the DNS MX records all point to the old server.

    Is there any way I can test sending an email to the new server other than maybe hijacking a domain and redirecting its mail? Can I do anything locally on the new server, perhaps using telnet?

    This is the first time I've had to set up a postfix system and it hasn't been helped by the fact that I've needed to replicate an existing one rather than starting from scratch!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    you can do this with webmail, if you installed a webmail client on the server. login to webmail on the new server and send an email to another address on the new server. the email will be routed by postfix on the local system.
  3. trentham

    trentham New Member

    Many thanks. That makes perfect sense!

Share This Page