Removed Citadel and installed Postfix, Postfix acting funny??
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
main.cf file looks ok
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = gx110.optiplex-networks.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = gx110.optiplex-networks.com, localhost.optiplex-networks.com, localhost
relayhost =
mynetworks = 192.168.1.0/24 127.0.0.1
#mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
home_mailbox = Maildir/
#content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
#inet_protocols = all
inet_protocols = all
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
I found a package in my /usr/sbin called sensible-mda, I have no idea what it is or how it got there but I don't have it on my other machine so I removed and am gona see what the result of that is; if it was effecting Postfix in someway
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
Tried postmap /etc/aliases and result was same on both machines, so I'm guessing it doesn't have any significance.
Code:
postmap: warning: /etc/aliases, line 2: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 3: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 4: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 5: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 6: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 7: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 8: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 9: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 10: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 11: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 12: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 13: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 14: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 15: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 16: record is in "key: value" format; is this an alias file?
postmap: warning: /etc/aliases, line 17: record is in "key: value" format; is this an alias file?
I am just trying to compare commands between healthy and unhealthy system so that if any difference is detected I can look as to why!
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
Quote:
because sendmail is installed by default in CentOS
It's the same for Debian I think you know from your Debian box. However something seems to be very wrong somewhere!
I tried using the command:
Code:
postalias /etc/aliases
and it did something, however the system still doesn't work. Maybe it's as Mr C. suggested that the sendmail is mangled??
But how to fix it since apt-get install sendmail installs the MTA and that's not what we want, maybe is it sendmail-cf?? As there is a package like that?
I believe postfix installs a "sendmail" binary because many packages expect one there by default. Don't confuse this with the full sendmail MTA. You don't want to install that.
The mail command is a case in point - it uses sendmail. Postfix simply foils it into thinking it's using the original sendmail package when in fact it isn't.
You will note there is a new /etc/aliases.db file now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.