Use linux to send qq mail

linux sending mail, in fact, linux system uses the username and password of the mailbox you configured to log in to your mailbox and
use this mailbox to send mail

1. Turn off the service

service sendmail stop
chkconfig sendmail off

2. Modify the parameter configuration
vi /etc/postfix/main.cf
inet_interfaces = all

3、.启动postfix服务:
service postfix start
chkconfig postfix on
postfix check
systemctl status postfix

4 、
$ vi /etc/mail.rc

set [email protected]
set smtp=smtp.qq.com
set smtp-auth-user=123456
set smtp-auth-password=runoob
set smtp-auth=login

Parameter explanation:
set from= your qq mailbox
set smtp-auth-user= the login name of your qq mailbox
set smtp-auth-password= the authorization code obtained by your qq mailbox

The obtained authorization code is obtained. The
first step is to enter the qq mailbox. The
Use linux to send qq mail
second step
Use linux to send qq mail

The third step is to generate an authorization code
Use linux to send qq mail

Test
sending messages for 126 mailboxes
Use linux to send qq mail

Use linux to send qq mail
Use linux to send qq mail

Guess you like

Origin blog.51cto.com/15084467/2605268