Hi Sahil, I am looking in to how to create the duplicate passwd file entries, I am assuming I cannot just edit the file without corrupting it. Below is my main.cf and aliases file. Also, should I post my replies to emails at the top or the bottom? (a few years ago some people got really mad at me, but now I can't remember which was correct)
I noticed the main.cf referred to /etc/aliases while I had edited /etc/postfix/aliases, so I also put my JIM123 entry in to /etc/aliases and ran "sudo newaliases", but still isn't working. Should I be using /etc/aliases instead of /etc/postfix/aliases? A few hours ago I got "The Book of Postfix" from No Starch Press, and they said /etc/postfix/aliases (but I suspect that is wrong). theu...@vcorpmail:~$ cat /etc/postfix/main.cf alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix home_mailbox = Maildir/ inet_interfaces = all inet_protocols = ipv4 mailbox_size_limit = 40960000 message_size_limit = 10240000 mime_header_checks = regexp:/etc/postfix/mime_header_checks.regexp mydestination = corpremote.local, localhost myhostname = vcorpmail.corpremote.local mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relayhost = 192.168.1.16 smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) smtpd_recipient_restrictions = check_sender_access regexp:/etc/postfix/check_sender_access.regexp, check_recipient_access regexp:/etc/postfix/check_recipient_access.regexp, check_relay_domains, reject_unauth_destination 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 theu...@vcorpmail:~$ cat /etc/postfix/aliases jim123: JIM123 theu...@vcorpmail:~$ On Mon, Dec 29, 2008 at 4:32 PM, Sahil Tandon <sa...@tandon.net> wrote: > Xn Nooby wrote: > >> >> Probably the easiest solution would be to write a script to create >> >> aliases in lower case. >> >> >> >> -Bryan >> > >> > No, that won't fix the problem. >> > >> > The best solution is to not use upper-case usernames. >> > >> > If that's not possible, the other solutions are: >> > a) patch postfix local delivery agent to not force lowercase during >> > delivery. >> > b) use something other than the postfix local delivery agent. Maybe >> > maildrop or procmail... >> >> I created an /etc/postfix/aliases file containing: >> jim123: JIM123 >> >> Then I ran "newaliases", but it did not seem to work. > > Is /etc/postfix/aliases appropriately defined in your main.cf? Please > show the output of 'postconf -n' and read: > http://www.postfix.org/DEBUG_README.html#mail > > -- > Sahil Tandon <sa...@tandon.net> >