Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "test"|mail -s "test" account-in-yahoo@yahoo.com
- postconf -n
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- command_directory = /usr/sbin
- config_directory = /etc/postfix
- daemon_directory = /usr/libexec/postfix
- data_directory = /var/lib/postfix
- debug_peer_level = 2
- debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
- home_mailbox = Maildir/
- html_directory = no
- inet_interfaces = all
- inet_protocols = all
- mail_owner = postfix
- mailq_path = /usr/bin/mailq.postfix
- mydomain = domain.com
- myhostname = mail.domain.com
- myorigin = $mydomain
- mynetworks = 127.0.0.0/8
- mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
- newaliases_path = /usr/bin/newaliases.postfix
- queue_directory = /var/spool/postfix
- sendmail_path = /usr/sbin/sendmail.postfix
- setgid_group = postdrop
- unknown_local_recipient_reject_code = 550
- cat .msmtprc
- account default
- host domain.com
- user root
- from root@mydomain.com
- password xxxxxx
- auth login
- tls off
- logfile .msmtp.log
- echo "test" | mail -s "test" xxxx@yahoo.com
- cat /var/log/mail.log
- Oct 7 08:09:50 localhost postfix/pickup[23565]: D6FA3482226: uid=1000 from=<root>
- Oct 7 08:09:50 localhost postfix/cleanup[25879]: D6FA3482226: message-id=<20171007120950.D6FA3482226@localhost.localdomain>
- Oct 7 08:09:50 localhost postfix/qmgr[4739]: D6FA3482226: from=<root@localdomain.localdomain>, size=359, nrcpt=1 (queue active)
- Oct 7 08:09:55 localhost postfix/smtp[25881]: D6FA3482226: to=<xxxx@yahoo.com>, relay=mta5.am0.yahoodns.net[98.136.216.26]:25, delay=4.3, delays=0.08/0/2.5/1.8, dsn=2.0.0, status=sent (250 ok dirdel)
- Oct 7 08:09:55 localhost postfix/cleanup[25879]: 38BC7482228: message-id=<20171007120955.38BC7482228@localhost.localdomain>
- Oct 7 08:09:55 localhost postfix/bounce[26007]: D6FA3482226: sender delivery status notification: 38BC7482228
- Oct 7 08:09:55 localhost postfix/qmgr[4739]: 38BC7482228: from=<>, size=1988, nrcpt=1 (queue active)
- Oct 7 08:09:55 localhost postfix/qmgr[4739]: D6FA3482226: removed
- Oct 7 08:09:55 localhost postfix/smtp[26008]: 38BC7482228: to=<root@localdomain.localdomain>, relay=none, delay=0.05, delays=0.03/0.01/0.01/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=localdomain.localdomain type=AAAA: Host not found)
- Oct 7 08:09:55 localhost postfix/qmgr[4739]: 38BC7482228: removed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement