Re: postfix questions: when emails are being rejected...

2008-12-30 Thread Hwan Dong
Hi Jim,   much thanks for your comments. I looked at the backoff. But it is to delay the undelieverable messages, is there any way to delay all the following message for the SAME destination domain?   i.e. if one email to a...@hotmail.com is rejected, I still have lots of emails to users from ho

Re: Delivered to command difference if .procmailrc exists

2008-12-30 Thread Jacob Anawalt
On Tue, Dec 30, 2008 at 9:47 PM, Wietse Venema wrote: > Perhaps you could follow instructions in the mailing list welcome message. > If you meant that I failed to include the full postconf -n output, I am hesitant to show the whole configuration of that system so I only included snippets. I apolo

Re: Is it possible for SMTP AUTH to CHECK or force a "Mail From" Address?

2008-12-30 Thread Patrick
> Patrick wrote: >> I have Postfix set up using virtual domains with sasl enabled such that >> to >> send an e-mail they need to login with "usern...@domain.com". >> >> As it is, however, when a user logs in to the smtpd, they can thereafter >> treat my mail server as an open relay & forge their "M

Re: postfix questions: when emails are being rejected...

2008-12-30 Thread Jim Wright
On Dec 30, 2008, at 11:44 PM, Hwan Dong wrote: after there is some rejection, add "sleep/delay" before resuming sending, this timer could be different from previous "constant sending delay" as flow-control, this rejection delay is more like "ok, it seems you are not happy or too busy, I am

Re: Is it possible for SMTP AUTH to CHECK or force a "Mail From" Address?

2008-12-30 Thread Darren Pilgrim
Patrick wrote: I have Postfix set up using virtual domains with sasl enabled such that to send an e-mail they need to login with "usern...@domain.com". As it is, however, when a user logs in to the smtpd, they can thereafter treat my mail server as an open relay & forge their "Mail From" address

postfix questions: when emails are being rejected...

2008-12-30 Thread Hwan Dong
Hi there,   Instead of paying email professionals, I set up a postfix SMTP server to send emails to the club members. I have also successfully enabled the delay between sending to some ISPs. But as more as I am sending, I could still get rejection. Do you have similar experience? Any insight or

Is it possible for SMTP AUTH to CHECK or force a "Mail From" Address?

2008-12-30 Thread Patrick
I have Postfix set up using virtual domains with sasl enabled such that to send an e-mail they need to login with "usern...@domain.com". As it is, however, when a user logs in to the smtpd, they can thereafter treat my mail server as an open relay & forge their "Mail From" address to come from any

Re: Delivered to command difference if .procmailrc exists

2008-12-30 Thread Wietse Venema
Jacob Anawalt: > Hello, > > My configured mailbox_command has been 'procmail -a "$EXTENSION"' for > the longest time. I did not notice the difference between emails > 'delivered to command: procmail -a "$EXTENSION" and those 'delivered > to command: /usr/bin/procmail' because it was procmail in bo

Re: Alias piping + mysql in virtual domains

2008-12-30 Thread Wietse Venema
Sahil Tandon: > Joselito wrote: > > > I'm moving an existing domain to virtual mailboxes. All the info is > > stored in a mysql database. Currently all devlivery and alias mapping > > is working correctly; I'm using virtual_mailbox_maps, > > virtual_alias_maps and virtual_mailbox_domains stored

Re: Alias piping + mysql in virtual domains

2008-12-30 Thread Sahil Tandon
Joselito wrote: > I'm moving an existing domain to virtual mailboxes. All the info is > stored in a mysql database. Currently all devlivery and alias mapping > is working correctly; I'm using virtual_mailbox_maps, > virtual_alias_maps and virtual_mailbox_domains stored in the sql > backend. > >

Re: Alias piping + mysql in virtual domains

2008-12-30 Thread mouss
Joselito a écrit : > Hi, > > I'm moving an existing domain to virtual mailboxes. All the info is > stored in a mysql database. Currently all devlivery and alias mapping > is working correctly; I'm using virtual_mailbox_maps, > virtual_alias_maps and virtual_mailbox_domains stored in the sql > ba

Alias piping + mysql in virtual domains

2008-12-30 Thread Joselito
Hi, I'm moving an existing domain to virtual mailboxes. All the info is stored in a mysql database. Currently all devlivery and alias mapping is working correctly; I'm using virtual_mailbox_maps, virtual_alias_maps and virtual_mailbox_domains stored in the sql backend. Problem is that aliases

Delivered to command difference if .procmailrc exists

2008-12-30 Thread Jacob Anawalt
Hello, My configured mailbox_command has been 'procmail -a "$EXTENSION"' for the longest time. I did not notice the difference between emails 'delivered to command: procmail -a "$EXTENSION" and those 'delivered to command: /usr/bin/procmail' because it was procmail in both cases. I have never trie

Re: Segmentation errors

2008-12-30 Thread Wietse Venema
webmas...@aus-city.com: > Hi, > > I keep getting these errors in /var/log/messages and can't work out why.. > > Dec 31 10:07:59 server kernel: postfix-queue[1323]: segfault at > 2068616e ip 08049f09 sp bfc13920 error 4 in postfix-queue[8047000+e000] > Dec 31 10:12:01 server kernel: postfix-queu

Segmentation errors

2008-12-30 Thread webmaster
Hi, I keep getting these errors in /var/log/messages and can't work out why.. Dec 31 10:07:59 server kernel: postfix-queue[1323]: segfault at 2068616e ip 08049f09 sp bfc13920 error 4 in postfix-queue[8047000+e000] Dec 31 10:12:01 server kernel: postfix-queue[1559]: segfault at 2068616e ip 08

