mod-sftp can't replace the exist file on server

2014-03-22 Thread Sense Zeng
proftpd version: 1.3.4a mod_sftp version: 0.9.8 I use sftp(openssh 5.9p1-5ubuntu1.1) in ubuntu connect server. When I try to replace a exist file on server like text.txt, it printed like: Uploading test.txt to /test.txt remote open(/test.txt): Permission denied But when I remove the test.txt on

Reject client from domains without MX records

2014-03-22 Thread Pau Peris
Machine mail.domain.com send email for domain.com through Postfix 2.11 but today reviewing mail.log file i noticed some Wordpress on machines wordpress.domain.com andblog.domain.com as sending email through mail.domain.com where sender address is u...@wordpress.domain.com and u...@blog.domain.com.

Re: Reject client from domains without MX records

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 10:29, schrieb Pau Peris: The issue here is mail.domain.com http://mail.domain.com is responsible of sending email for domain.com http://domain.com but not *.domain.com http://domain.com so the latter are not DKIM signed and obviously are not valid recipient addresses as

Re: mod-sftp can't replace the exist file on server

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 08:58, schrieb Sense Zeng: proftpd version: 1.3.4a mod_sftp version: 0.9.8 nice but how is that a postfix topic?

Re: Reject client from domains without MX records

2014-03-22 Thread Pau Peris
Thanks for the explanation but i think i'm not understanding you. I understand MX records are not mandatory but i'm wondering what am i supposed to do when someone tries to send an email and the from address is not valid but an A or CNAME RR exists? By not valid i mean replying to the from address

StartSSL.com SSL Class2 Certificate and Postfix

2014-03-22 Thread Pau Peris
Hi all, currently my `Postfix 2.11` instance runs TLS on a `GoDaddy SSL Certificate` but as i would like to be able to access my server from smtp.domain.com as well as imap.domain.com, domain.com or domain.es i bought a cheap SSL Class2 Certificate at startssl.com website. But after updating

Re: Reject client from domains without MX records

2014-03-22 Thread Pau Peris
Just a last note, i would like to make sure domains/subdomains user as sender/from addresses have a MX RR accepting email for such domains/subdomains. I mean, if from address is host.mydomain.com while it can be reachable as long as it has an A or CNAME RR email delivered to host.mydomain.com may

Re: Reject client from domains without MX records

2014-03-22 Thread li...@rhsoft.net
please avoid top-posting Am 22.03.2014 12:04, schrieb Pau Peris: Thanks for the explanation but i think i'm not understanding you. I understand MX records are not mandatory but i'm wondering what am i supposed to do when someone tries to send an email and the from address is not valid but

Re: Reject client from domains without MX records

