On 2-Dec-2009, at 06:44, Noel Jones wrote: > Postfix doesn't use MX records to decide what domains to accept (unless > you're using the permit_mx_backup hack). > Maybe virtual_mailbox_domains isn't set. > http://www.postfix.org/ADDRESS_CLASS_README.html
Well, other than a couple of edits that I have made to try to get dovecot setup, the config on mail2 is identical to the working install on mail. $ postconf -n | grep virtual virtual_alias_domains = kreme.com virtual_alias_maps = hash:$config_directory/virtual pcre:$config_directory/virtual.pcre, pcre:$config_directory/virtual_sql.pcre, proxy:mysql:$config_directory/mysql_virtual_alias_maps.cf virtual_gid_maps = static:89 virtual_mailbox_base = /usr/local/virtual virtual_mailbox_domains = proxy:mysql:$config_directory/mysql_virtual_domains_maps.cf virtual_mailbox_maps = proxy:mysql:$config_directory/mysql_virtual_mailbox_maps.cf virtual_minimum_uid = 89 virtual_transport = dovecot virtual_uid_maps = static:89 The only difference in that config is that the config on mail uses procmail as the virtual_transport instead of dovecot. When trying to send messages directly to mail2 via telnet I get a relay access denied if I send to krem...@kreme.com, but it works fine for 'kremels' virtual and virtual.pcre, virtual_sql.pcre, and mysql_virtual_alias_maps.cf are identical, and the databases exist on mail2. I have not verified connectivity for the user/pass, but I don't think we should be getting that far. Once the email 'krem...@kreme.com' matches in virtual it matches and the others mpas are not checked, right? postfix/smtpd[44627]: NOQUEUE: reject: RCPT from ns2.covisp.net[75.148.117.93]: 554 5.7.1 <kr...@kreme.com>: Relay access denied; from=<krem...@kreme.com> to=<krem...@kreme.com> proto=ESMTP helo=<mail.covisp.net> postfix/smtpd[44660]: 84AE62D482C: client=ns2.covisp.net[75.148.117.93] postfix/cleanup[44668]: 84AE62D482C: message-id=<> postfix/qmgr[44659]: 84AE62D482C: from=<kr...@kreme.com>, size=286, nrcpt=1 (queue active) postfix/local[44669]: 84AE62D482C: to=<krem...@cerebus.covisp.net>, orig_to=<kremels>, relay=local, delay=92, delays=92/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) postfix/qmgr[44659]: 84AE62D482C: removed (the UID 89 is assigned to vpopmail on both machines, and is the owner or /usr/local/virtual/ where the sql accounts live, but the kremels account is a real user) -- "You're just impressed by any pretty girl who can walk and talk." "She doesn't have to talk."