Need email server aid
Chuck Kuecker
ckuecker at ckent.org
Wed Apr 21 23:18:51 UTC 2010
Markus Schönhaber wrote:
> 21.04.2010 18:41, Chuck Kuecker:
>
>
>> I am running Ubuntu 9.10, with postfix and dovecot for my email server.
>> I host my own domain.
>>
>> The Ubuntu machine relays emails from my Windows machine just fine, but
>> when I try to relay an email from an embedded system I am working with,
>> that resides on my local network, I get error messages in mail.log -
>> 'relay access denied'. Sending email from the embedded system to my
>> local email account works fine.
>>
>> I have the embedded system 'from' email set to my email address - but it
>> seems to make no difference if I use 'device at ckent.org' instead of
>> 'ckuecker at ckent.org' - I can send to 'ckuecker at ckent.org', but any
>> attempt to send out of my local network returns the error.
>>
>> I've enabled the entire local network here in /etc/postfix/main.cf -
>> mynetworks = 127.0.0.0/8, 192.168.0.0/16. My Windows machine SMTP is set
>> to use TLS, if available, and my user name. I'm thinking that I need to
>> send my user name and password somehow, in order to get relaying to
>> work. I don't see any SMTP commands that would do this.
>>
>> What am I missing here?
>>
>
> Difficult to tell.
> Post the output of
> postconf -n
> and the lines from the mail.log which show such a failing transaction.
> That will make it much easier to find the root of the problem.
>
>
Here's the data:
postconf -n:
lias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
mydestination = ckenterprises.ckent.org, mail.ckent.org, ckent.org,
localhost.localdomain, localhost
myhostname = mail.ckent.org
mynetworks = 127.0.0.0/8, 192.168.0.0/16
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = reject_unknown_sender_domain,
reject_unknown_recipient_domain, reject_unauth_pipelining,
permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
mail.log:
Apr 21 17:01:40 ckenterprises postfix/smtpd[24088]: NOQUEUE: reject:
RCPT from mail.ckent.org[66.254.194.29]: 554 5.7.1
<addr at dest.com>: Relay access denied; from=<device at ckent.org>
to=<addr at dest.com> proto=SMTP helo=<ckent.org>
Apr 21 17:01:40 ckenterprises postfix/smtpd[24088]: disconnect from
Chuck
mail.ckent.org[66.254.194.29]
More information about the ubuntu-users
mailing list