I have built postfix-3.8.1 from source and want to use it only on the local system. That is, I really only want it to receive messages from applications like sudo, cron, or some simple scripts using mailx and post it to the local user's mailbox.

My problem is that postfix keeps rejecting the messages.  For instance:

bdubbs@pippin120$ mail -s test root
smtp-server: 530 5.7.0 Must issue a STARTTLS command first
"/home/bdubbs/dead.letter" 11/293
. . . message not sent.

I have tried several options, but nothing seems to avoid this situation.

I've changed the default master.cl to have:

smtp      inet  n       -       n       -       -       smtpd
  -o smtpd_tls_security_level=none
  -o smtp_tls_security_level=none
  -o smtpd_sasl_auth_enable=no
127.0.0.1:submission inet n -   n       -       -       smtpd
  -o smtpd_tls_security_level=none
  -o smtp_tls_security_level=none
  -o smtpd_sasl_auth_enable=no

and main.cf changes:

# myhostname is not a valid internet name, but is in /etc/hosts
myhostname = pippin120.gdc.com
mydomain = gdc.com
inet_interfaces = 127.0.0.1
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks = 192.168.0.0/24, 127.0.0.0/8

# Try to avoid TLS
smtpd_tls_security_level = none
smtp_tls_security_level = none
smtp_sasl_auth_enable = no
smtp_use_tls = no

TIA for any pointers.

  -- Bruce

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to