Re: Problem with configuring postfix to send a Successful Mail Delivery Report.

2014-04-29 Thread johan van der merwe
On Mon, Apr 28, 2014 at 1:18 PM, Wietse Venema wrote: > johan van der merwe: > > Hi All, > > > > I have a problem with configuring my postfix to send a Successful Mail > > Delivery Report. > > The Undelivered Mail Returned to Sender works fine. > > "Does not work" is not sufficient. What sendmail

Re: Problems with local mail delivery

2014-04-29 Thread Sebastian
Viktor: > Your multi-jail design is necessarily rather complex, and requires > attention to detail to get right. A simpler design may be a better > idea. Well to be honest, I used a book by Benedikt Nießen ( www.serverzeit.de ) to get to where I am now. I guess now it's up to me to find out where

Re: Problems with local mail delivery

2014-04-29 Thread Viktor Dukhovni
On Tue, Apr 29, 2014 at 12:24:23PM +0200, Sebastian wrote: > Viktor: > > Your multi-jail design is necessarily rather complex, and requires > > attention to detail to get right. A simpler design may be a better > > idea. > > Well to be honest, I used a book by Benedikt Nie?en ( www.serverzeit.de

Re: Problems with local mail delivery

2014-04-29 Thread Wietse Venema
Viktor Dukhovni: > On Tue, Apr 29, 2014 at 12:24:23PM +0200, Sebastian wrote: > > Viktor: > > > Your multi-jail design is necessarily rather complex, and requires > > > attention to detail to get right. A simpler design may be a better > > > idea. > > > > Well to be honest, I used a book by Bened

Re: Problem with configuring postfix to send a Successful Mail Delivery Report.

2014-04-29 Thread Wietse Venema
johan van der merwe: > On Mon, Apr 28, 2014 at 1:18 PM, Wietse Venema wrote: > > johan van der merwe: > > > Hi All, > > > > > > I have a problem with configuring my postfix to send a Successful Mail > > > Delivery Report. > > > The Undelivered Mail Returned to Sender works fine. > > > > "Does not

Need help with relayhost

2014-04-29 Thread leam hall
As root on my new relayhost I can send mail to m...@example.com. Mail goes through another relay and then hits our system. Using Postfix 2.6.6. on RHEL 6. I have configured a client to send mail through the new relayhost. The mail gets to the relayhost's maillog with about 16 connect/disconnects a

Re: Need help with relayhost

2014-04-29 Thread leam hall
Here are the changes I've made to /etc/postfix/main.cf mydomain = example.com myorigin = $myhostname inet_interfaces = 1.2.3.4, 127.0.0.1 inet_protocols = ipv4 # $mydestination local_recipient_maps = mynetworks = 1.2.3.0/28, 3.4.5.6, 127.0.0.0/8 relayhost = 9.8.7.6 It seems like the relayhost is

Re: Need help with relayhost

2014-04-29 Thread Wietse Venema
leam hall: > > As root on my new relayhost I can send mail to m...@example.com. Mail > > goes through another relay and then hits our system. Using Postfix > > 2.6.6. on RHEL 6. > > > > I have configured a client to send mail through the new relayhost. The > > mail gets to the relayhost's maillog w

Re: Need help with relayhost

2014-04-29 Thread leam hall
It looks like the upstream relay (9.8.7.6) is trying to contact the client. Does Postfix need DNS to resolve mail to be forwarded? Apr 29 15:37:26 client sendmail[15767]: s3TJbQGQ015767: from=root, size=47, class=0, nrcpts=1, msgid=<201404291937.s3tjbqgq015...@client.example.com> , relay=root

Re: Need help with relayhost

2014-04-29 Thread li...@rhsoft.net
Am 29.04.2014 21:52, schrieb leam hall: > It looks like the upstream relay (9.8.7.6) is trying to contact the > client. Does Postfix need DNS to resolve mail to be forwarded? yes until you do not have fixed transports how else should it resolve the destination? > Apr 29 15:37:26 client sendmail

Re: Need help with relayhost

2014-04-29 Thread Wietse Venema
leam hall: > Apr 29 15:37:26 client sendmail[15767]: s3TJbQGQ015767: > s3TJbQGR015767: DSN: Host unknown (Name server: 2.3.4.5: host not > found) That is Sendmail not Postfix. Is is unable to deliver some mail. > Apr 29 15:37:26 client postfix/smtpd[15771]: connect from > localhost.localdomain[12

exclude client from smtpd_tls_security_level = encrypt

2014-04-29 Thread btb
i have an msa, which requires encryption and smtp auth, save one sole exception - a client which [for now] cannot perform either, that i must explicitly trust based only on source ip address. to that end, i've allowed it to perform submission with check_client_access, but i'm left at odds with

Re: exclude client from smtpd_tls_security_level = encrypt

2014-04-29 Thread li...@rhsoft.net
Am 29.04.2014 22:49, schrieb btb: > i have an msa, which requires encryption and smtp auth, save one sole > exception - a client which [for now] cannot > perform either, that i must explicitly trust based only on source ip address. > to that end, i've allowed it to > perform submission with ch

Re: Need help with relayhost

2014-04-29 Thread Leam Hall
Il 29/04/2014 16:15, Wietse Venema ha scritto: leam hall: Apr 29 15:37:26 client sendmail[15767]: s3TJbQGQ015767: s3TJbQGR015767: DSN: Host unknown (Name server: 2.3.4.5: host not found) That is Sendmail not Postfix. Is is unable to deliver some mail. Odd. Apr 29 15:37:26 client postfix/

Re: exclude client from smtpd_tls_security_level = encrypt

2014-04-29 Thread Viktor Dukhovni
On Tue, Apr 29, 2014 at 04:49:48PM -0400, btb wrote: > for the moment, i've done > > smtpd_tls_security_level = may > smtpd_tls_auth_only = yes > > which suffices, but not quite in the manner that i'd prefer. The alternative to "smtpd_tls_security_level = encrypt" is: main.cf: cidr