[GRLUG] Postfix Integrity Check
Nathan Phillip Brink
binki at gentoo.org
Thu Jul 26 12:56:25 EDT 2012
On Thu, Jul 26, 2012 at 11:32:29AM -0500, L. V. Lammert wrote:
> At 08:45 AM 7/25/2012, Adam Tauno Williams wrote:
> >On Tue, 2012-07-24 at 17:33 -0500, L. V. Lammert wrote:
> > > Trying to migrate an older Postfix configuration to a current box, there
> > > seems to be a dearth of data regarding the "Postfix integrity check":
> > > # postfix start
> > > postsuper: fatal: scan_dir_push:
> > > open directory defer: Permission denied
> > > postfix/postfix-script: fatal: Postfix integrity check failed!
> >
> >postconf -n might help.
>
> postfix check was also useful, .. but after fixing the permission
> problems, still have a configuration issue; recall that this is a
> migration from an old Mandriva machine to something current.
>
> -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
> 1A98981C66 453 Thu Jul 26 15:33:35 lvl
> (Host or domain name not found. Name service error for
> name=smtp.gmail.com type=MX: Host not found, try again)
> lvl at omnitec.net
I am going to guess, I am not sure if this is behavior that has
actually changed in postfix over its history.
If you lookup MX records at smtp.gmail.com, you'll get no results. If
you want postfix to do an A record lookup, which does have results at
that address, you must write the hostname in square brackets. See, for
example, the syntax described for fallback_relay in postconf(5):
> The fallback relays must be SMTP destinations. Specify a domain,
> host, host:port, [host]:port, [address] or [address]:port; the form
> [host] turns off MX lookups. If you specify multiple SMTP
> destinations, Postfix will try them in the specified order.
So try specifying "[smtp.gmail.com]" instead of "smtp.gmail.com" in
whatever configuration option or lookup table you have specified
"smtp.gmail.com".
> DNS works, and this configuration WAS working so there must be
> something missing from the config. Is this a source hostname issue
> (most likely), or a destination hostname issue (a la DNS not working
> - but it does resolve properly). Assuming Postfix is not sending the
> hostname properly, ..
>
> > Interestingly, myhostname is not defined in main.cf, .. as this
> WAS working on the old configuration, where would Postfix pull a
> hostname in normal operation? Would Mandriva operate differently than SuSE?
>
> > Tried defining a hostname as smtp.<domain.com>, but same error.
>
> Any pointers would be appreciated!
>
> Thanks!
>
> Lee
>
--
binki
Look out for missing or extraneous apostrophes!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20120726/2b58c1fa/attachment.pgp>
More information about the grlug
mailing list