On 8/22/23 15:14, Bruce Dubbs via Postfix-users wrote:
On 8/22/23 04:16, Wietse Venema via Postfix-users wrote:
Bruce Dubbs via Postfix-users:
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:

...
smtp-server: 530 5.7.0 Must issue a STARTTLS command first
"/home/bdubbs/dead.letter" 11/293
. . . message not sent.

That is SENDMAIL not POSTFIX.

What is your operating system? The choice of mail server may be
configured with /sbin/alternatives or /usr/sbin/mailwrapper.

I am using linuxfromscratch.   I did figure out the STARTTLS problem because of 
an
incorrect value in the mailx configuration file.  I'm still having delivery 
issues,
but I think I can figure it out.  I'll come back if I cannot.


If you want it to work ONLY on the local system, why are you using a mail TRANSFER agent at all, instead of just a local delivery agent? A mail transfer agent's job is fundamentally to move mail from one system to another.


--
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958

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

Reply via email to