Re: Gmail and mailing-list

2011-06-06 Thread Nahliel Steinberg
thank's mouss >you can use virtual_alias_maps >postfix-u...@postfix.org postfix-u...@postfix.org, f...@example.com > -- Nahliel

Encrypt Paswword?

2011-06-06 Thread gaby
Hi If I use postfix with TLS (and courier-imap with TLS) the SASL password and IMAP password are visibe in plain text? Tahnks

Re: Postfix/Sendmail and Apache James

2011-06-06 Thread Wietse Venema
Marc Chamberlin: > On 6/5/2011 9:36 AM, Wietse Venema wrote: > > Marc Chamberlin: > >> Hello - > >> > >> I am a new subscriber to this mail list and am in need of some help > >> configuring Postfix/Sendmail to work with the Apache James email server. > >> Don't get me wrong on this, Postfix is prob

Re: Encrypt Paswword?

2011-06-06 Thread Reinaldo de Carvalho
On Mon, Jun 6, 2011 at 9:44 AM, gaby wrote: > Hi > If I use postfix with TLS (and courier-imap with TLS) the SASL password and > IMAP password are visibe in plain text? > >From smtp-client to smtpd, and from imap-client to imapd, if and only if, clients enable TLS (STARTTLS) before authentication

Re: Encrypt Paswword?

2011-06-06 Thread Tobias Koopmann
Hi gaby, On Mon, 6 Jun 2011 15:44:12 +0300, gaby wrote: Hi If I use postfix with TLS (and courier-imap with TLS) the SASL password and IMAP password are visibe in plain text? If you encrypt your connections with TLS Mallory isn't able to collect your passwords. The TLS tunnel will hide the

Re: Encrypt Paswword?

2011-06-06 Thread /dev/rob0
On Mon, Jun 06, 2011 at 03:44:12PM +0300, gaby wrote: > If I use postfix with TLS (and courier-imap with TLS) the SASL > password and IMAP password are visibe in plain text? There seems to be some confusion behind your question, so it's hard to know where to start. TLS encryption is implemented

Re: Sending Bulk Mails

2011-06-06 Thread Randy Ramsdell
Wietse Venema wrote: Stan Hoeppner: On 6/4/2011 6:25 AM, /dev/rob0 wrote: My recommendation to the OP is to consider outsourcing this. It will not cost that much, and a reputable email service provider can be well worth what they charge. Conversely to do it inhouse I would recommend tearing

Re: Sending Bulk Mails

2011-06-06 Thread Matt Hayes
On 6/6/2011 9:36 AM, Randy Ramsdell wrote: > Wietse Venema wrote: >> Stan Hoeppner: >>> On 6/4/2011 6:25 AM, /dev/rob0 wrote: >>> My recommendation to the OP is to consider outsourcing this. It will not cost that much, and a reputable email service provider can be well worth what t

Thread Killed (Sending Bulk Mails)

2011-06-06 Thread Wietse Venema
This thread is killed. Tresspassers will be removed. Wietse

Forwarding via virtual_mailbox_maps or virtual_maps not working

2011-06-06 Thread Islam, Towhid
I have an old version of postfix running on a SuSE OS where forwarding works fine, simply by using the virtual_maps option. Recently I installed a new email server using CentOS 5.5, Postfix 2.3.3, mysql, postfixadmin, dovecot and roundcube webmail. The new systems works except I cannot get the

Re: Postfix/Sendmail and Apache James

2011-06-06 Thread lst_hoe02
Zitat von Wietse Venema : Marc Chamberlin: On 6/5/2011 9:36 AM, Wietse Venema wrote: > Marc Chamberlin: >> Hello - >> >> I am a new subscriber to this mail list and am in need of some help >> configuring Postfix/Sendmail to work with the Apache James email server. >> Don't get me wrong on this,

Re: Postfix/Sendmail and Apache James

2011-06-06 Thread Wietse Venema
lst_ho...@kwsoft.de: > Not sure if i really understand the OP but it looks like the only > thing needed is a "sendmail" command handing over the mail to James > which should be the SMTP service on that machine. So maybe something > like mini_sendmail would be more appropriate for this use cas

mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Stéphane MERLE
Hi, I can see in my logs that postfix is "waiting" for 10s between each email. If I check the queues, there are empty qshape active / deferred / incoming but if I do a mailq | wc -l I got a little more than 100 000 mails (my hosting company had a problem with her domain this weekend and s

Re: Forwarding via virtual_mailbox_maps or virtual_maps not working

2011-06-06 Thread Victor Duchovni
On Mon, Jun 06, 2011 at 10:56:23AM -0400, Islam, Towhid wrote: > I have an old version of postfix running on a SuSE OS where forwarding works > fine, simply by using the virtual_maps option. Recently I installed a new > email server using CentOS 5.5, Postfix 2.3.3, mysql, postfixadmin, dovecot

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Wietse Venema
St?phane MERLE: > Hi, > > I can see in my logs that postfix is "waiting" for 10s between each email. What are the name and arguments of the program that is waiting? > mailq | wc -l > I got a little more than 100 000 mails mailq shows the content of the incoming, active and deferred queues.

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Victor Duchovni
On Mon, Jun 06, 2011 at 12:43:18PM -0400, Wietse Venema wrote: > St?phane MERLE: > > Hi, > > > > I can see in my logs that postfix is "waiting" for 10s between each email. > > What are the name and arguments of the program that is waiting? > > > mailq | wc -l > > I got a little more than 100 00

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Stéphane MERLE
Hi, Le 06/06/2011 18:43, Wietse Venema a écrit : St?phane MERLE: Hi, I can see in my logs that postfix is "waiting" for 10s between each email. What are the name and arguments of the program that is waiting? this is a php script using the mail command ... $retour=mail($to, $subject, $message

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Wietse Venema
St?phane MERLE: > Hi, > > Le 06/06/2011 18:43, Wietse Venema a ?crit : > > St?phane MERLE: > >> Hi, > >> > >> I can see in my logs that postfix is "waiting" for 10s between each email. > > What are the name and arguments of the program that is waiting? > this is a php script using the mail comman

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Stéphane MERLE
Le 06/06/2011 19:14, Wietse Venema a écrit : St?phane MERLE: Hi, Le 06/06/2011 18:43, Wietse Venema a ?crit : St?phane MERLE: Hi, I can see in my logs that postfix is "waiting" for 10s between each email. What are the name and arguments of the program that is waiting? this is a php scrip

RE: Forwarding via virtual_mailbox_maps or virtual_maps not working

2011-06-06 Thread Islam, Towhid
I did not know that. Thanks. -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Victor Duchovni Sent: Monday, June 06, 2011 12:37 PM To: postfix-users@postfix.org Subject: Re: Forwarding via virtual_mailbox_maps or virtual_maps

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Stéphane MERLE
Title: stephane I am a little surprised by the fact that I would be using sendmail, I though that php.cli would sent directly the mail in the maildrop folder. in my php.ini file (within the cli version of php5) I can see : [mail function] SMTP = localhost

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Victor Duchovni
On Mon, Jun 06, 2011 at 07:45:17PM +0200, St?phane MERLE wrote: > I am a little surprised by the fact that I would be using sendmail, I > though that php.cli would sent directly the mail in the maildrop folder. > Don't confuse sendmail(1) (provided by Postfix) with Sendmail which also provides a

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Wietse Venema
Wietse: > What are the name and arguments of the program that is waiting? Stephan: > this is a php script using the mail command ... > $retour=mail($to, $subject, $message, $headers, $option5); Wietse: > This uses /usr/sbin/sendmail. It places your messages into the > /var/spool/postfix/maildrop

Re: Postfix/Sendmail and Apache James

2011-06-06 Thread Marc Chamberlin
On 6/6/2011 8:35 AM, Wietse Venema wrote: > lst_ho...@kwsoft.de: >> Not sure if i really understand the OP but it looks like the only >> thing needed is a "sendmail" command handing over the mail to James >> which should be the SMTP service on that machine. So maybe something >> like mini_sen

Re: Postfix/Sendmail and Apache James

2011-06-06 Thread Victor Duchovni
On Mon, Jun 06, 2011 at 11:17:26AM -0700, Marc Chamberlin wrote: > I do not need the full functionality of Postfix and Apache James running > on the same machine, just James. But like I have said, I have other > applications, such as Bugzilla, Bacula, and some Tomcat webapps running > on the same

postfix + .forward and forcing the From address

2011-06-06 Thread Michael Way
Hi All, I have a setup where I use postfix to connect to my work smtpd exchange server via TLS encryption and normal login authentication. This smtpd server also requires that the "From" address in the email header is from the same user that authenticates, otherwise I get a: "Client does not have

Re: postfix + .forward and forcing the From address

2011-06-06 Thread Victor Duchovni
On Mon, Jun 06, 2011 at 02:46:57PM -0400, Michael Way wrote: > I have a setup where I use postfix to connect to my work smtpd > exchange server via TLS encryption > and normal login authentication. This smtpd server also requires that > the "From" address in the email header > is from the same use

Re: Postfix/Sendmail and Apache James

2011-06-06 Thread Wietse Venema
Wietse: > If all that is needed is to forward /usr/sbin/sendmail submissions > to Apache James, then perhaps the original poster can confirm this, > and we can provide a really simple configuration for the Apache > James documentation. Marc Chamberlin: > So yes, I simply need /usr/sbin/sendmail to

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Mark Alan
On Mon, 06 Jun 2011 19:45:17 +0200, Stéphane MERLE wrote: > > (I am using ubuntu 10.04LTS). > I am a little surprised by the fact that I would be using sendmail > #dpkg --get-selections | grep -i "sendmail" > I got no package installed for sendmail ... Postfix installs a pseudo-sendmail. In Ub

Re: postfix + .forward and forcing the From address

2011-06-06 Thread Wietse Venema
Michael Way: > Hi All, > > I have a setup where I use postfix to connect to my work smtpd > exchange server via TLS encryption > and normal login authentication. This smtpd server also requires that > the "From" address in the email header > is from the same user that authenticates, otherwise I ge

Re: postfix + .forward and forcing the From address

2011-06-06 Thread Michael Way
My work is a HUGE institution and there are just a few of us old unix dudes around who use command line (and cron) for such things so they will not allow any changes as you suggest. Otherwise, I agree that it IS an ugly/wrong solution, but the only one at my disposal... --mike On Mon, Jun 6, 201

Re: postfix + .forward and forcing the From address

2011-06-06 Thread Michael Way
Sorry Wietse, my bad you are correct. It is the MAIL FROM: I should have included the full line: 550 5.7.1 Client does not have permissions to send as this sender (in reply to MAIL FROM command)) I'm not sure of the difference honestly, or rather how I would filter this and replace it. --mike O

RE: Forwarding via virtual_mailbox_maps or virtual_maps not working

2011-06-06 Thread Islam, Towhid
Again thanks, Victor, for pointing out the change that I wasn't aware of. I think I have found my problem, and you are correct that I do have an explicitly defined virtual_alias_maps in main.cf. What I have is: virtual_alias_maps = proxy:mysql:$config/mysql_virtual_alias_maps.cf To wh

Re: postfix + .forward and forcing the From address

2011-06-06 Thread Wietse Venema
Wietse: > Why do you believe that it complains about the "From" address in > the email header, instead of the SMTP "MAIL FROM" address? Michael Way: > Sorry Wietse, my bad you are correct. It is the MAIL FROM: I > should have included the full line: 550 5.7.1 Client does not > have permissions t

Re: Forwarding via virtual_mailbox_maps or virtual_maps not working

2011-06-06 Thread Victor Duchovni
On Mon, Jun 06, 2011 at 03:48:05PM -0400, Islam, Towhid wrote: > Again thanks, Victor, for pointing out the change that I wasn't aware of. I > think I have found my problem, and you are correct that I do have an > explicitly defined virtual_alias_maps in main.cf. What I have is: > > vir

access(5) "OTHER ACTIONS" question

2011-06-06 Thread Ronald F. Guilmette
In the access(5) man page, it is either explicitly stated or else easily inferred what XXX response value will be sent back to the SMTP client for each of the possible values listed in the ACCEPT ACTIONS and REJECT ACTIONS sections. What XXX response values will be sent back to the SMTP client fo

Re: postfix + .forward and forcing the From address

2011-06-06 Thread Wietse Venema
Wietse Venema: > Wietse: > > Why do you believe that it complains about the "From" address in > > the email header, instead of the SMTP "MAIL FROM" address? > > Michael Way: > > Sorry Wietse, my bad you are correct. It is the MAIL FROM: I > > should have included the full line: 550 5.7.1 Client

Re: access(5) "OTHER ACTIONS" question

2011-06-06 Thread Victor Duchovni
On Mon, Jun 06, 2011 at 01:16:07PM -0700, Ronald F. Guilmette wrote: > > In the access(5) man page, it is either explicitly stated or else > easily inferred what XXX response value will be sent back to the > SMTP client for each of the possible values listed in the ACCEPT > ACTIONS and REJECT ACT

Re: access(5) "OTHER ACTIONS" question

2011-06-06 Thread Wietse Venema
Ronald F. Guilmette: > > In the access(5) man page, it is either explicitly stated or else > easily inferred what XXX response value will be sent back to the > SMTP client for each of the possible values listed in the ACCEPT > ACTIONS and REJECT ACTIONS sections. > > What XXX response values will

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Stéphane MERLE
Le 06/06/2011 19:59, Wietse Venema a écrit : Wietse: What are the name and arguments of the program that is waiting? Stephane: this is a php script using the mail command ... $retour=mail($to, $subject, $message, $headers, $option5); Wietse: This uses /usr/sbin/sendmail. It places your mess

postscreen_dnsbl_sites vs. reject_rbl_client

2011-06-06 Thread Rich Wales
If I enable postscreen and specify my choice of blocklists and whitelists in postscreen_dnsbl_sites, am I correct in assuming that I might as well remove any reject_rbl_client and permit_dnswl_client clauses from my smtpd_*_restrictions, since they will now be redundant? Rich Wales ri...@richw.org

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Stéphane MERLE
Le 06/06/2011 22:40, Stéphane MERLE a écrit : Le 06/06/2011 19:59, Wietse Venema a écrit : Wietse: What are the name and arguments of the program that is waiting? Stephane: this is a php script using the mail command ... $retour=mail($to, $subject, $message, $headers, $option5); Wietse: Th

Re: Encrypt Paswword?

2011-06-06 Thread mouss
Le 06/06/2011 14:44, gaby a écrit : > Hi > If I use postfix with TLS (and courier-imap with TLS) the SASL password and > IMAP password are visibe in plain text? > No. the purpose of TLS is to encrypt traffic, including passwords. that said, you need to configure your TLS/SSL servers to only acce

Re: postfix + .forward and forcing the From address

2011-06-06 Thread Michael Way
Unfortunately it seems that Wietse's suggestion was not sufficient for the smtp server. I now get a different (but similar) error: Jun 6 17:14:53 localhostname postfix/smtp[76133]: D7ED9A18A05: to=, relay=smtp.work.com[192.168.1.89]:587, delay=1.7, delays=0/0/1.4/0.35, dsn=5.7.1, status=bounced (h

Re: access(5) "OTHER ACTIONS" question

2011-06-06 Thread Ronald F. Guilmette
In message <20110606203126.go8...@np305c2n2.ms.com>, you wrote: >On Mon, Jun 06, 2011 at 01:16:07PM -0700, Ronald F. Guilmette wrote: > >> >> In the access(5) man page, it is either explicitly stated or else >> easily inferred what XXX response value will be sent back to the >> SMTP client for e

Re: Encrypt Paswword?

2011-06-06 Thread Victor Duchovni
On Mon, Jun 06, 2011 at 11:30:59PM +0200, mouss wrote: > > If I use postfix with TLS (and courier-imap with TLS) the SASL > > password and IMAP password are visibe in plain text? > > No. the purpose of TLS is to encrypt traffic, including passwords. Sure. > that said, you need to configure your

Re: access(5) "OTHER ACTIONS" question

2011-06-06 Thread Victor Duchovni
On Mon, Jun 06, 2011 at 02:46:46PM -0700, Ronald F. Guilmette wrote: > Unfortunately, I'm still not clear on any of this. You said "With actions > that are equivalent to DUNNO...". This begs the question. Which ones are > those? The *obvious ones*. If an action is clearly a final OK that termi

Re: access(5) "OTHER ACTIONS" question

2011-06-06 Thread Ronald F. Guilmette
In message <3qp73y409zzh...@spike.porcupine.org>, you wrote: >Ronald F. Guilmette: >> >> In the access(5) man page, it is either explicitly stated or else >> easily inferred what XXX response value will be sent back to the >> SMTP client for each of the possible values listed in the ACCEPT >> AC

Re: Encrypt Paswword?

2011-06-06 Thread mouss
Le 06/06/2011 23:53, Victor Duchovni a écrit : > On Mon, Jun 06, 2011 at 11:30:59PM +0200, mouss wrote: > >>> If I use postfix with TLS (and courier-imap with TLS) the SASL >>> password and IMAP password are visibe in plain text? >> >> No. the purpose of TLS is to encrypt traffic, including passwo

Re: access(5) "OTHER ACTIONS" question

2011-06-06 Thread Ronald F. Guilmette
In message <20110606215604.gu8...@np305c2n2.ms.com>, Viktor wrote: >On Mon, Jun 06, 2011 at 02:46:46PM -0700, Ronald F. Guilmette wrote: > >> Unfortunately, I'm still not clear on any of this. You said "With actions >> that are equivalent to DUNNO...". This begs the question. Which ones are >>

Re: access(5) "OTHER ACTIONS" question

2011-06-06 Thread Victor Duchovni
On Mon, Jun 06, 2011 at 03:20:47PM -0700, Ronald F. Guilmette wrote: > |ACCEPT ACTIONS > | OK > | all-numerical > | > |REJECT ACTIONS > | 4NN text > | 5NN text > | REJECT optional text... Yes, but with actions that are a list of restriction primitives, the the result

Re: postscreen_dnsbl_sites vs. reject_rbl_client

2011-06-06 Thread Jeroen Geilman
On 06/06/2011 10:45 PM, Rich Wales wrote: If I enable postscreen and specify my choice of blocklists and whitelists in postscreen_dnsbl_sites, am I correct in assuming that I might as well remove any reject_rbl_client and permit_dnswl_client clauses from my smtpd_*_restrictions, since they will n

Re: mailq full but nothing in active/deferred/incoming

2011-06-06 Thread Wietse Venema
St?phane MERLE: > > Postfix installs its own sendmail command, to avoid breaking PHP > > etc. This was a smarter move than having to re-educate people. > > yes, I must agree on that ! (that's just confusing because the > /usr/sbin/sendmail is not a script but a binary ... so I though that was >

Re: postscreen_dnsbl_sites vs. reject_rbl_client

2011-06-06 Thread Noel Jones
On 6/6/2011 5:34 PM, Jeroen Geilman wrote: On 06/06/2011 10:45 PM, Rich Wales wrote: If I enable postscreen and specify my choice of blocklists and whitelists in postscreen_dnsbl_sites, am I correct in assuming that I might as well remove any reject_rbl_client and permit_dnswl_client clauses fro

Re: postscreen_dnsbl_sites vs. reject_rbl_client

2011-06-06 Thread Rich Wales
> On the interfaces and ports that postscreen(8) passes mail to, yes. > Do note that the behaviour is different; you will be able to directly > transplant your reject_rbl_client RBLs to postscreen, but postscreen > has many more options available, such as checking for exact return > values, and sco

Re: access(5) "OTHER ACTIONS" question

2011-06-06 Thread Wietse Venema
Ronald F. Guilmette: > > In message <3qp73y409zzh...@spike.porcupine.org>, you wrote: > > >Ronald F. Guilmette: > >> > >> In the access(5) man page, it is either explicitly stated or else > >> easily inferred what XXX response value will be sent back to the > >> SMTP client for each of the possi

Re: postscreen_dnsbl_sites vs. reject_rbl_client

2011-06-06 Thread Wietse Venema
Rich Wales: > If I enable postscreen and specify my choice of blocklists and whitelists > in postscreen_dnsbl_sites, am I correct in assuming that I might as well > remove any reject_rbl_client and permit_dnswl_client clauses from my > smtpd_*_restrictions, since they will now be redundant? Almost

Re: postfix + .forward and forcing the From address

2011-06-06 Thread Wietse Venema
Michael Way: > it would be?: > if !/[[:<:]]user1\.home@work\.com$/ > /./ user1\.home@work\.com Don't use \ in the replacement text! > endif Looks like you want to replace all senders in outbound email by your own email address. In that case it is sufficient to do this: /etc/postfix/ma

Re: connect to smtp.host.com[1.2.3.4]:25: Permission denied

2011-06-06 Thread Darek M
On Thu, May 19, 2011 at 11:31 AM, Wietse Venema wrote: > Darek M: >> On Wed, May 18, 2011 at 4:35 PM, Wietse Venema wrote: >> >> > Check your SELINUX, APPARMOR, etc. "security" settings. >> > >> > ? ? ? ?Wietse >> >> I'm running FreeBSD 8, and there isn't anything running by default >> like SELin

Re: postfix + .forward and forcing the From address

2011-06-06 Thread Wietse Venema
Wietse Venema: > Michael Way: > > it would be?: > > if !/[[:<:]]user1\.home@work\.com$/ > > /./ user1\.home@work\.com Don't use \ in the replacement text! > > endif > > Looks like you want to replace all senders in outbound email by your own > email address. In that case it is sufficient

Re: postscreen_dnsbl_sites vs. reject_rbl_client

2011-06-06 Thread Rich Wales
> Note that postscreen caches the results of successful tests, > so that it does not repeat every test for every connection. > This is controlled by the postscreen_mumble_ttl parameters. Some caching may also be done by my DNS server too, right? This would, of course, be transparent to Postfix an

Re: postscreen_dnsbl_sites vs. reject_rbl_client

2011-06-06 Thread Wietse Venema
Rich Wales: > > Note that postscreen caches the results of successful tests, > > so that it does not repeat every test for every connection. > > This is controlled by the postscreen_mumble_ttl parameters. > > Some caching may also be done by my DNS server too, right? This would, > of course, be t

RE: Forwarding via virtual_mailbox_maps or virtual_maps not working

2011-06-06 Thread Islam, Towhid
Sorry, if I sounded confusing, but yes, I meant a list of value for the parameter virtual_alias_maps. In my old SuSE based postfix (aka SLOX, SuSE OpenExchange) host, I found the following parameter set thusly: virtual_maps= ldap:ldapvuser,hash:/etc/postfix/virtual The above parameter has two

Re: access(5) "OTHER ACTIONS" question

2011-06-06 Thread Ronald F. Guilmette
In message <3qpbvm2dkczh...@spike.porcupine.org>, Wietse Venema wrote: >> If I have understood you correctly, you have said that for every kind/type >> of ACTION specification listed in access(5) _other_ than REJECT & PREPEND >> it is possible to combine that ACTION specification (and its assso

Re: access(5) "OTHER ACTIONS" question

2011-06-06 Thread Victor Duchovni
On Mon, Jun 06, 2011 at 08:08:58PM -0700, Ronald F. Guilmette wrote: > It sounds to me like you are saying that... > >:= | >( [,])* [] No, := | ( [,])* [] := REJECT [text] | OK [text] | 4NN [text]