On Fri, 20 Jan 2017, Andreas Thulin wrote:

My smtpd.conf:

# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.

table aliases file:/etc/mail/aliases

# To accept external mail, replace with: listen on all
#
# listen on lo0
listen on all

# Uncomment the following to accept external mail for domain "example.org"
#
accept from any for domain "andreasthulin.se" alias <aliases> deliver to
mbox
accept for local alias <aliases> deliver to mbox
accept from local for any relay

What have I got wrong, and how can I trouble-shoot?

Can you send email locally?

Try

        date | sendmail -v -f root root

and check root's mailbox in /var/mail, unless you have aliased root.

Then do the same with external username(s).

        date | sendmail -v -f [email protected] USER@EXTERNAL-DOMAIN

And check all your logs.

- Damian

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to