Re: forwarding mail to another MX on same domain

2008-11-21 Thread Ville Walveranta
I'll continue here since Krosrow's issue has been resolved (so I'm not really hijacking the thread). I now have the following defined in mailbox_transport_maps: [EMAIL PROTECTED]smtp:mx.myexternaldomain.com Yet when I attempt to send mail to the local system at [EMAIL PROTECTED] I ge

Re: Address Verification Header

2008-11-21 Thread Jason Wohlford
On Nov 21, 2008, at 4:37 PM, Noel Jones wrote: Jason Wohlford wrote: On Nov 15, 2008, at 1:36 PM, Noel Jones wrote: Jason Wohlford wrote: Is there any way to perform an address verification on a message and then add a header to the message? I'd like to let postfix do address verification

Re: Address Verification Header

2008-11-21 Thread Jason Wohlford
On Nov 21, 2008, at 11:17 PM, Victor Duchovni wrote: On Fri, Nov 21, 2008 at 04:37:04PM -0600, Noel Jones wrote: My end goal is to let postfix handle the address verification, while another process handles the rejection. A spamassassin plugin (or another bit of software) could query the add

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Ville Walveranta
On Fri, Nov 21, 2008 at 11:41 PM, Victor Duchovni <[EMAIL PROTECTED]> wrote: > Your observations were in error.. You're correct. I hadn't refreshed the system after I made the change. Ville

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Victor Duchovni
On Fri, Nov 21, 2008 at 11:29:55PM -0600, Ville Walveranta wrote: > On Fri, Nov 21, 2008 at 11:18 PM, Victor Duchovni > <[EMAIL PROTECTED]> wrote: > > Wrong syntax. In the transport table, domains don't start with > > an "@". > > Ok, I corrected it (although it seemed to work with an "@", too).

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Ville Walveranta
On Fri, Nov 21, 2008 at 11:18 PM, Victor Duchovni <[EMAIL PROTECTED]> wrote: > Wrong syntax. In the transport table, domains don't start with > an "@". Ok, I corrected it (although it seemed to work with an "@", too). Ville

Limiting header_checks by domain or interface

2008-11-21 Thread Ville Walveranta
Is it possible to limit header_checks either by recipient domain or by listening interface? I'd like to remove certain headers, but only from specific domains. Ville

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Victor Duchovni
On Fri, Nov 21, 2008 at 11:13:51PM -0600, Ville Walveranta wrote: > On Fri, Nov 21, 2008 at 1:31 PM, Wietse Venema <[EMAIL PROTECTED]> wrote: > > A transport maps entry like this: > > > >[EMAIL PROTECTED]smtp:ms-exch.example.com > > It also seems to be possible to redirect an entire d

Re: Address Verification Header

2008-11-21 Thread Victor Duchovni
On Fri, Nov 21, 2008 at 04:37:04PM -0600, Noel Jones wrote: > >My end goal is to let postfix handle the address verification, while > >another process handles the rejection. A spamassassin plugin (or another > >bit of software) could query the address_verify_map (or mail logs) and > >then act a

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Ville Walveranta
On Fri, Nov 21, 2008 at 1:31 PM, Wietse Venema <[EMAIL PROTECTED]> wrote: > A transport maps entry like this: > >[EMAIL PROTECTED]smtp:ms-exch.example.com It also seems to be possible to redirect an entire domain to another smtp server.. @example.comsmtp:ms-exch.example.co

Re: backscatter with virtual domain

2008-11-21 Thread Quanah Gibson-Mount
--On Friday, November 21, 2008 3:15 PM -0500 Victor Duchovni <[EMAIL PROTECTED]> wrote: On Fri, Nov 21, 2008 at 12:06:17PM -0800, Quanah Gibson-Mount wrote: [EMAIL PROTECTED] conf]$ grep ldap main.cf sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf Don't use sender_canonical_

Re: Postfix and quota clarification

2008-11-21 Thread Wietse Venema
mouss: > Rocco Scappatura a ?crit : > > Hello, > > > > I have a post-office platform based on > > Postfix-2.5.2+Courier-IMAP-4.0.1-Courier-authlib-0.53+MySQL-5.0.33. > > > > Can someone give some hint on how enable (and verify that works) quota > > on mailboxes? > > > > 1- there is no quota sup

Re: Access Restriction Not Working

