View Full Version : virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu9.04
herbie
29th August 2009, 22:45
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?
bender postfix/smtpd[3968]: NOQUEUE: reject: RCPT from unknown[xxx.xxx.xxx.61]: 451 4.3.0 <sales@nechako.info>: Temporary lookup failure; from=<rxxx@xxxx.net> to=<sales@nechako.info> proto=ESMTP helo=<q.maxit.net>
herbie
30th August 2009, 00:28
If I create the domain & user with maildirmake, I can log in with Squirelmail.
However mail is not delivered - from mailq
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)
falko
30th August 2009, 13:19
There are NO domains in /home/vmail should 'example.com' and user 'sales' not have been setup during the setup?
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?
herbie
31st August 2009, 20:45
tail mail.log
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 postmaster@maxit.net
Aug 31 10:35:55 bender amavis[23382]: (23382-10) Negative SMTP response to data-dot (<postmaster@maxit.net>): 451 4.3.0 Error: queue file write error
Aug 31 10:35:55 bender amavis[23382]: (23382-10) (!)FWD via SMTP: <root@bender.maxit.net> -> <postmaster@maxit.net>,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, <root@bender.maxit.net> -> <postmaster@maxit.net>, Message-ID: <20090831070001.D1933AC4257@bender.maxit.net>, 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 postmaster@bender.maxit.net
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=<postmaster@maxit.net>, 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
search maxit.net
nameserver 204.174.64.1
falko
1st September 2009, 16:30
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)
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.
matey
1st September 2009, 18:13
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
herbie
1st September 2009, 22:52
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!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.