linux:web-mail-system
Differences
This shows you the differences between two versions of the page.
| linux:web-mail-system [2016/05/18 03:29] – [Email sent was filtered(Have not sent to spam or Inbox)] 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 653: | Line 658: | ||
| // | // | ||
| 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 ===== | ||
| + | Below are steps form merge mail server from database postfix1 to database postfix2: | ||
| + | |||
| + | Backup database postfix1 prepare for merge: | ||
| + | - Backup postfix< | ||
| + | mysqldump | ||
| + | </ | ||
| + | - Backup mail config data: <code bash> | ||
| + | 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 663: | Line 690: | ||
| * IP addresses listed as a possible open proxy or spam-sending Trojan Horse on [[https:// | * IP addresses listed as a possible open proxy or spam-sending Trojan Horse on [[https:// | ||
| * Check exactly error with tool: https:// | * Check exactly error with tool: https:// | ||
| - | * 123.31.47.39 is not listed in the SBL | ||
| * 123.31.47.39 is listed in the PBL, in the following records:< | * 123.31.47.39 is listed in the PBL, in the following records:< | ||
| 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 XBL | ||
| * Gmail:< | * Gmail:< | ||
| 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.1463542156.txt.gz · Last modified: (external edit)
