In postfix, you need to add to the main.cf:

transport_map = hash:/etc/postfix/transport_map

In your /etc/postfix/transport_map file, you should have a line that reads 
like so:

domain.of.recipient.comp smtp:mailserver.you.wish.to.relay.through

Then, as root, run "postmap hash:/etc/postfix/transport_map

Lastly, as root, run "service postfix reload" to get postfix to reload the 
config, and make use of the new transport map.

Here's the potential problem:

You'll have to make sure that "mailserver.you.wish.to.relay.through" will 
let you relay through them.

If you can not relay through them, the message will just come back with a 
relay denied (which can be good...the original message will wind up in 
your inbox, as part of the reject, and you can reforward it to a different 
email address).

However, assuming that "mailserver.you.wish.to.relay.though" allows you to 
send the message, you may encounter another problem.  If, as I suspect and 
already noted, the problem is that Lycos' server is rejecting the message 
due to size restrictions, then the message will simply sit in the deferred 
on that server, instead of yours.

On Thu, 18 Apr 2002, Thorsten Strusch wrote:

> Lewi wrote:
> 
> > On Thu, Apr 18, 2002 at 12:00:46PM +0200, Thorsten Strusch wrote:
> > > Hi Lewi,
> > >
> > > Lewi wrote:
> > > >
> > > > I have a message queue with a large size, I send it to my friends' email at 
>lycos,
> > > > the problem is I see on my maillog message status is defer, how I can recover 
>it from
> > > > queue and send it again using another server, because my friend need it fast 
>and I
> > > > don't have a backup email.
> > >
> > > if you use sendmail, you can modify your /etc/mail/mailertable:
> > >
> > > your-friends-domain.tld      smtp:[192.67.198.2]
> > >
> > > (substitute 192.67.198.2 with your mailserver ;-p )
> > >
> > > don´t forget to rebuild the mailertable.db
> > > makemap hash mailertable < mailertable
> > >
> > > then you can call sendmail:
> > >
> > > # sendmail -q -v
> > > And you hopefully see sendmail delivering the mail.
> > 
> > I'm using postfix, how I can do that with postfix
> > I found a queue file in /var/spool/postfix/defer/..
> > but how I can read it again on a email way, not in binary
> > I use imp3.0 to sent email
> 
> oh, I´m sorry, I´m not firm in postfix or imp3 :-(
> 
> perhaps you ask google.com/linux 
> perhaps postcat can help you
> 
> regards
> Thorsten
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to