Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. millap

    combining files

    Thanks yet again Feherke!
  2. millap

    combining files

    Hey guys, Is there a script to combine two files but do it line by line? EG: file 1 = 1 2 3 4 file 2 = a b c d so that the output would be 1 a 2 b 3 c 4 d Any help greatly appreciated. millap
  3. millap

    Changing a value and incrementing number

    Hi Feherke, The purpose is to generate profiles for a dslam. new connection cpe-1 set encapsulation-protocol = atm set ip-options ip-routing = no set bridging-options bridge = yes set bridging-options bridging-group = 451 set bridging-options bridge-type = transparent-bridging set...
  4. millap

    Changing a value and incrementing number

    Hi Feherke, Thanks for the swift response! Thats great, just what I was looking for. Is it also possible to use seq to as do the following in that case: new connection cpe-1 set nailed-group = 1 new connection cpe-2 set nailed-group = 2 new connection cpe-3 set nailed-group = 3 I should have...
  5. millap

    Changing a value and incrementing number

    Hi all, I'm trying to figure a way to script the generation of a config file, eg; new connection cpe-1 new connection cpe-2 new connection cpe-3 Is there a way I can do this with awk or sed? Thanks millap
  6. millap

    master.cf

    Hi, If you set relay_domains = xyz.com all that means is your postfix server will accept email for xyz.com and relay it to it's destination. If this is what you want to do (eg relay to another host) you need to edit /etc/postfix/transport and add an entry for xyz.com. For example: xyz.com...
  7. millap

    Relayhost changes when system reboots

    Hi, is there anything set in the main.cf.default that would point to the IP address you're talking about? cd to the directory where your postfix .cf files are located and do a 'grep -l ""<ip.address>" *". That might tell you where the IP address is being taken from.
  8. millap

    Reject mail TO a specific address

    If you are using local delivery then the main.cf entry alias_maps = maptype://path/to/file is what you need. If you are delivering to the network (eg your postfix install is a relay to an internal host like MS Exchange) then you should use relay_recipients = maptype://path/to/file For...
  9. millap

    Slow mail delivery

    Hi Nashcom, I've seen the error "timed out while sending MAIL FROM" a few times when there's an MTU issue on your MTA's NIC. Not because your MTA is the problem but that a node inbetween you and the recipient MTA is causing the problem. hotmail.com was an issue for my lcoal MTA until I...
  10. millap

    Using sed with a value from another command

    Sorry Ali(aau) should have said it's BSD 2.0 also... Thanks millap
  11. millap

    Using sed with a value from another command

    Yes aau, it's rc.conf Cheers millap
  12. millap

    Using sed with a value from another command

    Awesome, thanks PHV! Works like a dream :) Sed is complicated though :P Thanks to both of you for your replies millap
  13. millap

    Using sed with a value from another command

    Hi pcunix, Thanks for the reply. I understand that statement but how do I pass the contents of $MYCONFIG to sed? It will replace a known IP address (10.2.3.4 for example). I need to do a sed 's/10.2.3.4/<$MYCONFIG>/' is this possible? Thanks millap
  14. millap

    Using sed with a value from another command

    Hi all, I'm looking for a way to pass sed a variable to change an IP address after a user has been asked for information on what IP address they'd like as part of a machine setup script. I've already saved the relevant ip, subnet, route and gw information into seperate files which I'd like...
  15. millap

    make error on Solaris 8

    Hi all, I'm trying to compile postfix 2.1.3 on Solaris 8 and I've run into difficulties. When running make It runs along a little while then errors with the following. sh: ar: not found *** Error code 1 make: Fatal error: Command failed for target `libutil.a' Current working directory...
  16. millap

    SMTP not initilizing

    Hiya Konrad, Very strange.... Can you post a 'postconf -n' output (removing sensitive stuff) here so we can have a look at your config? Thanks millap
  17. millap

    Setting outbound message limits

    Hi mwesche, This link might be of some use, I'm running version 2.1 but haven't checked if this includes the variables you require.... http://archives.neohapsis.com/archives/postfix/2004-01/2864.html millap
  18. millap

    relay_recipient_maps doesn't reject unknown users

    UPDATE: The rejection of unknown users DOES happen with the Virtual domains, just not the main domain postfix handles mail for.... millap
  19. millap

    relay_recipient_maps doesn't reject unknown users

    Hi all, I have a firewall running postfix (2.1.0) which relays email to an internal exchange box. I'm trying to add the AD lookup | postmap relay_recipients feature to my postfix config to reject unknown users at postfix instead of passing the mail through to the exchange server (which then...

Part and Inventory Search

Back
Top