Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th August 2007, 21:50
higene higene is offline
Junior Member
 
Join Date: Aug 2007
Posts: 6
Thanks: 3
Thanked 1 Time in 1 Post
Default Postfix configuration issue with Debian Etch

I thought I'd be clever and rebuild my mail server(formerly Debian Sarge) and install Debian Etch(using the Perfect guide). The server is chugging along happily, but postfix is not allowing email in to my users. I set up Maildirs and can receive local email, but outside emails to my users@mydomain.com are blocked. The message is relay access denied. I should know how to fix this, but several hours of lurking through the forum archive later, I must admit that I could use some expert advice. Sending email from my pop3 client is working properly.

Here is my postconf -n output:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
mydestination = brat01.brat.com, localhost.brat.com, localhost.localdomain, localhost
myhostname = brat01.brat.com
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom


Thank you in advance. Your forum is invaluable to the community.
Reply With Quote
Sponsored Links
  #2  
Old 6th August 2007, 16:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I don't see any virtual_maps directive in your Postfix configuration...

Do you use ISPConfig?
__________________
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 6th August 2007, 18:23
higene higene is offline
Junior Member
 
Join Date: Aug 2007
Posts: 6
Thanks: 3
Thanked 1 Time in 1 Post
Default

I am not using ISPconfig. I had set it up under Sarge, but with a single domain to administer, I thought it was more than I needed.

I find that if I add mydomain.com to my mydestination directive, then everything works. Is setting a virtual_maps directive a better technique?

Thanks for the feedback.
Reply With Quote
  #4  
Old 7th August 2007, 19:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by higene
I find that if I add mydomain.com to my mydestination directive, then everything works. Is setting a virtual_maps directive a better technique?
Take a look here to find out how to create email accounts from the command line: 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
The Following User Says Thank You to falko For This Useful Post:
higene (7th August 2007)
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
Debian Etch Postfix Sasl2 issues switchtower HOWTO-Related Questions 15 27th May 2007 20:05
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 07:41.


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