#1  
Old 6th April 2006, 19:29
madlew madlew is offline
Junior Member
 
Join Date: Mar 2006
Location: Kent, UK
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Question Postfix Catch all problem

I have configured ispconfig onto a "perfect debian setup" and I've had a few problems with postfix. I am now able to send mail but ALL mail that comes into the server seems to go into one account
I have 3 domians and all email goes to the catch all account for one of the domain.
What have I done wrong? What logs/files do you want to see?

Tanks
__________________
The only thing I know about Linux is that I can spell it
Reply With Quote
Sponsored Links
  #2  
Old 6th April 2006, 19:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

Please have a look here:

http://www.howtoforge.com/faq/index....=33&artlang=en
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th April 2006, 22:50
madlew madlew is offline
Junior Member
 
Join Date: Mar 2006
Location: Kent, UK
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your quick reply Till but sorry to sound stupid, I didnt understand it.
I dont have any refference to $mydomain in the main.cf file. Should there be ?

Here is what it looks like:
Code:
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = /etc/postfix/local-host-names
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipients_restrictions = permit_sasl_authenticated,permit_mynetwork,reject_unauth_destination
smtpd_tls_auth_only = no
smtpd_use_tls = yes
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_CA_file = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
Thanks for looking
__________________
The only thing I know about Linux is that I can spell it
Reply With Quote
  #4  
Old 6th April 2006, 22:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
telnet localhost 25
?
__________________
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
  #5  
Old 6th April 2006, 23:07
madlew madlew is offline
Junior Member
 
Join Date: Mar 2006
Location: Kent, UK
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
control:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 control.siando-computers.com ESMTP Postfix (Debian/GNU)
Thats the real domain too if you want to try it. Also madlew.co.uk points to this server.

P.S dont you guys sleep
__________________
The only thing I know about Linux is that I can spell it
Reply With Quote
  #6  
Old 7th April 2006, 12:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

So you're using siando-computers.com for a web site on the same server, and that web site also has the catch-all account that receives all emails?
That's what http://www.howtoforge.com/faq/index....=33&artlang=en is about. You should set myhostname (in /etc/postfix/main.cf) to another (unused) domain that also points to your server. It's a good idea to get yourself a technical domain that you don't use for web sites, emails, etc.
__________________
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
  #7  
Old 7th April 2006, 23:53
madlew madlew is offline
Junior Member
 
Join Date: Mar 2006
Location: Kent, UK
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh ok, so if I remove the site siando-computers.com from ISPConfig it will all be ok? Then I can us it as the "techincal domain" ?
__________________
The only thing I know about Linux is that I can spell it
Reply With Quote
  #8  
Old 8th April 2006, 01:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

If you don't need siando-computers.com for a web site and email addresses, you can do it like that.
__________________
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
  #9  
Old 8th April 2006, 11:55
madlew madlew is offline
Junior Member
 
Join Date: Mar 2006
Location: Kent, UK
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

but if I do want to use siando-computers.com could I just change the machine hostname/domain ?
__________________
The only thing I know about Linux is that I can spell it
Reply With Quote
  #10  
Old 8th April 2006, 12:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
 
Default

Quote:
Originally Posted by madlew
but if I do want to use siando-computers.com could I just change the machine hostname/domain ?
yes, thats correct.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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 - MySQL connection problem epo Installation/Configuration 7 4th August 2006 20:49
postfix auth problem (sasl) lerra Installation/Configuration 40 10th May 2006 23:36
problem: cannot retrieve mail from postfix cliang Server Operation 4 16th March 2006 23:38
postfix problem flourishing General 1 7th December 2005 17:39
Postfix Problem m u r Installation/Configuration 0 8th August 2005 19:12


All times are GMT +2. The time now is 20:49.


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