fetchmail and forward to an extern address


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers fetchmail and forward to an extern address
# 1  
Old 03-01-2009
fetchmail and forward to an extern address

Hi,

I'm searching for an solution for the following problem.
I want fetch some mails via pop3 from a@a.com with fetchmail.
That works perfectly. Now any incoming mail should forwarded to b@b.com via smtp obv. But I don't know how to configure that. All online tutorials describe forwarding to local mailservers.

Both a@a.com and b@b.com, with pop3 and the smtp servers are external ones.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Extern keyward on function in C

I saw a header (.h) file with mixture of "regular" function declarations and other extern function declarations. As I was told all function declarations are implicitly external and the extern on functions declarations is superfluous. Here my focus is on function declaration, not variable yet. int... (2 Replies)
Discussion started by: yifangt
2 Replies

2. Programming

C header file and extern

In the header file data.h i got: const char ack_msg = "ack: received your msg\n"; In the code file server.c i got: extern const char ack_msg; And else it is only used in a function call: user$ grep ack_msg *c *h server.c:extern const char ack_msg; server.c: n = write(clientsfd,... (5 Replies)
Discussion started by: tornow
5 Replies

3. Ubuntu

Iptables forward traffic to forward chain!!!

Hi, I am new to linux stuff. I want to use linux iptables to configure rule so that all my incoming traffic with protocol "tcp" is forwarded to the "FORWARD CHAIN". The traffic i am dealing with has destination addresss of my machine but i want to block it from coming to input chain and somehow... (0 Replies)
Discussion started by: arsipk
0 Replies

4. Programming

segmentation fault for extern

Why this is happening when both of them compiled together and run? I am getting segmentation fault SIGSEGV. File1.c: int arr; File2.c: extern int *arr; int main() { arr = 100; } (3 Replies)
Discussion started by: royalibrahim
3 Replies

5. Linux

Fetchmail Help

Hello there Unix & Linux Guru's and Gifted ones, Can anyone help me configure fetchmail on my redhat 9.0 This sounds to be silly but really I'm new to linux. I really need step by step installation and configuration on our company's required Redhat 9.0 (shrike) OS. Thank you and God... (2 Replies)
Discussion started by: struggled_boy
2 Replies

6. UNIX for Dummies Questions & Answers

fetchmail: forward mail changing subject

Hi there, I receive job applications sent by a website daemon. The email subject contains the job offer description. The problem is that gmail tends to concatenate emails with the same subject and I don't really want all applications in the same email. Thus the from field contains the candidate... (0 Replies)
Discussion started by: chebarbudo
0 Replies

7. Linux

Problem mounting extern hd (fedora 9)

Hi there, I'm having a bit of a strange problem which I would appreciate some help with. The Problem: I have two external hard drives, but I'm borrowing one off my parents to copy data too (one of mine, which is identical to theirs - WD MyBook 300g - is on its way out). Fedora 9 recognizes... (3 Replies)
Discussion started by: lasthidingplace
3 Replies

8. Programming

Extern variable.

file1.c int a1; int main() { a1 = 2; printf("\na1 = %d\n", a1); next(); printf("\na1 = %d\n", a1); next1(); printf("\na1 = %d\n", a1); } file2.c #include <stdio.h> int b1 = 0; void next(void) (1 Reply)
Discussion started by: Tanvirk
1 Replies

9. Programming

extern for functions

Hi, Please let me know if the extern keyword is necessary for using functions which is defined and declared in another file and and used in a different file where both these files are linked together. thanks (8 Replies)
Discussion started by: naan
8 Replies

10. UNIX for Dummies Questions & Answers

fetchmail taking long time to fetchmail...

Hi peeps, We are having around 60 users. The time set to retrieve the mail is 300 sec. But it's taking around 1 hour to deliver mails. I am using debian sarge 3.1. any clues? And how it will affect if I decrease the time? My machine has got 1 p4 3.0 GHZ processor and 1 GB ram. The home... (2 Replies)
Discussion started by: squid04
2 Replies
Login or Register to Ask a Question
ESMTP(1)						      General Commands Manual							  ESMTP(1)

NAME
esmtp - libESMTP to Sendmail compatibility interface SYNOPSIS
esmtp [flags] [address ...] sendmail [flags] [address ...] mailq sendmail -bp newaliases sendmail -bi DESCRIPTION
Esmtp is a send-only sendmail emulator for machines which normally retrieve their mail from a centralized mailhub using programs such as fetchmail. Esmtp does not attempt to provide all the functionality of sendmail: it is intended to be used by mail user agents as mutt. OPTIONS
Most sendmail options are irrelevant to esmtp . Those marked ``ignored'' or ``default'' have no effect on mail transfer. Those marked ``unsupported'' are fatal errors. -Ac (ignored) Use submit.cf even if the operation mode does not indicate an initial mail submission. -Am (ignored) Use sendmail.cf even if the operation mode indicates an initial mail submission. -B type Set the body type to type. Current legal values are 7BIT or 8BITMIME. -ba (unsupported) Go into ARPANET mode. -bd (unsupported) Run as a daemon. -bD (unsupported) Same as -bd except runs in foreground. -bh (unsupported) Print the persistent host status database. -bH (unsupported) Purge expired entries from the persistent host status database. -bi (ignored) Initialize the alias database. -bm (default) Deliver mail in the usual way. -bp Print a listing of the queue(s). -bP (unsupported) Print number of entries in the queue(s); only available with shared memory support. -bs (unsupported) Use the SMTP protocol as described in RFC821 on standard input and output. -bt (unsupported) Run in address test mode. -bv (unsupported) Verify names only - do not try to collect or deliver a message. -C file Use alternate configuration file. -d X (ignored) Set debugging value to X. -F fullname Set the full name of the sender. -f name Sets the name of the ``from'' person (i.e., the envelope sender of the mail). This address may also be used in the From: header if that header is missing during initial submission. The envelope sender address is used as the recipient for delivery status notifi- cations and may also appear in a Return-Path: header. This address is also used to select from different identities in the configuration file. If no envelope sender is specified in the command line then the default identity's address is used. -G (ignored) Relay (gateway) submission of a message. -h N (ignored) Set the hop count to N. -I (ignored) Same as -bi. -i (ignored) Ignore dots alone on lines by themselves in incoming messages. This should be set if you are reading data from a file. -L tag (ignored) Set the identifier used in syslog messages to the supplied tag. -N dsn Set delivery status notification conditions to dsn, which can be `never' for no notifications or a comma separated list of the val- ues `failure' to be notified if delivery failed, `delay' to be notified if delivery is delayed, and `success' to be notified when the message is successfully delivered. -n (default) Don't do aliasing. -O option=value (ignored) Set option option to the specified value. This form uses long names. -o x value (ignored) Set option x to the specified value. This form uses single character names only. -p protocol (ignored) Set the name of the protocol used to receive the message. -q[time] (ignored) Process saved messages in the queue at given intervals. -qp[time] (ignored) Similar to -qtime, except that instead of periodically forking a child to process the queue, forks a single persistent child for each queue that alternates between processing the queue and sleeping. -qf (ignored) Process saved messages in the queue once and do not fork(), but run in the foreground. -qG name (ignored) Process jobs in queue group called name only. -q[!]I substr (ignored) Limit processed jobs to those containing substr as a substring of the queue id or not when ! is specified. -q[!]R substr (ignored) Limit processed jobs to those containing substr as a substring of one of the recipients or not when ! is specified. -q[!]S substr (ignored) Limit processed jobs to those containing substr as a substring of the sender or not when ! is specified. -R return Set the amount of the message to be returned if the message bounces. The return parameter can be `full' to return the entire mes- sage or `hdrs' to return only the headers. In the latter case also local bounces return only the headers. -r name An alternate and obsolete form of the -f flag. -t Read message for recipients. To:, Cc:, and Bcc: lines will be scanned for recipient addresses. The Bcc: line will be deleted before transmission. -V envid Set the original envelope id. -v Go into verbose mode. -X logfile Log all traffic in and out of mailers in the indicated log file. -- Stop processing command flags and use the rest of the arguments as addresses. FILES
~/.esmtprc User configuration file. Only read if no configuration file is specified on the command line. /etc/esmtprc System configuration file. Only read if no configuration file is specified on the command line and there is no user configuration file. SEE ALSO
esmtprc(5), fetchmail(1) AUTHOR
Jose Fonseca ESMTP(1)