[nflug] Postfix-MySQL/Amavisd-New/Ubuntu Feisty

Carver, Blake Blake.Carver at nypa.gov
Wed Sep 19 08:38:41 EDT 2007


I'd guess that $myhostname is the one defined in main.cf

Could the "chdir Maildir failed" error be permissions based?

> -----Original Message-----
> From: nflug-bounces at nflug.org 
> [mailto:nflug-bounces at nflug.org] On Behalf Of Wolfe, Robert
> Sent: Wednesday, September 19, 2007 4:23 AM
> To: nflug at nflug.org
> Subject: [nflug] Postfix-MySQL/Amavisd-New/Ubuntu Feisty
> 
> Hi all, and good morning!
> 
> Trying to set up the combination mentioned in the subject 
> line.  However, when I go to start amavisd, I get the following:
> 
> root at userver7:/var/spool/mail# amavisd-new
> hostname: Unknown host
>   The value of variable $myhostname is "", but should have been
>   a fully qualified domain name; perhaps uname(3) did not 
> provide such.
>   You must explicitly assign a FQDN of this host to variable 
> $myhostname
>   in amavisd.conf, or fix what uname(3) provides as a host's 
> network name!
> root at userver7:/var/spool/mail#
> 
> Where is amavisd-new pulling the $myhostname value from?  I 
> have tried setting it up in as many places as I have been 
> told to (via various pieces of documentation), however I am 
> still getting this error.
> 
> Another question I have is about the Courier POP3 daemon.  
> When I go to telnet to the pop3 server and log in, I get the 
> following:
> 
> root at userver7:/var/spool/mail# telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> +OK Hello there.
> USER root
> +OK Password required.
> PASS ********
> -ERR chdir Maildir failed
> Connection closed by foreign host.
> 
> My question is simple:  Where should the maildir files be 
> located on the server?
> 
> TIA for any assistance anyone can provide!
> 
> -- 
> Wolfe, Robert <rwolfe at shatterit.com>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
> 
> 



More information about the nflug mailing list