Well, tried to test with account webmaster@...
. I also tried using my name, gary@...
, which maps back to webmaster@...
. So, blowing away the alias webmaster from /etc/aliases, it suddenly works.
> -----Original Message-----
> From: owner-postfix-users@... [mailto:owner-postfix-
> users@...] On Behalf Of Gary Smith
> Sent: Thursday, July 30, 2009 6:14 PM
> To: postfix-users@...
> Subject: lmtp delivery rewriting issue.
> Stuff is AFU after server migration. Email can be delivered to
> accounts that existing on domain1.com prior to the migration. I
> created a new domain, domain2, and issued the standard cm
> I verified that the domain exist in both the mydestinations and
> virtual_users sql database results.
> When an email comes to gary@..., the lmtp command errors our
> while trying to rewrite the email address to root@thelocalmachine.
> Below is the maillog lmtp command failure, where you can see that it's
> trying to pass the incorrect user/domain. There is nothing above these
> lines beyond the connection and the accepting email from. What I need
> to know is if this is a cyrus issue re-writing or postfix. When I try
> using domain1.tld, everything works fine. Again, I've verified that
> the domains come back with postmap -d for both mydestinations and
> virtual_users. They are the same for the two different domains.
> Jul 30 19:56:05 hostname lmtpunix: accepted connection
> Jul 30 19:56:05 hostname lmtpunix: lmtp connection preauth'd as
> Jul 30 19:56:05 hostname lmtpunix:
> verify_user(hostname.local!user.root) failed: Mailbox does not exist
> Jul 30 19:56:05 hostname master: about to exec /usr/lib/cyrus-
> Jul 30 19:56:05 hostname lmtpunix: executed
> postconf -n
> alias_maps = hash:/etc/aliases
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> debug_peer_level = 2
> html_directory = no
> mail_owner = postfix
> mailbox_command = /usr/bin/procmail
> mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtpunix
> mailq_path = /usr/bin/mailq
> manpage_directory = /usr/share/man
> mydestination = $myhostname, localhost.$mydomain, localhost,
> newaliases_path = /usr/bin/newaliases
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/postfix-2.4.6/README_FILES
> relayhost = 10.x.x.x:9383
> sample_directory = /usr/share/doc/postfix-2.4.6/samples
> sendmail_path = /usr/sbin/sendmail
> setgid_group = postdrop
> smtp_tls_note_starttls_offer = yes
> smtp_use_tls = yes
> smtpd_tls_cert_file = /etc/ssl/certs/holdstead.crt
> smtpd_tls_key_file = /etc/ssl/private/holdstead.pem
> smtpd_tls_loglevel = 1
> smtpd_tls_received_header = yes
> smtpd_tls_session_cache_timeout = 3600s
> smtpd_use_tls = yes
> tls_random_source = dev:/dev/urandom
> unknown_local_recipient_reject_code = 550
> virtual_alias_maps = mysql:/etc/postfix/mysql/virtual-users.mysql
> virtual_transport = lmtp:unix:/var/lib/imap/socket/lmtpunix
> unixhierarchysep: yes
> virtdomains: yes
> defaultdomain: localdomain
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> admins: cyrus root murder
> sievedir: /var/lib/imap/sieve
> sendmail: /usr/sbin/sendmail
> hashimapspool: true
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN
> allowplaintext: yes