Matt Fiddles

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

User Tools

Site Tools


Sidebar

Han Solo: "Well Princess, it looks like you managed to keep me here a while longer."

Princess Leia: "I had nothing to do with it. General Rieekan thinks it's dangerous for anyone to leave the system until they've activated the energy shield."

Han Solo: "That's a good story. I think you just can't bear to let a gorgeous guy like me out of your sight."

Princess Leia: "I don't know where you get you delusions, laser brain!"

Chewbacca laughs

Han Solo: "Laugh it up, fuzzball!"



Where will you go today?

"Ah, " said Arthur, "this is obviously some strange usage of the word safe that I wasn't previously aware of. "
computers:mail:sendmail

Sendmail

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/sendmail.mc (after 'dnl define(`SMART_HOST', `smtp.your.provider')dnl')

dnl define(`SMART_HOST', `smtp.your.provider')dnl
define(`SMART_HOST',`local:catch-all')dnl
define(`LUSER_RELAY',`local:catch-all')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
-or-
[user@host ~]$ sudo newaliases

And restart sendmail

service sendmail restart
[root@host ~]# service sendmail restart
-or-
[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 (4 years ago) by Matt Bagley