#1  
Old 25th October 2010, 17:21
xtremxpert xtremxpert is offline
Junior Member
 
Join Date: Jun 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default /etc/mailname (dovecot postfix)

Hi,

Following the perfect setup (bind & dovecot) at the end of installation I saw that message

Code:
Stopping amavisd: amavisd-new.
head: cannot open `/etc/mailname' for reading: No such file or directory
Starting amavisd: amavisd-new.
Digging a bit on this site I found that the Multiserver setup on debian had this line

Code:
echo mail.example.tld > /etc/hostname
echo mail.example.tld > /etc/mailname
/etc/init.d/hostname.sh start
Is it mandatory. Do I have to reinstall ISPConfig after addind this line.

Thanks

Last edited by xtremxpert; 25th October 2010 at 17:23. Reason: ispconfig3
Reply With Quote
Sponsored Links
  #2  
Old 25th October 2010, 17:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
Default

You dont have to reinstall ispconfig after setting the mailname, just restart amavisd. Every step in the tutorial is mandatory if you want to get a working setup.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th October 2010, 18:06
xtremxpert xtremxpert is offline
Junior Member
 
Join Date: Jun 2007
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Just to clarify

Code:
echo mail.example.tld > /etc/mailname
Is on :

Installing A Multiserver Setup With Dedicated Web

but not on :

The Perfect Server - Debian Lenny (Debian 5.0) With BIND & Dovecot

nor

The Perfect Server - Debian Lenny (Debian 5.0) With MyDNS & Courier


So is it missing from last two tutorials or is it mandatory only for the multi-server setup

Thanks
Reply With Quote
  #4  
Old 26th October 2010, 09:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
 
Default

/etc/mailname is created by the apt installer automatically when you install postfix, so there is no separate command needed for that as the file gets created automatically on debian.
__________________
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
dovecot: lda: Fatal: Unknown user dpicella Installation/Configuration 1 22nd August 2010 02:59
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
Postfix can't received email from exterior astra2000 Server Operation 5 17th October 2009 23:26
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


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


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