Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #81  
Old 6th February 2009, 16:50
klangen klangen is offline
Junior Member
 
Join Date: Jan 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Any errors in your mail log?
Nope it just says delivered to maildir. It seems it simply ignores my forwardrule.
Reply With Quote
Sponsored Links
  #82  
Old 7th February 2009, 16:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Is example.com listed in other tables as well?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #83  
Old 9th February 2009, 11:31
ishtanzar ishtanzar is offline
Junior Member
 
Join Date: Feb 2009
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Question

Hello everyone,

I just used the tutorial to successfully install a mail server on my ubuntu system. I just wonder if it's possible to use postfix/courier/squirrel for both virtual domains/users and system users ?

I've got a system user named ishtanzar and when I send an email to ishtanzar@localhost, the mail is correctly sent but stored in /var/mail/ishtanzar and I cannot login to Squirrel as it uses the users mysql table.

I hope you can help me.

Thanks a lot.

Regards,

Ishtanzar
Reply With Quote
  #84  
Old 10th February 2009, 12:10
ishtanzar ishtanzar is offline
Junior Member
 
Join Date: Feb 2009
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Default

I found the answer by myself, it was quite easy in fact.

Check for these lines in /etc/postfix/main.cf (add them if they do not already exists) :
Code:
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
home_mailbox = Maildir/
And check this line from the /etc/courier/authdaemonrc :

Code:
authmodulelist="authmysql authpam"
And it works great !
Reply With Quote
The Following User Says Thank You to ishtanzar For This Useful Post:
falko (10th February 2009)
  #85  
Old 18th February 2009, 23:28
sippy sippy is offline
Junior Member
 
Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rule3 View Post
I got everytihng to work..

Issue was simple:

Just forget the 127.0.0.1 host and use yourserver.domain.tld for MySQL and make MySQL user with that host

Plese be sure you can not use emails like test@yourserver.domain.tld use emails like test@domain.tld
Wathever other... is confed to your sever at some DNS.. in fact you can not use emails with that address which is your SMTP/POP/IMAP host.. so use some other domain.
Hi, I've got exactly the same problem as you - my mailserver was working fine for two months straight, then for some reason it went dead. I have tried everything but I'm no closer to finding a solution. I've included a sample of the mail logs below.

Please help!

Feb 17 04:20:44 sib postfix/trivial-rewrite[5820]: fatal: proxy:mysql:/etc/postfix/mysql-domains.cf(0,lock|fold_fix): table lookup problem
Feb 17 04:20:44 sib postfix/trivial-rewrite[5821]: fatal: proxy:mysql:/etc/postfix/mysql-domains.cf(0,lock|fold_fix): table lookup problem
Feb 17 04:20:44 sib postfix/trivial-rewrite[5822]: fatal: proxy:mysql:/etc/postfix/mysql-domains.cf(0,lock|fold_fix): table lookup problem
Feb 17 04:20:44 sib postfix/trivial-rewrite[5823]: fatal: proxy:mysql:/etc/postfix/mysql-domains.cf(0,lock|fold_fix): table lookup problem
Feb 17 04:20:44 sib postfix/trivial-rewrite[5824]: fatal: proxy:mysql:/etc/postfix/mysql-domains.cf(0,lock|fold_fix): table lookup problem
Feb 17 04:20:45 sib postfix/smtpd[32225]: warning: problem talking to service rewrite: Success
Feb 17 04:20:45 sib postfix/master[30314]: warning: process /usr/lib/postfix/trivial-rewrite pid 5820 exit status 1
Feb 17 04:20:45 sib postfix/master[30314]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Feb 17 04:20:45 sib postfix/smtpd[32220]: warning: problem talking to service rewrite: Success
Feb 17 04:20:45 sib postfix/master[30314]: warning: process /usr/lib/postfix/trivial-rewrite pid 5821 exit status 1
Feb 17 04:20:45 sib postfix/smtpd[32222]: warning: problem talking to service rewrite: Success
Feb 17 04:20:45 sib postfix/master[30314]: warning: process /usr/lib/postfix/trivial-rewrite pid 5822 exit status 1
Feb 17 04:20:45 sib postfix/master[30314]: warning: process /usr/lib/postfix/trivial-rewrite pid 5823 exit status 1
Feb 17 04:20:45 sib postfix/smtpd[32223]: warning: problem talking to service rewrite: Success
Feb 17 04:20:45 sib postfix/smtpd[32224]: warning: problem talking to service rewrite: Success
Feb 17 04:20:45 sib postfix/master[30314]: warning: process /usr/lib/postfix/trivial-rewrite pid 5824 exit status 1
Reply With Quote
  #86  
Old 19th February 2009, 18:55
alte94 alte94 is offline
Junior Member
 
Join Date: Feb 2009
Location: Paris - France
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix sasl problem

Hello,

Great post but after reading tons of posts for 5 days, I'm stuck with postfix (and maybe mysql) authentication. Everything goes fine with courier.

If someone can tell me what happens ...

root@c6po:/srv# testsaslauthd -u root -p
0: OK "Success."
root@c6po:/srv# testsaslauthd -u test -p
0: NO "authentication failed"

Just tell me which config file you need and'll post it.

TIA
Reply With Quote
  #87  
Old 19th February 2009, 20:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Can you both open a new thread? Otherwise it'll become too confusing here...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #88  
Old 19th February 2009, 21:36
sippy sippy is offline
Junior Member
 
Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No need - I know what the problem was and have solved it.

Thanks.
Reply With Quote
  #89  
Old 20th February 2009, 15:07
klangen klangen is offline
Junior Member
 
Join Date: Jan 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just noticed that courier-imap-ssl and pop3-ssl doesn't seem to be configured in the howto? What's the point in downloading the packages?
Reply With Quote
  #90  
Old 20th February 2009, 18:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by klangen View Post
I just noticed that courier-imap-ssl and pop3-ssl doesn't seem to be configured in the howto? What's the point in downloading the packages?
What configuration? They work out of the box.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04) canardwc HOWTO-Related Questions 12 29th May 2008 18:29
Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10) ShadyB HOWTO-Related Questions 1 1st April 2008 18:00
Virtual Users And Domains W/ Postfix, Courier and MySql + Squirrelmail prob nsurge HOWTO-Related Questions 10 23rd October 2006 17:43
Virtual Users And Domains W/ Postfix, Courier and MySql + Squirrelmail prob kwinnuxbie HOWTO-Related Questions 7 22nd October 2006 19:26
Autoreply problem using Virtual Users And Domains With Postfix, Courier And MySQL triak HOWTO-Related Questions 1 19th May 2006 15:25


All times are GMT +2. The time now is 17:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.