greetings, i'm pretty new at this. my problem could be obvious.
i have a primary internet connection and a backup. sometimes the primary side will tell the backup side to deliver mail for it. at least, that's what i think based on what i see in the maillog snippets below. mail that should be delivered is being rejected on the postfix side as "user unknown". and in this particular case, it should have been delivered. (i've sanitized the user names.) here's the maillog from the sendmail machine. (primary side) Nov 16 16:50:03 ns5 sendmail[18759]: oAGMo3Nb018759: from=<ff...@arlut.utexas.edu>, size=1131, class=0, nrcpts=1, msgid=<4ce30a9b.8010...@arlut.utexas.edu>, proto=ESMTP, daemon=MTA, relay=bofh.arlut.utexas.edu [10.8.20.203] Nov 16 16:50:03 ns5 sendmail[18760]: oAGMo3Nb018759: to=tttt...@arlex.arlut.utexas.edu, ctladdr=<ff...@arlut.utexas.edu> (6070/6032), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=31360, relay=mxhost2.arlut.utexas.edu. [10.4.1.23], dsn=5.1.1, stat=User unknown Nov 16 16:50:03 ns5 sendmail[18760]: oAGMo3Nb018759: oAGMo3Nb018760: DSN: User unknown here's the maillog from the postfix machine. (backup side) Nov 16 16:50:03 ns6 postfix/smtpd[20546]: connect from ns5.arlut.utexas.edu[10.4.1.6] Nov 16 16:50:03 ns6 postfix/smtpd[20546]: NOQUEUE: reject: RCPT from ns5.arlut.utexas.edu[10.4.1.6]: 550 5.1.1 <tttt...@arlex.arlut.utexas.edu>: Recipient address rejected: User unknown in relay recipient table; from=<ff...@arlut.utexas.edu> to=<tttt...@arlex.arlut.utexas.edu> proto=ESMTP helo=<ns5.arlut.utexas.edu> Nov 16 16:50:03 ns6 postfix/smtpd[20546]: disconnect from ns5.arlut.utexas.edu[10.4.1.6] if i'm reading this right, ns5(sendmail) sent the mail to ns6(postfix) rather than deliver it itself. i'm guessing because of load average, but i really don't know. then it looks like ns6 said there was no user ttttttt and did not deliver the message. and ns5 took ns6's word for it that there was no user ttttttt. the postconf output is below. but the user ttttttt looks properly set up in the files. (these are the flat files that get postalias'd or postmap'd.) pfgenerics:ttttttt: tttt...@arlut.utexas.edu. pfknown_users:ttttttt OK pfmalias:ttttttt: tttt...@arlex.arlut.utexas.edu now -- my relay_recipient_maps parameter points to pfknown_users which has the form: ttttttt OK do i have to have tttt...@arlut.utexas.edu OK ? because i've seen one piece of email get delivered today. is it possible my present format will work sometimes but not others? and the u...@... form fixes that? i only deliver for one domain so the @... if necessary, would be the same everywhere. (unfortunately/fortunately, the file is generated automatically and getting that part updated isn't as easy as i'd like. otherwise i'd just try it.) postconf -n output: command_directory = /usr/sbin config_directory = /etc/postfix content_filter = pmx:127.0.0.1:10025 daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = /opt/depot/postfix-2.7.1/html inet_interfaces = all local_recipient_maps = local_transport = error:local mail delivery is disabled mail_owner = postfix mailbox_size_limit = 0 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/local/man masquerade_domains = $mydomain masquerade_exceptions = adm amanda apache avahi beaglidx bin daemon dbus distcache dovecot ejabberd exim flexlm ftp games gdm gopher haldaemon halt hsqldb listen lp mail mailman mailnull mysql nagios named netdump news nfsnobody noaccess nobody nobody4 nscd ntp nuucp nx operator otrs pcap pegasus postfix postgres pvm root rpc rpcuser rpm sabayon shutdown smmsp smtp squid sshd sweep sync sync sys tomcat utwww uucp vcsa webalizer xfs zope message_size_limit = 0 mydestination = mydomain = arlut.utexas.edu myhostname = ns6.arlut.utexas.edu mynetworks = 127.0.0.0/8, 10.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /opt/depot/postfix-2.7.1/README recipient_delimiter = + relay_domains = arlut.utexas.edu relay_recipient_maps = hash:/etc/postfix/pfknown_users relayhost = [ns4.arlut.utexas.edu] sample_directory = /etc/postfix sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_generic_maps = hash:/etc/postfix/pfgenerics transport_maps = hash:/etc/postfix/pftransport unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/etc/postfix/pfmalias hash:/etc/aliases