Noel,

Thanks for the info.  I was grepping for my name which was showing those
errors, and there was another;
Oct 27 20:44:53 mail postfix/smtpd[22841]: warning: non-null host address
bits in "publicIP/30", perhaps you should use "publicIP-2/30" instead

That I didn't think was relevant as that was not the server sending the
mail, but I am not guessing it stopped parsing the my_networks list of IP's
when it found that problem as I fixed that IP to the correct subnet and all
those tests came right though!

Thanks again, just a point in the right direction was all that was needed.

~ Lr


On Sun, Oct 27, 2013 at 4:09 PM, Noel Jones <njo...@megan.vbhcs.org> wrote:

> On 10/27/2013 2:58 PM, Lance Raymond wrote:
> > Afternoon all, as the subject states, I have a central postfix
> > server running which the web servers use along with some other
> > processes with no problems.  I added a new server and not sure where
> > the problem is, and a lot of the readings discuss mysql (which is
> > not used) so looking for some help.  Note the postfix server and the
> > new server are both located in amazon’s cloud.
> >
> > I made a basic PHP form for testing, and when I submit I see the
> > following on the local server;
> >
> > Oct 27 19:35:47 ip-10-245-118-99 sm-mta[26541]: r9RJ2tBV024843:
> > to=<perso...@gmail.com>, ctladdr=<www-data@ip1> (33/33),
> > delay=00:32:52, xdelay=00:00:03, mailer=relay, pri=480371,
> > relay=mail.mydomain.com. [mailIP], dsn=4.3.0, stat=Deferred: 451
> > 4.3.0 <perso...@gmail.com>: Temporary lookup failure
>
> This is just reporting the error from the central server.
>
>
> >
> > and the following on the centralized mail server log;
> >
> > Oct 27 15:44:04 mail postfix/smtpd[20073]: NOQUEUE: reject: RCPT
> > from unknown[newIP]: 451 4.3.0 <perso...@gmail.com>: Temporary
> > lookup failure; from=<www-d...@webserver.com>
> > to=<perso...@gmail.com> proto=ESMTP helo=<ip-internal>
>
> The real warning or error proceeds this in the log, so look there.
> Only limited information is sent to random clients.
>
>
> >
> > The postfix server on the EC2 instance has the following config;
>
>
> If you need more help, show logs related to the error, and "postconf
> -n" rather than random main.cf snippings.
>
>
>
>   -- Noel Jones
>
>
>
> > smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
> > biff = no
> > append_dot_mydomain = no
> > # 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
> > myhostname = mail.mydomain.com
> > alias_maps = hash:/etc/aliases
> > alias_database = hash:/etc/aliases
> > myorigin = /etc/mailname
> > mydestination = mail.mydomain.com, , localhost
> > relayhost =
> > mynetworks = 127.0.0.0/8 ipblock/26 ec2-ip/32 ec-2-private/32
> > #mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
> > mailbox_size_limit = 0
> > recipient_delimiter = +
> > inet_interfaces = all
> >
> > I’m not sure what else I can provide to help or it’s just a simple
> > thing I am missing.  I tried putting the mail servers private IP in
> > the hosts file (as there on the same network) but get the same results.
> >
> > Thanks for all read/replies.
> >
> >
> >
>
>

Reply via email to