Matt Fiddles

Life's so vast, there's just so much to do...

User Tools

Site Tools


"Wonderful girl! Either I'm going to kill her or I'm beginning to like her."

- Han Solo

Where will you go today?

"Many of the truths that we cling to depend on our point of view."

- OB1-Wan Kenobi


Creating a catchall

I use this at home so my websites (on the testing machine) can send out email, but it all comes to me.

Add this to /etc/mail/ (after 'dnl define(`SMART_HOST', `smtp.your.provider')dnl')

dnl define(`SMART_HOST', `smtp.your.provider')dnl

I had to install sendmail-cf so it could update it's config.

Add to /etc/aliases:

catch-all:      user_to_catchall
*:              user_to_catchall

Then run 'newaliases'

[root@host ~]# newaliases
[user@host ~]$ sudo newaliases

And restart sendmail

service sendmail restart
[root@host ~]# service sendmail restart
[user@host ~]$ sudo service sendmail restart

Relay Email

How to setup an E-Mail Relay Host with Sendmail

computers/mail/sendmail.txt · Last modified: Apr 5, 2015 (3 years ago) by Matt Bagley