Networking Forums

Networking Forums > Computer Networking > Linux Networking > trying to use pine with postfix

Reply
Thread Tools Display Modes

trying to use pine with postfix

 
 
Sven-Thorsten Fahrbach
Guest
Posts: n/a

 
      06-18-2005, 08:07 PM
Okay, I'm nearly dispairing over the pine setup to use with my
postfix configuration. No matter what I do I get an error
message from the smtp server (mail.gmx.net) that the user does
not exist. Let me brief you on the details of my configuration:

e-mail address: (E-Mail Removed)
gmx demands that the login name be the full e-mail address, i.e.
login name: (E-Mail Removed)
login name on my system: svetho

In my pine configuration:
personal-name: Sven-Thorsten Fahrbach
user-domain: gmx.net
smtp-server: <No Value Set>

I shouldn't have to set smtp-server in pine as this is (or should
be) done by postfix.

My postfix configuration:
relayhost=mail.gmx.net
smtp_sasl_auth_enable=yes
smtp_sasl_password_maps=hash:/etc/postfix/smtp_auth
smtp_sasl_security_options=noanonymous

The entry in my smtp_auth file:
mail.gmx.net (E-Mail Removed):foo

Now as it turned out each time I try to send a mail from pine
it tries to send it with (E-Mail Removed) as user name, which is
wrong. I.e. pine apparently tries to use my local login name
as login name for gmx, my e-mail provider. I've already read
several times through the pine configuration files and information
on the web but didn't find anything useful.
Does anyone have any idea how this can be fixed?
Any help will be greatly appreciated.

SveTho
 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      06-18-2005, 08:28 PM
On Sat, 18 Jun 2005 22:07:00 +0200, Sven-Thorsten Fahrbach wrote:
> Okay, I'm nearly dispairing over the pine setup to use with my
> postfix configuration. No matter what I do I get an error
> message from the smtp server (mail.gmx.net) that the user does
> not exist. Let me brief you on the details of my configuration:


Guessing your relay host wants the name to be a vaild isp email address.

>
> e-mail address: (E-Mail Removed)
> gmx demands that the login name be the full e-mail address, i.e.
> login name: (E-Mail Removed)
> login name on my system: svetho


My solution used canonical files to munge the headers.

Warning: it works and what you see was from me kludging around trying
to make it work. I keep telling myself I will go back to the docs and
straighten them out.
http://www.postfix.org/basic.html

I have a lan behind a linux firewall box,
postfix running on all nodes. Firewall box munges headers for anything
heading to the internet.

---------------------------------------------------------------
/etc/postfix/main.cf snippet

# my appended changes to main.cf for my WAN node

myorigin = comcast.net
mydomain = home.invalid
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks = 192.168.2.0/24, 127.0.0.0/8
relayhost = smtp.comcast.net
relay_domains = $mydomain
inet_interfaces = $myhostname, localhost
smtp_host_lookup = dns, native

#local box users
virtual_alias_maps = hash:/etc/postfix/virtual

# swap linux users into my ISP eamil users
# swap out From: values
sender_canonical_maps = hash:/etc/postfix/canonical_sender

# swap out To: values example root
recipient_canonical_maps = hash:/etc/postfix/canonical_recipient

--------------------------------------------------------------------------
canonical_sender snippet

(E-Mail Removed)lid (E-Mail Removed)

--------------------------------------------------------------------------
canonical_recipient snippet

root (E-Mail Removed)lid
(E-Mail Removed) (E-Mail Removed)lid

--------------------------------------------------------------------------
virtual snippet

bittwsiter (E-Mail Removed)lid
root (E-Mail Removed)lid

--------------------------------------------------------------------------
aliases change

# Person who should get root's mail. This alias
# must exist.
# CHANGE THIS LINE to an account of a HUMAN
root: (E-Mail Removed)lid

Database files were generated with
postalias aliases
postmap canonical_sender
postmap canonical_recipient
postmap virtual
 
Reply With Quote
 
fahrbach.private@gmx.net
Guest
Posts: n/a

 
      06-19-2005, 12:03 AM
Thanks for your reply. As it turned it the problem was that I didn't have
custom-hdrs set in pine, which proved to be the culprit. Works fine now,
it's more often than not the simple things that miss the eye ;-).

Thanks anyway

SveTho

--------
Mar 1:4 John came, who baptized in the wilderness and
preached the baptism of repentance unto remission of sins. Mar 1:5
And there went out unto him all the country of Judaea, and all
they of Jerusalem; And they were baptized of him in the river
Jordan, confessing their sins. Mar 1:6 And John was clothed with
camel's hair, and had a leathern girdle about his loins, and did
eat locusts and wild honey.
--------
This signature was created automatically by XPSignature
(Copyright 2005, Sven-Thorsten Fahrbach).

The Holy Scripture is God's word to mankind. Do you want to read more?
www.e-sword.net is a good starting point, where you can download many different
translations of the Bible from.

Because if thou shalt confess with thy mouth Jesus as Lord, and shalt believe
in thy heart that God raised him from the dead, thou shalt be saved.
(Rom 10:9)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MTA - postfix Rage Linux Networking 2 10-20-2005 12:25 AM
sendmail or postfix Boubou Linux Networking 7 04-26-2005 05:45 PM
postfix and Maildirs Nick E. Linux Networking 7 01-24-2004 04:02 PM
Postfix + auth Segah Linux Networking 0 01-13-2004 06:38 AM
Vulnerability in UW Pine <= 4.56 Jem Berkes Linux Networking 0 09-11-2003 12:40 PM



1 2 3 4 5 6 7 8 9 10 11