fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Fetchmail + Amavis: send address problem

2004-05-04 03:26:04
On Tue, May 04, 2004 at 11:33:05AM +0200, Julien V. wrote:
An SMTP envelope has two components:
 - the return path          MAIL FROM:<...>
 - the recipient(s)         RCPT TO:<...>

Which of these is wrong?


I am sorry, I really do not know why I spoke about Return-path:, I juste
meant Receipt-to !!
I understand that this behaviour is normal, but is there any trick that
can help Amavis to send messages with the original recipient address?

You might want to look at these options in the fetchmail manpage:

       -D <domain> | --smtpaddress <domain>
              (Keyword:  smtpaddress)  Specify  the  domain  to be appended to
              addresses in RCPT TO lines shipped to SMTP. The name of the SMTP
              server (as specified by --smtphost, or defaulted to "localhost")
              is used when this is not specified.

       --smtpname <user(_at_)domain>
              (Keyword: smtpname) Specify the domain and user  to  be  put  in
              RCPT  TO lines shipped to SMTP.  The default user is the current
              local user.

Those will let you override "julien(_at_)localhost" and replace it with whatever
you like.

Otherwise, I'd say it's not an issue to do with fetchmail, but with your
exim/amavisd configuration.

Brian.