![]() |
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10)
I hope this thread doesn't exist already.
I just followed the tutorial and some hours of googling later I am even able to login to squirrelmail and send mails. Unfortunately I cannot receive mails :( I created an account at dyndns.com (say: myacc.webhop.net) and pointed it to my machines IP address. This obviously does work since I can access squirrelmail via myacc.webhop.net/squirrelmail When I try to send a mail to user@myacc.webhop.net the mail does not show up in squirrelmail. Any suggestions? Many thanks in advance! |
Okay dudes, problem solved :)
I opened port 25 in my router. After doing this mails sent to user@myacc.webhop.net got boounced back. I found the following error in my mail.log: Dec 4 18:32:00 blabla postfix/trivial-rewrite[6816]: warning: do not list domain myacc.webhop.net in BOTH mydestination and virtual_mailbox_domains To solve this problem I did the following: postconf -e 'mydestination = localhost, localhost.localdomain' Now I am able to send and retreive mail on my own mailserver... whooohooo! |
I prefer not to open a new thread related to the same how-to...
During my test I found out two troubles. The first one is quota related: I set up a 10485760 default quota as described into the how-to, and all the testing users have got this quota. But I'm receiving lots of attachments that increase my inbox up to 18045000 and over... What to check? The second problem is Apache related. I didn't change anything of the original preferences but the ones asked in the how-to. I'm able to connect to Squirrelmail within the same subnet of the Ubuntu machine (192.168.10.x). I'm able to connect to Squirrelmail even from 192.168.1.x (the Ubuntu machine is into a DMZ). But I can connect neither to Squirrelmail nor Apache homepage from outside... even if I can reach all the other services (SMTP, POP3, IMAP4). Thanks in advance! |
Quote:
Quote:
|
Quote:
I checked /etc/postfix/mysql-virtual_mailbox_limit_maps.cf and I see no error. The quota set in the SQL table is 10485760. This is the mailbox: Code:
root@node1:/home/vmail/domain.test/rashef/cur# ls -la |
What do you see in the mail log when you send another big mail to that account?
|
Quote:
This is the mail.log: Code:
Dec 19 18:20:40 node1 postfix/smtpd[14655]: connect from my_external_smtp[my_external_ip]Code:
Dec 19 18:22:44 node1 postfix/qmgr[5220]: 7B0BBEBE11E: from=<sender@domain.it>, size=6293607, nrcpt=1 (queue active) |
Quote:
Did you see any errors when you compiled Postfix with the quota patch? |
Quote:
Code:
dpkg-buildpackage: warning: Failed to sign .dsc and .changes file |
I'd try to rebuild the Postfix package again. Maybe something went wrong the first time.
Make sure that the quota patch applies without errors. |
| All times are GMT +2. The time now is 00:49. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.