2014-03-22 Thread Wietse Venema
Pau Peris: Thanks for the explanation but i think i'm not understanding you. I understand MX records are not mandatory but i'm wondering what am i supposed to do when someone tries to send an email and the from address is not valid but an A or CNAME RR exists? This is described in RFC 5321

Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Anonymous12
Hello all, How can I relay mail via riseup.net? You need to be using starttls before it allows you to login. Error message: Mar 22 16:28:37 vps44713 postfix/smtp[32545]: 897343E0318: to=anonymou...@riseup.net, relay=mail.riseup.net[198.252.153.55]:587, delay=1.3, delays=0.01/0/1.1/0.17,

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 16:59, schrieb Anonymous12: How can I relay mail via riseup.net? You need to be using starttls before it allows you to login then just enable TLS, these days that should be done anyways http://www.postfix.org/TLS_README.html

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 17:04, schrieb Anonymous12: 22.3.2014 18:02, li...@rhsoft.net kirjoitti: Am 22.03.2014 16:59, schrieb Anonymous12: How can I relay mail via riseup.net? You need to be using starttls before it allows you to login then just enable TLS, these days that should be done anyways

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 17:45, schrieb Anonymous12: 22.3.2014 18:17, li...@rhsoft.net kirjoitti: Am 22.03.2014 17:04, schrieb Anonymous12: 22.3.2014 18:02, li...@rhsoft.net kirjoitti: Am 22.03.2014 16:59, schrieb Anonymous12: How can I relay mail via riseup.net? You need to be using starttls before

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Drizzt
22.3.2014 18:17, li...@rhsoft.net kirjoitti: Am 22.03.2014 17:04, schrieb Anonymous12: 22.3.2014 18:02, li...@rhsoft.net kirjoitti: Am 22.03.2014 16:59, schrieb Anonymous12: How can I relay mail via riseup.net? You need to be using starttls before it allows you to login

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Anonymous12
22.3.2014 18:57, Drizzt kirjoitti: 22.3.2014 18:17, li...@rhsoft.net kirjoitti: Am 22.03.2014 17:04, schrieb Anonymous12: 22.3.2014 18:02, li...@rhsoft.net kirjoitti: Am 22.03.2014 16:59, schrieb Anonymous12: How can I relay mail via riseup.net? You need to be using starttls before it

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 18:01, schrieb Anonymous12: 22.3.2014 18:57, Drizzt kirjoitti: 22.3.2014 18:17, li...@rhsoft.net kirjoitti: Am 22.03.2014 17:04, schrieb Anonymous12: 22.3.2014 18:02, li...@rhsoft.net kirjoitti: Am 22.03.2014 16:59, schrieb Anonymous12: How can I relay mail via

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Anonymous12
22.3.2014 19:16, li...@rhsoft.net kirjoitti: Am 22.03.2014 18:01, schrieb Anonymous12: 22.3.2014 18:57, Drizzt kirjoitti: 22.3.2014 18:17, li...@rhsoft.net kirjoitti: Am 22.03.2014 17:04, schrieb Anonymous12: 22.3.2014 18:02, li...@rhsoft.net kirjoitti: Am 22.03.2014 16:59, schrieb

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread John Peach
On Sat, 22 Mar 2014 19:45:08 +0200 Anonymous12 anonymou...@riseup.net wrote: [snip] show your /etc/postfix/sasl_passwd with passwords replaced and the rest untouched OS: Ubuntu 12.04 LTS I'll not show what packages I have installed as I see no reason to well then help yourself,

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Anonymous12
22.3.2014 19:55, John Peach kirjoitti: On Sat, 22 Mar 2014 19:45:08 +0200 Anonymous12 anonymou...@riseup.net wrote: [snip] show your /etc/postfix/sasl_passwd with passwords replaced and the rest untouched OS: Ubuntu 12.04 LTS I'll not show what packages I have installed as I see no

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Viktor Dukhovni
On Sat, Mar 22, 2014 at 07:58:15PM +0200, Anonymous12 wrote: apt-cache search sasl suggests that libsasl2-2 may be what you need. There are additional mechanism-specific packages with various SASL plugins. apt-get install libsas12-2 = libsasl2-2 is already the newest version. Yes, but

Re: StartSSL.com SSL Class2 Certificate and Postfix

