Re: [Re: virtual_alias_maps works with hash but not LDAP (Postfix 2.5.1)]

2009-07-26 Thread John/SML
Hi Mouss, Thank you for your information. >Are you using a proxy_filter? if so, take a look at >http://www.postfix.org/SMTPD_PROXY_README.html >and search for "queue file write error". No, no proxy_filter enable. I am using Ubuntu 8.04.2 LTS Postix package, and the section for p

Re: Local to local and pop-before-smtp

2009-07-26 Thread Pablo Yaggi
Thank's a lot, I'm working on it and so on sasl support. Bests, Pablo On Sunday 26 July 2009 07:55:38 pm Magnus Bäck wrote: > On Monday, July 27, 2009 at 00:49 CEST, > Pablo Yaggi wrote: > > > On Sunday 26 July 2009 07:19:39 pm Magnus Bäck wrote: > > > > > I suggest you use SASL instead of

Re: Local to local and pop-before-smtp

2009-07-26 Thread Magnus Bäck
On Monday, July 27, 2009 at 00:49 CEST, Pablo Yaggi wrote: > On Sunday 26 July 2009 07:19:39 pm Magnus Bäck wrote: > > > I suggest you use SASL instead of POP-before-SMTP and use the > > smtpd_sender_login_maps feature. > > But I'm running a mass virtual hosting server, if i use authenticate

Re: Local to local and pop-before-smtp

2009-07-26 Thread Pablo Yaggi
On Sunday 26 July 2009 07:19:39 pm Magnus Bäck wrote: > On Sunday, July 26, 2009 at 23:58 CEST, > Pablo Yaggi wrote: > > > I'm running postfix as a virtual mail server and I have the > > following issue, relay control is working fine with pop-before-smtp, > > but still get spam passing

Re: Local to local and pop-before-smtp

2009-07-26 Thread Magnus Bäck
On Sunday, July 26, 2009 at 23:58 CEST, Pablo Yaggi wrote: > I'm running postfix as a virtual mail server and I have the > following issue, relay control is working fine with pop-before-smtp, > but still get spam passing through because when a spammer puts the > "From" header with any

Local to local and pop-before-smtp

2009-07-26 Thread Pablo Yaggi
Hi, I'm running postfix as a virtual mail server and I have the following issue, relay control is working fine with pop-before-smtp, but still get spam passing through because when a spammer puts the "From" header with any of my virtual domains and a "Rcpt" also is on the virtual domains

Re: Fax Gateway Usage with Hylafax

2009-07-26 Thread Wietse Venema
Daniel L. Miller: > I wrote a simple PHP script using PHP's MimeDecode module. This script > takes receives a message on stdin (via Postfix 'pipe') with one or more > attachments, writes each attachment out to a temp file, then calls > Hylafax with the appropriate arguments and a list of the te

Re: Fax Gateway Usage with Hylafax

2009-07-26 Thread LuKreme
On Jul 26, 2009, at 11:58 AM, Daniel L. Miller wrote: I suppose if I was using a consistent naming scheme for the temp files, or placed them in a subdirectory, I could use an hourly cron job to make sure they were cleaned up. That approach has always bothered me - but I don't know of a bett

Re: Fax Gateway Usage with Hylafax

2009-07-26 Thread Daniel L. Miller
I wrote a simple PHP script using PHP's MimeDecode module. This script takes receives a message on stdin (via Postfix 'pipe') with one or more attachments, writes each attachment out to a temp file, then calls Hylafax with the appropriate arguments and a list of the tempfiles - and then delete

Re: Tips to deny sending to foreign domains from some internal users

2009-07-26 Thread Damian Myerscough
I forgot to mention that when you use "smtpd_sender_login_maps" you also need to add the following to the main.cf file. smtpd_sender_restrictions = reject_sender_login_mismatch 2009/7/26 David Touzeau : > Le dimanche 26 juillet 2009 à 19:26 +0200, mouss a écrit : >> David Touzeau a écrit : >> >

Re: Tips to deny sending to foreign domains from some internal users

2009-07-26 Thread David Touzeau
Le dimanche 26 juillet 2009 à 19:26 +0200, mouss a écrit : > David Touzeau a écrit : > > Dear > > > > I have a plan to do this : > > Some people can send mails to Internet (foreign domains) > > Some people can only send mails to the user local database and not to > > foreign domains. > > > > Is

Re: Tips to deny sending to foreign domains from some internal users

2009-07-26 Thread Benny Pedersen
On Sun, July 26, 2009 19:26, mouss wrote: > (the alternative would be to give no login:pass to "restricted" users). practical joke ? -- xpoint

Re: Tips to deny sending to foreign domains from some internal users

2009-07-26 Thread mouss
David Touzeau a écrit : > Dear > > I have a plan to do this : > Some people can send mails to Internet (foreign domains) > Some people can only send mails to the user local database and not to > foreign domains. > > Is there a "map" solution to do this behavior ?? > smtpd_sender_restrictions =

Re: Tips to deny sending to foreign domains from some internal users

2009-07-26 Thread /dev/rob0
On Sunday 26 July 2009 10:29:50 David Touzeau wrote: > My need is simple: > j...@domain.tld can send email to san...@domain.tld has > j...@domain.tld and san...@domain.tld are internal users. > > But j...@domain.tld cannot send mail to u...@gmail.com because > gmail.com is a foreign domain. (inte

Re: Tips to deny sending to foreign domains from some internal users

2009-07-26 Thread David Touzeau
Le dimanche 26 juillet 2009 à 16:01 +0100, Damian Myerscough a écrit : > Hello, > > You can also use smtpd_sender_login_maps which allows you to map > email addresses to users e.g. > > smtpd_sender_login_maps = hash:/etc/postfix/sender_maps > > > The contents of sender_maps would look like > >

Re: Tips to deny sending to foreign domains from some internal users

2009-07-26 Thread David Touzeau
> On Sun, July 26, 2009 15:44, David Touzeau wrote: > > > Is there a "map" solution to do this behavior ?? > > policyd v2 can do this > > http://www.policyd.org/ its more complicated without :-) > > join policyd maillist for more info on this > Hum... i have read the policyd doc but it seems

Re: Tips to deny sending to foreign domains from some internal users

2009-07-26 Thread Damian Myerscough
Hello, You can also use smtpd_sender_login_maps which allows you to map email addresses to users e.g. smtpd_sender_login_maps = hash:/etc/postfix/sender_maps The contents of sender_maps would look like dam...@example.com damian 2009/7/26 Benny Pedersen : > > On Sun, July 26, 2009 15:44,

Re: Tips to deny sending to foreign domains from some internal users

2009-07-26 Thread Benny Pedersen
On Sun, July 26, 2009 15:44, David Touzeau wrote: > Is there a "map" solution to do this behavior ?? policyd v2 can do this http://www.policyd.org/ its more complicated without :-) join policyd maillist for more info on this -- xpoint

Tips to deny sending to foreign domains from some internal users

2009-07-26 Thread David Touzeau
Dear I have a plan to do this : Some people can send mails to Internet (foreign domains) Some people can only send mails to the user local database and not to foreign domains. Is there a "map" solution to do this behavior ?? Best regards