In message <003c01d14e5e$053d4990$0fb7dcb0$@consortiex.com>
"Jeff Karrels" writes:
> 
> Summary:
>  
> I have installed postfix on a linux machine. Our current mail host is
> GoDaddy and we are trying to setup postfix to do mailing to our GoDaddy
> accounts. I have the software installed and configured and can send mail
> externally to my gmail account or other internet based accounts. However I
> cannot send to my own domain. For example if I try to send to
> j...@consortiex.com <mailto:j...@consortiex.com>  it does not work.


I don't follow what you are trying to do ... but.


> I think this is the error I am getting in the logs.
>  
>  
>  
> Jan 13 17:32:05 Consortiex-VM1 postfix/cleanup[18561]: ABBF1330:
> message-id=<5696de75.nckgviuplsisx3dt%j...@consortiex.com>
>  
> Jan 13 17:32:05 Consortiex-VM1 postfix/qmgr[18554]: ABBF1330:
> from=<j...@consortiex.com>, size=656, nrcpt=2 (queue active)
>  
> Jan 13 17:32:05 Consortiex-VM1 sendmail[18557]: u0DNW5L7018557:
> to=j...@consortiex.com,jeff.karr...@gmail.com, ctladdr=j...@consortiex.com
> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60328,
> relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as ABBF1330)
>  
> Jan 13 17:32:05 Consortiex-VM1 postfix/local[18563]: ABBF1330:
> to=<j...@consortiex.com>, relay=local, delay=0.1, delays=0.06/0.02/0/0.02,
> dsn=5.1.1, status=bounced (unknown user: "jeff")
>  
> Jan 13 17:32:06 Consortiex-VM1 postfix/smtp[18562]: ABBF1330: enabling PIX
> workarounds: disable_esmtp delay_dotcrlf for
> gmail-smtp-in.l.google.com[74.125.136.27]:25
>  
> Jan 13 17:32:06 Consortiex-VM1 postfix/smtp[18562]: ABBF1330:
> to=<jeff.karr...@gmail.com>,
> relay=gmail-smtp-in.l.google.com[74.125.136.27]:25, delay=1.1,
> delays=0.06/0.02/0.36/0.63, dsn=2.0.0, status=sent (250 2.0.0 OK 1452727926
> kz4si5368860wjc.203 - gsmtp)
>  
> Jan 13 17:32:06 Consortiex-VM1 postfix/cleanup[18561]: BB00637C:
> message-id=<20160113233206.bb006...@consortiex-vm1.redplaid.com>
>  
> Jan 13 17:32:06 Consortiex-VM1 postfix/qmgr[18554]: BB00637C: from=<>,
> size=2518, nrcpt=1 (queue active)
>  
> Jan 13 17:32:06 Consortiex-VM1 postfix/bounce[18564]: ABBF1330: sender
> non-delivery notification: BB00637C
>  
> Jan 13 17:32:06 Consortiex-VM1 postfix/qmgr[18554]: ABBF1330: removed
>  
> Jan 13 17:32:06 Consortiex-VM1 postfix/local[18563]: BB00637C:
> to=<j...@consortiex.com>, relay=local, delay=0.01, delays=0/0/0/0,
> dsn=5.1.1, status=bounced (unknown user: "jeff")
>  
> Jan 13 17:32:06 Consortiex-VM1 postfix/qmgr[18554]: BB00637C: removed
>  
> Jan 13 17:33:45 Consortiex-VM1 postfix/smtpd[18558]: idle timeout -- exiting
>  
>  
>  
>  
>  
> I have been told this is a DNS issue as the server postfix is on is a
> consortiex.com server. So it is trying to send it locally to an account on
> the server. My assumption is that I need to somehow override this and force
> it to send the email over the internet.
>  
>  
>  
> I have tried adding the following to named:
>  
> @       IN      MX      10      imail.consortiex.com.
>  
>  
>  
> And have also tried adding this to /etch/hosts:
>  
> 127.0.0.1       imail.consortiex.com
>  
>  
>  
> Neither of which fixed the issue. Also here is the bulk of the main.cf
> config:
>  
> #myhostname = Consortiex-VM1.redplaid.com
>  
> mydomain = mail.consortiex.com
>  
> #mydomain = consortiex.com
>  
> myorigin = $myhostname
>  
> home_mailbox = mail/
>  
> mynetworks = 127.0.0.0/8 172.16.0.0/16 10.0.0.0/24
>  
> inet_interfaces = all
>  
> #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
>  
> mydestination = localhost.$mydomain, localhost, consortiex.com

you set mydestination to include consortiex.com so it will try to
deliver any mail to consortiex.com locally.

http://www.postfix.org/postconf.5.html#mydestination

If I'm reading your problem statement right, then that is what you are
trying to avoid.  Maybe.  I think.

> #mydestination =
>  
> smtpd_sender_restrictions = permit_sasl_authenticated
>  
> smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks,
> reject_unauth_destination
>  
> local_recipient_maps =
>  
>  
>  
> # SASL Configs
>  
>  
>  
> smtpd_sasl_path = smtpd
>  
> smtpd_sasl_auth_enable = yes
>  
> smtpd_sasl_authenticated_header = yes
>  
> smtpd_sasl_security_options = noanonymous
>  
> smtpd_sasl_local_domain =
>  
>  
>  
> # TLS/SSL configs
>  
> smtpd_tls_auth_only = no
>  
> smtp_use_tls = yes
>  
> smtpd_use_tls = yes

btw- smtpd_use_tls is obsolete.  Unless you have a new install with an
old postfix?

> smtp_tls_note_starttls_offer = yes
>  
> smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
>  
> smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
>  
> smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
>  
> smtpd_tls_received_header = yes
>  
> smtpd_tls_session_cache_timeout = 3600s
>  
> tls_random_source = dev:/dev/urandom
>  
>  
>  
>  
>  
> Jeff Karrels
>  
> Senior Software Engineer
>  
> ConsortiEX Inc.
>  
>  
>  
> ConsortiEX Inc. | 1000 N. Water St.,  Suite 950 | Milwaukee, WI 53202
>  
>  <http://www.consortiex.com/> http://www.consortiex.com/

Reply via email to