2008-11-21 Thread mouss
Carlos Williams a écrit : > In my attempt to block my Postfix email server from receiving and > sending email to gmail, yahoo, hotmail, aol, and msn email accounts, I > created the following: > > vim /etc/postfix/main.cf > > smtpd_sender_restrictions = hash:/etc/postfix/access > reject_unauth_des

Re: something about maillog

2008-11-21 Thread Juan Miscaro
2008/11/20 Victor Duchovni <[EMAIL PROTECTED]>: > On Thu, Nov 20, 2008 at 09:32:03PM -0500, Jorge E. Rojas wrote: > >> hi >> >> somebody can tell me how (if possible) have a full date (i.e. with the >> year) in the maillog ? > > Use syslog-ng or rsyslog /juan

Re: Postfix and quota clarification

2008-11-21 Thread mouss
Rocco Scappatura a écrit : > Hello, > > I have a post-office platform based on > Postfix-2.5.2+Courier-IMAP-4.0.1-Courier-authlib-0.53+MySQL-5.0.33. > > Can someone give some hint on how enable (and verify that works) quota > on mailboxes? > 1- there is no quota support in postfix. 2- there is

Re: Address Verification Header

2008-11-21 Thread Noel Jones
Jason Wohlford wrote: On Nov 15, 2008, at 1:36 PM, Noel Jones wrote: Jason Wohlford wrote: Is there any way to perform an address verification on a message and then add a header to the message? I'd like to let postfix do address verification and then report the result to spamassassin. Sugges

Re: how to manage Active queue

2008-11-21 Thread Noel Jones
Jevos, Peter wrote: Hi I'd like to ask you if it is possible to somehow manage active queue For example from the qshape program I can see that there is some mails in the active queue. How can I examine them or delete only special mails from the active queue I cannot examine logs, cause it's

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Khosrow Ebrahimpour
Just a correction. The solution that Wietse had suggested does work. I had forgotten one crucial step: re-building the lookup table. After I ran "postmap /etc/postfix/transport" the forwarding now works correctly.

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Victor Duchovni
On Fri, Nov 21, 2008 at 08:34:35PM +, Khosrow Ebrahimpour wrote: > > > A transport maps entry like this: > > > > > > [EMAIL PROTECTED] smtp:ms-exch.example.com > > > > > > Should do the job. > > > > But may cause a loop if the mail ultimately returns to the same > > server for final de

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Khosrow Ebrahimpour
First, thanks for the response everyone. > > A transport maps entry like this: > > > > [EMAIL PROTECTED] smtp:ms-exch.example.com > > > > Should do the job. > > But may cause a loop if the mail ultimately returns to the same > server for final delivery. The OP has to explain the situatio

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Ville Walveranta
On Fri, Nov 21, 2008 at 1:31 PM, Wietse Venema <[EMAIL PROTECTED]> wrote: > A transport maps entry like this: > >[EMAIL PROTECTED]smtp:ms-exch.example.com > > Should do the job. Interesting. I think this may answer the question I posted last night about "Preventing local forwarding for

Re: backscatter with virtual domain

2008-11-21 Thread Victor Duchovni
On Fri, Nov 21, 2008 at 12:06:17PM -0800, Quanah Gibson-Mount wrote: > [EMAIL PROTECTED] conf]$ grep ldap main.cf > sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf Don't use sender_canonical_maps. Use either canonical_maps or smtp_generic_maps as appropriate. Header recipients bec

backscatter with virtual domain

2008-11-21 Thread Quanah Gibson-Mount
Hi, First, sorry if this lacks some detail, dealing with email delivery is not my normal thing (I generally work more purely in code realms. :P ). However, I've been assigned to write a milter to deal with backscatter spam that can be generated by our virtual domain setup, and first I'd like t

Re: Access Restriction Not Working

2008-11-21 Thread Brian Evans - Postfix List
Carlos Williams wrote: > In my attempt to block my Postfix email server from receiving and > sending email to gmail, yahoo, hotmail, aol, and msn email accounts, I > created the following: > > vim /etc/postfix/main.cf > We prefer 'postconf -n' for a good reason. It shows you (most times) what P

Re: Access Restriction Not Working

