Re: Opensmtpd official Fedora/RHEL packages

2014-01-09 Thread Michiel van Es



On 01/05/2014 11:16 AM, Denis Fateyev wrote:

Hello everyone,


Hi Denis,



Glad to announce that the `opensmtpd` package is recently available in
the official Fedora repository, and in EPEL repository for RedHat
Enterprise Linux, as well.

https://apps.fedoraproject.org/packages/opensmtpd

All Fedora/RHEL users are encouraged to test packages and leave feedback.



I get an error with Postfix installed:

Transaction Check Error:
  file /usr/share/man/man8/smtpd.8.gz from install of 
opensmtpd-5.4.1p1-1.el6.x86_64 conflicts with file from package 
postfix-2:2.6.6-2.2.el6_1.x86_64


Is this package installed with the pam auth package so I can use it for 
submission?


---
wbr, Denis.

Cheers,

Michiel

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Opensmtpd official Fedora/RHEL packages

2014-01-09 Thread Michiel van Es

Hi Denis,

How do I force an install with yum?
I am only aware of the rpm commands like --nodeps etc but not the yum 
equivalent.


Regards,

Michiel

On 01/09/2014 02:44 PM, Denis Fateyev wrote:

Thanks for the report, will be fixed soon. This man-file was missed from
'alternatives' indeed. Meanwhile you can do force install, or skip it
during installation - non-critical since involves a single man-page only.

As for pam, the package is built with pam support, and comes with a
pam-file which complies system requirements. I haven't checked it with
submission, so you can try and report.

---
wbr, Denis.

On Thu, Jan 9, 2014 at 6:40 PM, Michiel van Es m...@protegam.nl
mailto:m...@protegam.nl wrote:


Glad to announce that the `opensmtpd` package is recently
available in
the official Fedora repository, and in EPEL repository for RedHat
Enterprise Linux, as well.

https://apps.fedoraproject.__org/packages/opensmtpd
https://apps.fedoraproject.org/packages/opensmtpd

All Fedora/RHEL users are encouraged to test packages and leave
feedback.



I get an error with Postfix installed:

Transaction Check Error:
   file /usr/share/man/man8/smtpd.8.gz from install of
opensmtpd-5.4.1p1-1.el6.x86_64 conflicts with file from package
postfix-2:2.6.6-2.2.el6_1.x86___64

Is this package installed with the pam auth package so I can use it
for submission?


Cheers,

Michiel




--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Opensmtpd official Fedora/RHEL packages

