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
  #1  
Old 2nd January 2007, 21:13
agarcia71 agarcia71 is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to agarcia71
Unhappy I have set up a FC5 postfix mail server using the guide "Virtual Users And Domains Wi

I have done every thing from the how-to,

i create this on MySQL db_mail

domain: webmail.miservidor.com
user: agarcia@webmail.miservidor.com

This is the Postfix program at host webmail.miservidor.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<agarcia@webmail.miservidor.com>: unknown user: "agarcia"

thanks in advance, Happy New Year
Reply With Quote
Sponsored Links
  #2  
Old 2nd January 2007, 23:08
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default

Did you create that user wthin ISPConfig for that domain and is the user within the file /etc/postfix/virtusertable ?
__________________
Hans

MrHostman | Managed Hosting
Reply With Quote
  #3  
Old 2nd January 2007, 23:33
agarcia71 agarcia71 is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to agarcia71
Default I guess i miss....

I guess i miss to do something, but the how-to didn't say nothing about to setup a users on that file...

thanks
Reply With Quote
  #4  
Old 2nd January 2007, 23:39
agarcia71 agarcia71 is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to agarcia71
Default

I'm not using ISPconfig
Reply With Quote
  #5  
Old 2nd January 2007, 23:43
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default

If you create a website within ISPConfig and create a mailuser for that site, the user will be created atomaticly within the /etc/postfix/virtusertable.

Sorry, i supposed that you installed ISPConfig as well, but it is not.
How did you create the mailuser then? Is the user within the MySQL database?

Can you send an email to agarcia@miservidor.com in stead of agarcia@webmail.miservidor.com ?
__________________
Hans

MrHostman | Managed Hosting

Last edited by Hans; 2nd January 2007 at 23:46.
Reply With Quote
  #6  
Old 3rd January 2007, 00:28
agarcia71 agarcia71 is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to agarcia71
Unhappy

my server is temorary webmail.miservidor.com, after everything working good, the name have to be miservidor.com

ok, i set with the phpmyadmin next records:

database: db_mail
table: domains 1 record
webmail.miservidor.dom

table: users 1 record
agarcia@webmail.miservidor.com

i did everthing is wrote in the howto, if you need confing files.

/etc/postfix/mysql-virtual_domains.cf
user = admin_mail
password = admin_pass
dbname = db_mail
query = SELECT domain AS virtual FROM domains WHERE domain='%s'
hosts = 127.0.0.1

/etc/postfix/mysql-virtual_mailboxes.cf
user = admin_mail
password = admin_pass
dbname = db_mail
query = SELECT CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/') FROM users WHERE email='%s'
hosts = 127.0.0.1

Thanks in advance

PD: Sorry about my English
Reply With Quote
  #7  
Old 3rd January 2007, 19:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

What's the output of
Code:
postconf -n
and
Code:
hostname -f
?
__________________
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
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 11:07
Upgrade question for "Virtual Users And Domains With Postfix, Courier And MySQL" emresumengen HOWTO-Related Questions 3 1st December 2006 16:33
Virtual Users And Domains With Postfix, Courier And MySQL (mail not relaying) RinoM1 Server Operation 1 12th November 2006 16:31
Postfix on FC5 w/Virtual Domains: Adding last accessed Fields to postfix mysql users Ravenium HOWTO-Related Questions 1 28th October 2006 18:11
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 02:41


All times are GMT +2. The time now is 11:47.


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