Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Configuring automatic mail GAMIT under CentOS system     - Kubernetes resolve application deployment model (Server)

- Use Python automatically cleared Android Engineering excess resources (Programming)

- Mac OS X 10.9 build Nginx + MySQL + php-fpm environment (Server)

- The Gitlab migrated to Docker container (Server)

- How to achieve the MySQL Oracle table associated with the two operations update (Database)

- The PostgreSQL database pg_dump command line does not enter a password method (Database)

- Web cache basics: terminology, HTTP headers, and caching policies (Server)

- 29 practical examples Linux system / network administrator of nmap (Linux)

- A process of how to get the current traffic in GNU Linux (Linux)

- CentOS7 installation hardware monitoring for Zabbix enterprise applications (Server)

- The security administrator network analysis tools SATAN Introduction under Linux (Linux)

- How to Disable Linux IPv6 (Linux)

- VMware virtual machines to install virt-manager unable to connect to libvirt's approach (Linux)

- Oracle archive log full cause abnormal slow database performance (Database)

- Ubuntu 14.04 installed Nvidia CUDA 7.5 and build Python Theano deep learning development environment (Linux)

- File encryption and decryption of Linux security mechanisms (Linux)

- Why JavaScript basic types can invoke methods (Programming)

- Oracle creates split and splitstr functions (Database)

- Install Java JDK 8 in CentOS 7 / 6.5 / 6.4 (Linux)

- Iptables in Ubuntu (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:      
 
- LAMP environment to build Apache, MySQL, PHP under Ubuntu (Server)
- To share Linux script automatically change passwords (Linux)
- Graphical development environment to build Android under Ubuntu 11.04 (Linux)
- Linux system security audit tools scan nessus installation tutorial (Linux)
- MySQL high availability cluster fragmentation of deployment uses Fabric (Database)
- Hadoop connection failed or stuck processing (Server)
- How to configure security services under Linux (Linux)
- Deploy Mono 4 and Jexus 5.6 on CentOS7 (Server)
- Ubuntu and Archlinux install Notepadqq 0.50.2 (Linux)
- Linux iptables firewall and vsftpd to resolve the issue (Linux)
- Debian 8.1 (amd64) deployed Memcached (Server)
- Ease of use "Explain Shell" script to understand Shell command (Linux)
- Linux uses shared memory communication process synchronization Withdrawal (Programming)
- 10 Regulation of painless SQL Schema (Database)
- Android working with Volley Comments (Programming)
- Linux remote wake the computer original code [C] (Linux)
- Installation under Linux Mint system guidelines for Gtk (Linux)
- git checkout generated in the use of temporary br (Linux)
- Linux Getting Started tutorial: XWindow what (Linux)
- Bash job control (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.