3rd attempt at setting this up. I enter a domain and user in phpmyadmin, then send an email to that user from another system. There is no domain directory or user set up in /home/vmail/ There are NO domains in /home/vmail should 'example.com' and user 'sales' not have been setup during the setup? Where do I start looking? Code: bender postfix/smtpd[3968]: NOQUEUE: reject: RCPT from unknown[xxx.xxx.xxx.61]: 451 4.3.0 <[email protected]>: Temporary lookup failure; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<q.maxit.net>
If I create the domain & user with maildirmake, I can log in with Squirelmail. However mail is not delivered - from mailq Code: Error: queue file write error (in reply to end of DATA command)) It looks like 2 errors, one on the sql autocreate domain/mailbox one on mailbox permission (set to vmail:vmail 700)
They should be created automatically when the first email arrives. Are there any other errors in your mail log? Can you post an excerpt? What's in your /etc/resolv.conf?
tail mail.log Code: Aug 31 10:35:55 bender postfix/smtpd[25994]: connect from localhost[127.0.0.1] Aug 31 10:35:55 bender postfix/smtpd[25994]: 8EAF9AC424B: client=localhost[127.0.0.1] Aug 31 10:35:55 bender postfix/proxymap[25995]: warning: connect to mysql server 127.0.0.: Unknown MySQL server host '127.0.0.' (1) Aug 31 10:35:55 bender postfix/cleanup[25997]: warning: 8EAF9AC424B: virtual_alias_maps map lookup problem for [email protected] Aug 31 10:35:55 bender amavis[23382]: (23382-10) Negative SMTP response to data-dot (<[email protected]>): 451 4.3.0 Error: queue file write error Aug 31 10:35:55 bender amavis[23382]: (23382-10) (!)FWD via SMTP: <[email protected]> -> <[email protected]>,BODY=7BIT 451 4.3.0 TempFailed, id=23382-10, from MTA([127.0.0.1]:10025): 451 4.3.0 Error: queue file write error Aug 31 10:35:55 bender amavis[23382]: (23382-10) Blocked MTA-BLOCKED, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: aZ2zhYqHil60, Hits: -, size: 489, 146 ms Aug 31 10:35:55 bender postfix/cleanup[25998]: warning: 95098AC424B: virtual_alias_maps map lookup problem for [email protected] Aug 31 10:35:55 bender postfix/smtpd[25994]: disconnect from localhost[127.0.0.1] Aug 31 10:35:55 bender postfix/smtp[25991]: D1933AC4257: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=38154, delays=38154/0.01/0/0.15, dsn=4.3.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.3.0 TempFailed, id=23382-10, from MTA([127.0.0.1]:10025): 451 4.3.0 Error: queue file write error (in reply to end of DATA command)) several errors resov.conf Code: search maxit.net nameserver 204.174.64.1
I guess you have an error in at least one of your configuration files. The correct IP is 127.0.0.1, not 127.0.0.
Thanks Falko Also there should never be a dot . after the last number! like 192.168.1.1. will generate errors. hard to see , easy to miss sometimes
Yep that was it, left the "1" off in /etc/postfix/mysql-virtual_forwardings. Dohh! But: In the Squirrelmail - Change Password, is this supposed to show up? I hope not!