burnedfaceless
asked on
Configuring Post Fix
I moved and to a Linode VPS.
The contact form for Consolidated Utilities emails email addresses that end in @consolidatedutilities.com .
I am creating a website at . I am going to use the Laravel Cashier to do online bill pay for customers.
I wanted to test the postfix configuration, because I felt like it would only work for accounts that ended with the server domain name.
I installed Wordpress and Contact Form Seven, and it is not sending emails to babbott@unademy.com. I do not have the ability to test it sending emails to @effinghamministorage.com.
Is there a way to configure postfix to send emails to the address of the server name, as well as other addresses?
Here are my settings
The contact form for Consolidated Utilities emails email addresses that end in @consolidatedutilities.com
I am creating a website at . I am going to use the Laravel Cashier to do online bill pay for customers.
I wanted to test the postfix configuration, because I felt like it would only work for accounts that ended with the server domain name.
I installed Wordpress and Contact Form Seven, and it is not sending emails to babbott@unademy.com. I do not have the ability to test it sending emails to @effinghamministorage.com.
Is there a way to configure postfix to send emails to the address of the server name, as well as other addresses?
Here are my settings
GNU n# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = localhost.members.linode.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
inet_protocols = all
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try this.
Run SWAKS, then cut + paste the entire session + wrap with the CODE operator from the menu.
With this info, likely someone can assist you.
Run SWAKS, then cut + paste the entire session + wrap with the CODE operator from the menu.
With this info, likely someone can assist you.
So your complete swaks session will look something like this...
imac> swaks --from=david@davidfavor.com --to=david@davidfavor.com
=== Trying net1.bizcooker.com:25...
=== Connected to net1.bizcooker.com.
<- 220 ready ESMTP
-> EHLO davids-imac.local
<- 250-net1.bizcooker.com Hi nxdomain [136.62.164.224]
<- 250-PIPELINING
<- 250 8BITMIME
-> MAIL FROM:<david@davidfavor.com>
<- 250 <david@davidfavor.com>, sender OK - how exciting to get mail from you!
-> RCPT TO:<david@davidfavor.com>
<- 250 <david@davidfavor.com>, recipient ok
-> DATA
<- 354 go ahead
-> Date: Mon, 25 Dec 2017 17:09:16 -0600
-> To: david@davidfavor.com
-> From: david@davidfavor.com
-> Subject: test Mon, 25 Dec 2017 17:09:16 -0600
-> Message-Id: <20171225170916.023284@davids-imac.local>
-> X-Mailer: swaks v20170101.0 jetmore.org/john/code/swaks/
->
-> This is a test mailing
->
-> .
<- 250 Queued
-> QUIT
<- 221 net1.bizcooker.com closing connection. Have a wonderful day.
=== Connection closed with remote host.
ASKER
David,
Your comments will help me get better. You're really making the $10 a month I spend worth it.
Your comments will help me get better. You're really making the $10 a month I spend worth it.
ASKER
I'm glad you are able to reply on Christmas.
I'm getting a 400 error for SWAKs, can you recheck that link for me?