Hallo opensmtpd mail list :-)

I must say that I am "email server" greenhorn.
I also do not have much experience in net configuration.

I want to have email server that will allow me to send emails from my linux.
I search internet (sendmail, qmail, exim, postfix, ...) and luckily found 
OPENSMTPD :-)
I have liked it just after seeing one configuration line with: "accept from 
...".
Way of configuring opensmtpd seams to me be modern, simple and easiest of all 
smtp servers :-)

As I wrote I am greenhorn and have problem.



1) My system info:

A) I run:
Operating System: Fedora 21 (Twenty One)
CPE OS Name: cpe:/o:fedoraproject:fedora:21
Kernel: Linux 4.1.8-100.fc21.x86_64
Architecture: x86-64

on Virtual box.

B) dnf info opensmtpd

Name        : opensmtpd
Arch        : x86_64
Version     : 5.7.1p1
Release     : 1.fc21

2)
A) iptables --list

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy DROP)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

B) ip addr

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP 
group default qlen 1000
    link/ether 08:00:27:6f:f9:22 brd ff:ff:ff:ff:ff:ff
    inet 172.29.2.101/19 brd 172.29.31.255 scope global dynamic enp0s3
       valid_lft 570826sec preferred_lft 570826sec
    inet6 fe80::a00:27ff:fe6f:f922/64 scope link 
       valid_lft forever preferred_lft forever
6: enp0s11u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state 
UNKNOWN group default qlen 1000
    link/ether 0c:5b:8f:27:9a:64 brd ff:ff:ff:ff:ff:ff
    inet 192.168.8.100/24 brd 192.168.8.255 scope global dynamic enp0s11u1
       valid_lft 52421sec preferred_lft 52421sec
    inet6 fe80::e5b:8fff:fe27:9a64/64 scope link 
       valid_lft forever preferred_lft forever

3) My opensmtp:

A) /etc/opensmtpd/smtpd.conf

listen on lo
listen on enp0s3
listen on enp0s11u1

accept from local for any relay

expire 4h

B) ls -laZ /var/log/maillog 
-rw-------. root root system_u:object_r:var_log_t:s0   /var/log/maillog

C) ps -ef|grep smtpd

root     11410     1  0 11:44 ?        00:00:00 smtpd: [priv]
smtpq    11411 11410  0 11:44 ?        00:00:00 smtpd: queue
smtpd    11412 11410  0 11:44 ?        00:00:00 smtpd: control
smtpd    11413 11410  0 11:44 ?        00:00:00 smtpd: lookup
smtpd    11414 11410  0 11:44 ?        00:00:00 smtpd: scheduler
smtpd    11415 11410  0 11:44 ?        00:00:00 smtpd: pony express
smtpd    11416 11410  0 11:44 ?        00:00:00 smtpd: klondike

4) mailx -s "hello" "[email protected]"

5) Problems

A) sudo smtpctl show queue

c823c60ac80192be|local|mta|auth|@|tomek@se-gips|tomek@se-gips|1446115579|1446461179|0|8|invalid||Temporary
 failure in MX lookup

B) /var/log/maillog
is empty

Why I can not send email ?
Why log file is empty ?


Please help if you can.
If you need more information I will provide it.

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

Reply via email to