Re: New install - Temporary lookup failures when trying to send

2018-12-04 Thread @lbutlr
On Mon Dec 03 2018 04:27:43 Matus UHLAR - fantomas   
said:
> 
> pleaase, get a decent MUA, not applemail that tries to encode everything as
> internet links (and messes up thge plaintext version of mail).

What do you base this statement on? I’ve been using Apple’s Meal.app since 
around 2003 or so, and I’ve never had it encode everything as Internet links 
more mess up plaintext mail.

-- 
"A musicologist is a man who can read music but can't hear it." -  Sir
Thomas Beecham (1879 - 1961)



Re: Relaying based on Souce IP address

2018-12-04 Thread Matus UHLAR - fantomas

On 04.12.18 10:10, pete pot wrote:

Currently my Postfix is realying emails from domains listed in $relay_domains


are you aware that relay_domains is list of domains that postfix will
receive mail TO, not send from? The point is to be MX server for those
domains.


Is it possible with postfix to split this?  to allow relaying some domains
only when coming from IP 'A' and some other domains only when coming from
IP 'B' 


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Where do you want to go to die?" [Microsoft]


Re: Relaying based on Souce IP address

2018-12-04 Thread Wietse Venema
pete pot:
> Hi,
> Currently my Postfix is realying emails from domains listed in
> $relay_domains only when those emails come from IPs listed in
> $mynetworks.

Postfix does not give relay permission based on the "mail from"
address.

Instead, Postfix is usually configured to give relay permission
based on IP address (permit_mynetworks) or SASL authentication
status (permit_sasl_authenticated).

With SASL authentication it is possible to require that a user
can only send mail with a specific "mail from" address that is
configured in smtpd_sender_login_maps.

Otherwise, to enforce policies for a combination of ("mail from"
and client IP address), perhaps http://www.postfwd.org/ can help.

Wietse


Re: How can I test my mail server without having remote access

2018-12-04 Thread Robert Chalmers
Thanks, that’s really interesting. I’m testing incoming mail, local mail and 
outgoing mail. Also mail if... I relay it via gmail.
The main thing I’m looking into is the ipv6 interactivity, along with ssl/tls 
and security.
An ipv6 only server is my goal, but I don’t know how achievable that is yet.


-
Robert Chalmers
https://robert-chalmers.uk
aut...@robert-chalmers.uk
@R_A_Chalmers


> On 4 Dec 2018, at 4:50 am, Andrey Repin  wrote:
> 
> Greetings, Robert Chalmers!
> 
> 
>> I don’t have the luxury of having access to a useable computer from a site
>> remote to my server, but I still need to test my email server, the TLS/SSL
>> setup, smtp and smtpd.
> 
> What exactly you want to test?
> I've got a good success using ssmtp with some wrappings.
> Let me upload them… There: http://www.rootdir.org/upload/smtest.tar.xz
> 
>> There are some remote test sites that also want a valid email and password!
>> But I’m a bit reluctant obviously.
>> I suspect my site is not quite right, but can’t find a way to test it, and
>> to explain results of tests. Especially the TLS/SSL ones.
> 
> Especially to test TLS, you can use openssl's s_client builtin.
> 
>> Does anyone know of any reliable testing options?
> 
> It all really depends on WHAT EXACTLY you want to test.
> 
> 
> -- 
> With best regards,
> Andrey Repin
> Tuesday, December 4, 2018 0:55:37
> 
> Sorry for my terrible english...


Relaying based on Souce IP address

2018-12-04 Thread pete pot
Hi,
Currently my Postfix is realying emails from domains listed in $relay_domains 
only when those emails come from IPs listed in $mynetworks.
Is it possible with postfix to split this? to allow relaying some domains only 
when coming from IP 'A' and some other domains only when coming from IP 'B' 
Thx...
--PPot.

Re: Relay access denied

2018-12-04 Thread wilfried.es...@essignetz.de
Am 03.12.18 um 19:57 schrieb Wolfgang Paul Rauchholz:
> Thank you for the help.
> But I might not have explained myself correctly. My plan is not to relay
> email from my home server via gmail.
> But I want to be able to send emails also to gmail accounts.

It's the same.

> How can I do that?

Didn't work the suggestions you got yesterday?


Willi

> 
> Wolfgang
> 
> On Mon, Dec 3, 2018 at 11:38 AM wilfried.es...@essignetz.de <
> wilfried.es...@essignetz.de> wrote:
> 
>> Hi Wolfgang,
>>
>>
>> i don`t think you have an open relay:
>>> smtpd_recipient_restrictions = permit_mynetworks,
>> permit_auth_destination,> permit_sasl_authenticated, reject,
>> reject_unauth_destination
>> But you have a dynamic IP-Address.
>>> host 83.50.89.156
>>> 156.89.50.83.in-addr.arpa domain name pointer
>> 156.red-83-50-89.dynamicip.rima-tde.net.
>>
>> Gmail doesn't like dynamic IPs very much.
>>
>> Obviously you have a gmail account. I`d suggest to setup your postfix to
>> use authenticated smtp to port 587, using your gmail credentials.
>>
>>
>> Willi
>>
> 
>