On 5/14/20 2:18 AM, Viktor Dukhovni wrote:
Have you looked in master.cf? Are you looking at the right main.cf
file?
Look in the output of "postconf -n" and "postconf -M".
Yes. and postconf doesn't list this path/file in any -n, -m, -M, -p, or
-d. I have only one main.cf and one master.cf file. Both of these
files, I copied and renamed *.cf.orig. to make working config files.
Thought: I am assuming that Postfix is only reading from the main.cf and
master.cf files. Could it be possible that Postfix is trying to use
main.cf* and master.cf*?
This error is still showing up in the log but it doesn't appear to be
causing any problems that I have detected.
"May 12 14:21:44 sleepyvalley postfix/smtpd[16326]: error: open
/etc/postfix/mysql-aliases.cf: No such file or directory"
"May 12 13:07:28 sleepyvalley postfix/smtps/smtpd[15107]: error: open
/etc/postfix/mysql-aliases.cf: No such file or directory"
"May 12 13:14:26 sleepyvalley postfix/submission/smtpd[15196]: error:
open /etc/postfix/mysql-aliases.cf: No such file or directory"
I have mynetworks = 127.0.0.0/8 in my main.cf file.
I looked in postconf -d | grep 'mynetworks ' and the following came up.
Could this error be caused by any of this stuff? Does Postfix really use
all of this or is it superfluous and widening the SMTPd server for attach?
mynetworks = 127.0.0.0/8 54.39.19.0/24 [::1]/128
[2607:5300:203:2a80::]/57 [fe80::]/64
proxy_read_maps = $local_recipient_maps $mydestination
$virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps
$virtual_mailbox_domains $relay_recipient_maps $relay_domains
$canonical_maps $sender_canonical_maps $recipient_canonical_maps
$relocated_maps $transport_maps $mynetworks $smtpd_sender_login_maps
$sender_bcc_maps $recipient_bcc_maps $smtp_generic_maps
$lmtp_generic_maps $alias_maps $smtpd_client_restrictions
$smtpd_helo_restrictions $smtpd_sender_restrictions
$smtpd_relay_restrictions $smtpd_recipient_restrictions
$address_verify_sender_dependent_default_transport_maps
$address_verify_sender_dependent_relayhost_maps
$address_verify_transport_maps $fallback_transport_maps
$lmtp_discard_lhlo_keyword_address_maps $lmtp_pix_workaround_maps
$lmtp_sasl_password_maps $lmtp_tls_policy_maps $mailbox_command_maps
$mailbox_transport_maps $postscreen_discard_ehlo_keyword_address_maps
$rbl_reply_maps $sender_dependent_default_transport_maps
$sender_dependent_relayhost_maps $smtp_discard_ehlo_keyword_address_maps
$smtp_pix_workaround_maps $smtp_sasl_password_maps $smtp_tls_policy_maps
$smtpd_discard_ehlo_keyword_address_maps $smtpd_milter_maps
$virtual_gid_maps $virtual_uid_maps
Tom
Did you do that? I am quite sure that "mysql-aliases.cf" is not
hard-coded into Postfix, so if it is reported as expected, then it is
part of your configuration in some manner, either via main.cf or
via master.cf settings for the "smtps" service.