User Tools

Site Tools


sendmail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sendmail [2011/05/13 00:29]
k2patel
sendmail [2020/08/10 02:35]
Line 1: Line 1:
-====== Sendmail ====== 
- 
-==== How to create .cf file from .mc ==== 
-It is always best practice to build .cf file from .mc 
-<code bash> 
-m4 sendmail.mc > /​etc/​sendmail.cf 
-</​code>​ 
- 
-==== Rebuild aliases ==== 
-when you modify /​etc/​mail/​aliases.\\ 
-Possibly you see following message. \\ 
-//alias database /​etc/​mail/​aliases.db out of date// \\ 
-Simply run following and will fix it. 
- 
-<code bash> 
-newaliases 
-</​code>​ 
- 
-==== How to change outbound IP ==== 
-to change outgoing IP on your sendmail server.\\ 
-change following variable. 
- 
-<code bash | sendmail.cf>​ 
-O ClientPortOptions=Family=inet,​ Address=192.168.1.22 
-</​code>​ 
- 
-NOTE : change 192.168.1.22 with your IP. 
  
sendmail.txt ยท Last modified: 2020/08/10 02:35 (external edit)