Re: Variables for addresses in master.cf

2009-03-07 Thread Victor Duchovni
On Sun, Mar 08, 2009 at 03:07:16AM +0100, mouss wrote: > Victor Duchovni a ?crit : > > On Sat, Mar 07, 2009 at 07:51:13PM +0100, mouss wrote: > > > >> BTW, is there any reason why one can't do > >> > >> joepipe ... pipe > >>flags=${joe_flags} > >>user=${joe_user} > >>args=${joe_comman

Re: Accepting sender with MX _only_

2009-03-07 Thread mouss
Halassy Zoltán a écrit : > Hello! > > I don't need to say, if your server is popular, you'll get a dozens of > spam too. Lately i am getting random mails from > www-d...@www.some.hackedsite.com . I am using address verification, so > they usually not coming in, cause port 25 is not open on > www.s

Re: Plus addressing not delivering to folder

2009-03-07 Thread mouss
Charles Marcus a écrit : > On 3/7/2009 1:45 PM, LuKreme wrote: >>> Yes, I was planning on allowing any extension to be used/made up on >>> the fly... thje purpose for using the extension will be for signing >>> up for different sites/lists/things, so I can use the same address, >>> but be able to d

Re: Variables for addresses in master.cf

2009-03-07 Thread mouss
Victor Duchovni a écrit : > On Sat, Mar 07, 2009 at 07:51:13PM +0100, mouss wrote: > >> BTW, is there any reason why one can't do >> >> joepipe ... pipe >> flags=${joe_flags} >> user=${joe_user} >> args=${joe_command} ${joe_options} > > The reason is that theve arguments are not an

Accepting sender with MX _only_

