David Mathog | 7 Oct 19:40

Help with simple .forward filter: accept only campus mail

For a class I set up a common email so that the students could
communicate with the TAs. When mail is sent to it, it delivers that
message to the common account and my account, and also forwards that
message to the TAs.  The current .forward is just:

\common_account, \my_account, ta1 <at> campus.edu, ta2 <at> campus.edu

Somehow or other that email address made it onto a spam list.  The
common account only needs to receive mail from campus addresses.  So I
want to put something like the following in the .forward instead, but
this is pseudocode because I do not know the correct syntax:

# exim filter
if $reply_to = "campus.edu$" then   #reply_to ENDS in "campus.edu"
  deliver common_account   #delivery to addressee on this machine
  deliver my_account       #delivery to 2nd account on this machine
  deliver ta1 <at> campus.edu   #forward to one TA
  deliver ta2 <at> campus.edu   #forward to another TA
fi
finish

What is the actual syntax for this?

Thanks,

David Mathog
mathog <at> caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech

--

-- 
(Continue reading)

Gergely Polonkai | 7 Oct 17:19

send to smarthost with a unified MAIL FROM address

Hello list,

I'm a bit stuck and tired with this problem. Maybe I was choosing the wrong
path...

My problem is that our smarthost accepts mails from us only from a given IP
address (on which my exim instance runs), and with only a specific address
in the MAIL FROM: command. I was trying with rewrite rules:

*@* bocmok <at> clients.wx

with this, I succeeded, as mails went out from my box, but local mailing
failed, as exim sent thos mails to the smarthost for somewhat reason. So
sending a mail with "mail polesz <at> w00d5t0ck.info" sent to the smarthost, so
as "mail polesz", which should arrive in the local user "polesz"'s mailbox.

Can you suggest me a new solution, or a correct rewrite line for this
problem please?

Thanks in advance,
Gergely Polonkai
--

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Exim List | 7 Oct 05:44

how do I block mail to local domains except SMTP auth or trusted source?

New to exim and have not found this in the FAQs or online resources so far.

We have a machine with several domains.  The MX record for these domains 
is pointed to a spam filter appliance.

Alas, spammers don't play fair.  They choose to connect directly to the 
IP address(es) of the domains on the box and still send their spam that way.

While a firewall solution might seem the logical choice, it isn't here. 
  The reason is that the users in each domain need to be able to see 
mail.abc.com or mail.xyz.com as their outgoing SMTP server which they 
relay through via SMTP auth.

So, I need to know how to disable the ability to receive mail for local 
domains EXCEPT from a trusted source (the spam appliance box).  Further, 
I need to allow SMTP AUTH clients to relay mail through their respective 
domains.

A firewall simply shuts off all SMTP traffic including SMTP auth unless 
I know all the "trusted sources" which is basically moot given roaming 
customers.

How can this be done?

Also, it would be preferable to be able to do this on a domain by domain 
basis rather than server wide.  If it can't be done that way, server 
wide is still better than what we have now.

Thanks for any tips or advice you can offer.

(Continue reading)

Marc Haber | 6 Oct 18:42

How to easily filter for the current envelope recipient in a user filter?

Hi,

I'd like to have a possibility to express (in an exim user filter)

if $local_part_prefix is "foo-" and
   $original_local_part is "mh" and
   $local_part_suffix is "+bar" and
   $domain is "example.com" then
....
endif

more easily, for example as

if $local_part_prefix$original_local_part$local_part_suffix@$domain is
   "foo-mh+bar <at> example.com" then
...
endif

Is there a way to do this?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834

--

-- 
(Continue reading)

chas | 6 Oct 15:43

Possibly OT

New to Exim and using Exim 4.43 and Dovecot 1.0.13 on CentOS 4.6. Server
sends and receives mail but when sending from Squirrelmail it is sent as
user 'apache <at> mydomain.com' and because of this replies are rejected with a
'550 relay not permitted (in reply to RCPT TO command)'
Any ides on this one? Used to work normally with Postfix in place of Exim
on same server.

regards,
Chas.

--

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Hannes Rapp | 6 Oct 00:00

quota_warn_message sends no message

Hi,
I set up quotas and warning message in my exim config, but I do not 
receive a warn message if I cross the quota.
exims seems to recognize that the mailbox exeeds the quota threshold, 
but sends no message.
I search the internet, but didn't find any solution.
Any ideas ?

Version: Exim version 4.69 #1 built 05-Oct-2008 23:05:26

