Hello,
I am setting up a local MX to deliver mail only locally but I'd like the mail to look appropriate and act as if it were real mail. I have the machine set up with a local domain name: thebox.cmu. Again, I only want to send and receive mail from local users to local users but using the domain name e.g.
localuser@thebox.cmu
I was able to receive previous test emails initially but after there were retrieved I haven't been able to send any further messages to myself.
Any ideas would be appreciated.
I've included output from both postconf -n and dovecot -n below.
Output
-------
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
default_transport = error
home_mailbox = Maildir
mailbox_command =
mailbox_size_limit = 0
mydestination = $myhostname localhost.$mydomain localhost
myhostname = thebox.cmu
mynetworks = host
myorigin = $myhostname
notify_classes = resource, software, bounce, 2bounce
readme_directory = no
recipient_delimiter = +
relay_domains = 127.0.0.0/8 [::1]/128
relay_transport = error
relayhost = host
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
dovecot -n
# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-37-generic x86_64 Ubuntu 12.04.2 LTS
auth_debug = yes
auth_debug_passwords = yes
auth_verbose = yes
auth_verbose_passwords = plain
mail_debug = yes
mail_location = maildir:~/Maildir
mail_plugins = acl quota
namespace {
hidden = no
inbox = yes
location =
prefix =
separator = /
type = private
}
passdb {
driver = shadow
}
protocols = imap pop3
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
process_min_avail = 0
service_count = 1
vsz_limit = 64 M
}
service lmtp {
unix_listener lmtp {
mode = 0666
}
}
service pop3-login {
inet_listener pop3 {
port = 110
}
inet_listener pop3s {
port = 995
ssl = yes
}
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}
verbose_ssl = yes
protocol imap {
imap_capability =
imap_client_workarounds =
imap_id_log =
imap_id_send =
imap_idle_notify_interval = 2 mins
imap_logout_format = bytes=%i/%o
imap_max_line_length = 64 k
mail_max_userip_connections = 10
mail_plugins = acl quota
}
protocol pop3 {
mail_max_userip_connections = 10
mail_plugins = acl quota
pop3_client_workarounds =
pop3_enable_last = no
pop3_fast_size_lookups = no
pop3_lock_session = no
pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
pop3_no_flag_updates = no
pop3_reuse_xuidl = no
pop3_save_uidl = no
pop3_uidl_format = %08Xu%08Xv
}
ERROR MESSAGES:
..................
tail /var/log/syslog
Feb 5 19:34:06 vigilant postfix/qmgr[12997]: 73574E1B71: from=<double-bounce@thebox.cmu>, size=2218, nrcpt=1 (queue active)
Feb 5 19:34:06 vigilant postfix/local[13207]: 721DAE1B4E: to=<localuser@thebox.cmu>, relay=local, delay=0.01, delays=0/0/0/0, dsn=5.2.0, status=bounced (cannot update mailbox /home/localuser/Maildir for user localuser. cannot open file: Is a directory)
Feb 5 19:34:06 thebox postfix/cleanup[13203]: 74861E1B2C: message-id=<20130206003406.74861E1B2C@thebox.cmu>
Feb 5 19:34:06 thebox postfix/local[13204]: 73574E1B71: to=<root@thebox.cmu>, orig_to=<postmaster>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Feb 5 19:34:06 thebox postfix/qmgr[12997]: 73574E1B71: removed
Feb 5 19:34:06 thebox postfix/bounce[13206]: 721DAE1B4E: postmaster non-delivery notification: 74861E1B2C
Feb 5 19:34:06 thebox postfix/qmgr[12997]: 721DAE1B4E: removed
Feb 5 19:34:06 thebox postfix/qmgr[12997]: 74861E1B2C: from=<double-bounce@vigilant.cert.cmu>, size=4228, nrcpt=1 (queue active)
Feb 5 19:34:06 thebox postfix/local[13207]: 74861E1B2C: to=<root@thebox.cmu>, orig_to=<postmaster>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Feb 5 19:34:06 thebox postfix/qmgr[12997]: 74861E1B2C: removed