Results 1 to 2 of 2
Hi folks,
Ubuntu 7.04 server amd64
Postfix 2.3.8
This is a newly built server. I can't locate the Maildir after sending mail.
Steps performed as follows;
$ hostname
Code:
ubuntu
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-29-2007 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Where is Maildir
Hi folks,
Ubuntu 7.04 server amd64
Postfix 2.3.8
This is a newly built server. I can't locate the Maildir after sending mail.
Steps performed as follows;
$ hostname$ hostname -fCode:ubuntu
$ cat /etc/postfix/main.cf | grep mailbox_commandCode:ubuntu.mydomain.com
$ cat /etc/postfix/main.cf | grep home_mailboxCode:mailbox_command =
$ cat /etc/postfix/main.cf | grep mydestinationCode:home_mailbox = Maildir/
$ cat /etc/postfix/main.cf | grep inet_interfacesCode:mydestination = ubuntu.mydomain.com, localhost.mydomain.com, localhost.localdomain, localhost
$ cat /etc/postfix/main.cf | grep inet_protocolsCode:inet_interfaces = all
$ cat /etc/postfix/main.cf | grep mynetworksCode:inet_protocols = all
Code:mynetworks = 127.0.0.0/8, 192.168.1.0/24" smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
ping both ubuntu.mydomain.com/mydomain.com works.
On browser type both ubuntu.mydomain.com/mydomain.com displaying Apache2 default page.
$ telnet mail.mydomain.com 25Code:Trying 64.202.165.92... telnet: Unable to connect to remote host: Connection timed out
$ telnet ubuntu.mydomain.com 25Code:Trying 127.0.1.1... Connected to ubuntu.mydomain.com. Escape character is '^]'. 220 ubuntu.mydomain.com ESMTP Postfix (Ubuntu) ehlo mydomain.com 250-ubuntu.mydomain.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN mail from: root@mydomain.com 250 2.1.0 Ok rcpt to: fmaster@mydomain.com 250 2.1.5 Ok data 354 End data with <CR><LF>.<CR><LF> Subject: My first mail for my domain Hi Are you there? Admin . 250 2.0.0 Ok: queued as 85354DF0168 quit 221 2.0.0 Bye Connection closed by foreign host.
$ su - fmaster
Password:
fmaster@ubuntu:~$ ls -alWhere is the Maildir ???Code:total 24 drwxr-xr-x 2 fmaster fmaster 4096 2007-10-28 20:16 . drwxr-xr-x 5 root root 4096 2007-10-28 09:57 .. -rw------- 1 fmaster fmaster 112 2007-10-29 01:40 .bash_history -rw-r--r-- 1 fmaster fmaster 220 2007-10-28 09:57 .bash_logout
Do I need changing hostname as "mydomain.com"? If YES, please advice;
1) Apart from /etc/hosts and /etc/postifx/main.cf what other files I have to change as well ?
2) After changes made what command shall I run to activate the changes rather than rebooting the server ?
TIA
B.R.
satimis
- 10-29-2007 #2


Reply With Quote