23:43:20 32606 check_dir_size: regex did not match courierpop3dsizelist
23:43:20 32606 check_dir_size: 
dir=/srv/mail/spool/kepler2004.de/webmaster/Maildir sum=57428328 count=1110
23:43:20 32606 delivering in maildir format in 
/srv/mail/spool/kepler2004.de/webmaster/Maildir
23:43:20 32606 expanding: ,S=$message_size
23:43:20 32606    result: ,S=297
23:43:20 32606 writing to file tmp/1223243000.H201561P32606.kepler2004.de
23:43:20 32606 Exim quota = 60817408 old size = 57428328 this message = 
297 (not included)
23:43:20 32606   file count quota = 0 count = 1110
23:43:20 32606 writing data block fd=7 size=412 timeout=0
23:43:20 32606 quota = 60817408 threshold = 42572185 old size = 57428328 
message size = 412
23:43:20 32606 renaming temporary file
23:43:20 32606 expanding: ,S=$message_size
23:43:20 32606    result: ,S=412
23:43:20 32606 renamed tmp/1223243000.H201561P32606.kepler2004.de as 
new/1223243000.H201561P32606.kepler2004.de.de,S=412
23:43:20 32606 appendfile yields 0 with errno=0 more_errno=0
(Continue reading)

Brian Blood | 5 Oct 18:32

Request for actual rDNS variable

I'm aware of alternatives/workarounds to what I'm requesting, so no  
need to rehash them....

I would like to see a variable in exim that reflects the actual rDNS  
value for sender_host_address.

Properly I think sender_host_name should have that value and there  
should be a new variable, perhaps sender_host_name_verified that  
contains the result of reverse AND forward lookups on  
sender_host_address.

Given backward compatibility concerns, perhaps just a new variable:  
sender_host_rdns would suffice.

Regards,
Brian

--

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

shwick | 5 Oct 03:40

Exim can't delete queue


Ubuntu 8.04
Exim 4

I have 10 frozen messages in the queue and I can't delete them. Both of
these commands:

sudo exim -bpr | grep frozen | awk '{print $3}' | xargs exim -Mrm

sudo exim4 -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | sh

return Permission Denied. Also I know that only the sender of the mail can
delete it so I tried it without sudo, still denied.

I got these commands from two different places, does it matter if I use exim
or exim4?
-- 
View this message in context: http://www.nabble.com/Exim-can%27t-delete-queue-tp19820002p19820002.html
Sent from the Exim Users mailing list archive at Nabble.com.

--

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Lloyd Tennison | 5 Oct 02:14

Looking to Create and Addtional Header Record to Solve AOL Redaction Problems

Based on  To: .  Because of AOL redacting email addresses from SPAM reports, 
I thought that if a new  Envelope-to: (different name) was added, and the 
user name was split into pieces and then added some weird characters in the 
middle, AOL (and others) would not be able to redact.  (From an earlier 
thread, Envelope-To would probably not work.)

Example:

Call the new header X-Ref

X-Ref: exiqwerm-uqwersrs <at> exim.org

X-Ref: exim-users <at> exim.org

This would then work for both mailing lists and individual messages.  Any 
thoughts on this?  Other options also solicited.

--

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

nicza3 | 3 Oct 20:05

limit amount of emails sent to hotmail and yahoo per hour


Hello,

I would like how could i limit the amount of mails sent to yahoo.com and
hotmail.com domains per hour.
I have been looking at exim documentation and i did not find for any clue.
Also i checked on the mailing list and nothing like this has been answered
before.

Any suggestion will be appreciated. Thank you.
-- 
View this message in context: http://www.nabble.com/limit-amount-of-emails-sent-to-hotmail-and-yahoo-per-hour-tp19802922p19802922.html
Sent from the Exim Users mailing list archive at Nabble.com.

--

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

W B Hacker | 3 Oct 18:34

Re: Ha: Re: How many times does router run for multiple recipients?

vitas1 <at> itera.ru wrote:
> Hmmm, I think I find the problem. Thanks for all pieces of advice. :-)
> 
> When recipient addresses belongs to the same domain router runs only ONCE 
> for this domain. 
> 
> So if one of recipients does NOT match the condition criteria ("condition 
> failure") 
> the router doesn't process the remaining recipients for THIS domain.
> 
> But it WILL process recipients in another domain.
> 
> 
> Example:
> 
> #Router configuration
> blackholes:
> # Only addr1 should be blackholed!
> condition = ${if match{$local_part}{addr1}{1}{0}}
> driver = redirect
> data = :blackhole: 
> no_verify
> 
> 
> Assume message has 2 recipients in the same domain: addr1@??? and 
> addr2@???
> 
> If router "sees" addr1 first it will blackhole it (as it matches condition 
> criteria) and then will process addr2.
> 
(Continue reading)


Gmane