Re: Postfix + fetchmail problem

From: Bengt Thuree (bengt_at_thuree.com)
Date: 02/27/04

  • Next message: Christian Schnobrich: "Re: DSL problem (possibly OT)"
    Date: Fri, 27 Feb 2004 23:50:12 +0900
    To: debian-user@lists.debian.org
    
    

    I would also change the /etc/hosts to be like this
    david@zepto:~$ cat /etc/hosts
    127.0.0.1 localhost
    <IP number> zepto zepto.local.localdomain

    Stefan Vunckx wrote:

    > I'd add a plain "localhost" entry to mydestination.
    >
    > Regards,
    > Stefan Vunckx
    >
    > On Friday 27 February 2004 08:26, David Clymer wrote:
    >
    >>I've been an exim user for quite a while now, but recently decided to
    >>fool with Postfix a bit. I'm also attempting to become a trial
    >>fetchmail+mutt user.
    >>
    >>So, I set up Postfix to relay mail through my remote mailserver
    >>using smtp authentication, and set up fetchmail to grab my mail.
    >>
    >>The problem is that when I invoke fetchmail, it downloads my mail,
    >>but Postfix promptly attempts to relay it to the remote mail server
    >>rather than delivering it to my local account.
    >>
    >>I've thus far been unable to figure out why this is happening. Mail
    >>between local users is delivered locally, and I can send to remote
    >>addresses without problems.
    >>
    >>If anyone has any insight into this problem or can point me to a
    >>relevant portion of TFM, I'd be greatful.
    >>
    >>My Postfix main.cf is as follows:
    >>---------------------------------------------------------
    >># see /usr/share/postfix/main.cf.dist for a commented, fuller
    >># version of this file.
    >>
    >># Do not change these directory settings - they are critical to Postfix
    >># operation.
    >>command_directory = /usr/sbin
    >>daemon_directory = /usr/lib/postfix
    >>program_directory = /usr/lib/postfix
    >>setgid_group = postdrop
    >>
    >># appending .domain is the MUA's job.
    >>append_dot_mydomain = no
    >>
    >>smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    >>biff = no
    >>
    >># Uncomment the next line to generate delayed mail warnings
    >>#delay_warning_time = 4h
    >>
    >>myhostname = zepto.local.localdomain
    >>mydomain = local.localdomain
    >>alias_maps = hash:/etc/aliases
    >>alias_database = hash:/etc/aliases
    >>mydestination = $myhostname, localhost.$mydomain, $mydomain
    >>
    >># relay my outgoing mail
    >>smtp_sasl_auth_enable = yes
    >>smtp_sasl_passwd_maps = hash:/etc/postfix/sasl_passwd
    >>relayhost = mail.zettazebra.com
    >>
    >>mynetworks = 127.0.0.0/8
    >>mailbox_command = procmail -a "$EXTENSION"
    >>mailbox_size_limit = 0
    >>recipient_delimiter = +
    >>myorigin = /etc/mailname
    >>--------------------------------------------------------
    >>
    >>
    >>My .fetchmailrc is below:
    >>--------------------------------------------------------
    >>poll mail.zettazebra.com proto pop3
    >> user "david@zettazebra.com" with password "xxxx" is "david" here keep;
    >>--------------------------------------------------------
    >>
    >>david@zepto:~$ cat /etc/mailname
    >>zepto.local.localdomain
    >>
    >>david@zepto:~$ cat /etc/hosts
    >>127.0.0.1 localhost zepto zepto.local.localdomain
    >>
    >># for testing purposes only
    >>#127.0.0.1 zettazebra.com localhost
    >>
    >># The following lines are desirable for IPv6 capable hosts
    >># (added automatically by netbase upgrade)
    >>
    >>::1 ip6-localhost ip6-loopback
    >>
    >>fe00::0 ip6-localnet
    >>ff00::0 ip6-mcastprefix
    >>ff02::1 ip6-allnodes
    >>ff02::2 ip6-allrouters
    >>ff02::3 ip6-allhosts
    >>
    >>I'm running debian/testing.
    >>
    >>-davidc
    >
    >
    >

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Christian Schnobrich: "Re: DSL problem (possibly OT)"

    Relevant Pages

    • Re: ssh -R from work to home and ssh from home to work
      ... intent to display X at work). ... I think the problem is that the ssh to the tunnel makes ... not root at that localhost (not sure if that was because sshd was running ... point of view on the remote, the mail appeared to come from its localhost. ...
      (comp.os.linux.networking)
    • where did all the files go
      ... If I start working on my localhost, then wanted to transfer the website so I ... knows to use the remote server in partnership with the directory (notice I ... Create a localhost project, add a crystal report and adjust the security, ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: [SLE] Sendmail: relay for local network - how? [solved]
      ... # If set to "no" or empty then only mail from localhost ... allowing remote connections. ... I have Scalix installed on the box. ...
      (SuSE)
    • Re: different characters on remote screen
      ... There is a patch that fixes the localhost issue... ... Al Jarvi (MS-MVP Windows Networking) ... > I have setup the rdp client to run in win98 compatibility mode, ... > All goes well so far, i get the remote login screen displayed on my ...
      (microsoft.public.windowsxp.work_remotely)