linux:web-mail-system
Differences
This shows you the differences between two versions of the page.
| linux:web-mail-system [2016/05/18 04:25] – [Merge Email] admin | linux:web-mail-system [2022/10/29 16:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 239: | Line 239: | ||
| / | / | ||
| </ | </ | ||
| + | |||
| + | Fix error: < | ||
| + | connect to mysql server 127.0.0.1: access denied for user ' | ||
| + | </ | ||
| + | => After we check the connect to MySQL server with account postfix/ | ||
| ==== Debug Postfix with postconf ==== | ==== Debug Postfix with postconf ==== | ||
| * Show modules which was compiled with postfix:< | * Show modules which was compiled with postfix:< | ||
| Line 633: | Line 638: | ||
| ==== Config Integrate with postfix ==== | ==== Config Integrate with postfix ==== | ||
| Default Config:< | Default Config:< | ||
| - | $config[' | + | $config[' |
| $config[' | $config[' | ||
| $config[' | $config[' | ||
| Line 654: | Line 659: | ||
| header(' | header(' | ||
| </ | </ | ||
| + | ===== Config Mail Server Security and Mail Exchange ===== | ||
| + | ==== Config Mail Server Security ==== | ||
| + | Config postfix limit IP for connecting to postfix SMTP Server by edit **main.cf**:< | ||
| + | mynetworks = 127.0.0.0/ | ||
| + | </ | ||
| + | ==== Config Mail Exchange for new domain ==== | ||
| + | Add new MX record for new domain and point it to SMTP Server | ||
| ===== Merge Email ===== | ===== Merge Email ===== | ||
| Below are steps form merge mail server from database postfix1 to database postfix2: | Below are steps form merge mail server from database postfix1 to database postfix2: | ||
| Line 665: | Line 677: | ||
| cat postfix.sql | grep " | cat postfix.sql | grep " | ||
| cat postfix.sql | grep " | cat postfix.sql | grep " | ||
| + | </ | ||
| + | - Remove line Insert All from domain.sql< | ||
| + | INSERT INTO `domain` (`domain`, `description`, | ||
| </ | </ | ||
| ===== Email Spam ===== | ===== Email Spam ===== | ||
| Line 678: | Line 693: | ||
| Ref: PBL1544985 | Ref: PBL1544985 | ||
| 123.31.0.0/ | 123.31.0.0/ | ||
| - | </ | + | </ |
| * 123.31.47.39 is not listed in the SBL | * 123.31.47.39 is not listed in the SBL | ||
| * 123.31.47.39 is not listed in the XBL | * 123.31.47.39 is not listed in the XBL | ||
| Line 685: | Line 700: | ||
| May 17 18:50:54 vdo postfix/ | May 17 18:50:54 vdo postfix/ | ||
| to=< | to=< | ||
| - | v=spf1 | + | v=spf1 a mx ~all |
| - | </ | + | </ |
| ==== Fix Email sent to google were marked spam ==== | ==== Fix Email sent to google were marked spam ==== | ||
| View email sent from anhvc@tolava.com with header below((To see this, simply send email to a Gmail account, and then select ‘See Original’ in the little menu at the top of the email message. You get to see all the headers for the email.)):< | View email sent from anhvc@tolava.com with header below((To see this, simply send email to a Gmail account, and then select ‘See Original’ in the little menu at the top of the email message. You get to see all the headers for the email.)):< | ||
linux/web-mail-system.1463545542.txt.gz · Last modified: (external edit)
