Can't send e-mails to myself #3282
-
I set up my mail server at server.wbnet.eu using Haraka and Cyrus IMAP. I am successfully able to send e-mails from my mail server to other servers and am also successfully able to send e-mails from other servers to my mail server. The only thing that is not working is sending e-mails from my mail server to my mails server. When sending e.g. from
What can be the reason that this is not working? Thanks in advance. config/plugins# This file lists plugins that Haraka will run
#
# Plugin ordering often matters, run 'haraka -o -c /path/to/haraka/config'
# to see the order plugins (and their hooks) will run in.
#
# To see a list of all plugins, run 'haraka -l'
#
# To see the help docs for a particular plugin, run 'haraka -h plugin.name'
#status
#process_title
# Log to syslog (see 'haraka -h syslog')
# syslog
# CONNECT
#toobusy
#karma
relay
# control which IPs, rDNS hostnames, HELO hostnames, MAIL FROM addresses, and
# RCPT TO address you accept mail from. See 'haraka -h access'.
# access
# p0f
# geoip
# asn
# fcrdns
# block mails from known bad hosts (see config/dnsbl.zones for the DNS zones queried)
#dnsbl
# HELO
#early_talker
# see config/helo.checks.ini for configuration
helo.checks
# see 'haraka -h tls' for config instructions before enabling!
tls
#
# AUTH plugins require TLS before AUTH is advertised, see
# https://github.com/haraka/Haraka/wiki/Require-SSL-TLS
# auth/flat_file
# auth/auth_proxy
# auth/auth_ldap
auth-imap
# MAIL FROM
# Only accept mail where the MAIL FROM domain is resolvable to an MX record
mail_from.is_resolvable
#spf
# RCPT TO
# At least one rcpt_to plugin is REQUIRED for inbound email. The simplest
# plugin is in_host_list, see 'haraka -h rcpt_to.in_host_list' to configure.
aliases
rcpt_to.in_host_list
#qmail-deliverable
#rcpt_to.ldap
#rcpt_to.routes
# DATA
#bounce
# Check mail headers are valid
headers
#uribl
#attachment
#clamd
#spamassassin
rspamd
#dkim_sign
#limit
# QUEUE
# queues: discard qmail-queue quarantine smtp_forward smtp_proxy
# Queue mail via smtp - see config/smtp_forward.ini for where your mail goes
#queue/smtp_forward
queue/lmtp
#watch |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I did find out about the Is there a way to directly use the LMTP queue in case of outbound to local domains? |
Beta Was this translation helpful? Give feedback.
-
Yes. Have your recipient plugin (that validates message recipients), set queue.wants to 'lmtp', and also set the 'queue.next_hop' to the URL of Cyrus (probably something like: lmtp://localhost:24). |
Beta Was this translation helpful? Give feedback.
I did find out about the
local_mx_ok
setting inoutbound.ini
. When setting that totrue
, I am able to send e-mail to myself, though of course it is not ideal.Is there a way to directly use the LMTP queue in case of outbound to local domains?