2014-03-22 Thread Viktor Dukhovni
On Sat, Mar 22, 2014 at 12:17:28PM +0100, Pau Peris wrote: Currently my `Postfix 2.11` instance runs TLS on a `GoDaddy SSL Certificate` The vendor is largely irrelevant. Can you be specific about the content of the certificate? - What is its subject commonName? - What are the DNS

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Anonymous12
22.3.2014 20:02, Viktor Dukhovni kirjoitti: On Sat, Mar 22, 2014 at 07:58:15PM +0200, Anonymous12 wrote: apt-cache search sasl suggests that libsasl2-2 may be what you need. There are additional mechanism-specific packages with various SASL plugins. apt-get install libsas12-2 =

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Viktor Dukhovni
On Sat, Mar 22, 2014 at 08:41:05PM +0200, Anonymous12 wrote: Yes, but did you look for related packages? A bit of initiative, and you're there. I cannot locate what package I need... :( On Debian-like systems all the module drivers are in packages whose names start with

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 19:41, schrieb Anonymous12: 22.3.2014 20:02, Viktor Dukhovni kirjoitti: On Sat, Mar 22, 2014 at 07:58:15PM +0200, Anonymous12 wrote: apt-cache search sasl suggests that libsasl2-2 may be what you need. There are additional mechanism-specific packages with various SASL

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Anonymous12
22.3.2014 20:48, li...@rhsoft.net kirjoitti: Am 22.03.2014 19:41, schrieb Anonymous12: 22.3.2014 20:02, Viktor Dukhovni kirjoitti: On Sat, Mar 22, 2014 at 07:58:15PM +0200, Anonymous12 wrote: apt-cache search sasl suggests that libsasl2-2 may be what you need. There are additional

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 19:57, schrieb Anonymous12: 22.3.2014 20:48, li...@rhsoft.net kirjoitti: Am 22.03.2014 19:41, schrieb Anonymous12: 22.3.2014 20:02, Viktor Dukhovni kirjoitti: On Sat, Mar 22, 2014 at 07:58:15PM +0200, Anonymous12 wrote: apt-cache search sasl suggests that libsasl2-2 may be

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Anonymous12
22.3.2014 21:04, li...@rhsoft.net kirjoitti: Am 22.03.2014 19:57, schrieb Anonymous12: 22.3.2014 20:48, li...@rhsoft.net kirjoitti: Am 22.03.2014 19:41, schrieb Anonymous12: 22.3.2014 20:02, Viktor Dukhovni kirjoitti: On Sat, Mar 22, 2014 at 07:58:15PM +0200, Anonymous12 wrote:

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Bill Cole
On 22 Mar 2014, at 13:58, Anonymous12 wrote: 22.3.2014 19:55, John Peach kirjoitti: On Sat, 22 Mar 2014 19:45:08 +0200 Anonymous12 anonymou...@riseup.net wrote: [snip] show your /etc/postfix/sasl_passwd with passwords replaced and the rest untouched OS: Ubuntu 12.04 LTS I'll not show what

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 20:08, schrieb Anonymous12: 22.3.2014 21:04, li...@rhsoft.net kirjoitti: Am 22.03.2014 19:57, schrieb Anonymous12: 22.3.2014 20:48, li...@rhsoft.net kirjoitti: Am 22.03.2014 19:41, schrieb Anonymous12: 22.3.2014 20:02, Viktor Dukhovni kirjoitti: On Sat, Mar 22, 2014 at

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Anonymous12
22.3.2014 21:53, li...@rhsoft.net kirjoitti: Am 22.03.2014 20:08, schrieb Anonymous12: 22.3.2014 21:04, li...@rhsoft.net kirjoitti: Am 22.03.2014 19:57, schrieb Anonymous12: 22.3.2014 20:48, li...@rhsoft.net kirjoitti: Am 22.03.2014 19:41, schrieb Anonymous12: 22.3.2014 20:02, Viktor

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 21:47, schrieb Anonymous12: package: libsasl2-modules This package provides the following SASL modules: LOGIN, PLAIN, ANONYMOUS, NTLM, CRAM-MD5, and DIGEST-MD5 (with DES support) ok, you are even too lazy to read what others googled for you just install libsasl2-modules

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 22:02, schrieb li...@rhsoft.net: break: openssl s_client -starttls smtp -crlf -connect mail.riseup.net:587 shows after the SSL stuff and the EHLO command that the other host supports LOGIN / PLAIN, so i am somehow out of ideas did you *really* restart postfix and try again

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Anonymous12
22.3.2014 23:06, li...@rhsoft.net kirjoitti: Am 22.03.2014 22:02, schrieb li...@rhsoft.net: break: openssl s_client -starttls smtp -crlf -connect mail.riseup.net:587 shows after the SSL stuff and the EHLO command that the other host supports LOGIN / PLAIN, so i am somehow out of ideas did

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread li...@rhsoft.net
Am 22.03.2014 22:08, schrieb Anonymous12: 22.3.2014 23:06, li...@rhsoft.net kirjoitti: uhm you posted that line in your postconf -n output smtp_tls_policy_maps = hash:/etc/postfix/tls_policy besides a complete log what is the content of that file? is there anything related to the

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Viktor Dukhovni
On Sat, Mar 22, 2014 at 11:08:48PM +0200, Anonymous12 wrote: Mar 22 22:06:58 vps44713 postfix/smtp[10225]: warning: SASL authentication failure: No worthy mechs found http://www.postfix.org/postconf.5.html#smtp_sasl_tls_security_options

Re: Postfix + relayhost via riseup.net = Problems?

2014-03-22 Thread Anonymous12
22.3.2014 23:46, li...@rhsoft.net kirjoitti: Am 22.03.2014 22:08, schrieb Anonymous12: 22.3.2014 23:06, li...@rhsoft.net kirjoitti: uhm you posted that line in your postconf -n output smtp_tls_policy_maps = hash:/etc/postfix/tls_policy besides a complete log what is the content of that

Re: completed: delivery status (and text) filter

2014-03-22 Thread Wietse Venema
-release/experimental/feature-patches/20140322-smtp-delivery-status-filter-patch-postfix-2.10 ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/feature-patches/20140322-smtp-delivery-status-filter-patch-postfix-2.10.sig ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/feature

Re: mod-sftp can't replace the exist file on server

2014-03-22 Thread Sense Zeng
Sorry, I send to a wrong list :P 2014-03-22 18:22 GMT+08:00 li...@rhsoft.net li...@rhsoft.net: Am 22.03.2014 08:58, schrieb Sense Zeng: proftpd version: 1.3.4a mod_sftp version: 0.9.8 nice but how is that a postfix topic?