Anything special I should do to get pop3 working now?
When I first got my Linode server, I quickly setup Squirrel Mail and that worked fine. I then removed it as it was really just for me to make sure I could do it. Then I tried setting up Citadel and quickly learned it was way more than I needed. I then installed postfix to make sure one of my domains with PHPBB could send out it's automated emails and such.
I then found out it was not working, and after some digging, it was due to some Citadel processes that were left behind. Once I got that cleaned up, all the pending emails from the phpbb setup went out, and thats been working fine for months.
Thats where I currently stand. But as mentioned, I have a domain I am about to start hosting, and am not sure what else I should install to allow it to work. Is there a guide out there for my situation? I ask this because I admittedly am not sure what postfix's role is in enabling pop3 access, or if it even is a factor…
18 Replies
I still have a question though. Anything to consider since I am already running Postfix?
The guide you have found assumes that you use MySQL to store information needed by Postfix. This may not be the case in your current setup.
@telijah:
My question is though, is if I run through all of that, will I then have to make the board authenticate to send it's emails?
No, you can tell Postfix to allow local users to send and require authentication for everyone else. See=> permit_mynetworks. smtpdclientrestrictions
Now, after trying a few thing, I rebooted the entire Linode, attempted to use mailx to send a test email to
Nov 23 18:56:21 traviselijah dovecot: Dovecot v1.2.12 starting up (core dumps disabled)
Nov 23 18:56:21 traviselijah dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (mail)
Nov 23 18:58:19 traviselijah postfix/pickup[2209]: 912AA3251E: uid=0 from= <root>Nov 23 18:58:19 traviselijah postfix/cleanup[2613]: 912AA3251E: message-id=<20101123235819.912AA3251E@teamslow.com>
Nov 23 18:58:19 traviselijah postfix/qmgr[2210]: 912AA3251E: from=<root@legionofjeepers.com>, size=343, nrcpt=1 (queue active)
Nov 23 18:58:19 traviselijah postfix/trivial-rewrite[2615]: warning: do not list domain teamslow.com in BOTH mydestination and virtual_mailbox_domains
Nov 23 18:58:19 traviselijah postfix/local[2616]: 912AA3251E: to=<travis@teamslow.com>, relay=local, delay=0.45, delays=0.09/0.34/0/0.02, dsn=5.1.1, status=bounced (unknown user: "travis")
Nov 23 18:58:20 traviselijah postfix/cleanup[2613]: F269E3251F: message-id=<20101123235819.F269E3251F@teamslow.com>
Nov 23 18:58:20 traviselijah postfix/bounce[2617]: 912AA3251E: sender non-delivery notification: F269E3251F
Nov 23 18:58:20 traviselijah postfix/qmgr[2210]: F269E3251F: from=<>, size=2049, nrcpt=1 (queue active)
Nov 23 18:58:20 traviselijah postfix/qmgr[2210]: 912AA3251E: removed
Nov 23 18:58:20 traviselijah postfix/trivial-rewrite[2615]: warning: do not list domain teamslow.com in BOTH mydestination and virtual_mailbox_domains
Nov 23 18:58:20 traviselijah postfix/trivial-rewrite[2615]: last message repeated 12 times
Nov 23 18:58:20 traviselijah postfix/local[2616]: warning: alias database loop for postmaster
Nov 23 18:58:20 traviselijah postfix/local[2616]: F269E3251F: to=<postmaster@teamslow.com>, orig_to=<root@legionofjeepers.com>, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.4.6, status=bounced (alias database loop for postmaster)
Nov 23 18:58:20 traviselijah postfix/qmgr[2210]: F269E3251F: removed
Nov 23 18:59:02 traviselijah postfix/pickup[2209]: 88C773251E: uid=33 from= <www-data>Nov 23 18:59:02 traviselijah postfix/cleanup[2613]: 88C773251E: message-id=<62636f0a1218d1c8c9a3753e8f18586e@legionofjeepers.com>
Nov 23 18:59:02 traviselijah postfix/qmgr[2210]: 88C773251E: from=<www-data@legionofjeepers.com>, size=1322, nrcpt=1 (queue active)
Nov 23 18:59:02 traviselijah postfix/pickup[2209]: 913513251F: uid=33 from= <www-data>Nov 23 18:59:02 traviselijah postfix/cleanup[2613]: 913513251F: message-id=<7fac219906e4de585e7ffb964e4a3472@legionofjeepers.com>
Nov 23 18:59:02 traviselijah postfix/qmgr[2210]: 913513251F: from=<www-data@legionofjeepers.com>, size=1322, nrcpt=1 (queue active)
Nov 23 18:59:03 traviselijah postfix/smtp[2631]: 913513251F: to=<telijah@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.45.27]:25, delay=0.47, delays=0.03/0.02/0.02/0.4, dsn=2.0.0, status=sent (250 2.0.0 OK 1290556743 b1si3077294anb.128)
Nov 23 18:59:03 traviselijah postfix/qmgr[2210]: 913513251F: removed
Nov 23 18:59:03 traviselijah postfix/smtp[2630]: 88C773251E: to=<telijah@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.45.27]:25, delay=0.72, delays=0.02/0.05/0.26/0.39, dsn=2.0.0, status=sent (250 2.0.0 OK 1290556743 u33si15986275yba.90)
Nov 23 18:59:03 traviselijah postfix/qmgr[2210]: 88C773251E: removed</telijah@gmail.com></telijah@gmail.com></www-data@legionofjeepers.com></www-data></www-data@legionofjeepers.com></www-data></root@legionofjeepers.com></postmaster@teamslow.com></travis@teamslow.com></root@legionofjeepers.com></root>
I tried using Outlook, using mail.teamslow.com as both ingoing/outgoing servers, and using the full email address as the user, and it simply says it cannot connect to the server. I do not know if that is because the "welcome" email has not been delivered, or something else through that whole walk thru didn't go through smoothly. The only things I did differently from the walk thru were the installations of postfix and MySQL because they already existed… were can I start to resolve this? The only other thing I did was add legionofjeepers.com to the postfix config file under 'mydestination… that line read:
mydestination = teamslow.com, legionofjeepers.com, localhost, localhost.localdomain
I have a suspicion the problem is there somewhere… Specifically line 5 and 7. Line 5 mentions
Thanks!
Nov 23 18:58:19 traviselijah postfix/local[2616]: 912AA3251E: to=<
I checked the 'mail' MySQL database, and there is a user named
Shorten your mydestination to look like:
> mydestination = localhost, localhost.localdomain
and try again. (reloading postfix, of course.)
AND /home/vmail/teamslow.com/travis/Maildir finally exists. Gonna test Outlook right now…
Well, as mentioned everything worked up until sending the message using mailx, and I can see the apropriate logs have the email showing OK, but now I cannot get Outlook to access the box. It continually prompts me for the username and password…
However, I was able to read the email using Mutt, and I can see my test mail sent via mailx AND I can see the test email sent by Outlook… maybe I should reset the password for
In the meantime, I still cannot get Outlook to login to the first user I created (
So long story short, I CAN get my email via pop. However, as mentioned in my previous post, this is not very user friendly if I am wanting to allow domain users administrate their own accounts. I imagine I could just set them up with the Gmail access of their domain's email, but if they do not want to use GMail, is there a better solution for email? As I see it right now, they would have to go through me for every email account they wished to have.
Maybe this deserves it's own thread, but I'll ask here first…
I've used Squirrel Mail plenty of times before. With what I have working now, should I be able to simply install it and it would work? Was everything I did normally "needed" in order for Squirrel mail to work anyways, or was all of it a moot point if all I wanted to do was use Squirrel mail?
This is what I use and it works well. You will have to change your database schema around which might be a problem if you're already serving up stuff.
I guess maybe that's just not the done thing, and maybe off topic. But it works well.
Thanks for all the suggestions.