Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Configuring automatic mail GAMIT under CentOS system     - 24 Docker recommendations (Linux)

- Novice Advanced Ubuntu7.10 configured IP address (Linux)

- Linux resource restriction level summary (Linux)

- In addition to wget and curl, what better alternatives (Linux)

- Ubuntu How to install Pacman (Linux)

- Command line tool Tmux (Linux)

- Ubuntu download install and configure Plank Dock (Linux)

- Why I do not like the Go language style interface (ie Structural Typing) (Programming)

- Ubuntu 14.04 / Linux Mint 17 How to install the MintMenu 5.5.2 menu (Linux)

- Android project and coding specifications (Programming)

- SQL Server 2012 failover looksalive check and is alive check (Database)

- How Datadog monitor Nginx (Server)

- Magical Virtualbox under Ubuntu (Linux)

- How to use the ps command to monitor progress in the implementation of Linux commands (Linux)

- Github with .gitignore ignore specified file (Linux)

- Use custom backup plans for Debian backupninja (Linux)

- Hadoop2.4.0 Eclipse plug-in making (Server)

- Java developers question (Programming)

- Teach you how to ensure password security under the Linux operating system (Linux)

- How to improve the performance of Ruby On Rails (Linux)

 
         
  Configuring automatic mail GAMIT under CentOS system
     
  Add Date : 2018-11-21      
         
         
         
  Foreword

When using GAMIT / GLOBK software for automatic batch processing, it can be achieved so that the software feature to send e-mail after the completion of treatment. But many of my friends have not received the mail. That is because GAMIT calling mailx program to automatically send e-mail. In the following process.defaults file you can see the following characters:

# Most machines

set umail = 'mail -s'

# HP

# Set umail = 'mailx-s'

I recently realized in the next CentOS CentOS automatic mail. The following summarizes my configuration process, you can refer to later. When the initiate, huh, huh.

First of all, I have to do the following configuration in CentOS 6.5 operating system. CentOS advantage is that it is installed by default on the mailx program. In fact, as long as you configure the mailx program, GAMIT naturally able to successfully send your mail.

Modify GAMIT solver proces.defaults control file is:

# Most machines

# Set umail = 'mail -s'

# HP

set umail = 'mailx -s'

For CentOS6.5 or later, the above modification This step is not necessary, because the use of mail -s command actually use mailx program.

Test your mailx

Command in the terminal:

mailx -s 'Message Subject' # Enter the recipient's address input after the contents of the message, press ctrl + d end and send.

To their mailbox to send a message. If the "command not found", so that you did not install the mailx program, and quickly use the command:

yum install mailx

Mailx install it.

After installing re-execute the above command. Then if you receive the message, then congratulations, you (may be in the spam box), you fill in your email address directly in the process.defaults file you can receive GAMIT send you mail.

Configuration

If you do not receive mail through the above command words. Try the terminal execute the command:

mailx

You should see failed to send messages.

This is probably because your IP is mistaken for a spam source. You need to get your IP address be removed from inside the spam IP blacklist.

First, check your external IP address, the command:

curl ifconfig.me

Then to enter the site to view your IP address you are not inside the blacklist.

If the query results are shown, then state your IP has been included in spam sources, and this will most public mail services (such as Netease mail, Gmail, Hotmail, etc.) reject your IP to send e-mail. Solution of course is to apply to their own IP removed from the blacklist friends.

First, click on the figure at the bottom of the link, the application will be removed from their IP CBL, the bottom of the page click on the link Jiuhaola newly opened. After about ten minutes to take effect.

Then remove the application (click PBL183882) in the PBL. This is too much trouble, you need to fill out some things. Also entered into force after ten minutes.

After the entry into force and then mailx -s command to send a message to yourself to try. Some people set up here should have been able to use the mail service.

If this does not succeed, then you use an external smtp mail it, this is the last program. I did. That is not the machine's e-mail address (user@localhost.localdomain), but to apply for a mailbox, the mailbox to send by e-mail. Recommended NetEase mailbox, configure it most convenient. You run to the computer to apply for a GAMIT mail address, such as CentOSPC@163.com, password centos1234. The following describes how to configure the mailbox as an example. Be careful not to use the mailbox to configure your own use, because below you will see them in mailx password configuration file is stored in clear text and unsafe.

Administrator, open / etc folder mail.rc, beginning on line 6, add the following characters:

#set for 163 smtp

setfrom = CentOSPC@163.com smtp = smtp.163.com

setsmtp-auth-user = CentOSPC smtp-auth-password = centos1234

set smtp-auth = login

After saving you should be able to use this GAMIT by mail sent you mail.
     
         
         
         
  More:      
 
- GCC library link order problems (Programming)
- cat command uses the Linux redirection merge files (Linux)
- How to install new fonts on Ubuntu 14.04 and 14.10 (Linux)
- Embedded Linux to solve the problem in the time zone (Linux)
- The correct way to open Xcode - Debugging (Programming)
- Python when automated operation and maintenance often used method (Programming)
- Linux file permissions to modify the command: chmod (Linux)
- Docker container plaintext password problem-solving way (Server)
- To setup NOTRACK and TRACK of conntrack in iptables (Linux)
- Linux system font color change (Linux)
- DIY security of Linux platform (Linux)
- Linux Apache server security (Linux)
- Linux Operating System Security Study (Linux)
- How to find the available network adapter on Ubuntu (Linux)
- 8 Docker knowledge you may not know (Server)
- crontab cause CPU exception Analysis and Processing (Linux)
- Linux command binlog by filtering out the complete SQL statement (Database)
- Repair after installing Ubuntu no boot device error (Linux)
- Lambda expressions of evolution (Programming)
- Using Java program determines whether it is a leap year (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.