2014-01-09 Thread Denis Fateyev
There's no way to do that properly with yum, sorry. If you want to
preserve 'postfix', installing with rpm is only an option here (you can
download package manually from http://dl.fedoraproject.org/pub/epel/6/ )

This issue will be solved shortly somehow, I need to discuss the issue with
'smtpd.8.gz' missing in alternatives with postfix packagers, because they
haven't included it there for some reasons.

---
wbr, Denis.


On Thu, Jan 9, 2014 at 8:00 PM, Michiel van Es m...@protegam.nl wrote:


 How do I force an install with yum?
 I am only aware of the rpm commands like --nodeps etc but not the yum
 equivalent.

 Regards,

 Michiel


 On 01/09/2014 02:44 PM, Denis Fateyev wrote:

 Thanks for the report, will be fixed soon. This man-file was missed from
 'alternatives' indeed. Meanwhile you can do force install, or skip it
 during installation - non-critical since involves a single man-page only.

 As for pam, the package is built with pam support, and comes with a
 pam-file which complies system requirements. I haven't checked it with
 submission, so you can try and report.

 ---
 wbr, Denis.

 On Thu, Jan 9, 2014 at 6:40 PM, Michiel van Es m...@protegam.nl
 mailto:m...@protegam.nl wrote:


 Glad to announce that the `opensmtpd` package is recently
 available in
 the official Fedora repository, and in EPEL repository for RedHat
 Enterprise Linux, as well.

 https://apps.fedoraproject.__org/packages/opensmtpd

 https://apps.fedoraproject.org/packages/opensmtpd

 All Fedora/RHEL users are encouraged to test packages and leave
 feedback.



 I get an error with Postfix installed:

 Transaction Check Error:
file /usr/share/man/man8/smtpd.8.gz from install of
 opensmtpd-5.4.1p1-1.el6.x86_64 conflicts with file from package
 postfix-2:2.6.6-2.2.el6_1.x86___64


 Is this package installed with the pam auth package so I can use it
 for submission?


 Cheers,

 Michiel




Re: Opensmtpd official Fedora/RHEL packages

2014-01-09 Thread Denis Fateyev
On Thu, Jan 9, 2014 at 9:28 PM, Michiel van Es m...@protegam.nl wrote:


 the default pam module is not loaded correctly thus authentication is not
 working.
 You create a /etc/pam.d/smtp.opensmtpd file with a correct PAM
 configuration but OpenSMTPD build with PAM looks for /etc/pam.d/smtpd
 (default Red Hat installs /etc/pam.d/smtp for Postfix).


Right, /etc/pam.d/smtp is the proper path for smtp-related pam in
RH-system for all mail daemons. It's the symlink to alternatives mta-pam
and, thus, to smtp.opensmtpd.


 Strace proof:

 recvmsg(8, {msg_name(0)=NULL, msg_iov(1)=[{.\0\0\0.\0\0\0\
 0\0\0\0\372\35\0\0\5B\250\234\23\21\317\374\17\3mve\0\3v..., 65535}],
 msg_controllen=0, msg_flags=0}, 0) = 46
 stat(/etc/pam.d, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 open(/etc/pam.d/smtpd, O_RDONLY)  = -1 ENOENT (No such file or
 directory)
 open(/etc/pam.d/other, O_RDONLY)  = 5
 fstat(5, {st_mode=S_IFREG|0644, st_size=154, ...}) = 0
 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
 0x7fe558784000
 read(5, #%PAM-1.0\nauth required ..., 4096) = 154
 open(/lib64/security/pam_deny.so, O_RDONLY) = 7


The issue that we would better have pam path configurable, to set it to
/etc/pam.d/smtp instead of /etc/pam.d/smtpd default value.
Gilles, what do you think on that option?

Alternatively, a small trivial patch will go there.


 Therefor authentication via PAM fails, when I create a symlink :
 ln -s /etc/pam.d/smtp.opensmtpd /etc/pam.d/smtpd it works fine:


 Simply ln -s /etc/pam.d/smtp /etc/pam.d/smtpd would also be fine after
selecting opensmtpd in alternatives.

[root@fc19-amd64 x86_64]# /usr/sbin/alternatives --set mta
/usr/sbin/sendmail.opensmtpd
[root@fc19-amd64 x86_64]# file /etc/pam.d/smtp
/etc/pam.d/smtp: symbolic link to `/etc/alternatives/mta-pam'
[root@fc19-amd64 x86_64]# file /etc/alternatives/mta-pam
/etc/alternatives/mta-pam: symbolic link to `/etc/pam.d/smtp.opensmtpd'

---
wbr, Denis.


Call for testing: Delivery Status Notification

2014-01-09 Thread Sunil Nimmagadda
Hi,

An implementation of RFC 3461 has been merged to master/portable
branches.  This feature allows a user to request a status notification
when a mail gets delivered successfully, failed to deliver or
gets delayed. It also allows to specify the amount of information
in the status notification, for example just the headers or full
original mail. It requires extensive testing in various setups(relaying
to DSN capable vs non capable servers) and with various MUAs. Request
you all to help in testing it and report any issues.

Some pointers for testing with these MUAs...

mutt:
In .muttrc
set dsn_notify=success
set dsn_return=hdrs

mail(1):
mail -s foo b...@baz.org -Nsuccess -Rhdrs

Thunderbird:
While composing a mail check Options-Delivery Status Notification


-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org