Re: block emails with Fetchmail...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings James ,

James Wilkinson wrote:
Kostas Sfakiotakis wrote:
Am not sure that i fully understand that . Fetchmail fetches email
from the remote POP3 Server then it alters the To address as to make
it suitable for local delivery .

It shouldn't do: either it will create an *envelope* (SMTP-level)
RCPT-TO address based on the address given in the fetchmail.conf file,

Well i had this substitution in mind .


or (in multidrop mode) it will try to detect a suitable address from the
mail headers (e.g. suitable Received lines: see the envelope keyword in
fetchmail.conf).

But sendmail should already be configured to accept mail that is
addressed to users on that machine. It's not being tricked.

For example, I'm running Postfix here. But if I was running Sendmail,
Sendmail would be told that it should accept all e-mail to
westexe.demon.co.uk.

Well both sendmail and postfix are MTAs .

Fetchmail would download e-mail over POP3 and grab
the fedora@xxxxxxxxxxxxxxxxxxx e-mail address out of the Received:
headers Demon add, and send the e-mail MAIL FROM whoever, RCPT TO:
<fedora@xxxxxxxxxxxxxxxxxxx> to Sendmail. So of course Sendmail would
accept it.


Something troubles me here . You see my email address is
kostassf@xxxxxxxxxxxxxxx ( for Fedora ) . For as far as i have looked
in my sendmail configuration files , sendmail is NOT configured to
accept email for *@cha.forthnet.gr . The only emails that it accepts
are for the localhost.localdomain thing . So unless fetchmail changes
the envelope  RCPT-TO address ( if i understand correctly what you
are saying above ) to say root@xxxxxxxxxxxxxxxxxxxxx then things will
not work . I know for certain that fetchmail IS working here . I will
give it another run and check the logs , so i can find my mistake .


Kostas

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux