#1  
Old 2nd May 2011, 06:49
silver163 silver163 is offline
Junior Member
 
Join Date: May 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default no users in postfix

I created two users test@greensevenstudios.com and postmaster@greensevenstudios.com

but after sending some test emails from my gmail account i get this error:

Code:
This is the mail system at host mail.greensevenstudios.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 mail system

<test@greensevenstudios.com>: unknown user: "test"

Final-Recipient: rfc822; test@greensevenstudios.com
Original-Recipient: rfc822;test@greensevenstudios.com
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "test"
here is my postconf:

Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
message_size_limit = 0
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = greensevenstudios.com, localhost, localhost.localdomain
myhostname = mail.greensevenstudios.com
mynetworks = 127.0.0.0/8 [::1]/128
myorigin = /etc/mailname
nested_header_checks = regexp:/etc/postfix/nested_header_checks
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virt                                                                                                             ual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipien                                                                                                             t_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonica                                                                                                             l_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
readme_directory = /usr/share/doc/postfix
receive_override_options = no_address_mappings
recipient_delimiter = +
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual                                                                                                             _client.cf
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, che                                                                                                             ck_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth                                                                                                             _destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual                                                                                                             _sender.cf
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysq                                                                                                             l:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = maildrop
virtual_uid_maps = static:5000
what's going on here? please help

i used this tutorial to setup:
http://greensevenstudios.com/webmail/src/webmail.php

Last edited by silver163; 2nd May 2011 at 06:51.
Reply With Quote
Sponsored Links
  #2  
Old 2nd May 2011, 10:17
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,415
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

What is in the file /etc/mailname
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd May 2011, 22:26
silver163 silver163 is offline
Junior Member
 
Join Date: May 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

it is my domain

greensevenstudios.com
Reply With Quote
  #4  
Old 3rd May 2011, 16:09
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,415
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

You can not use a domain in /etc/mailname that is used to receive emails in a postfix virtualuser setup. Thats why the perfect setup guide instructs you to use server1.example.com and not example.com.

Please edit /etc/mailname and change:

greensevenstudios.com

to:

server1.greensevenstudios.com

and restart postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd May 2011, 18:17
FutileFreedom FutileFreedom is offline
Junior Member
 
Join Date: May 2011
Location: Pennsylvania
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to FutileFreedom
 
Default

Code:
mydestination = greensevenstudios.com, localhost, localhost.localdomain
Your problem is that line right there.

Remove your domain from there and it will work. I just fixed the problem myself
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
Getting Email Working ISPConfig3 Squirrelmail and Courier etc Ian Wilson Installation/Configuration 17 19th June 2013 22:58
postfix problem jagsler Server Operation 41 7th July 2011 14:19
dovecot: lda: Fatal: Unknown user dpicella Installation/Configuration 1 22nd August 2010 02:59
Problem with Clamav + samba configuration wammy28 HOWTO-Related Questions 8 31st January 2009 19:12
Junk mail and spamassassin... sthompson Installation/Configuration 4 27th December 2006 16:11


All times are GMT +2. The time now is 14:39.


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