|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi All,
Right now I have a global account which reside in my ISP's server, and I twice a day get all my emails using fetchmail + cron and delivered them to each mailbox using procmail. Right now I'm using an abundant rules to check agains 'To' and 'Received' header from incoming mails as shown below ==================== :0 * ^To:.+a@domain\.com ! a@domain.com :0 * ^Received:.+a@domain\.com ! a@domain.com :0 * ^To:.+b@domain\.com ! b@domain.com :0 * ^Received:.+b@domain\.com ! b@domain.com :0 * ^To:.+c@domain\.com ! c@domain.com :0 * ^Received:.+c@domain\.com ! c@domain.com ==================== This rule is very inefficient. As I create new user, I have to add two additional rule entry. Is there any regex alternative to my problem ? Thanks, Dino |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
> This rule is very inefficient.
See if your ISP will let you set up a UUCP connection to route mail over. Or if you have a dynamic IP for your internal mail server set up a host name that you can change to the new IP as often as you need to and have your ISP relay mail inbound to you. If you get either of these working, you can just have your ISP relay messages directly in to you with real user accounts on your system. I.e. the ISP would send you an envelope with the original recipient in tact so that you could deliver the messages with out Procmail deciding where the messages go. Grant. . . . |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Grant Taylor wrote:
> See if your ISP will let you set up a UUCP connection to route mail over. > > Or if you have a dynamic IP for your internal mail server set up a host > name that you can change to the new IP as often as you need to and have > your ISP relay mail inbound to you. > > If you get either of these working, you can just have your ISP relay > messages directly in to you with real user accounts on your system. > I.e. the ISP would send you an envelope with the original recipient in > tact so that you could deliver the messages with out Procmail deciding > where the messages go. > Hi Grant, Will try to find out about that. Thanks for your solution. Really appreciate it ![]() > > > Grant. . . . Regards, Dino |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On 05/11/07 12:04, Indo Geek wrote:
> Will try to find out about that. Thanks for your solution. Really > appreciate it ![]() Here is some more information on how / where to set this up. http://linuxfocus.org/English/March2...ticle330.shtml Grant. . . . |
|
![]() |
| Outils de la discussion | |
|
|