2009-03-07 Thread Halassy Zoltán
Hello! I don't need to say, if your server is popular, you'll get a dozens of spam too. Lately i am getting random mails from www-d...@www.some.hackedsite.com . I am using address verification, so they usually not coming in, cause port 25 is not open on www.some.hackedsite.com (no MX record o

Re: Force authentication for own domains

2009-03-07 Thread Francisco M. Marzoa Alonso
mouss escribió: > most examples you'll see here use hash. you can use whatever db type. > you can use 'postmap -q' to test your map. > > in this particular case, you can create a Access_Sender table, and use > something like > > query = select action from Access_Sender where '%s' = email; > > this

Re: postconf -n suggestion

2009-03-07 Thread Simon J Mudd
a.j.cai...@halplant.com ("Andrew J. Caines") writes: > Wietse Venema wrote: > > Making trouble reports easier requires a saslfinger-like tool that > > captures info about Postfix, the OS, build options, etc. > > While not updated in a few years, postfinger[1] does a fair job of this. > > > [1]

Re: Variables for addresses in master.cf

2009-03-07 Thread Victor Duchovni
On Sat, Mar 07, 2009 at 07:51:13PM +0100, mouss wrote: > BTW, is there any reason why one can't do > > joepipe ... pipe > flags=${joe_flags} > user=${joe_user} > args=${joe_command} ${joe_options} The reason is that theve arguments are not and should not be subject to main.cf m

Re: Plus addressing not delivering to folder

2009-03-07 Thread LuKreme
On 7-Mar-2009, at 12:13, Charles Marcus wrote: As I said in an earlier mail, I do NOT want the folder auto-created - if it doesn't exist, I want the message deliver to fall back to the Inbox... Is there a way to tweak the above to accomplish this? Sure, you can do most anything in procmai

Re: Plus addressing not delivering to folder

2009-03-07 Thread Charles Marcus
On 3/7/2009 1:45 PM, LuKreme wrote: >> Yes, I was planning on allowing any extension to be used/made up on >> the fly... thje purpose for using the extension will be for signing >> up for different sites/lists/things, so I can use the same address, >> but be able to distinguish mail that comes to m

Re: root delivery for monitoring services

2009-03-07 Thread mouss
Cameron Camp a écrit : > I have monitoring applications on boxes on the same subnet as a box I > want to use for mailing list notification using Postfix/mailman to > notify several users. An example is some box throwing an snmp trap, > where a notification would try to send to notification_l...@exa

Re: Variables for addresses in master.cf

2009-03-07 Thread mouss
Wietse Venema a écrit : > Daniel L. Miller: >> Does Postfix support variables (I suppose defined in main.cf) to be used >> for internet addresses in master.cf? Example: >> >> main.cf: >> inbound_interface = 192.168.0.10 >> outbound_interface = 192.168.0.11 >> >> master.cf: >> inbound_

Re: Plus addressing not delivering to folder

2009-03-07 Thread mouss
Noel Jones a écrit : > Charles Marcus wrote: >> On 3/7/2009, mouss (mo...@ml.netoyen.net) wrote: >>> if all extensions are acceptable (not very recommended), >> >> Ok, this caught my attention... >> >> Yes, I was planning on allowing any extension to be used/made up on the >> fly... thje purpose fo

Re: Force authentication for own domains

2009-03-07 Thread mouss
Magnus Bäck a écrit : > On Saturday, March 07, 2009 at 13:40 CET, > "Francisco M. Marzoa Alonso" wrote: > >> I've a postfix server wich uses SASL + Mysql for authentication, my >> own domains are mostly listed in a mysql table on that database. Its >> working fine enough, but I want to made

Re: Plus addressing not delivering to folder

2009-03-07 Thread LuKreme
On 7-Mar-2009, at 08:39, Noel Jones wrote: Postfix does not allow $1 etc. substitution in virtual_mailbox_maps. http://www.postfix.org/postconf.5.html#virtual_mailbox_maps It is pretty easy to set up a procmail transport to be used by postfix: procmail unix - n n - -

Re: Plus addressing not delivering to folder

2009-03-07 Thread LuKreme
On 7-Mar-2009, at 08:11, Charles Marcus wrote: On 3/7/2009, mouss (mo...@ml.netoyen.net) wrote: if all extensions are acceptable (not very recommended), Ok, this caught my attention... Yes, I was planning on allowing any extension to be used/made up on the fly... thje purpose for using the

Re: bcc for email archiving

2009-03-07 Thread Victor Duchovni
On Sat, Mar 07, 2009 at 09:39:16AM -0500, KLaM Postmaster wrote: > I am currently using "always_bcc" to archive email for the group I work > with, I am not sure that we need an archive, but that not my call. > The bcc option is attached to in the "cleanup" service in master.cf > > cleanup unix

Re: Plus addressing not delivering to folder

2009-03-07 Thread Victor Duchovni
On Sat, Mar 07, 2009 at 10:44:54AM -0500, Charles Marcus wrote: > On 3/7/2009, Noel Jones (njo...@megan.vbhcs.org) wrote: > > Some third-party IMAP servers may support "deliver to any extension > > subfolder", I haven't looked. > > They do... both cyrus and dovecot, and I think courier maildrop d

Re: Remove header for non-local delivery (was: Do not include...)

2009-03-07 Thread Noel Jones
Til Schubbe wrote: * On 05.03. Noel Jones muttered: The solution is to define an alternate cleanup service for "submission", and then define alternate header_checks for that cleanup I have a similar problem like the OP: I want to delete a header only if a mail is delivered non-locally. So I

Remove header for non-local delivery (was: Do not include...)

2009-03-07 Thread Til Schubbe
* On 05.03. Noel Jones muttered: > The solution is to define an alternate cleanup service for "submission", > and then define alternate header_checks for that cleanup I have a similar problem like the OP: I want to delete a header only if a mail is delivered non-locally. So I tried to tell smtp

Re: Force authentication for own domains

2009-03-07 Thread Noel Jones
Francisco M. Marzoa Alonso wrote: I did try with this: smtpd_sender_restrictions = check_sender_access proxy:mysql:/etc/postfix/mysql-virtual_domains.cf That's the domain table configuration file that's working fine on "virtual_mailbox_domains", but it didnt work for this: 451 4.3.5 Server co

Re: Plus addressing not delivering to folder

2009-03-07 Thread Charles Marcus
On 3/7/2009, Noel Jones (njo...@megan.vbhcs.org) wrote: > Some third-party IMAP servers may support "deliver to any extension > subfolder", I haven't looked. They do... both cyrus and dovecot, and I think courier maildrop does as well... Since I'm going to be converting to dovecot soon, I'll be u

Re: Plus addressing not delivering to folder

2009-03-07 Thread Noel Jones
Charles Marcus wrote: On 3/7/2009, mouss (mo...@ml.netoyen.net) wrote: if all extensions are acceptable (not very recommended), Ok, this caught my attention... Yes, I was planning on allowing any extension to be used/made up on the fly... thje purpose for using the extension will be for signi

Re: bcc for email archiving

2009-03-07 Thread Jose Ildefonso Camargo Tolosa
Hi! I use to use assp along with postfix, and I do the archiving configuration on ASSP, so that I can have separate SPAM and NOTSPAM archives. Anyway, I use Maildir format, and run a script that deletes messages older that 15 days, but I believe that a similar script can be used for moving/compre

Re: Force authentication for own domains

2009-03-07 Thread Francisco M. Marzoa Alonso
I did try with this: smtpd_sender_restrictions = check_sender_access proxy:mysql:/etc/postfix/mysql-virtual_domains.cf That's the domain table configuration file that's working fine on "virtual_mailbox_domains", but it didnt work for this: 451 4.3.5 Server configuration error Francisco M. Ma

Re: Force authentication for own domains

2009-03-07 Thread Francisco M. Marzoa Alonso
Hello Magnus, Thanks a lot. I saw that solution before searching on Internet, but I would like something that gets my domains directly from my domain table on my Mysql database instead of putting all domains in a new file. May be any manner of using a database table within "hash:..." instead of a

Re: Plus addressing not delivering to folder

2009-03-07 Thread Charles Marcus
On 3/7/2009, mouss (mo...@ml.netoyen.net) wrote: > if all extensions are acceptable (not very recommended), Ok, this caught my attention... Yes, I was planning on allowing any extension to be used/made up on the fly... thje purpose for using the extension will be for signing up for different site

bcc for email archiving

2009-03-07 Thread KLaM Postmaster
I am currently using "always_bcc" to archive email for the group I work with, I am not sure that we need an archive, but that not my call. The bcc option is attached to in the "cleanup" service in master.cf cleanup unixn-n-0cleanup .. -o always_bcc=archi...@example.co

Re: Plus addressing not delivering to folder

2009-03-07 Thread mouss
Charles Marcus a écrit : > On 3/6/2009 3:43 PM, LuKreme wrote: >> On 6-Mar-2009, at 12:27, Charles Marcus wrote: >>> Hmmm... I'm now wondering if ${extension} can somehow be used with the >>> virtual_mailbox_maps query to accomplish what I want? > >> Yes, but you need procmail (or, I assume, Maild

Re: Force authentication for own domains

2009-03-07 Thread Magnus Bäck
On Saturday, March 07, 2009 at 13:40 CET, "Francisco M. Marzoa Alonso" wrote: > I've a postfix server wich uses SASL + Mysql for authentication, my > own domains are mostly listed in a mysql table on that database. Its > working fine enough, but I want to made it a bit more restrictrive. At

Force authentication for own domains

2009-03-07 Thread Francisco M. Marzoa Alonso
Helo, I've a postfix server wich uses SASL + Mysql for authentication, my own domains are mostly listed in a mysql table on that database. Its working fine enough, but I want to made it a bit more restrictrive. At current time its behaviour about sending mail is as folows: FROM external domains T

Re: postconf -n suggestion

2009-03-07 Thread Andrew J. Caines
Wietse Venema wrote: > Making trouble reports easier requires a saslfinger-like tool that > captures info about Postfix, the OS, build options, etc. While not updated in a few years, postfinger[1] does a fair job of this. [1] ftp://ftp.wl0.org/ftp.wl0.org/postfinger/ -- -Andrew J. Caines- Un

Re: restricting who can be sent to.

2009-03-07 Thread mouss
mouss a écrit : > Carver Banks a écrit : >> Or so I thought..., that did restrict all mail to the internal recipients as >> well. >> >> I need anyone in mydomain.com to be able to email anyone in mydomain.local, >> but I need users on mydomain.local to only be allowed to email a few people >> in

Re: restricting who can be sent to.

2009-03-07 Thread mouss
Carver Banks a écrit : > Or so I thought..., that did restrict all mail to the internal recipients as > well. > > I need anyone in mydomain.com to be able to email anyone in mydomain.local, > but I need users on mydomain.local to only be allowed to email a few people > in mydomain.com, and none

Re: Postoffice with virtual mailbox and a Maildrop issue

2009-03-07 Thread mouss
Rocco Scappatura a écrit : > [snip] > Why the message is not delivered immediately to the virtual mailbox after > vacation filter? > because the domain is not listed as a virtual mailbox domain >>> # postmap -q t...@receiver.tld >>> proxy:mysql:/etc/postfix/mysql-virtual-domain.cf >>> receiver.

Re: Postoffice with virtual mailbox and a Maildrop issue

2009-03-07 Thread Rocco Scappatura
Thanks Magnus, >> append_at_myorigin = no deleted. >> I have the problem that mail destined to local virtual mailbox is not >> delivered locally, even if all looks up succesfully confirm tha the >> message have to be delivered locally: > > So what does happen to the messages? At the moment, I'm