[exim] EXIM Problem with IPv6

2012-12-06 Thread Shahid Ashraf
I'm unable to send email and getting this error log.

2012-12-06 02:49:17 1TgVin-0002J1-0p
alt1.gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1a] Network is
unreachable.

EXIM 4.72 and Centos 6.3

Shahid
-- 
## List details at https://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/


Re: [exim] EXIM Problem with IPv6

2012-12-06 Thread Phil Pennock
On 2012-12-06 at 12:54 +0500, Shahid Ashraf wrote:
 I'm unable to send email and getting this error log.
 
 2012-12-06 02:49:17 1TgVin-0002J1-0p
 alt1.gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1a] Network is
 unreachable.
 
 EXIM 4.72 and Centos 6.3

Sounds like something has given you an IPv6 routed address, without
actually giving you IPv6 routing.  Exim should try the IPv4 addresses
too and succeed.  What's the error when it tries the IPv4 addresses?

You can set disable_ipv6 in the main section of the configuration to
tell Exim to avoid doing anything with IPv6, while you fix whatever's
wrong with the host setup.

-Phil

-- 
## List details at https://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] return-path in the auto-reply

2012-12-06 Thread Fabián M Sales

how to put the return-path in the auto-reply using the exim filter?

--
Saludos Cordiales.
--
Fabian Sales
Soporte Técnico
Dattatec.com :: Soluciones de Web Hosting
Su Hosting hecho Simple..!
fabian.sa...@dattatec.com


Nota de confidencialidad: Este mensaje y archivos adjuntos al mismo son 
confidenciales, de uso exclusivo para
el destinatario del mismo. La divulgación y/o uso del mismo sin autorización 
por parte de Dattatec.com queda prohibida.
Dattatec.com no se hace responsable del mensaje por la falsificación y/o 
alteración del mismo.
De no ser Ud. el destinatario del mismo y lo ha recibido por error, por favor, 
notifique al remitente y elimínelo de su sistema.

Confidentiality Note: This message and any attachments (the message) are 
confidential and intended solely for
the addressees. Any unauthorised use or dissemination is prohibited by 
Dattatec.com.
Dattatec.com shall not be liable  for the message if altered or falsified. If 
you are not the intended addressee of this message,
please cancel it immediately and inform the sender

Nota de Confidencialidade: Esta mensagem e seus eventuais anexos podem conter 
dados confidenciais ou privilegiados.
Se você os recebeu por engano ou não é um dos destinatários aos quais ela foi 
endereçada, por favor destrua-a e a todos
os seus eventuais anexos ou copias realizadas, imediatamente. É proibida a 
retenção, distribuição, divulgação ou utilização
de quaisquer informações aqui contidas. Por favor, informe-nos sobre o 
recebimento indevido destamensagem, retornando-a para o autor.


--
## List details at https://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] tring to reject mail based on From: and Reply-to:

2012-12-06 Thread Mark Murray
Hi folks

I'm trying to reject spam from certain rather persistent spammers.

in acl_check_rcpt I have this:

  dropmessage= BLACKLIST-1: Locally blacklisted sender address
  !authenticated = *
  senders= 
${lookup{$sender_address}wildlsearch{/usr/local/etc/exim/local_sender_blacklist}{$sender_address}}

  dropmessage= BLACKLIST-2: Locally blacklisted sender address
  !authenticated = *
  senders= 
${lookup{$h_x-sender:}wildlsearch{/usr/local/etc/exim/local_sender_blacklist}{$h_x-sender:}}

... and it works as would expect on the sender and envelope-sender. One
particularly persistent spammer changes his sender address, but is
recognisable by his From: and Reply-to: headers, and I'd like to be able
to do something like the above (obviously in acl_check_data!). I have
this, so far:

  deny
message = X-JUNK-1: Unwanted junk mail
!authenticated  = *
condition   = 
${lookup{$h_from:}wildlsearch{/usr/local/etc/exim/local_sender_blacklist}{yes}{no}}

  deny
message = X-JUNK-2: Unwanted junk mail
!authenticated  = *
condition   = 
${lookup{$h_reply-to:}wildlsearch{/usr/local/etc/exim/local_sender_blacklist}{yes}{no}}

and it seems to be unreliable.

If local_sender_blacklist contains lines like ...

^\N.*@mydeals\.ro$\N

... then I'd hope to see mails with anything@mydeals.ro forged into
the From: or Reply-To: headers rejected after the DATA part of the SMTP
transaction. In actual fact, this is unreliable, and only some of them
are rejected. Can anyone see anything wrong with what I am doing or
expecting of the rules?

Thanks!

M
--
Mark R V Murray
Pi: 132511160


-- 
## List details at https://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/