2008-11-21 Thread Terry Carmen
Carlos Williams wrote: In my attempt to block my Postfix email server from receiving and sending email to gmail, yahoo, hotmail, aol, and msn email accounts, I created the following: vim /etc/postfix/main.cf smtpd_sender_restrictions = hash:/etc/postfix/access reject_unauth_destination = hash:/

Access Restriction Not Working

2008-11-21 Thread Carlos Williams
In my attempt to block my Postfix email server from receiving and sending email to gmail, yahoo, hotmail, aol, and msn email accounts, I created the following: vim /etc/postfix/main.cf smtpd_sender_restrictions = hash:/etc/postfix/access reject_unauth_destination = hash:/etc/postfix/access Then

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Victor Duchovni
On Fri, Nov 21, 2008 at 02:31:38PM -0500, Wietse Venema wrote: > > Since the migration, this feature doesn't work anymore. ms-exch is a > > virtual > > host that maps to one of three actual servers. And the so simply putting a > > rule that would forward mail to [EMAIL PROTECTED] doesn't work.

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Wietse Venema
Khosrow Ebrahimpour: > Hi postfix-users, > > We recently migrated from a Sendmail/Cyrus environment to a Postfix/Courier > setup. Some of the users had ".forward" files that would forward their mail > to an exchange server in our network, and this was done with a file like this > one : > > ==

Re: preventing backscatter with virtual_alias_maps

2008-11-21 Thread mouss
D G Teed a écrit : > I'd like to see an example of a set up where we could use relay_domains > and provide the flexibility of sending to any of our inbox servers > within our domain, or forwarding a particular addresses email > to an outside email address like gmail.com > it do

Re: preventing backscatter with virtual_alias_maps

2008-11-21 Thread mouss
D G Teed a écrit : > Perhaps "non standard" but it works best for us. > 98% of our virtual map is mapped to one of three inbox > servers, while the other 2% want to forward their > stuff to gmail or some special service. It seems > the most flexible way to run a mapping. but it is not. actually,

Re: forwarding mail to another MX on same domain

2008-11-21 Thread Brian Evans - Postfix List
Khosrow Ebrahimpour wrote: > Hi postfix-users, > > We recently migrated from a Sendmail/Cyrus environment to a Postfix/Courier > setup. Some of the users had ".forward" files that would forward their mail > to an exchange server in our network, and this was done with a file like this > one : >

Re: 4.5.3 too many recipients

2008-11-21 Thread Mark Goodge
Michael De Groote wrote: i have a very simple postfix setup running at school. now the principal wants to send mails to all the parents that registered their emailaddress and signed on for a newsletter every week. This causes him to get a 452: 4.5.3 Too many recipients. I tried setting the

Re: preventing backscatter with virtual_alias_maps

2008-11-21 Thread D G Teed
On Fri, Nov 21, 2008 at 9:14 AM, Wietse Venema <[EMAIL PROTECTED]> wrote: > On Fri, Nov 21, 2008 at 3:39 AM, mouss <[EMAIL PROTECTED]> wrote: > > if you have no domains in relay_domains, then you don't need > > relay_recipient_maps nor reject_unverified_domains. > > > > you are using a "non standa

forwarding mail to another MX on same domain

