Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

allow relaying for trusted users (POP-before-SMTP)

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
trapni
Retired Dev
Retired Dev
Posts: 251
Joined: Thu May 16, 2002 10:05 am
Location: Germany/Berlin
Contact:
Contact trapni
Website

allow relaying for trusted users (POP-before-SMTP)

  • Quote

Post by trapni » Sun Oct 13, 2002 9:34 pm

Hi all,

I am using Postfix with Courier-IMAP as my mail server, and I want trusted users (on unknown IPs / dialup hosts) to use SMTP to relay as well as POP and SMTP to local users.

But how is this working?

I read something about POP-before-SMTP somewhere on the net, but it looks like it doesn't work. Why?

Thanks in advance,
Christian Parpart.
Top
BLASTER_
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 105
Joined: Fri May 17, 2002 9:07 pm
Location: .:Sea - WA - USA

  • Quote

Post by BLASTER_ » Thu Mar 18, 2004 9:50 am

I have the same problem.. looks like it cant phrase the logfile..
Top
nevynxxx
Veteran
Veteran
Posts: 1123
Joined: Wed Nov 12, 2003 1:34 pm
Location: Manchester - UK

  • Quote

Post by nevynxxx » Thu Mar 18, 2004 1:55 pm

This is how I do it.
(Note the comments are not continus, look in main.cf for the full spiel)

note the xxx.xxx is to hide the ip. You can specify anything from individual ip's though subnets, networks. Its very useful, I can now relay from all the machines I use (or squirrelmail if I'm at a strange box)

Code: Select all

anferny distfiles # grep networks /etc/postfix/main.cf
# The mynetworks parameter specifies the list of "trusted" SMTP
# By default (mynetworks_style = subnet), Postfix "trusts" SMTP
# clients in the same IP subnetworks as the local machine.
# Specify "mynetworks_style = class" when Postfix should "trust" SMTP
# clients in the same IP class A/B/C networks as the local machine.
# mynetworks list by hand, as described below.
# Specify "mynetworks_style = host" when Postfix should "trust"
#mynetworks_style = class
#mynetworks_style = subnet
#mynetworks_style = host
# Alternatively, you can specify the mynetworks list by hand, in
# which case Postfix ignores the mynetworks_style setting.
mynetworks = 160.220.48.0, xxx.xxx.195.186, 127.0.0.1
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table
# - from "trusted" clients (IP address matches $mynetworks) to any destination,
My Public Key

Wanted: Instructor in the art of Bowyery
Top
Post Reply

3 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic