This discussion is archived
1886 Views 9 Replies Latest reply: Feb 8, 2008 11:22 AM by HinckleyScott
Currently Being ModeratedDec 10, 2007 2:05 AM (in response to HinckleyScott)I am glad to help, but am not a personal support assistant Let alone over the weekend.
Since you don't show any log entries it's hard to tell. I'd say postfix is still trying to deliver to cyrus instead of the local maildrops you created because of "mailbox_transport = cyrus"Mac OS X (10.5)
Currently Being ModeratedDec 10, 2007 4:20 AM (in response to pterobyte)Fear not, I do not expect a personal support assistant, the plea was to have been light-hearted (thus the Shakespearean English). I just noticed you are amazingly generous with your support and hoped to capture your attention.
I have much to learn on the integration between Server Admin / postfix / cyrus. I just headed out of town but will post logs next week when I return. In the meantime I'll read up more on what the mailbox_transport line does.
Thanks!multiple, Mac OS X (10.5.1)
Currently Being ModeratedDec 10, 2007 4:33 AM (in response to HinckleyScott)Scott,
I assume you want to go through this hassle so that you can manage mail accounts separate from WGM, correct?
If so, you may want to consider installing a Postfix version with MySQL support.
AlexMac OS X (10.5)
Currently Being ModeratedJan 16, 2008 8:55 PM (in response to pterobyte)Wow, over a month since I've had time to tackle this.
Ok, if I'm planning to check these mail accounts via POP or IMAP I need Cyrus as the transport, right? Or would Cyrus be able to pull from the local maildrops?
If it can't, am I pretty much stuck with local accounts (per your manual) to make this work, or do I also have to set up the new accounts somehow in cyrus?
Here is the log from one send attempt
Jan 16 17:11:52 MyServer postfix/cleanup: warning: regexp map /etc/postfix/header_checks, line 430: ignoring unrecognized request
Jan 16 17:11:52 MyServer postfix/pickup: 82216BC81E: uid=501 from=<me>
Jan 16 17:11:52 MyServer postfix/cleanup: 82216BC81E: message-id=<20080117011152.82216BC81E@MyServer.testdomain.com>
Jan 16 17:11:52 MyServer postfix/qmgr: 82216BC81E: from=<user1@MyServer.testdomain.com>, size=355, nrcpt=1 (queue active)
Jan 16 17:11:52 MyServer postfix/lmtp: 82216BC81E: to=<firstname.lastname@example.org>, relay=MyServer.testdomain.com[/var/imap/socket/lmtp], delay=0.53, delays=0.16/0.03/0.27/0.06, dsn=5.1.1, status=bounced (host MyServer.testdomain.com[/var/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))
Jan 16 17:11:53 MyServer postfix/cleanup: F1A87BC822: message-id=<20080117011152.F1A87BC822@MyServer.testdomain.com>
Jan 16 17:11:53 MyServer postfix/qmgr: F1A87BC822: from=, size=2604, nrcpt=1 (queue active)
Jan 16 17:11:53 MyServer postfix/bounce: 82216BC81E: sender non-delivery notification: F1A87BC822
Jan 16 17:11:53 MyServer postfix/qmgr: 82216BC81E: removed
Jan 16 17:11:53 MyServer postfix/pipe: F1A87BC822: to=<user1@MyServer.testdomain.com>, relay=cyrus, delay=0.31, delays=0.05/0.06/0/0.2, dsn=5.6.0, status=bounced (data format error. Command output: scotthinckley: Mailbox does not exist )
Jan 16 17:11:53 TheServer postfix/qmgr: F1A87BC822: removedmultiple, Mac OS X (10.5.1)
Currently Being ModeratedJan 17, 2008 4:28 AM (in response to HinckleyScott)If you set up accounts in WGM there is no need to do anything special in Cyrus.
Accessing mail via POP/IMAP has nothing to do with where your accounts are stored (WGM, textfile, SQL, etc.)
Unless you have a good reason for not wanting to create local accounts, I'd say use WGM. If you can't (maybe because you are hosting hundreds of mail only accounts), consider building a Postfix version that allows for MySQL connectivity.Mac OS X (10.5)
Currently Being ModeratedFeb 8, 2008 10:59 AM (in response to pterobyte)Ok, doing the way I would prefer is more complicated than I want to deal with.
SO... I installed a fresh copy of Tiger Server and grabbed your tutorial.
Only 2 questions left now - when using your tutorial method for virtual domains:
1) For accounts that I want auto-forwarded to an external email do I use the "Forward" option in the "Mail" tab of WGM, or do I use the /etc/postfix/virtual file, or both?
2) How do I set up a "catch-all" account for one of my domains (I.E. any mail not destined for a known user goes to the catch-all account). Do I create the account in WGM and put an "@mydomain.com" in the secondary name, do I put it in the /etc/postfix/virtual file, or both?
Scottmultiple, Mac OS X (10.5.1)
Currently Being ModeratedFeb 8, 2008 11:11 AM (in response to HinckleyScott)1. /etc/postfix/virtual
2. I would avoid catch all addresses. Mail to unknown users is 99% of the time spam. The few legit mails with misspelled addresses should bounce back to the sender so they know.
That said, if you must:
For local domains use "luser_relay" in /etc/postfix/main.cf
For virtual mail domains, add:
to /etc/postfix/virtualMac OS X (10.5)
Currently Being ModeratedFeb 8, 2008 11:22 AM (in response to pterobyte)LOL
I made a decision that, at the time seemed smart, many years ago with one of my domains.
Every vendor I gave an email address to got a unique address "email@example.com" so that I could track who gave away or sold my address and to make filtering rules easier.
Unfortunately with the s**tstorm of spam today that turns out to be a bad decision in retrospect as there are many hundreds of those in use and there is no way I can remember them all or want to create accounts for them.
So, for that one domain, I'm stuck with a catch-all that sees 3k-10k spam emails/day (let's hear it for good bayesian filters).multiple, Mac OS X (10.5.1)