2008-11-21 Thread Khosrow Ebrahimpour
Hi postfix-users, We recently migrated from a Sendmail/Cyrus environment to a Postfix/Courier setup. Some of the users had ".forward" files that would forward their mail to an exchange server in our network, and this was done with a file like this one : === @ms-exch.example.com:[EMAIL PROTECT

Re: how to manage Active queue

2008-11-21 Thread Terry Carmen
Brian Evans - Postfix List wrote: Jevos, Peter wrote: Hi I'd like to ask you if it is possible to somehow manage active queue For example from the qshape program I can see that there is some mails in the active queue. How can I examine them or delete only special mails from the active qu

RE: how to manage Active queue

2008-11-21 Thread Jevos, Peter
> > Hi > > > > I'd like to ask you if it is possible to somehow manage active queue > > > > For example from the qshape program I can see that there is some > mails > > in the active queue. > > > > How can I examine them or delete only special mails from the active > > queue > > > > I cannot examin

Re: how to manage Active queue

2008-11-21 Thread Brian Evans - Postfix List
Jevos, Peter wrote: > Hi > > I'd like to ask you if it is possible to somehow manage active queue > > For example from the qshape program I can see that there is some mails > in the active queue. > > How can I examine them or delete only special mails from the active > queue > > I cannot examine lo

Re: preventing backscatter with virtual_alias_maps

2008-11-21 Thread Wietse Venema
On Fri, Nov 21, 2008 at 3:39 AM, mouss <[EMAIL PROTECTED]> wrote: > if you have no domains in relay_domains, then you don't need > relay_recipient_maps nor reject_unverified_domains. > > you are using a "non standard" setup in the sense that you are declaring > the domains as virtual_alias_domains

Re: 4.5.3 too many recipients

2008-11-21 Thread Wietse Venema
Michael De Groote: > i have a very simple postfix setup running at school. > > now the principal wants to send mails to all the parents that registered > their emailaddress and signed on for a newsletter every week. > This causes him to get a 452: 4.5.3 Too many recipients. The internet mail stan

Re: preventing backscatter with virtual_alias_maps

2008-11-21 Thread D G Teed
On Fri, Nov 21, 2008 at 3:39 AM, mouss <[EMAIL PROTECTED]> wrote: > > if you have no domains in relay_domains, then you don't need > relay_recipient_maps nor reject_unverified_domains. > > you are using a "non standard" setup in the sense that you are declaring > the domains as virtual_alias_domai

4.5.3 too many recipients

2008-11-21 Thread Michael De Groote
i have a very simple postfix setup running at school. now the principal wants to send mails to all the parents that registered their emailaddress and signed on for a newsletter every week. This causes him to get a 452: 4.5.3 Too many recipients. I tried setting the default_destination_recipient_l

Re: something about maillog

2008-11-21 Thread Wietse Venema
Jorge E. Rojas: > hi > > somebody can tell me how (if possible) have a full date (i.e. with the > year) in the maillog ? The date format is chosen by the syslog() system library function. Wietse

Postfix and quota clarification

2008-11-21 Thread Rocco Scappatura
Hello, I have a post-office platform based on Postfix-2.5.2+Courier-IMAP-4.0.1-Courier-authlib-0.53+MySQL-5.0.33. Can someone give some hint on how enable (and verify that works) quota on mailboxes? Thanks, rocsca

how to manage Active queue

2008-11-21 Thread Jevos, Peter
Hi I'd like to ask you if it is possible to somehow manage active queue For example from the qshape program I can see that there is some mails in the active queue. How can I examine them or delete only special mails from the active queue I cannot examine logs, cause it's a lot of mega's and it

RE: emails not arriving "timeout after CONNECT", END-O F-MESSAGE, DATA, EHLO‏

2008-11-21 Thread Martin Vila
Oh sorry. In the configuration file it was always set as: smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination About telneting from the server's shell, all the smtp commands pass fine. No problem with the "." ending. The error happens always only from certain domains o

Re: Postfix listening on 25, unable to telnet to 25 - my first config

2008-11-21 Thread Olivier MJ Crepin-Leblond
Also check SElinux if you are running this. It may prevent changes to the port config from taking place. You can see entries in the logfile called /var/log/messages Regards, Olivier -- Olivier MJ Crepin-Leblond, Ph.D Global Information Highway Ltd http://www.gih.com/ocl.html - Origina

Re: emails not arriving "timeout after CONNECT", E ND-OF-MESSAGE, DATA, EHLO‏

2008-11-21 Thread Olivier MJ Crepin-Leblond
What I meant Martin was that there was a space in the "destination" word, which was written as "destina tion" rather than "destination". If you make smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination Does it work? Olivier -- Olivier MJ Crepin-Leblond, Ph.D Global In

Preventing local forwarding for some local domains

2008-11-21 Thread Ville Walveranta
The question may sound odd, but here's what I'm trying to do: There are number of virtual domains defined on the local server that is the final destination for these domains. Yet the MX record in the DNS for these domains points to the mail exchangers of an external spam filtering service which in

Re: emails not arriving "timeout after CONNECT", END-OF-MESSAGE, DATA, E HLO‏

2008-11-21 Thread mouss
Martin Vila a écrit : > >> smtpd_recipient_restrictions = permit_mynetworks, > reject_unauth_destina tion > > Could it be this line, which as "reject_unauth_destina tion" > or is this my email viewer of your cut/paste process? > > > Thanks Olivier, I just tried only: smtpd_recipient_restrict