| Linode Forum https://forum.linode.com/ |
|
| Postfix, Dovecot, Ubuntu 12.04 - "Mail access not permitted" https://forum.linode.com/viewtopic.php?f=11&t=10027 |
Page 1 of 1 |
| Author: | casey_friday [ Mon Apr 29, 2013 5:56 pm ] |
| Post subject: | Postfix, Dovecot, Ubuntu 12.04 - "Mail access not permitted" |
I'm trying to set up a mail server on my Linode running Ubuntu 12.04 LTS. I started by following this tutorial in its entirety: http://www.exratione.com/2012/05/a-mail ... cot-mysql/ I was able to install alpine and send/receive mail with that setup, but I couldn't set up my local mail client (Postbox on OSX 10.8). I checked the /var/log/mail.log and the most relevant line was: Code: Apr 29 16:50:28 cosmos dovecot: pop3-login: Login: user=<casey@friday-next.com>, method=PLAIN, rip=71.144.19.194, lip=72.14.178.224, mpid=2465, TLS I did set up the vmail user as uid 150 (per the prior linked tutorial) from these lines: Code: useradd -r -u 150 -g mail -d /var/vmail -s /sbin/nologin -c "Virtual maildir handler" vmail And I adjusted user and pw query in dovecot-sql.conf.ext as such: Code: # Define the query to obtain a user password. So I'm guessing there's a database connection issue, or a permissions issue with uid 150. Now Postfix isn't sending or receiving mail, nor can I connect via POP3 (my connection of choice). I'm hoping someone here will have an idea as to how I can get my mail working. Here's the output of postconf -n: Code: casey@cosmos:~$ postconf -n |
|
| Author: | casey_friday [ Mon Apr 29, 2013 6:48 pm ] |
| Post subject: | Re: Postfix, Dovecot, Ubuntu 12.04 - Mail Transport Unavaila |
Okay, I fixed the initial problem by finding that I had GID set to 8 in the password_query and user_query in dovecot-sql.conf.ext. I changed them from '8' to '150', and I finally connected via my OSX mail client. The issue now is that when I try to send a message, I get this error: Code: Apr 29 17:45:46 cosmos postfix/error[3307]: 06F7B30ECF: to=<casey.friday@gmail.com>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=4.3.0, status=deferred (mail transport unavailable) And when I watch a message attempt to be received, I see this error in the log, stating that relay access is denied: Code: Apr 29 17:47:47 cosmos postfix/smtpd[3328]: connect from mail-oa0-f44.google.com[209.85.219.44] |
|
| Author: | casey_friday [ Mon Apr 29, 2013 10:50 pm ] |
| Post subject: | Re: Postfix, Dovecot, Ubuntu 12.04 - "Mail access not permit |
The email server is working with everything except receiving mail via POP3. I can send mail with my OSX email client, and I can send via alpine. I can receive / read mail in alpine, but I can't receive mail in my OSX email client. Ideas? |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|