
3rd December 2008, 19:23
|
|
Junior Member
|
|
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|

4th December 2008, 19:28
|
|
Junior Member
|
|
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|

11th December 2008, 12:57
|
|
Member
|
|
Join Date: Nov 2008
Posts: 46
Thanks: 5
Thanked 0 Times in 0 Posts
|
|
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!
|

12th December 2008, 19:16
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
Originally Posted by Rashef
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?
|
Any errors in your mail log?
Quote:
Originally Posted by Rashef
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!
|
Please make sure that your ISP doesn't block port 80.
|

18th December 2008, 15:58
|
|
Member
|
|
Join Date: Nov 2008
Posts: 46
Thanks: 5
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
Any errors in your mail log?
|
After a few days of testing... I get no error, it seems like there's no size limit... 
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
total 27392
drwx------ 2 vmail vmail 4096 2008-12-18 15:49 .
drwx------ 9 vmail vmail 4096 2008-12-18 15:49 ..
-rw------- 1 vmail vmail 1020 2008-12-03 18:17 1228324634.V801I13e03aM33596:2,S
-rw------- 1 vmail vmail 2641 2008-12-03 18:18 1228324683.V801I13e03dM723580:2,RS
-rw------- 1 vmail vmail 3609920 2008-12-04 11:54 1228388085.V801I13e05aM348643:2,S
-rw------- 1 vmail vmail 3608091 2008-12-04 11:57 1228388230.V801I13e03fM851569:2,S
-rw------- 1 vmail vmail 3608091 2008-12-04 12:00 1228388412.V801I13e05eM243803:2,S
-rw------- 1 vmail vmail 3608721 2008-12-04 12:02 1228388552.V801I13e05fM358308:2,S
-rw------- 1 vmail vmail 3609351 2008-12-04 12:07 1228388844.V801I13e060M886163:2,S
-rw------- 1 vmail vmail 3609977 2008-12-04 12:11 1228389113.V801I13e061M263304:2,S
-rw------- 1 vmail vmail 6327459 2008-12-18 15:42 1229611332.V801I13e068M606581:2,S
P.S.: For the other problem, pfSense was not properly configured to allow connection between different subnet.
Last edited by Rashef; 18th December 2008 at 16:08.
|

19th December 2008, 17:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What do you see in the mail log when you send another big mail to that account?
|

19th December 2008, 18:23
|
|
Member
|
|
Join Date: Nov 2008
Posts: 46
Thanks: 5
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
What do you see in the mail log when you send another big mail to that account?
|
I sent a new mail with a 6MB pdf attached.
This is the mail.log:
Code:
Dec 19 18:20:40 node1 postfix/smtpd[14655]: connect from my_external_smtp[my_external_ip]
Dec 19 18:20:40 node1 postfix/smtpd[14655]: 7B0BBEBE11E: client=my_external_smtp[my_external_ip]
Dec 19 18:20:40 node1 postfix/cleanup[14659]: 7B0BBEBE11E: message-id=<C571964A.32CD%sender@domain.it>
When I opened Squirrelmail:
Code:
Dec 19 18:22:44 node1 postfix/qmgr[5220]: 7B0BBEBE11E: from=<sender@domain.it>, size=6293607, nrcpt=1 (queue active)
Dec 19 18:22:44 node1 postfix/smtpd[14655]: disconnect from my_external_smtp[my_external_ip]
Dec 19 18:22:47 node1 postfix/smtpd[14674]: connect from localhost.localdomain[127.0.0.1]
Dec 19 18:22:47 node1 postfix/smtpd[14674]: DECA3EBE1A5: client=localhost.localdomain[127.0.0.1]
Dec 19 18:22:47 node1 postfix/cleanup[14659]: DECA3EBE1A5: message-id=<C571964A.32CD%sender@domain.it>
Dec 19 18:22:47 node1 postfix/qmgr[5220]: DECA3EBE1A5: from=<sender@domain.it>, size=6294080, nrcpt=1 (queue active)
Dec 19 18:22:47 node1 postfix/smtpd[14674]: disconnect from localhost.localdomain[127.0.0.1]
Dec 19 18:22:47 node1 amavis[4578]: (04578-03) Passed CLEAN, [91.80.36.30] [my_external_ip] <sender@domain.it> -> <test@domain.test>, Message-ID: <C571964A.32CD%sender@domain.it>, mail_id: tfUfepO0Tayk, Hits: -, size: 6293607, queued_as: DECA3EBE1A5, 3729 ms
Dec 19 18:22:47 node1 postfix/smtp[14671]: 7B0BBEBE11E: to=<test@domain.test>, relay=127.0.0.1[127.0.0.1]:10024, delay=127, delays=124/0/0/3.7, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=04578-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as DECA3EBE1A5)
Dec 19 18:22:47 node1 postfix/qmgr[5220]: 7B0BBEBE11E: removed
Dec 19 18:22:48 node1 postfix/virtual[14677]: DECA3EBE1A5: to=<test@domain.test>, relay=virtual, delay=1.2, delays=1/0.02/0/0.16, dsn=2.0.0, status=sent (delivered to maildir)
Dec 19 18:22:48 node1 postfix/qmgr[5220]: DECA3EBE1A5: removed
Thank you so much!
Last edited by Rashef; 19th December 2008 at 18:29.
|

20th December 2008, 17:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
Originally Posted by Rashef
I sent a new mail with a 6MB pdf attached.
This is the mail.log:
Code:
Dec 19 18:20:40 node1 postfix/smtpd[14655]: connect from my_external_smtp[my_external_ip]
Dec 19 18:20:40 node1 postfix/smtpd[14655]: 7B0BBEBE11E: client=my_external_smtp[my_external_ip]
Dec 19 18:20:40 node1 postfix/cleanup[14659]: 7B0BBEBE11E: message-id=<C571964A.32CD%sender@domain.it>
|
That's all? Nothing else?
Did you see any errors when you compiled Postfix with the quota patch?
|

20th December 2008, 17:30
|
|
Member
|
|
Join Date: Nov 2008
Posts: 46
Thanks: 5
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
That's all? Nothing else?
Did you see any errors when you compiled Postfix with the quota patch?
|
I only saw:
Code:
dpkg-buildpackage: warning: Failed to sign .dsc and .changes file
|

21st December 2008, 14:28
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04
|
c4rdinal |
HOWTO-Related Questions |
112 |
23rd August 2011 10:49 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04
|
superman |
HOWTO-Related Questions |
3 |
23rd October 2008 09:19 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04
|
Nareau |
HOWTO-Related Questions |
4 |
16th September 2008 03:49 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail Ubuntu 8.04
|
paulodani |
HOWTO-Related Questions |
7 |
4th June 2008 00:46 |
|
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04
|
mtzcesar |
HOWTO-Related Questions |
3 |
1st June 2008 10:57 |
All times are GMT +2. The time now is 05:25.
|
Recent comments
20 hours 13 min ago
1 day 5 hours ago
1 day 6 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 14 hours ago
1 day 16 hours ago
2 days 3 hours ago
2 days 8 hours ago
2 days 9 hours ago