Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd April 2008, 15:46
dpapak dpapak is offline
Junior Member
 
Join Date: Apr 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix problem with new users

Hi,

I am having a problem adding new users in a debian system running Postfix 2.1.5 and Courier-imap. I use adduser to add new users to the system. Email for the new users works fine locally. I connect succesfully to the server for the new accounts using thunderbird/IMAP.
The problem is that the new accounts cannot receive external mail. When i send a message to these accounts, i get:

----- The following addresses had permanent fatal errors ----- <newuser@mydomain.org>
(reason: 550 <newuser@mydomain.org>: Recipient address rejected: User unknown in virtual alias table)

----- Transcript of session follows ----- ... while talking to mx1.balanced.spunky.mail.dreamhost.com.:
>>> DATA
<<< 550 <newuser@mydomain.org>: Recipient address rejected: User unknown in virtual alias table 550 5.1.1 <newuser@mydomain.org>... User unknown <<< 554 Error: no valid recipients

my etc/postfix/main.cf file is:

# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
myhostname = mydomain.org
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mydomain.org mydomain.loc localhost.localdomain, localhost.localdomain, localhost, static.myprovider.gr
mynetworks = list of my networks
mailbox_command = procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
#smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks
#smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
content_filter = amavis:[127.0.0.1]:10024
Receive_override_options = no_address_mappings

Can anyone help me begin troubleshooting?
Reply With Quote
Sponsored Links
  #2  
Old 23rd April 2008, 13:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

What guide did you use to set up the system?
What's the output of
Code:
ls -la /etc/postfix
?
__________________
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
  #3  
Old 23rd April 2008, 15:26
dpapak dpapak is offline
Junior Member
 
Join Date: Apr 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Falko,

Thanks for your response.

I did not use any guide. The system is already installed and i must support it from now on.

The content of /ect/postfix is:

drwxr-xr-x 3 root root 4096 2008-04-23 10:06 .
drwxr-xr-x 84 root root 4096 2008-04-23 15:32 ..
-rw-r--r-- 1 root root 385 2006-08-01 12:01 dynamicmaps.cf
-rw-r--r-- 1 root root 1421 2006-12-12 13:37 main.cf
-rw-r--r-- 1 root root 7125 2006-08-09 12:19 master.cf
-rw-r--r-- 1 root root 16114 2005-03-01 03:05 postfix-files
-rwxr-xr-x 1 root root 5800 2005-03-01 03:05 postfix-script
-rwxr-xr-x 1 root root 21207 2005-03-01 03:05 post-install
drwxr-xr-x 2 root root 4096 2008-04-22 12:00 sasl
-rw-r--r-- 1 root root 1663 2006-08-01 12:05 smtpd.cert
-rw-r----- 1 root postfix 1679 2006-08-01 12:05 smtpd.key

Any ideas?
Reply With Quote
  #4  
Old 24th April 2008, 16:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
 
Default

So I guess you haven't set up any email accounts yet? Take a look here: http://www.howtoforge.com/forums/showthread.php?t=2
__________________
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
Postfix Problem tardomatic Server Operation 2 12th December 2007 13:59
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 15:35
PostFix problem! SevenSniff General 2 14th October 2006 14:44
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs k1piee HOWTO-Related Questions 14 1st October 2006 13:46


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


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