-
Notifications
You must be signed in to change notification settings - Fork 178
Q0631
I would like to choose a retry rule based on on the sender rather than the recipient address. Is this possible?
Yes. In release 4.43 and later releases, you can do this directly by adding a third item to a retry rule of the form "senders=<address list>". The retry timings themselves then become the fourth item. For example:
* * senders=: F,1h,30m
would match all bounce messages. If the address list contains white space, it must be enclosed in quotes. For example:
a.domain timeout senders="[email protected] : [email protected]" G,8h,10m,1.5
If you are using an earlier release of Exim, you can still achieve the effect, but in a more complicated way. The address part of a retry rule is matched as a single-item address list. Such lists are always expanded, so you can use something like this:
"${if eq{$sender_address}{xxx}{*@*}{no@no}}" quota F,1h,10m; ...
If the sender address is xxx , the pattern expands to @ , which matches all recipient addresses; if you want to, you can make this a more restrictive pattern. If the sender address is not xxx , the pattern expands to no@no , which is assumed to be a recipient address that can never match, so the retry rule is skipped.
- What does the error *Neither the xxx router nor the yyy transport set a
- Exim keeps crashing with segmentation errors (signal 11 or 139) during
- How can mails that are being routed through routers that do not set
- I want to use MMDF-style mailboxes. How can I get Exim to append the
- If a user's mailbox is over quota, is there a way for me to set it up so
- I'm using tmail to do local deliveries, but when I turned on the
- When I activate return receipt > for example in Netscape Mailbox sending options, then I get an error
- What does the message retry time not reached [for any host] on the log
- Exim seems to be sending the same message twice, according to the log,
- How can I force the next retry time for a host to be now?
- I set up
|/bin/grep Subject|/usr/bin/smbclient -M <netbiosname>
as an - Why does the pipe transport add a line starting with
>From
to - I have set
fallback_hosts
on my smtp transport, but after the - After the holidays my ISP has always hundreds of e-mails waiting for me.
- When a message in the queue got to 12h old, Exim wrote *retry timeout
- Can Exim add a Content-Length: header to messages it delivers?
- Exim seems to be trying to deliver a message every 10 minutes, though
- I am trying to set exim up to have a automatic failover if it sees that
- I can't get Exim to deliver over NFS. I get the error *fcntl() failed:
- Why does Exim bounce messages without even attempting delivery, giving
- My .forward file is
|/usr/bin/procmail -f-
and mail gets delivered, - Can I write an ordinary file when I run a perl script as a transport
- My /var/spool/mail has grown drastically. Is there any possibility of
- Sendmail has a program called smrsh that restricts what binaries can
- I wish to have large emails go out one at a time.
- Exim can route local parts independent of their case, but the Cyrus LMTP
- Is there a command I can send to Exim to retry all queued messages
- I have the default retry rule, which I thought meant that Exim should
- I'm having trouble with quotas and Courier, because Exim is not handling
- How can I configure Exim to deliver to a Cyrus message store?
- I would like to choose a retry rule based on on the sender rather than
- What does the error *User 1 set for local_mbx_delivery transport is on
- Why is $domain not set in the smtp transport?
- How can I stop a local transport from trying to access the user's home
- The log message error ignored appears after some delivery failures.