#1  
Old 29th May 2007, 22:35
djkoelkast djkoelkast is offline
Member
 
Join Date: Sep 2006
Posts: 63
Thanks: 1
Thanked 1 Time in 1 Post
Default Need help quickly on mail!

Hi,

I tried to update ISPConfig but it went wrong, ISPConfig is gone, my website:81 doesn't work anymore and the httpd.conf was blank, so I fixed it with the backup but now I'm looking for the file where all mailusers are in (like httpd.conf but for mail)

I run Debian 3.1, I'll reinstall ISPConfig and Debian soon (I'll install a second processor and a new network device which is not recognised under 3.1 too so reinstalling everything is the best in this case)

But where to find this mailfile so I can restore this file until I'm ready to reinstall. Thanks!

ps: I used the perfect setup for debian 3.1 / ispconfig from howtoforge to install in the first place.

Last edited by djkoelkast; 29th May 2007 at 22:39.
Reply With Quote
Sponsored Links
  #2  
Old 29th May 2007, 22:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,763
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

A ISPConfig update does not alter the mail system at all, only the directories /root/ispconfig/, /home/admispconfig/ and the ISPConfig database are altered.

The mail configuration is in the /etc/postfix/ directory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 30th May 2007, 10:32
djkoelkast djkoelkast is offline
Member
 
Join Date: Sep 2006
Posts: 63
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
A ISPConfig update does not alter the mail system at all, only the directories /root/ispconfig/, /home/admispconfig/ and the ISPConfig database are altered.

The mail configuration is in the /etc/postfix/ directory.
I restored the files local-host-names and virtusertable but still getting errors, when I send a mail to one of the mail addresses I get a bounce message:

Recipient address rejected: User unknown in local recipient table
Reply With Quote
  #4  
Old 30th May 2007, 11:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,763
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Please post the content of your main.cf file, contents stripped.

Are you sure that you updated only ISPConfig and no other package from your linux distribution?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 30th May 2007, 11:22
djkoelkast djkoelkast is offline
Member
 
Join Date: Sep 2006
Posts: 63
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
Please post the content of your main.cf file, contents stripped.

Are you sure that you updated only ISPConfig and no other package from your linux distribution?
main.cf is still the same as it should be according to the perfect setup, but also I cannot reach https://www.myserver.com:81 anymore, I guess ISPConfig managed to reinstall itself instead of just updating because everything was empty, I recovered the database and virtualhosts, apache2.conf/httpd.conf files and so on and the websites work now, the rest doesn't

Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

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

myhostname = server.***.nl
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = server.***.nl, localhost.***.nl, localhost
relayhost = 
mynetworks = 127.0.0.0/8
mailbox_command = 
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain = 
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_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_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
home_mailbox = Maildir/
Reply With Quote
  #6  
Old 30th May 2007, 14:33
djkoelkast djkoelkast is offline
Member
 
Join Date: Sep 2006
Posts: 63
Thanks: 1
Thanked 1 Time in 1 Post
Default

Tried everything I could but still all mails gets bounced, as this is a live server I really need to solve this quickly, any more hints? Or maybe install a mailserver thing for the time being?
Reply With Quote
  #7  
Old 30th May 2007, 14:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,763
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

- Are the domains that where bounced listed in /etc/postfix/local-host-names ?
- Are the email addresses listed in /etc/postfix/virtusertable ?
- If you edited /etc/postfix/virtusertable manually, did you run:

postmap /etc/postfix/virtusertable

afterwards?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 30th May 2007, 14:44
djkoelkast djkoelkast is offline
Member
 
Join Date: Sep 2006
Posts: 63
Thanks: 1
Thanked 1 Time in 1 Post
 
Default

Quote:
Originally Posted by till
- Are the domains that where bounced listed in /etc/postfix/local-host-names ?
- Are the email addresses listed in /etc/postfix/virtusertable ?
- If you edited /etc/postfix/virtusertable manually, did you run:

postmap /etc/postfix/virtusertable

afterwards?
actually these files were empty so I recovered them from the backup

postmap did the trick, you are so great, thanks a thousand times!
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 & mail forwarding loop varnik Server Operation 21 9th December 2008 15:13
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
postfix-tls sasl2 mysql courier-authmysql gabrix Server Operation 4 12th January 2007 22:09
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


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


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