Re: Enforcing sending domain from the inside network

2008-12-30 Thread mouss
D. Karapiperis a écrit : > O/H Wietse Venema έγραψε: >> Since he asked for a "nice" way to specify this in Postfix, a "nice" >> implementation of this would look like this: >> >> /etc/postfix/main.cf: >> smtpd_sender_restrictions = permit_mydomain, reject_mynetworks >> >> Where the details

Re: Enforcing sending domain from the inside network

2008-12-30 Thread D. Karapiperis
O/H Wietse Venema έγραψε: Since he asked for a "nice" way to specify this in Postfix, a "nice" implementation of this would look like this: /etc/postfix/main.cf: smtpd_sender_restrictions = permit_mydomain, reject_mynetworks Where the details are hidden by restriction classes: /etc

Re: Enforcing sending domain from the inside network

2008-12-30 Thread Wietse Venema
Victor Duchovni: > On Tue, Dec 30, 2008 at 12:38:38PM -0500, Wietse Venema wrote: > > > For example > > > > /etc/postfix/main.cf: > > smtpd_sender_restrictions = > > check_sender_access hash:/etc/postfix/sender_access > > check_client_access pcre:/etc/postfix/client_access.pcre > > >

Re: Enforcing sending domain from the inside network

2008-12-30 Thread Victor Duchovni
On Tue, Dec 30, 2008 at 12:38:38PM -0500, Wietse Venema wrote: > For example > > /etc/postfix/main.cf: > smtpd_sender_restrictions = > check_sender_access hash:/etc/postfix/sender_access > check_client_access pcre:/etc/postfix/client_access.pcre > > hash:/etc/postfix/sender_acces

Re: Enforcing sending domain from the inside network

2008-12-30 Thread mouss
Wietse Venema a écrit : > D. Karapiperis: >> I did the from_inside_network thing to do the logical AND regarding the >> sending domain. Is there any way to do this woth permit_mynetworks? >> >> Is there any way to permit local users (from the inside network) to send >> emails using the business d

Re: Enforcing sending domain from the inside network

2008-12-30 Thread mouss
D. Karapiperis a écrit : > I did the from_inside_network thing to do the logical AND regarding the > sending domain. A "logical AND" can be replaced by a sequence. and a sequence is easier to manage (in the mind, on paper, ...). > Is there any way to do this woth permit_mynetworks? > to do what

Re: Enforcing sending domain from the inside network

2008-12-30 Thread Wietse Venema
D. Karapiperis: > I did the from_inside_network thing to do the logical AND regarding the > sending domain. Is there any way to do this woth permit_mynetworks? > > Is there any way to permit local users (from the inside network) to send > emails using the business domain in a clear and nice way

Re: Enforcing sending domain from the inside network

2008-12-30 Thread D. Karapiperis
O/H mouss έγραψε: D. Karapiperis a écrit : Hi All I have a question regarding postfix restrictions. Is there a way for Postfix to enforce some kind of policy so that all the outgoing (allowed) mails be " @business.com" and all the others be rejected. Of course this policy should be enf

Re: postfix: set up pop3 / imap with postfix..

2008-12-30 Thread Gerard
On Mon, 29 Dec 2008 23:54:36 -0800 (PST) "vivek.agrawal" wrote: >I want to use postfix to send and receive mail for my web application. >Currently i am able to send email using gmail as relay host. now i am >trying to get email comming to same gmail account which i am using for >relay host. on so

Re: Handling VERP bounces

2008-12-30 Thread Wietse Venema
ram: > If I am getting bounces for VERP ids With VERP, the envelope recipient rcptn...@rcptdomain is embedded in the bounce address as owner-listname+rcptname=rcptdom...@example.com (assuming recipient delimiters of "+="). > The postfix VERP HOWTO describes how to handle the emails that bou

Re: postfix: set up pop3 / imap with postfix..

2008-12-30 Thread Sahil Tandon
vivek.agrawal wrote: > I want to use postfix to send and receive mail for my web application. > Currently i am able to send email using gmail as relay host. now i am trying > to get email comming to same gmail account which i am using for relay host. > on some sites i have read that i need to conf

Handling VERP bounces

2008-12-30 Thread ram
If I am getting bounces for VERP ids The postfix VERP HOWTO describes how to handle the emails that bounce using forward path and aliases Is there a simpler way. I want to send all the mails to a cyrus mailbox , where I can do the parsing What if I use a virtual alias maps regex /^owner-li

Re: VERP uses the recipient name after virtual_regexp rewriting

2008-12-30 Thread Wietse Venema
Jesper Dybdal: > On Tue, 30 Dec 2008 01:10:16 +0100, I wrote: > > >Since my first mail, I have tried an experiment where the rewriting of > >the sender address is done by a .forward file instead of by > >virtual_regexp; in that case, VERP actually uses the recipient address > >before it has been c

Re: VERP uses the recipient name after virtual_regexp rewriting

2008-12-30 Thread Jesper Dybdal
On Tue, 30 Dec 2008 01:10:16 +0100, I wrote: >Since my first mail, I have tried an experiment where the rewriting of >the sender address is done by a .forward file instead of by >virtual_regexp; in that case, VERP actually uses the recipient address >before it has been changed by .forward, as I wo

Re: postfix: set up pop3 / imap with postfix..

2008-12-30 Thread Udo Rader
vivek.agrawal schrieb: hello everyone, I want to use postfix to send and receive mail for my web application. Currently i am able to send email using gmail as relay host. now i am trying to get email comming to same gmail account which i am using for relay host. on some sites i have read that i